[Samba] 3.5.9: logon scripts are not working under non root user

TAKAHASHI Motonobu monyo at monyo.com
Sat Aug 6 06:19:43 MDT 2011

From: MarvinFS <marvinfs at gmail.com>
Date: Sat, 6 Aug 2011 14:04:34 +0600

> Thanx for a prompt answer,
> Actually it's working when i manually specify logon.bat as a logon script
> for each user's properties through GUI "user manager".
> but still if it's empty i thought samba have to use global config script but
> it's not,


>  it's OK when i have 10 users, but if i have 100 it's becoming
> annoying.

You can set logon script for example,

# pdbedit -S logon.bat test

Also you can list users for example,

# net sam users
# pdbedit -L | awk 'FS=":" {print $1}'

So you can make a script...

TAKAHASHI Motonobu <monyo at samba.gr.jp>

More information about the samba mailing list