Re: bind UID in DN instead of CN

2015-02-04 Thread Andrew Findlay
On Fri, Jan 30, 2015 at 06:36:29PM +0100, Dennis wrote: This fails because it tries to accomplish this by using dn=uid=..., but as shown in phpldapadmin the dn is cn=Test Testuser,ou=users,dc=dmp,dc=... Therefore the distinguished name for dn=uid=...,ou=users,dc=dmp,dc=... doesn't exist (the

Openldap migration from 2.4.11 to 2.4.40 for 4-way multimaster servers

2015-02-04 Thread Gary Ho
Dear all, I have a 4-way multi-master openldap servers running in version 2.4.11.  Let's say the servers name are A, B, C, D. I have another 4-way multi-master openldap servers running in version 2.4.40.  Let's say the servers name are W,X,Y,Z. What's the proper procedure of migrating the data

ldapadd(1) second DIT

2015-02-04 Thread Igor Shmukler
Hello, I am having a problem executing the ldapadd(1) through ldapi for the below LDIF: dn: olcDatabase=hdb objectClass: olcDatabaseConfig objectClass: olcHdbConfig olcDatabase: hdb olcDbDirectory: /var/lib/ldap/example.com olcSuffix: dc=example,dc=com olcAccess: {0}to

Re: Invalid credentials after moving to a new server

2015-02-04 Thread Michael Ströder
... wrote: I have running OpenLDAP on a virtual Ubuntu 12.04 32bit. Now I am trying to ^ move with my data to a newer Debian 7 64bit. ^ So I installed OpenLDAP and rsynced /var/lib/ldap and

Re: ldapadd(1) second DIT

2015-02-04 Thread Igor Shmukler
Hello Dieter, Yes. You are correct. Thank you. I figured this one out a little while ago. The database number can be omitted (and ldapadd will fix it), yet ,cn=config must be present. Getting to the point where I sometimes figure it out on my own. :) Appreciate your help. Sincerely, Igor

Re: ldapadd(1) second DIT

2015-02-04 Thread Dieter Klünter
Am Wed, 4 Feb 2015 10:35:30 +0200 schrieb Igor Shmukler igor.shmuk...@gmail.com: Hello, I am having a problem executing the ldapadd(1) through ldapi for the below LDIF: dn: olcDatabase=hdb [...] this should be dn: olcDatabase={1}hdb,cn=config ... olcDatabase:{1}hdb ... The error is

ppolicy: pwdMinAge being enforced for managers

2015-02-04 Thread Phil
Hi all, We're implementing a basic user directory with OpenLDAP and the ppolicy attributes pwdMaxAge and pwdMinAge give use some desired functionality, but we need the ability for managers to reset a user's password. If we use the “rootdn” then this works, but we need to have other user accounts

plz provide me any simple authentication code in ldap

2015-02-04 Thread Bharath K
below is my codeby executing this i am getting as error as invalid credentials import java.util.Hashtable; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming. NamingEnumeration;