Forum Home
Press F1
 
Thread ID: 65948 2006-02-05 23:59:00 Samba Config jcr1 (893) Press F1
Post ID Timestamp Content User
427508 2006-02-05 23:59:00 I've installed Debian Sarge on my old computer and am in the process of networking it to my new computer (WinXP Pro). At present I can move between them fairly easily using a KVM switch, but longterm I don't want this. Hence I'm setting up samba; I've done a fairly simple samba configuration because at this stage I'm only interested in file sharing and from windows I can see the linux machine, but I am being prompted for a user name and password and my current ones don't work. I go to windows explorer - entire network - Microsoft Windows Network (which has a padlocked world symbol beside it) - expand that to Home then Debian and I get the Network connection in the screen to the right, named as Debian server etc..
So I can see it from windows. I double click on this icon and I get a dialog box with keys on it, which prompts me for a user name & password, which won't allow me access. Right clicking on the debian server icon I get this message " you do not have the appropriate access rights for this server"
Is there someone who could help me out with this please?
jcr1 (893)
427509 2006-02-06 06:13:00 this may help
samba sample file debian (www.debian.org)

I also remember somthing about samba password file you may have to add your self to that

Its been a while since Ive got down and dirty with samba

another trick I learned was to create the same user and password on both machines nix and windows
beama (111)
427510 2006-02-06 06:33:00 Basically the default Debian smb.conf file is set so that shares are secure.

If you want to allow guest access to a share, I had to add to the global section, the following lines:

map to guest = Bad User
null passwords =true
guest account = pcuser

and an actual share looks like

[music]
comment = Music
browseable = yes
path = /home/music
writeable = no
public = yes
guest ok = yes

otherwise make your unix accounts on the Debian box the same as the ones on the machine connecting to it.
gibler (49)
427511 2006-02-06 19:22:00 Thanks Beama & Gibler,
Tried those, still can't get access. The frustrating thing is I'm so close to making it work.
I set up samba a couple of years ago, but because I had no real specific need for it I let it go; now however, I have a very good reason for it (and/or Filezilla which is the subject of another post I made).
I remember on this forum, I was swamped with help - back in 2003. I was recovering from an operation so had plenty of time to fool around with configuring stuff. The trouble is, if you're not using things fairly regularly one soon forgets and I haven't even looked at samba since those days.
jcr1 (893)
427512 2006-02-06 19:44:00 I got around this by changing the following:
security=user
to:
security=share

Kills the need for passwords (which I didn't need anyway)
Myth (110)
427513 2006-02-06 19:46:00 Thanks Beama & Gibler,
Tried those, still can't get access. The frustrating thing is I'm so close to making it work.
I set up samba a couple of years ago, but because I had no real specific need for it I let it go; now however, I have a very good reason for it (and/or Filezilla which is the subject of another post I made).
I remember on this forum, I was swamped with help - back in 2003. I was recovering from an operation so had plenty of time to fool around with configuring stuff. The trouble is, if you're not using things fairly regularly one soon forgets and I haven't even looked at samba since those days.

Try throwing in your global section

log level = 3

Restart samba /etc/init.d/samba restart

Try connecting

Look at the logs in directory /var/log/samba/

Check this (kimihia.org.nz) too
gibler (49)
1