sub string search for LDAP attribute sambaAcctFlags

Gerald (Jerry) Carter jerry at samba.org
Thu Jan 25 00:14:57 GMT 2007


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

Andreas Büsching wrote:
> Hi,
> 
> I think it would great to have the possibility to search for substrings 
> in the sambaAcctFlags attribute. This would be usful to be able to find 
> deactivated or locked samba accounts in an LDAP directory. E.g.
> 
> (&(objectClass=sambaSamAccount)(sambaAcctFlags=*D*))
> 
> For testing I modified the definition of the attribute like this:
> 
> attributetype ( 1.3.6.1.4.1.7165.2.1.26 NAME 'sambaAcctFlags'
>         DESC 'Account Flags'
>         EQUALITY caseIgnoreIA5Match
>         SUBSTR caseIgnoreIA5SubstringsMatch
>         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{16} SINGLE-VALUE )
> 
> RFC

Seems like a reasonable request.  I'll add this to my
patch queue.






cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFt/aBIR7qMdg1EfYRAuUgAKDQDrMDlOdA7qOsX6qUP1QwSRS/rwCgytZb
/WVdJaE/7Pp0jeCrrwEnz1U=
=bWus
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list