24 Nov 2010

Operational LDAP attributes

Net::LDAP search don't return operational attributes by default. Then how to get operational attributes like createTimestamp, modifyTimestamp from Net::LDAP search ?. Specifying '*' in the attrs list will get the operational parameters. But Net::LDAP documentation says, '+' is used by some servers to request "all operational attributes".

$mesg = $ldap->search( ... ,
attrs => [
'*',
'createTimestamp',
'creatorsName',
'modifiersName',
'modifyTimestamp'
]
);



No comments:

Post a Comment