in the global section:

       logon script = scripts\%U.bat

then have a script for each user by their username.bat

Leandro Tracchia wrote:
i'm not sure how to create different logon scripts for different
users. right now i have one logon script called 'logon.bat' that maps
all users to a server share and syncs the time with the server. i need
to be able to map different users to different server shares. not all
users should be mapped to all server shares. these should be automatic
mappings.

for example:

user1 should only be automatically mapped to music/ share when he logs in.
user2 should only be automatically mapped to photos /share when he logs in.

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

Reply via email to