[Samba] Problems with copied samba userprofiles

Andreas Bauer andreas_bauer at arcor.de
Sun Sep 18 20:51:39 GMT 2005


I have an samba/ldap BDC. If I create an user

with his homedirectory on this BDC, the winxp

clients find the path to the userprofile on this

BDC, suse clients can also login with userprofile.

If I create an user on the PDC and copy the home directory

of this user to the BDC, the clients can login  at BDC,

but the userprofiles are not loaded. I thought there are

faults of unixrights, but I setted full rights

to the homedirectories and their subdirectories

and files. The rights of the BDC created homedirectories

and the PDC created homedirectories are not different.

Below there is my smb.conf of the BDC:

workgroup = company
domain logons = yes
domain master = no
name resolve order = wins bcast hosts
os level = 65
ldap suffix = dc=samba,dc=org
ldap user suffix = ou=People
ldap group suffix = ou=Groups
ldap machine suffix = ou=Computers
ldap admin dn = cn=Manager,dc=samba,dc=org
ldap ssl = no
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U
logon drive = P:
logfile = /var/log/samba/%m
passdb backend = ldapsam:ldap://
add user script = /usr/sbin/smbldap-useradd.pl -m %u
delete user script = /usr/sbin/smbldap-userdel.pl -r '%u'
add group script = /usr/sbin/smbldap-groupadd.pl -a %g
delete group script = /usr/sbin/smbldap-groupdel.pl %g
add machine script = /usr/sbin/smbldap-useradd.pl -w %u
add user to group script = /usr/sbin/smbldap-groupmod.pl -m %u %g
delete user from group script = /usr/sbin/smbldap-groupmod.pl -x %u %g
enable privileges = yes

valid users = %S
read only = no
inherit acls = yes

path = %H
writeable = yes

Best regards and many thanks


More information about the samba mailing list