LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-29-2003, 09:38 AM   #1
tmbowie16
LQ Newbie
 
Registered: Jan 2003
Location: Southampton, England, UK
Distribution: Ubuntu
Posts: 17

Rep: Reputation: 0
Exclamation Samba File Access from Win98 machine


Heylo everybody, i'm sure this isn't a huge problem to sort out but really annoying me
I've just seriously started to learn about and use Linux on a spare machine and am running into Samba problems under Debian.

I have a very simple 4-PC Windows98SE network with Network Neighbourhood shared drives.
These pcs have static IP's, with "share-level access control" set in "Network Properties".

***I have set up Samba Linux box and wish to make shared drives accessible from the Windows machines, with user name/password access.***

The problem is that whereas the Linux box is visible in Network Neighbourhood, it is not accessible.
A dialogue box asks for a network password to \\Tommy\IPC$, but does not allow the input of a user name.

Here is a copy of my smb.conf file:

[global]
workgroup = toms
server string = Debian Box

; load printers = yes
; printcap name = /etc/printcap
; printing = cups

guest account = nobody
invalid users = root
user = tom jon (user accounts on machine)
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0

security = user
encrypt passwords = true
socket options = TCP_NODELAY
dnsproxy = no

unix password sync = true
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n

[homes]
comment = Home Directories
browseable = no

; [printers]
; comment = All Printers
; browseable = no
; path = /tmp
; printable = yes
; public = no
; writable = no
; create mode = 0700

[hdc1]
comment = Hdc1
writable = yes
locking = no
path = /windows
#automount
preexec = /bin/mount /windows
postexec = /bin/umount /windows

[zip]
comment = Zip
writable = yes
locking = no
path = /zip
#automount
preexec = /bin/mount /zip
postexec = /bin/umount /zip

[cdrom]
comment = CD-ROM
writable = no
locking = no
path = /cdrom
#automount
preexec = /bin/mount /cdrom
postexec = /bin/umount /cdrom

As you can see, I have tried to solve the problem of the Windows boxes not allowing user name input by putting in the "user=" option.
I have also chmodded all the listed shares correctly far as i know
I have not tweaked the Win98 Registry at all.

If anyone can help me configure Samba or tweak the Windows machines, or see problems in the config above. please help!! It's probably really obvious to anyone more experienced, but i have read loads of samba docs and they confuse me beyond belief I don't want anything fancy, just simple password-protected file shares.

Thankyou in advance,
Tom.
 
Old 04-29-2003, 09:42 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Have you added your users to the Samba password file using "smbpasswd"?

The username that's used to connect to the Samba server is whatever name you are logged into Windows with. If you are not prompted for a username at logon you may want to check your "Primary Logon" under your network options by right clicking on "Network Neighborhood" choosing properties, its under there somewher!

HTH

Jamie...
 
Old 04-29-2003, 02:52 PM   #3
tmbowie16
LQ Newbie
 
Registered: Jan 2003
Location: Southampton, England, UK
Distribution: Ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks a bundle for that very quick reply, problem now solved!!
The reason was that I had completely forgotten about smbpasswd!!
Once I added the users, all was fine.
I've got lots of other little problems/annoyances i'm trying to solve (maybe I should use something a little friendlier than Debian to begin with methinks, but I am using it on an old P-166!!), so i guarantee there'll be PLENTY of other simple problem posts like this.

Cheers, Tom.
 
Old 04-30-2003, 02:38 AM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Glad you got it working. As for a more friendly distro - naaa! You'll learn more if its not friendly - give slackware a try!

cheers

Jamie...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Win98 to Samba PDC write-access issue NetAX Linux - Networking 3 05-08-2004 10:42 PM
win98 file access at linux eye Red Hat 2 10-19-2003 07:08 AM
Same old Problem, Win98 cannot access Samba share! mutantjazz Linux - Software 12 11-13-2002 10:51 AM
win98 access samba via linux ppp server problem jensonluk Linux - Networking 0 02-08-2002 12:52 AM
Win98 can't access Linux files, via Samba cornell Linux - General 8 07-19-2001 01:54 PM


All times are GMT -5. The time now is 07:34 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration