Hi,
could need some help.
I want to do with Net::LDAP what ldapsearch is doing with:
ldapsearch -x -LLL -s base contextCSN
with Net::LDAP I am struggeling ... tried the following:
$search = ldap->search( base => $BaseDn, scope => ''base', filter =>
'*', attrs => 'contextCSN'] );
This results i
--On Monday, July 15, 2019 5:53 PM +0200 Christian
wrote:
Hi,
could need some help.
I want to do with Net::LDAP what ldapsearch is doing with:
ldapsearch -x -LLL -s base contextCSN
with Net::LDAP I am struggeling ... tried the following:
$search = ldap->search( base => $BaseDn, scope => ''
Hello Christian,
I don't know the exact syntax for ldapsearch because I haven't used it
for ages.
filter => '*' indeed is no valid filter. It is a bit like trying an SQL
command like SELECT contextCSN FROM $table WHERE *
If I remember correctly, you either need to omit the filter:
$search