Fabien Chevalier
2004-Feb-16 18:02 UTC
[Samba] Setting "password must change" for more than one user
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... Any idea? Cheers, Fabien Chevalier
Andrew Bartlett
2004-Feb-17 07:28 UTC
[Samba] Setting "password must change" for more than one user
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 -- Andrew Bartlett abartlet@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20040217/a4770c2b/attachment.bin