[Samba] include statement proble

Gerald (Jerry) Carter jerry at samba.org
Thu Dec 9 13:46:03 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ip.guy wrote:
| hi all...
|
| i have a little problem with an include statement in my smb.conf.
|
| what i want to achieve is to allow the "administrator"
| user access to  "read/write/browse" to all the
| users home drives under "/array2/samba/homes"
|
| can anyone see why even after the include file was
| added, the administrator user is not able to browse
| /array2/samba/homes/* ?
|
| [homes]
|        browseable = no
|        writeable = Yes
|        include = /etc/samba/%U
|        path = /array2/samba/homes/%U
|        force create mode = 770
|        create mask = 0770
|
| #include file called "administrator"
| [homes]
|        browseable = yes
|        writeable = yes
|        path = /array2/samba/homes/
|

smb.conf is parsed top to bottom.  put the include line
after the path line in the main [homes] share.





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

iD8DBQFBuFcbIR7qMdg1EfYRAvaQAKDkk3K2gtwI0ldZIbWDHOMAl+FDawCfXkNe
gdUHTFKhmoz12qPUT3Ki1dI=
=Zbcp
-----END PGP SIGNATURE-----


More information about the samba mailing list