[Samba] D flag at sambaAcctFlags

Gerald (Jerry) Carter jerry at samba.org
Fri Nov 18 13:18:51 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

guilhermemtorresbase-lista at yahoo.com.br wrote:
| Hello Gerald,
|
| after your explanation, I added the attribute
| "sambaPwdLastSet" to all my users with a non-zero
| value, but I still getting the "D" flag at
| sambaAcctFlags.
|
| Do you know which log level I must use in OpenLDAP to
| try to see when the server turns on the D flag? I will
| copy two ldif´s of my user´s to help you understand
| the problem.
|
| This user tryed do logon after I inserted the
| sambaPwdLastSet attribute.
| ---------
| # User 1: uid=dlc,ou=Users,dc=grad,dc=br
| dn: uid=dlc,ou=Users,dc=grad,dc=br
...
| sambaAcctFlags: [DU         ]
| sambaPwdLastSet: 1132249024

The user already has the 'D' flag stored.  So you
just need to (a) ensure that the sambaPwdLastSet
attribute exists and is non-zero, and (b)  remove
the 'D' flag.

Hope this helps.






cheers, jerry
=====================================================================
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"There's an anonymous coward in all of us."               --anonymous
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDfdS7IR7qMdg1EfYRAnPpAKCJq+gyNOyQPtbT4Hxwwr+XmtLeEgCbBigJ
grhCTtpc/hYU5YJYFxCv28k=
=ow9L
-----END PGP SIGNATURE-----


More information about the samba mailing list