[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Bind using a user other than organizationalRole user
- To: openldap-software@openldap.org
- Subject: Bind using a user other than organizationalRole user
- From: Marcelo de Moraes Serpa <celoserpa@gmail.com>
- Date: Tue, 6 Apr 2010 13:28:27 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=XaVTDk94bt6TjN/pwNqzPjsF8BJJSdXq7wyBontwuWE=; b=SdjULbYiwbRBcGFvamIgcgb9Klgsv38DSk/Nh3LN5zl9GxuGid5SjdZ2GSSZq4qM3h V5yJdmlRSea5O7Iii5t0ccUWPdKfaLAmJ+B4qtc9xNbJpgbqcetKbXvUcxIkc8Y2FCrz 8d/Vv4DI7ZrCKcGzrZV+CFvvEcNEw0Y+4gAwE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=psCtGGNSukj+pDiy9ovo+oU/+dukg79esrBFNXRGac82kL/DN2OSkgfbcVPq/zRudT LZtBiN6Ty/9zDWxM/6u671giMcDtYWaTGk1j51UyZeIglaSFt9qEGcg2rYtn/uD3SPge 5ZcROFA5ZBqXTnkseHlq4fM3ov01jzakeXg24=
Hello list,
I have a local OpenLDAP server with a couple of users. I'm using it for development purposes, here's the ldif:
#Top level - the organization
dn: dc=site, dc=com
dc: site
description: OneLogin LLC
objectClass: dcObject
objectClass: organization
o: OneLogin LLC
#Top level - manager
dn: cn=Manager, dc=site, dc=com
objectClass: organizationalRole
cn: Manager
#Second level - organizational units
dn: ou=people, dc=site, dc=com
ou: people
description: All people in the organization
objectClass: organizationalunit
dn: ou=groups, dc=site, dc=com
ou: groups
description: All groups in the organization
objectClass: organizationalunit
#Third level - people
dn: uid=celoserpa, ou=people, dc=site, dc=com
objectclass: pilotPerson
objectclass: uidObject
uid: celoserpa
cn: Marcelo de Moraes Serpa
sn: de Moraes Serpa
userPassword: secret_12345
mail: marcelo@site.com
So far, so good. I can bind with "cn=Manager,dc=site,dc=com" and the 12345678 password (the local server password, setup on slapd.conf).
However, I would like to bind with any user in under the people OU. In this case, I'd like to bind with:
dn: uid=celoserpa, ou=people, dc=site, dc=com
userPassword: secret_12345
But I'm getting a (49) - Invalid Credentials error everytime. I have tried through CLI tools (such as ldapadd, ldapwhoami, etc) and also ruby/ldap. The bind with these credentials fails with a invalid credentials error.
I was suspecting that maybe OpenLDAP doesn't compare against userPassword? Or maybe some ACL configuration I am missing that is somehow affecting the read access to userPassword for the specific DN.
I'm really lost here, any suggestion appreciated!
Cheers,
Marcelo.