LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Samba - home directory not accessible (https://www.linuxquestions.org/questions/linux-general-1/samba-home-directory-not-accessible-429772/)

essdeeay 03-29-2006 05:11 PM

Samba - home directory not accessible
 
I've installed Samba on FC5 and configured it using Swat.

I can browse the network from my XP machine to the Samba server, and when I get there, I can see my home directory. However, when I try to enter it, I'm being asked for a username/password which isn't being accepted. No errors are being written to the samba log files when this happens.

What I've done:

Code:

cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd
smbpasswd <my_user>

And here is my smb.conf:
Code:

[global]
        server string = Samba Server
        log file = /var/log/samba/%m.log
        max log size = 50
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        dns proxy = No
        ldap ssl = no
[homes]
        comment = Home Directories
        valid users = users
        read only = No
        browseable = No

My smbpasswd and Unix passwd are the same. I've read help files, searched high and low but do not know what is wrong. Can anyone help please?

Many thanks,
Steve :)

Thoddy 03-31-2006 08:34 AM

Quote:

Originally Posted by essdeeay
I'm being asked for a username/password which isn't being accepted.

This sounds like a problem I also had - the settings for accepting (un)encrypted passwords has to be same on both machines. There are 2 possibilites:

(1) Change in the Windoze registry (sorry, I don't know the path right now - but it can be easily googled)

(2) Change in the Sambs global settings

I don't know if this helps - but give it a try... ;-)

essdeeay 03-31-2006 11:59 AM

Thank you for your reply, but no joy I'm afraid. I don't want to use unencrypted passwords on my XP machine, so I looked at Samba instead. Either Yes/No to the "encrypted passwords = " option, and also specifying the location of the Samba password file with the "smb passwd file = " option, makes no effect.

As I said, on a different XP machine, logging into my Gentoo box, the same config works perfectly. Both mine, and the other XP box were built by me and are pretty much standard.

Any more ideas?
Steve :(


All times are GMT -5. The time now is 03:33 PM.