LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-08-2008, 04:05 AM   #1
coolsiddh22
LQ Newbie
 
Registered: Dec 2008
Location: India
Posts: 1

Rep: Reputation: 0
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

#-----------------------------------------------------------------------------------
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
roaming profile on samba.. cruzler Mandriva 0 10-26-2008 10:46 PM
samba roaming profile sahu_mahen Linux - Networking 0 07-13-2006 10:20 AM
Samba - Controlling the XP Profile fieldyweb Linux - Networking 2 09-28-2005 06:30 PM
Samba - Roaming profile problem wimdeg Linux - Software 3 11-03-2003 06:24 AM
Samba - Roaming Profile problem wimdeg Linux - Software 0 11-02-2003 03:39 PM


All times are GMT -5. The time now is 12:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration