SAMBA PDC Roaming Profiles Issue
Hi all
I am facing a problem.
I have configured SAMBA PDC on RHEL 6. Everything is going very smooth. Users are being logged in properly & their network drives (i-e; z: drives) are being shown. But either i login to Windows XP or Windows 7, user's profile does not get loaded. I get an error message, "You are logged in with a temporary profile". It would be so nice of you if anyone among you could guide me properly for how to resolve this issue.
A swift response would be highly appreciated.
Thanks/RegardsThanks/Regards
THE CODE IS AS UNDER:
[global]
add group script = /usr/sbin/groupadd %g
add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody %u
add user script = /usr/sbin/useradd -m %u
add user to group script = /usr/sbin/groupmod -G %g %u
cups options = raw
delete user script = /usr/sbin/userdel -r %u
dns proxy = no
domain logons = yes
domain master = yes
hosts allow = x.x.
idmap gid = 15000-25000
idmap uid = 15000-25000
log file = /var/log/samba/%m.log
logon drive = z:
logon home = \\%L\%U
logon path = \\%L\profiles\%U
logon script = logon.bat
max log size = 50
netbios name = abc
os level = 65
passdb backend = tdbsam
passwd chat = *New*Unix*Password* %n\n *ReType*new*Unix*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
passwd program = /usr/bin/passwd %u
preferred master = yes
printcap name = cups
printing = cups
security = user
server string = abc Samba Server
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
time server = yes
unix password sync = no
workgroup = abc
[homes]
comment = Home Directories
valid users = %U
browseable = no
read only = no
#valid users = %s
[netlogon]
comment = Network Logon Services
path = /var/lib/samba/netlogon
browseable = no
guest ok = yes
admin users = root
[profiles]
comment = Roaming Profiles
path = /home/samba/profiles
browseable = no
read only = no
writable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
printable = yes
create mask = 0600
guest ok = yes
[print$]
comment = Printer Drivers Share
path = /var/lib/samba/drivers
write list = root
[public]
comment = Public Stuff
path = /home/samba/public
read only = no
public = yes
create mask = 0777
directory mask = 0777
[WingLvlShare]
comment = Wing Level Sharing
path = /home/samba/wing-level
read only = no
writable = yes
public = no
create mask = 0770
directory mask = 0770