Brian Thibault
2006-Jun-21 20:50 UTC
[Samba] Accessing home directories problem (XP Home Edition)
Hi there, I have my Samba, set up and running. My users are add and should be set up right. The problem is when I can't access my home directories from Windows XP Home Edition <http://www.linuxforum.com/forums/index.php?showtopic=179059#>. It should give me a login box right? .. but its not. It just gives me the error message that I don't have access to the folder. When I manually add my home directory though in my smb.conf, then click on that directory from my windows box, it presents me w/ a login box. After I login here, then I can access my "magic" home directory. Here is my smb.conf dump from testparm: [global] workgroup = XXXXX server <http://www.linuxforum.com/forums/index.php?showtopic=179059#> string = File Server map to guest = Bad User passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* log file <http://www.linuxforum.com/forums/index.php?showtopic=179059#> /var/log/samba/%m.log max log size = 50 server signing = Auto socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 printcap name = /etc/printcap preferred master = No domain master = No dns proxy = No ldap ssl = no guest ok = Yes hosts allow = 192.168.1., 127. cups options = raw [homes] comment = Home Directories valid users = %S read only = No [printers] comment = All Printers<http://www.linuxforum.com/forums/index.php?showtopic=179059#> path = /var/spool/samba printable = Yes browseable = No [briansdir] path = /home/brian valid users = brian read only = No guest ok = No [public] path = /home/public read only = No guest only = Yes case sensitive = No msdfs proxy = no Is the problem just w/ XP Home or what? Any help would be appreciated... Thanks, Brian
Ryan Steele
2006-Jun-21 21:26 UTC
[Samba] Accessing home directories problem (XP Home Edition)
You may be right. I've read places about people modifying registry entries on XP Home clients to get things to work properly, but according to the Samba3 book, if configured properly that's not the case. I dunno, I avoid Windows when I can, and when I am forced to use it, Win2k or XP Pro. Sorry I couldn't be of more help :-) Good luck, Ryan Brian Thibault wrote:> You maybe right, but i was under the impression it was just "domains" > that didn't work properly with XP Home, not peer-to-peer access. > > - Brian > > On 6/21/06, * Ryan Steele* <steele@agora-net.com > <mailto:steele@agora-net.com>> wrote: > > I'm pretty sure I read somewheres that XP Home Edition and Samba just > will not work, period.... I think it was the Samba3 By Example book, > written by Jerry Carter...but Jerry might be able to support/deny that > claim. > > Best, > Ryan > > Brian Thibault wrote: > > Hi there, > > > > I have my Samba, set up and running. My users are add and should be > > set up > > right. The problem is when I can't access my home directories from > > Windows XP > > Home Edition > > <http://www.linuxforum.com/forums/index.php?showtopic=179059#>. > > > > > > It should give me a login box right? .. but its not. It just > gives me the > > error message that I don't have access to the folder. > > > > When I manually add my home directory though in my smb.conf, then > > click on > > that directory from my windows box, it presents me w/ a login box. > > After I > > login here, then I can access my "magic" home directory. > > > > Here is my smb.conf dump from testparm: > > > > [global] > > workgroup = XXXXX > > server < > http://www.linuxforum.com/forums/index.php?showtopic=179059#> > > string > > = File Server > > map to guest = Bad User > > passwd program = /usr/bin/passwd %u > > passwd chat = *New*UNIX*password* %n\n > *ReType*new*UNIX*password* %n\n > > *passwd:*all*authentication*tokens*updated*successfully* > > log file > <http://www.linuxforum.com/forums/index.php?showtopic=179059# > > > /var/log/samba/%m.log > > max log size = 50 > > server signing = Auto > > socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 > > printcap name = /etc/printcap > > preferred master = No > > domain master = No > > dns proxy = No > > ldap ssl = no > > guest ok = Yes > > hosts allow = 192.168.1., 127. > > cups options = raw > > > > [homes] > > comment = Home Directories > > valid users = %S > > read only = No > > > > [printers] > > comment = All > > > Printers<http://www.linuxforum.com/forums/index.php?showtopic=179059# > <http://www.linuxforum.com/forums/index.php?showtopic=179059#>> > > path = /var/spool/samba > > printable = Yes > > browseable = No > > > > [briansdir] > > path = /home/brian > > valid users = brian > > read only = No > > guest ok = No > > > > [public] > > path = /home/public > > read only = No > > guest only = Yes > > case sensitive = No > > msdfs proxy = no > > > > > > Is the problem just w/ XP Home or what? > > > > > > Any help would be appreciated... > > Thanks, > > Brian > >
Gary Dale
2006-Jun-22 05:22 UTC
[Samba] Accessing home directories problem (XP Home Edition)
You cannot log onto a Samba domain (or any type of Windows domain) from Window XP/home. However, if you set up users on your Samba server, you can share their home directories. When Windows tries to connect, it will pass the current user name and password so you can access network shares. Note that these users need to be defined in Samba for the password checking to work. You can try playing around with %u in the path directive for your home directories. e.g. path = /home/%u. Try using SWAT to do the heavy lifting on this (such as creating your users). Brian Thibault wrote:> Hi there, > > I have my Samba, set up and running. My users are add and should be > set up > right. The problem is when I can't access my home directories from > Windows XP > Home Edition > <http://www.linuxforum.com/forums/index.php?showtopic=179059#>. > > > It should give me a login box right? .. but its not. It just gives me the > error message that I don't have access to the folder. > > When I manually add my home directory though in my smb.conf, then > click on > that directory from my windows box, it presents me w/ a login box. > After I > login here, then I can access my "magic" home directory. > > Here is my smb.conf dump from testparm: > > [global] > workgroup = XXXXX > server <http://www.linuxforum.com/forums/index.php?showtopic=179059#> > string > = File Server > map to guest = Bad User > passwd program = /usr/bin/passwd %u > passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n > *passwd:*all*authentication*tokens*updated*successfully* > log file <http://www.linuxforum.com/forums/index.php?showtopic=179059#> > /var/log/samba/%m.log > max log size = 50 > server signing = Auto > socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 > printcap name = /etc/printcap > preferred master = No > domain master = No > dns proxy = No > ldap ssl = no > guest ok = Yes > hosts allow = 192.168.1., 127. > cups options = raw > > [homes] > comment = Home Directories > valid users = %S > read only = No > > [printers] > comment = All > Printers<http://www.linuxforum.com/forums/index.php?showtopic=179059#> > path = /var/spool/samba > printable = Yes > browseable = No > > [briansdir] > path = /home/brian > valid users = brian > read only = No > guest ok = No > > [public] > path = /home/public > read only = No > guest only = Yes > case sensitive = No > msdfs proxy = no > > > Is the problem just w/ XP Home or what? > > > Any help would be appreciated... > Thanks, > Brian