Re: Perl Net::LDAP::Entry

Chris Ridd <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.ldap
Message-ID <[email protected]>
On 12 Apr 2010, at 06:21, William King wrote:

> Is there a way to get the internal attributes? such as for an
> inetOrgPerson entry I would want access to:
> 
> createTimestamp
> creatorsName
> modifiersName
> modifyTimestamp
> 
> These are available when using phpldapadmin and selecting internal
> attributes. Is it possible to expose these in perl?
> 
> -William King
> 

They're operational (not "internal") attributes, and as such you have to specifically request them in the search operation. The documentation for Net::LDAP search() method gives several examples of doing this.

The documentation could also note that '+' is used by some servers to request "all operational attributes" are returned.

Cheers,

Chris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.