svn commit: samba r4345 - in branches/SAMBA_4_0/source: .

Guenther Deschner gd at samba.org
Thu Dec 23 14:15:39 GMT 2004


On Thu, Dec 23, 2004 at 12:14:12PM +0000, vlendec at samba.org wrote:
> Author: vlendec
> Date: 2004-12-23 12:14:12 +0000 (Thu, 23 Dec 2004)
> New Revision: 4345
> 
> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4345
> 
> Log:
> Unify the representation of grouptype and samaccounttype to hex. Without any
> kind of schema support we only have string comparisons (Hmm. Is this true?)
> and must agree upon a common representation for integers. I suspect that we
> might sooner or later need a search filter for "This bit in this integer
> attrib is being set".

You mean in the way ads does it?

ads allows direct bitwise-queries given bitqueries in the matchingrule:

e.g. to show all users with "Password Never Expires" the filter should
look like 

"(&(objectCategory=person)(objectClass=user)(userAccountControl:1.2.840.113556.1.4.803:=65536))"

see

http://support.microsoft.com/default.aspx?scid=kb;en-us;269181

for details.

Cheers,
Guenther



-- 
Guenther Deschner                                               Samba Team
SerNet GmbH - Goettingen                                      gd at samba,org
gd at sernet.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20041223/f5894525/attachment.bin


More information about the samba-technical mailing list