[Samba] different logon scripts and mappings for individual users

Leandro Tracchia ltracchia at gmail.com
Tue Jun 17 16:36:26 GMT 2008

really? i'm glad i only have 18 users. what if there is a common set
of server shares that i would want everyone to map to, with exception
of a handful of users. would i still be forced to have a script for
each individual user???

On Tue, Jun 17, 2008 at 12:21 PM, Adam Williams
<awilliam at mdah.state.ms.us> wrote:
> 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.

More information about the samba mailing list