[Samba] root ownership on some profile files cause login errors
Gerald (Jerry) Carter
jerry at samba.org
Tue Nov 30 14:11:41 GMT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Justin Zachor wrote:
| Here's another question related to how to use masks --
|
| In my PDC area I specify:
|
| logon path = \\netapp\profiles\%u
I recommend %U and not %u for the 'logon path' in most cases
| This puts server-based (roaming) profiles on my
| Network Appliance (which itself is an SMB/PDC client).
|
| A previous admin here left this commented section:
|
| #[profiles]
| # path = /var/lib/samba/profiles # path = /netapp/profiles ???
| # read only = no
| # create mask = 0600
| # directory mask = 0700
|
| So, is this the sytax for masks?
| Do I add "create mask = 0744" -OR- "force create mask = 0744"?
| Where do I put it? Anywhere in smb.conf?
|
| Should the mask be 0077? (it's a mask, not chown
| notation, right??)
the 'create mask' is a bitwise logical AND with the
requested permissions. The force create mode is a bitwise
logical OR.
cheers, jerry
- ---------------------------------------------------------------------
Alleviating the pain of Windows(tm) ------- http://www.samba.org
GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song"--Switchfoot (2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBrH+dIR7qMdg1EfYRAjXKAJ4xPwt+xqvQdlXEoSX2VfGB5Q1BRwCfUEDo
yz722EST9QMNNcY5o9lPivw=
=85PN
-----END PGP SIGNATURE-----
More information about the samba
mailing list