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

Re: ldapadd syntax error



amol g wrote:
Hi,

I am getting a syntax error for ldapadd. Is there a
list of error codes anywhere I can use.

This is the error I am getting

[root@srvrenres ex]# /usr/local/bin/ldapadd -D
"cn=Manager, dc=srvrenres, dc=co
m" -W < ex.ldif
Enter LDAP Password:
adding new entry "dc=srvrenres,dc=com "
ldapadd: update failed: dc=srvrenres,dc=com
ldap_add: Invalid syntax (21)
        additional info: objectclass: value #0 invalid
per syntax

probably seeing your ex.ldif would be helpful?

regards
--
          \\\ ||| ///                               _\=/_
           (  @ @  )                                (o o)
+--------oOOo-(_)-oOOo--------------------------oOOo-(_)-oOOo------+
| Markus Schabel      TGM - Die Schule der Technik   www.tgm.ac.at |
| IT-Service          A-1200 Wien, Wexstrasse 19-23  net.tgm.ac.at |
| markus.schabel@tgm.ac.at                   Tel.: +43(1)33126/316 |
| markus.schabel@members.fsf.org             Fax.: +43(1)33126/154 |
| FSF Associate Member #597, Linux User #259595 (counter.li.org)   |
|        oOOo        Yet Another Spam Trap:     oOOo               |
|       (    )    oOOo    yast@tgm.ac.at       (   )     oOOo      |
+--------\  (----(   )--------------------------\ ( -----(   )-----+
          \_)     ) /                            \_)      ) /
                 (_/                                     (_/

Computers are like airconditioners:
  They stop working properly if you open windows.