From: Chris R. <chr...@me...> - 2002-03-20 16:34:04
|
Graham Barr <gb...@po...> wrote: > ----- Forwarded message from CZa...@wi... ----- > > Date: Wed, 20 Mar 2002 10:55:04 -0500 > To: gb...@po... > From: CZa...@wi... > Subject: Net::LDAP "CN" > > Hello, I would like to know how can I get the value of the common name > "cn" from this statment " foreach $entry ($mesg->entries) { $entry->dump; > }" I tried changing "$entry->dump" to "$entry->cn", but that appears to be > unacceptable. Try: $entry->get_value("cn"); This is described in the Net::LDAP::Entry documentation. Cheers, Chris |