Re: slapd 100% cpu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



2012/9/21  <m.roth@xxxxxxxxx>:
> Darod Zyree wrote:
>> Greetings,
>>
>> We have been attempting to set up a centos ldap server and then tried
>> to log in with a user account specified in our ldap environment on a
>> centos workstation.
>>
>> As soon as we attempt any kind of login from the centos workstation,
>> be it via gdm or su ldap_user, the slapd process on the ldap server
>> goes to 100% cpu.
>>
>> Is this normal behaviour?
>
> As underwhelmed as I was when I was working with openldap a few years ago,
> I never saw that behaviour. My first thought would be to wonder if you had
> some circular loops in your configuration. You have tried doing lookups of
> users using the ldap tool, right?
>
>        mark


You mean something like this?


[root@pc1 /]# ldapsearch -x -b "cn=Darod Zyree,ou=users,dc=local,dc=test"
# extended LDIF
#
# LDAPv3
# base <cn=Darod Zyree,ou=users,dc=local,dc=test> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# Darod Zyree, users, local.test
dn: cn=Darod Zyree,ou=users,dc=local,dc=test
cn: Darod Zyree
givenName: Darod
gidNumber: 500
sn: Zyree
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: top
userPassword:: e01ENX03cVVOakFLS1ZBVkZhMWhXaWNTaE1BPT0=
uidNumber: 1000
uid: dzyree
loginShell: /bin/bash
homeDirectory: /home/dzyree

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

This works on both the server and the workstation without any issue,
not even causing 100% slapd cpu.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux