RE: LDAP Search for all attributes of a DN

2011-03-08 Thread Brian Gaber
> Try using your second attempt but add a filter of "(objectClass=*)". I tried this and still do not get expected return $mesg = $ldap->search( base => $dn, scope => 'base', filter => '(objectClass=*)', ); Both of these command line

Re: LDAP Search for all attributes of a DN

2011-03-08 Thread Christopher Bongaarts
Brian Gaber wrote: Try using your second attempt but add a filter of "(objectClass=*)". I tried this and still do not get expected return $mesg = $ldap->search( base => $dn, scope => 'base', filter => '(objectClass=*)', ); Is the

RE: LDAP Search for all attributes of a DN

2011-03-08 Thread Brian Gaber
Thanks for your help. The dn begins with the form cn=lastname, firstname, ou=... I had the dn in double quotes. When I put the dn in single quotes and escaped the comma after the lastname then the search worked.