[Wylug-help] LDAP setup on Centos 7

David Morris david.morris at 3gtelecoms.net
Fri Nov 27 16:38:51 UTC 2015


can you try:

grep "dc=" * -r

then email the results?

David Morris
3G Telecommunications Limited

Office: +44 (0)113 391 0781
Mobile: +44 (0) 7790 606023
email: david.morris at 3gtelecoms.net
skype: david-3gtelecommunications

On 27 November 2015 at 16:28, Gary Stainburn <gary.stainburn at ringways.co.uk>
wrote:

> 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 ~]#
>
> _______________________________________________
> Wylug-help mailing list
> Wylug-help at wylug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/wylug-help
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/wylug-help/attachments/20151127/ae0f91f1/attachment.html>


More information about the Wylug-help mailing list