[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: invalid dn - newbie here



begin  Terry Davis quotation:
>ldap_modify: Invalid DN syntax
>        additional info: invalid DN
>/usr/local/openldap/bin/ldapmodify -c -r -h $LdapHost -D $slapd_rootdn
>-w \"$slapd_rootpw\""

Do a little debugging and echo the $LdapHost $slapd_rootdn and
$slapd_rootpw that you are setting in your script.  You'll find that
they don't exist the way you think they do, probably because if you have
spaces in there and it's not surrounded by quotes, ldapmodify interprets
them as seperate arguments.
-- 
Blue skies...		Todd
| Get a bigger hammer!   |  Are you feeling lucky...punk?         |
| http://www.mrball.net  |  I've had better days...               |
| http://faq.mrball.net  |  It's the end of the world as we know i|