Re: adding user ldif to ldap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 29 October 2010 10:39, Tim Dunphy <bluethundr@xxxxxxxxx> wrote:

> LDAP# ldapadd -x -D "cn=Manager,dc=summitnjhome,dc=com" -W -f /tmp/passwd.ldif
> adding new entry "uid=root,ou=People,dc=summitnjhome,dc=com"
> ldap_add: Invalid syntax (21)
>       additional info: objectClass: value #6 invalid per syntax
>
> Here is the first entry which presented a problem when I attempted to add it:
>
> dn: uid=root,ou=People,dc=summitnjhome,dc=com
> uid: root
> cn: Enoch &
> givenName: Enoch
> sn: &
> mail: root@xxxxxxxxxxxxxxxx
> mailRoutingAddress: root@xxxxxxxxxxxxxxxxxxxxx

Perhaps the 6th line of attributes (value #6?)  contains
mailRoutingAddress. Is mailRoutingAddress defined in your schema?


-- 
Norman Gaywood, Computer Systems Officer
University of New England, Armidale,
NSW 2351, Australia

ngaywood@xxxxxxxxxx            Phone: +61 (0)2 6773 3337
http://mcs.une.edu.au/~norm ;   Fax:   +61 (0)2 6773 3312

Please avoid sending me Word or Power Point attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux