Samba Profile problems
Dear All,
i have a samba server configure in my network. all the shares can be accessed, everthing is working fine. here is my problem. when i deactivate a user with smbpasswd -d <username> command the user is deactivated. but if the same user do not login to the domain his local profile gets deleted. i can still see the profile folder on users home directory. after this i dont have any other choice than again adding the user to the domain. please suggest me if am wrong anywhere. this is my configuration. #======================= Global Settings ===================================== [global] workgroup = SARASWATI server string = Samba Server load printers = yes cups options = raw log file = /var/log/samba/sys/%m.log log file = /var/log/samba/smbd.log log level = 1 max log size = 500 smb ports = 139 encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 local master = yes os level = 65 time server = yes domain master = yes preferred master = yes domain logons = yes dns proxy = no #============================ Share Definitions idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 template shell = /bin/false winbind use default domain = no [homes] comment = Home Directories browseable = no writable = yes [netlogon] comment = Network Logon Service path = /home/netlogon guest ok = yes writable = no share modes = no [Profiles] path = /home/profiles browseable = no read only = No guest ok = yes create mask = 0600 directory mask = 0700 hide files = /desktop.ini/outlook*.lnk/*Briefcase*/ store dos attributes = Yes [printers] comment = All Printers path = /var/spool/samba browseable = no public = yes guest ok = no writable = no [QUALITY] path = /data/QUALITY comment = ISO EDIT Data valid users = @quality write list = @quality browseable = yes create mask = 0775 directory mask = 0775 force group = quality #------------------------------------------------------------------------------------ [FINANCE] path = /data/FINANCE comment = FINANCE DATA valid users = @finance write list = @finance browseable = yes create mask = 0775 directory mask = 0775 force group = finance #------------------------------------------------------------------------------------- [PUBLIC] path = /data/PUBLIC comment = Data for all users valid users = @staff @finance writable = yes browseable = yes create mask = 0775 directory mask = 0775 force group = staff #----------------------------------------------------------------------------------- |
All times are GMT -5. The time now is 12:48 PM. |