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

newbie problem w/ ldappadd



 hi all,
     
   last time i use this command   
[root@mail bin]# ldapadd -x -D "cn=qmailusers,dc=mail,dc=hollybridge,dc=not" -w secret -f example.ldif   -v
ldap_initialize( <DEFAULT> )
add objectClass:
        top
        organization
        dcobject
add dc:
        mail
add o:
        qmailusers
adding new entry "o=qmailusers,dc=mail,dc=hollybridge,dc=not "
ldap_add: No such object

ldif_record() = 32


 if i use following  command
  [root@mail bin]# ldapadd -x -D "o=qmailusers,dc=mail,dc=hollybridge,dc=not" -w s
ecret -f example.ldif   -v
ldap_initialize( <DEFAULT> )
ldap_bind: Invalid credentials




 any ideas?