[Samba] sambaLogonScript [another] problem

Miguel Medalha miguelmedalha at sapo.pt
Mon Jul 5 15:12:33 MDT 2010

> But it happens that when i create a new user, the sambaLogonScript 
> entry in the ldap database is set to %G.bat, exactly the entry i MUST 
> NOT have to load the script. Since i'm expanding my network and tons 
> of new users are coming, i trying to keep things very organized. I'll 
> need to change this entry for every new user or there is a smarter way 
> to do this?

I don't quite understand your problem here. From one of your previous 
posts, I understand that you are using smbldap-tools.
So, upon creating a new user, why don't you add the parameter -E "" to 
smbldap-useradd? See "man smbldap-useradd" for all parameters.

Either way, there are good web front ends to LDAP available, such as:

LAM - LDAP Account Manager


And two programs:

LDAP Admin (a Windows program)

Apache Directory Studio (very complete, runs on several platforms)

All of them are worth a try. I use all of them, to different purposes 
and on different occasions.

More information about the samba mailing list