[brlug-general] ldap question

Dustin Puryear dustin at puryear-it.com
Thu Jan 25 22:29:46 CST 2007


Oh, and if you ever write slucmsuid instead of sluCmsUid again, you
will be kicked out of LDAP-land. Haven't you noticed how it's done? :)

---
Puryear Information Technology, LLC
Baton Rouge, LA * 225-706-8414
http://www.puryear-it.com

Author:
  "Best Practices for Managing Linux and UNIX Servers"
  "Spam Fighting and Email Security in the 21st Century"

Download your free copies:
  http://www.puryear-it.com/publications.htm


Thursday, January 25, 2007, 7:16:33 PM, you wrote:

> Someone give me a hint on how to tell ldapsearch to NOT return attributes
> with NULL values, so i don't have to put this freaking ridiculous
> script into production, hahaha.  Server is eDirectory, but don't wanna
> change anything there.


> #!/bin/sh


> ldapsearch -h x.x.x.x -D cn=x,ou=y,o=z -w pass -x -b ou=y,o=z -s sub \
> '(|(|(|(|(|(|(|(|(|(|(|(|(|(|(|(|(|(|(|(|(|(|(|
> (slucmsuid=a*)
> (slucmsuid=b*)
> (slucmsuid=c*)
> (slucmsuid=d*)
> (slucmsuid=e*)
> (slucmsuid=f*)
> (slucmsuid=g*)
> (slucmsuid=h*)
> (slucmsuid=i*)
> (slucmsuid=j*)
> (slucmsuid=k*)
> (slucmsuid=l*)
> (slucmsuid=m*)
> (slucmsuid=n*)
> (slucmsuid=o*)
> (slucmsuid=p*)
> (slucmsuid=q*)
> (slucmsuid=r*)
> (slucmsuid=s*)
> (slucmsuid=t*)
> (slucmsuid=u*)
> (slucmsuid=v*)
> (slucmsuid=w*)
> (slucmsuid=x*)
> (slucmsuid=y*)
> (slucmsuid=z*)
> )))))))))))))))))))))))' \
> -v mail -v slucmsuid





More information about the General mailing list