Thursday, December 3, 2015

no ldapsearch for me

 oh come on. no ldapsearch? for serious now?  
   
 on a nice box:  
 # rpm -q --whatprovides /usr/bin/ldapsearch  
 openldap-clients  
   
 oh okay.  
    
 # yum install openldap-clients  
    
 let's try something simple...  
   
 authenticated bind:  
 ldapsearch -h ldap.no.where.org -p 389 -x -D "cn=admin,dc=no,dc=where,dc=org" -b "dc=no,dc=where,dc=org" -w comp\!\!plex  
   
 stupid admin and his bangs in passwords <- oh wait. that's me. heh.  
   
 unauthenticated bind  
 ldapsearch -h ldap.no.where.org -p 389 -x -b "dc=no,dc=where,dc=org"  

 oh hey, what's up with no lsof on these systems... you know who you are.

No comments: