I installed SAMBA on my Debian Sarge box and got it working easily. The idea is a simple file server for my son's laptop running XP Pro.
We are able to connect and get read/write access to my home directory.
My problem is that to test it on my son's laptop, I entered
my own Samba user name (as registered in Linux via smbpasswd) instead of my son's. Unfortunately we clicked "save password" in the Windows sign-in dialog for the SAMBA connection.
Now I want for my son to access his own home directory files, not mine. No matter what I do Windows automatically logs in as me (lloyd) not as my son (miles).
I have tried everything I can think of, including changing my own SAMBA user password. When I do that, I get the XP machine sign in dialog, but it won't take his username and password. I have also tried restarting Windows.
This seems like the problem is on the Windows SAMBA client, not in the server, but here is my simple smb.conf file anyway:
Quote:
# Global parameters
[global]
server string = %h server (Samba %v)
obey pam restrictions = Yes
passdb backend = tdbsam, guest
syslog = 0
log file = /var/log/samba/log.%m
max log size = 100
dns proxy = No
panic action = /usr/share/samba/panic-action %d
invalid users = root
hosts allow = 127.0.0.1, 192.168.1.0/24
[homes]
comment = Home Directories
read only = No
create mask = 0700
directory mask = 0700
browseable = No
|
Hope someone can help! Until then I removed the [homes] entry and I set up a share (not shown here) for my son to access a directory /home/milesspecial that I chowned to my user/group. But this does not allow anyone to connect to their home directory via SAMBA.