In message <[EMAIL PROTECTED]>, Stephen Touset <[EMAIL PROTECTED]> writes
On Wed, 2004-10-27 at 20:50 +0100, Joe wrote:
I'm getting this error with ldapadd -v .... run on localhost (default
port):

ldap_bind: Can't contact LDAP server (81)

I won't be able to say for certain until tomorrow, but I believe that's because you're not attempting to use simple authentication (the -x flag), and ldap(search|add|delete) use SASL authentication by default. Try the -x flag and let me know what happens.

Yes, I am. I went into all that while getting the Woody version going. Here is the original script (adding the -v made no difference to the message):

#!/bin/bash
ldapadd -x -vv -D "cn=admin,dc=jretrading,dc=com" -W -f /root/ldif.add

ldif.add is a suitable LDIF file. As I say, this worked on the Woody machine, and both files were copied without modification. I also tried ldapmodify -a just in case, but with exactly the same result.
--
Joe



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to