Re: LDAP: is an account disabled ?

From: Joe Richards [MVP] (humorexpress_at_hotmail.com)
Date: 09/04/04

  • Next message: Steven L Umbach: "Re: calc.exe"
    Date: Sat, 04 Sep 2004 12:55:01 -0400
    
    

    MSDN Library. http://msdn.microsoft.com/library

    --
    Joe Richards Microsoft MVP Windows Server Directory Services
    www.joeware.net
    Pierre Bru wrote:
    > Joe Richards [MVP] wrote:
    > 
    >> Yes you can check with LDAP, you want to avoid any accounts where 
    >> (useraccountcontrol:1.2.840.113556.1.4.803:=2) isn't true. So you 
    >> simply add the following to whatever your query currently is
    >>
    >> (!(useraccountcontrol:1.2.840.113556.1.4.803:=2))
    >>
    >>   joe
    > 
    > 
    > thx a lot Joe! where can I find info on AD proprietary fields and their 
    > bitmask/values ?
    > 
    > Pierre.
    > 
    >> -- 
    >> Joe Richards Microsoft MVP Windows Server Directory Services
    >> www.joeware.net
    >>
    >>
    >>
    >> Pierre Bru wrote:
    >>
    >>> hi,
    >>>
    >>> can I check with LDAP if an account is disabled ? is there a field 
    >>> for that ?
    >>>
    >>> can I specify in an LDAP request made with netscape not to return the 
    >>> disabled account ?
    >>>
    >>> TIA,
    >>> Pierre.
    

  • Next message: Steven L Umbach: "Re: calc.exe"

    Relevant Pages

    • Re: LDAP Query
      ... Joe Richards Microsoft MVP Windows Server Directory Services ... > return the members attribute. ... > Joe Richards Microsoft MVP Windows Server Directory Services ...
      (microsoft.public.win2000.active_directory)
    • Re: ADAM Contact database
      ... Joe Richards Microsoft MVP Windows Server Directory Services ... > Joe Richards Microsoft MVP Windows Server Directory Services ...
      (microsoft.public.windows.server.active_directory)
    • Re: Customized Password change Notification Mechnism
      ... Your GINA wouldn't be overwritten but you may have to ... Joe Richards Microsoft MVP Windows Server Directory Services ... > Joe Richards Microsoft MVP Windows Server Directory Services ...
      (microsoft.public.win2000.active_directory)
    • Re: Current users security identifier
      ... > Joe Richards Microsoft MVP Windows Server Directory Services ... > Frank wrote: ...
      (microsoft.public.platformsdk.security)
    • Re: Oh.... Im just wondering whos seen this stumper...
      ... Joe Richards Microsoft MVP Windows Server Directory Services ... he was explicit write permissions. ... When I uncheck samaccountname, the ones he needs to write to don't get ...
      (microsoft.public.windows.server.active_directory)