From: Chris R. <C.G...@Br...> - 2002-07-23 13:51:14
|
I found the problem. This: if (!($ldap->bind(dn=>$ACCOUNT, $PASSWORD))) { die "$ACCOUNT cannot bind to $SERVER with the password you supplied\n"; } should look like this: if (!($ldap->bind(dn=>$ACCOUNT, password => $PASSWORD))) { die "$ACCOUNT cannot bind to $SERVER with the password you supplied\n"; } I wasn't feeding the bind method the password statement correctly but it was still acting as though the bind was successful. Thanks to all who offered their help. |