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/
I could be missing something, but it sounds like your problem comes from the UNIX side of the server. 'administrator' would have to be a UNIX user with permission to rwx those directories. e.g. you could create a new group 'administrator,' make all the home folders owned by <username>and 'administrator' group with 770 permissions. Make administrator a member of administrator group (add to /etc/group) and he should be able to rwx. I think? On Thu, 09 Dec 2004 13:58:26 +1100, ip.guy <ip.guy@optushome.com.au> 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/ > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >-- All men are frauds. The only difference between them is that some admit it. I myself deny it. -- H. L. Mencken
-----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-----