Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-29-2006, 05:11 PM   #1
Registered: Aug 2004
Location: United Kingdom
Distribution: Debian
Posts: 88

Rep: Reputation: 15
Question 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:

cat /etc/passwd | > /etc/samba/smbpasswd
smbpasswd <my_user>
And here is my smb.conf:
        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
        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,
Old 03-31-2006, 08:34 AM   #2
Registered: Jul 2003
Location: Bremen, Germany
Distribution: Ubuntu 9.10
Posts: 106

Rep: Reputation: 15
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... ;-)
Old 03-31-2006, 11:59 AM   #3
Registered: Aug 2004
Location: United Kingdom
Distribution: Debian
Posts: 88

Original Poster
Rep: Reputation: 15
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?


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba Home Directory bodhisattvia Linux - Software 0 07-12-2005 08:42 AM
samba wont work in my home directory jbzy3000 Fedora 2 03-05-2005 05:50 PM
How can home directory from another computer using Samba linuxeagle Linux - Networking 1 02-05-2004 01:33 PM
Can't view home directory with Samba Phaethar Fedora 2 12-04-2003 10:48 AM
samba home directory shares walewis Linux - Software 8 09-28-2003 06:03 PM > Forums > Linux Forums > Linux - General

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

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