[Samba] Setting "password must change" for more than one user
abartlet at samba.org
Tue Feb 17 07:23:08 GMT 2004
On Tue, 2004-02-17 at 05:02, Fabien Chevalier wrote:
> Hello all,
> I'm using Samba 3 with ldapsam_compat and i have a bunch of users (~ 150).
> I'm trying to find a way to set 'password must change' attribute to a given value to all users of my domain, so
> that all be forced to reset their passwords at the same time.
> Is there an "easy" way to do that, better than editing ldap database "by hand" or writing a custom script?
> I looked at pdbedit, smbpasswd, smbldap-tools, and no...nothing seems to cope with it...
Administrators with large LDAP sites soon become very familiar with
Net::LDAP and perl scripting :-)
It's really not that hard... ;-)
(and yes, I know ldap can be a real pain - the benefit is that you *can*
do this kind of manipulation, directly on the backend)
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20040217/a4770c2b/attachment.bin
More information about the samba