Hello,   
 
I am new to Net::LDAP and this list, although I don't believe my subscription to the list has gone through yet so please CC any responses to [EMAIL PROTECTED].
 
That being said I have an issue that has been plauging me for quite some time, a while back I posted to perlmonks.org, but came up empty handed. I gave up for that time, but now I am back and trying to figure out why exactly I can return data only for the last query I send my searchobject. Basically for the data I parse and then send out of cablemodems.txt I want this script to go through each mac and send it to LDAP and return attributes. For some reason only the last mac I send no matter what mac it is will return any data. I am attaching my code for this issue as well as a log of what the debug outputs. Please also notice what I believe to be the problem. The string being sent under APPLICATION in the debug is not full in the first 4 query's like it is on the last one. They are returning APPLICATION 3 instead of 4 & o=cableone instead of the full string with cn=mac, ou=cmdevice, o =cableone, I just dont know why its doing this !
 
Psuedo txt file cablemodems.txt:
000b.06f2.cfde
0008.0e36.c066
0090.833c.fba4
0090.8341.5055
0090.833c.9da5
 
EOF
 
Perl Monks Thread:
 
The Debug and Code are attached. Please help and make sure you CC my email address. I am running this on ActivePerl 5.8 build 806.
 
Thanks,
Jason Riedel

Attachment: new.pl
Description: Binary data

Attachment: debuglog.log
Description: Binary data

Reply via email to