Re: Variable wierdness in LDAP search

2006-05-06 Thread Erich Weiler
Good lord I'm embarrassed. I've been looking at this thing for hours and didn't notice the single quotes. Thanks for pointing that out! (even though it had nothing to to with the Net::LDAP module itself!) :) ciao, erich Chris Ridd wrote: On 6/5/06 5:39, Erich Weiler <[EMAIL PROTECTED]> wro

Re: Variable wierdness in LDAP search

2006-05-06 Thread Chris Ridd
On 6/5/06 5:39, Erich Weiler <[EMAIL PROTECTED]> wrote: > What I CAN'T seem to do is replace 'cn=staff' with a variable, like > 'cn=$ARGV[0]'. When I do that the search doesn't work. Maybe it's > actually searching for the string '$ARGV[0]' instead of actually > inserting the value of the variab

Variable wierdness in LDAP search

2006-05-06 Thread Erich Weiler
Hi ya'll, I was hoping someone could shed some light on this problem I'm having with Net::LDAP. I'm trying to write a bit of perl code that does an LDAP search and returns, via STDOUT, the value of an attribute in the LDAP database. In this case, I want the value of "nisMapEntry" from withi