Hi list, I'm trying to set up an OpenLDAP server to provide the goodies for samba and postfix running on the same box - SUSE 9.2 Pro The trouble start fairly early, unfortunately. I'm following the idealx.org documentation, which suggest using samba.schema as well as inetorgperson.schema and nis.schema. (John Terpstra's book suggest this as well). There seems to be a conflict between schemas. I get the following message when starting the ldap server: Starting ldap-server /etc/openldap/schema/nis.schema: line 40: Dubplicate attributeType: "1.3.6.1.1.1.1.0" If I disable the nis.schema, I don't get the error and openldap starts cleanly. Is it safe to disable the nis schema, or is it necessary for samba? Thanks -- Kind regards Hans du Plooy SagacIT (Pty) Ltd hansdp at sagacit dot com
> There seems to be a conflict between schemas. I get the following > message when starting the ldap server: > Starting ldap-server /etc/openldap/schema/nis.schema: line 40: > Dubplicate attributeType: "1.3.6.1.1.1.1.0"What attribute is this? Have you looked at just commenting out the offending attribute in one of the files? For instance, several schemas define displayName, you just pick one to provide it.
On Mon, 2005-04-25 at 18:15 -0400, Adam Tauno Williams wrote:> > There seems to be a conflict between schemas. I get the following > > message when starting the ldap server: > > Starting ldap-server /etc/openldap/schema/nis.schema: line 40: > > Dubplicate attributeType: "1.3.6.1.1.1.1.0" > > What attribute is this? Have you looked at just commenting out the > offending attribute in one of the files? For instance, several schemas > define displayName, you just pick one to provide it.Hi, I found the problem. SUSE 9.2 Pro has a rfc2307bis.schema file too, which contains everything that the nis.schema file contains, and a whole lot more. removing nis.schema thus has no ill-efect, but removing the rfc2307bis one makes ldap complain about missing attributes from samba.schema. So nis goes..... :-) Thanks -- Kind regards Hans du Plooy SagacIT (Pty) Ltd hansdp at sagacit dot com