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. 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
Hans du Plooy wrote:
Hi list,
....
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"
You have two schemas loaded with the attribute "1.3.6.1.1.1.1.0" possibly nis and rfc2307bis.
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?
include the schema at nis.schema instead of the one at rfc2307bis.schema, nis defines some attributes as structural and rfc2307 as auxiliary. -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/IT d- s+:+() a31 C+++ UBL+++$ P+ L+++ E--- W++ N+ o++ K- w--- O+ M+ V- PS+ PE+ Y++ PGP+>+++ t+ 5 X+$ R- tv-- b+++ DI D++>+++ G++ e- h+(++) !r !z ------END GEEK CODE BLOCK------
Hi José, Thanks for your reply On Tue, 2005-04-26 at 11:48 +0200, José M. Fandiño wrote:
Starting ldap-server /etc/openldap/schema/nis.schema: line 40: Dubplicate attributeType: "1.3.6.1.1.1.1.0"
You have two schemas loaded with the attribute "1.3.6.1.1.1.1.0" possibly nis and rfc2307bis. Roughly my conlusion too.
include the schema at nis.schema instead of the one at rfc2307bis.schema, nis defines some attributes as structural and rfc2307 as auxiliary. I get other errors when I leave rfc2307 out:
/etc/openldap/schema/samba.schema: line 423: AtributeType not found: "gidNumber" the samba schema seems to depend on rfc2307.schema (I don't know much about LDAP, so I might have it completely wrong). I have removed nis.schema for now, since I don't use NIS at all - this won't affect samba, will it? -- Kind regards Hans du Plooy SagacIT (Pty) Ltd hansdp at sagacit dot com
I have removed nis.schema for now, since I don't use NIS at all - this won't affect samba, will it? OK, i just worked my way throug the nis.schema file - everything in
On Tue, 2005-04-26 at 14:14 +0200, Hans du Plooy wrote: there is in the rfc2307bis.schema file too, plus a whole lot more. so nis goes... :-) -- Kind regards Hans du Plooy SagacIT (Pty) Ltd hansdp at sagacit dot com
Hmmmmmmmmmm - seems to me that the nis vs rfc2307bis. schema issues will
be a matter of whether you want to use Yast or some type of web manager
like LAM for Samba administration.
Jon Johnston
Creative Business Solutions
IBM, Microsoft, Novell/Suse, Sophos Consultants
http://www.cbsol.com
blog:http://bingo.cbsol.com
Hans du Plooy
I have removed nis.schema for now, since I don't use NIS at all - this won't affect samba, will it? OK, i just worked my way throug the nis.schema file - everything in
On Tue, 2005-04-26 at 14:14 +0200, Hans du Plooy wrote: there is in the rfc2307bis.schema file too, plus a whole lot more.
so nis goes... :-)
-- Kind regards Hans du Plooy SagacIT (Pty) Ltd hansdp at sagacit dot com
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (3)
-
Hans du Plooy
-
jonlists
-
José M. Fandiño