If you have access to the LDAP server admin, you might want to ask if 
there is a filter preventing anonymous binds from revealing the telephone
attribute.

Your code  seems to imply that your are doing anonymous binds.


pearly wrote:
> Hi. Strange: Looks like somebody posted a reply
> which I could not see - neither in the news reader
> nor in groups.google.com.
> The sender's ID was 'garbagecat10'.
> I found the reply when giving it another trial
> under "Forbiddenweb Archive". Anybody any idea
> what happened there?
>
> Ok, here is the contributor's question back to me,
> so he/her or anybody else may have further ideas:
>
>   
>> What happens if you use Net::LDAP::Entry#each to dump
>> out all of the attributes that were returned from the
>> server?
>>     
>
> This results in the following list:
>
> roaminguser
> mailsystem
> sn
> checkpassword
> cn
> messagestorage
> passwordchangeinterval
> displayname
> encryptincomingmail
> uid
> passwordgraceperiod
> originalmodtime
> roamcleansetting
> givenname
> objectclass
> roamcleanper
> mail
> maildomain
> personaltitle
> availablefordirsync
> dn
>
> So no telephonenumber, no telephone.
>
> Any further ideas?
> Thanks to all of you.
> MP
>
>
>