[Samba] Problem Roaming Profile

Jose Pascual jpgm87 at gmail.com
Tue Dec 28 09:45:30 MST 2010


Hello.
I have configured PDC (Primary domain controler) with samba 3.2.5 and LDAP.
The workstation has installed Windows XP Service Pack 3.
When i log in to the server its work perfectly, i create files and when 
i log out these files are created on the server correctly. But if i log 
in with the same account from other computer, it doesn't load the files 
that belongs to this account. When i log in i can see the message 
(Loading the personal configuration...) and finish without alerts.

My smb.conf file:

[global]
dos charset = 850
Unix charset = ISO8859-1

workgroup = ASESORIA
realm = skynetlink.com

server string = %h server

map to guest = Bad User

username map = /etc/samba/smbusers

passdb backend = ldapsam:ldap://127.0.0.1/
ldap admin dn = cn=admin,dc=skynetlink,dc=com
ldap delete dn = Yes
ldap group suffix = ou=group
ldap idmap suffix = ou=idmap
ldap machine suffix = ou=computer
ldap suffix = dc=skynetlink,dc=com
ldap ssl = no
ldap user suffix = ou=people
add user script = /usr/sbin/smbldap-useradd -m %u
delete user script = /usr/sbin/smbldap-userdel %u
add group script = /usr/sbin/smbldap-groupadd -p %g
delete group script = /usr/sbin/smbldap-groupdel %g
add user to group script = /usr/sbin/smbldap-groupmod -m %u %g
delete user from group script = /usr/sbin/smbldap-groupmod -x  %u %g
set primary group script = /usr/sbin/smbldap-usermod -g %g %u
add machine script = /usr/sbin/smbldap-useradd -w %u

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8182
interfaces = eth0 lo
hosts allow = 127.0.0.1, 192.168.1.0/24
hosts deny = 0.0.0.0
smb ports = 139 445
bind interfaces only = Yes
name resolve order = wins hosts lmhosts bcast
remote announce = 192.168.1.255

pam password change = Yes
passwd program = /usr/sbin/smbldap-passwd -u %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *all*authentication*tokens*updated*

logon script = 'logon.bat %U'

logon path = \\%N\profiles\%U
logon drive = U:
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
panic action = /usr/share/samba/panic-action %d
map acl inherit = Yes
case sensitive = No
hide unreadable = Yes

unix password sync = Yes

syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000

time server = Yes

map hidden = Yes
map system = Yes

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0611
directory mask = 0711
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0611
directory mask = 0711
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
create mask = 0611
directory mask = 0711

[netlogon]
path = /var/lib/samba/netlogon
browseable = No
create mask = 0611
directory mask = 0711

[profiles]
path = /var/lib/samba/profiles
force user = %U
read only = No
create mask = 0611
directory mask = 0711
guest ok = Yes
profile acls = Yes
browseable = No
csc policy = disable
writeable = Yes

[public]
path = /tmp
read only = No
guest ok = Yes
create mask = 0611
directory mask = 0711







More information about the samba mailing list