LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 09-10-2010, 10:15 PM   #1
mgsmith7475
LQ Newbie
 
Registered: Mar 2008
Location: Michigan
Distribution: RHEL 5.4 / Ubuntu 9.10
Posts: 8

Rep: Reputation: 0
Hosting Windows Roaming Profiles on a Samba share


Everything works fine in doing this, however every time a user logs into the Windows Citrix Session the roaming profile created on the linux samba share creates their Windows Profile with a 755 perms. I understand that the default umask is (globally on my RHEL host is 022 ??) but in my smb.conf file the definition that is defined for the directory is set to a create mask of 0700. What is going on?

Thanks in advance!

Greg
 
Old 09-11-2010, 01:18 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
Can you post result of testparm command ?

Code:
$ sudo testparm
 
Old 09-12-2010, 09:29 PM   #3
mgsmith7475
LQ Newbie
 
Registered: Mar 2008
Location: Michigan
Distribution: RHEL 5.4 / Ubuntu 9.10
Posts: 8

Original Poster
Rep: Reputation: 0
testparm results

testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
WARNING: The "printer admin" option is deprecated
Processing section "[print$]"
Processing section "[jde_phase_e810]"
Processing section "[DXpress]"
Processing section "[jdeftp]"
Processing section "[jde_phase_II]"
Processing section "[citrix_profiles]"
Loaded services file OK.
'winbind separator = +' might cause problems with group membership.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions
[global]
dos charset = ASCII
unix charset = UTF8
display charset = UTF8
workgroup = KEYSTONE
realm = KEYSTONE.KFC
server string = DISTRIBUTION (CUPS) Server
security = ADS
allow trusted domains = No
password server = 205.223.6.15 205.223.6.16 205.223.5.131 205.223.5.132
passdb backend = tdbsam
restrict anonymous = 2
client NTLMv2 auth = Yes
client lanman auth = No
client plaintext auth = No
log level = 4
log file = /var/log/samba/%m.log
max log size = 50
unix extensions = No
printcap name = cups
os level = 33
preferred master = No
local master = No
wins proxy = Yes
wins server = 205.223.6.15
idmap domains = KEYSTONE
idmap uid = 15000-78000000
idmap gid = 15000-78000000
template shell = /bin/bash
winbind separator = +
winbind enum users = Yes
winbind enum groups = Yes
winbind:ignore domains = ROOT KFCTEST KEYSTONEUK FRANCE
idmap config KEYSTONE:range = 15000-78000000
idmap config KEYSTONE:backend = rid
cups options = raw
[citrix_profiles]
comment = JDEdwards Citrix Profiles
path = /profiles/CTX_Profiles
valid users = "@KEYSTONE+domain users", KEYSTONE+jde, "@KEYSTONE+it administrators", @KEYSTONE+jdeoneworldusers
read only = No
create mask = 0777
csc policy = disable
 
Old 09-13-2010, 02:48 AM   #4
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
700 means only owner has full permission if you want to give rwx permission to group set it to 770 never set it to 777
create mask is used for files and directory mask is used to set directory permission.

Code:
create mask = 0755    # <- 700 is default
directory mask = 0775 # <- 700 is default
HTH
Regards,
 
  


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
Samba With Roaming Profiles blackfish Linux - Server 1 03-31-2007 05:05 PM
samba, roaming profiles help. mehesque Linux - Networking 0 05-03-2004 09:07 PM
Storing roaming profiles on Samba share n7kn Linux - Software 11 10-03-2003 10:54 AM
Samba roaming profiles absco Linux - Networking 1 08-25-2003 11:44 AM
Samba and Windows roaming profiles firedude Linux - Networking 2 08-10-2003 02:58 PM


All times are GMT -5. The time now is 04:23 PM.

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