We are in the process of setting up a read-only server profile where our 
users can view the user OU.  We would like to filter out all entries with 
expired passwords (or with expired Samba accounts).  We can exclude those 
entries from a command-line search.  For example:

   ldapsearch -LLL -x -w secret -h ldap1 \
     -D "cn=Directory Manager" -b 'ou=People,dc=my,dc=domain,dc=com' \
     '(|(!(shadowExpire=*))(shadowExpire>16287))'

   ldapsearch -LLL -x -w secret -h ldap1 \
     -D "cn=Directory Manager" -b 'ou=People,dc=my,dc=domain,dc=com' \
     '(|(!(sambaKickoffTime=*))(sambaKickofftime>=2014-08-05))'

We are using LAMpro 4.6.  I've looked through the on-line documentation 
and skimmed through the code but can't figure this out.  Is there a way to 
do this?

Thanks,
Carl

Carl G. Riches
IT Director
Department of Biostatistics
Box 357232                      voice:     206-616-2725
University of Washington        fax:       206-543-3286
Seattle, WA  98195-7232         internet:  [email protected]

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Lam-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lam-public

Reply via email to