Hi peoples .... i'm tryng configure openldap with postfix but qhen try add the below entry i receive next error:
gheorghe:~/difs # ldapadd -f base.ldif -x -D cn=Administrator,dc=domain,dc=com-w 123456 adding new entry "relativeDomainName=@, ou=dns,dc=domain,dc=com" ldap_add: Invalid syntax (21) additional info: objectClass: value #0 invalid per syntax
My ldif file:
dn: relativeDomainName=@, ou=dns,dc=domain,dc=com objectClass: dNSZone relativeDomainName: @ zoneName: domain.com dNSTTL: 3600 dNSClass: IN sOARecord: ns3.domain.com. administrator.domain.com. 2001030201 3600 1800 604800 86400 nSRecord: ns3.domain.com. mXRecord: 30 mail.domain.com.
My include schemas:
include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/nis.schema include /etc/openldap/schema/samba3.schema include /etc/openldap/schema/dnszone.schema include /etc/openldap/schema/yast.schema include /etc/openldap/schema/qmail.schema include /etc/openldap/schema/postfix.schema
Any help is welcome...!!!!
Best Regards!
"LITLE TUX" debian.developer@gmail.com writes:
Hi peoples .... i'm tryng configure openldap with postfix but qhen try add the below entry i receive next error:
gheorghe:~/difs # ldapadd -f base.ldif -x -D cn=Administrator,dc=domain,dc=com-w 123456 adding new entry "relativeDomainName=@, ou=dns,dc=domain,dc=com" ldap_add: Invalid syntax (21) additional info: objectClass: value #0 invalid per syntax
My ldif file:
dn: relativeDomainName=@, ou=dns,dc=domain,dc=com
ldapv3 does not allow spaces between rdn's
dn: relativeDomainName=@,ou=dns,dc=domain,dc=com
-Dieter
Dieter Kluenter wrote:
"LITLE TUX" debian.developer@gmail.com writes:
Hi peoples .... i'm tryng configure openldap with postfix but qhen try add the below entry i receive next error:
gheorghe:~/difs # ldapadd -f base.ldif -x -D cn=Administrator,dc=domain,dc=com-w 123456 adding new entry "relativeDomainName=@, ou=dns,dc=domain,dc=com" ldap_add: Invalid syntax (21) additional info: objectClass: value #0 invalid per syntax
My ldif file:
dn: relativeDomainName=@, ou=dns,dc=domain,dc=com
ldapv3 does not allow spaces between rdn's
That's wrong. The spaces will simply be trimmed in normalization step.
The error message mentioned above indicates that a particular object class is referenced in attribute 'objectClass' which is probably not included in the schema.
Ciao, Michael.
openldap-technical@openldap.org