[Wylug-help] LDAP setup on Centos 7

Gary Stainburn gary.stainburn at ringways.co.uk
Fri Nov 27 16:29:15 UTC 2015


On Friday 27 November 2015 16:18:08 Simon Greenwood wrote:
> Hi Gary -
>
> Think I replied to the last reply in the thread.
>
> If you still have dc=server,dc=world in your config that should come out as
> that's what is causing the conflict. You may need to initialize your root
> again.
>
> s/
>

I did spot the instance where I missed the dc=server,dc=workd and fixed it.

It didn't solve the problem.

By running the following code, it appears that it's failing on the very first 
line of basedomain.ldif



[root at ollie2 ~]# systemctl stop slapd
[root at ollie2 ~]# slapadd -v -l basedomain.ldif
56588237 The first database does not allow slapadd; using the first available 
one (2)
slapadd: dn="dc=ringways,dc=com" (line=1): (64) value of single-valued naming 
attribute 'dc' conflicts with value present in entry
_#######               39.95% eta   none elapsed            none spd   1.5 M/s 
Closing DB...
[root at ollie2 ~]# cat basedomain.ldif 
# replace to your own domain name for "dc=***,dc=***" section

dn: dc=ringways,dc=com
objectClass: top
objectClass: dcObject
objectclass: organization
o: Ringways
dc: Server

dn: cn=Manager,dc=ringways,dc=com
objectClass: organizationalRole
cn: Manager
description: Directory Manager

dn: ou=People,dc=ringways,dc=com
objectClass: organizationalUnit
ou: People

dn: ou=Group,dc=ringways,dc=com
objectClass: organizationalUnit
ou: Group


[root at ollie2 ~]# 



More information about the Wylug-help mailing list