From: <ma...@mj...> - 2001-04-03 22:39:57
|
On 3 Apr 01, at 15:03, Ron Hall wrote: > > > > > Did you actually encode it with SHA-1 before putting it into the > > slapd.conf file? > > The configuration tool provided by Netscape was happy to do it for > me..... Doh! stupid question, sorry. > > > > Normally it's the other way around for me :). I've used Netscape > > since alpha-1 DS 1.0 and never had this type of problem. > > > > I think the password is encoded incorrectly. > > How would I know :) sounds ok. > > > > > 48 is 48=Inappropriate authentication > > > > Can you send me or the list a copy of the code you're > > using. > > > > The code is awfully generic > > #!/opt/bin/perl > > use Net::LDAP; > > $ldap = Net::LDAP->new('directory.mcgill.ca') or die "$@"; > $result = $ldap->bind ( > dn => 'cn=Directory Manager, o=McGill, c=CA', > password => '--------' > ); Try this instead $result = $ldap->bind('cn=Directory Manager, o=McGill, c=CA', password => '......'); or even this $result = $ldap->bind('cn=Directory Manager', password => '....'); normally the Netscape directory manager is just cn=Directory Manager unless you specifically modified it. Mark > > $result->code && warn "failed to bind due to ", $result->code; > > > Also which version of the Netscape Directory server? > > 3.1 > > > > Mark Wilcox ma...@mj... Got LDAP? |