By Date: <-- -->
By Thread: <-- -->

Multi share point to the same drive letter



M Azer wrote:
I have the same setup where all of my Dept shares under a parent share for
example
finance, sales, IT are all under the shares folder and i have setup a one
login script in the user profile to map to the parent share
net use P: "\\samba\shares
however if someone from the sales group log in he will see all 3 share but
will only be permitted to go in the sales share same works with the other
group members. What I am trying to do is when the sales user log in I only
want the user to see the Sales folder 'share' only not the other two shares.
I have set the right permission on all shares where the each group own the
folder for example
sales folder will be owned by the root and the group will be the sales group
sales rwxrwx000 root sales
however when someone not a member of the sales group logon they still see
the sales folder 'share'

Could use the ifmember.exe program in your netlogon.bat.

\\samba\bin\xptools\ifmember.exe "DOMAIN\Sales" > NUL
if errorlevel 1 net use P: \\samba\shares\sales


--

-Toby


-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba