[Samba] disable logons for all users but Domain Admin?

Tomasz Chmielewski mangoo at wpkg.org
Mon Mar 2 13:51:10 GMT 2009

Tomasz Chmielewski schrieb:
> Is it possible to disable domain logons for all users but Domain Admins?

Seems like setting "L" in sambaAcctFlags does the job.

The problem is how to do it globally ;)

I exported users from LDAP and added "L" flag to all User accounts, but 
Administrator. Then, deleted users and imported the changed ldif.

Tomasz Chmielewski

More information about the samba mailing list