[Samba] samba roaming profile
Lukasz Szybalski
szybalski at gmail.com
Wed Jul 18 16:13:33 GMT 2007
Debian stable: Samba -3.0.24-6etch2
I set up a samba server as a pdc.
smb.conf
logon path = \\%L\profiles\%U
logon home = \\%L\%U
[profiles]
comment = Network PRofiles Share
path = /home/samba/profiles
#read only = No
#store dos attributes = Yes
#create mask = 0600
#directory mask = 0700
#browseable = no
#guest ok = no
#printable = no
writable = yes
I created the folders
/home/samba
drwxr-xr-x 4 root root 4096 2007-07-16 10:09 samba
/home/samba/profiles
drwxr-xr-x 3 root root 4096 2007-07-17 10:27 netlogon
drwxr-xr-x 7 root root 4096 2007-07-17 12:36 profiles
I create user and add it to samba
adduser newuser
adduser newuser2
smbpasswd -a newuser
smbpasswd -a newuser2
I am able to log in.
Then I get an error from windows XP saying that it is not able to
update/get my profile on the server.
I read the
http://lists.samba.org/archive/samba/2004-September/093587.html
so I decided to add
[profiles]
admin users = newuser2
This means that newuser2 can act root.
In my profile I get another folder created automatically only for newuser2
1. Why is the folder created only for newuser2 and not newuser?
drwxr-xr-x 2 root newuser2 4096 2007-07-18 09:20 newuser2
2. Why is the /home/samba/profiles/newuser2 empty? It is not filled
with roaming profile after I logging out of windows XP?
I log in to newuser:
cannot load a roaming profile, loading your local profile
cannot locate local profile
I log in to newuser2:
cannot locate roaming profile on server
3. How do I make the roaming profile working. It is the case that
setting up the users and adding logon path, logon home, profiles to
smb.conf is not enough?
What else needs to be done?
More information about the samba
mailing list