[Mageia-sysadm] Creating ldap account

nicolas vigier boklm at mars-attacks.org
Mon Oct 10 19:31:39 CEST 2011


I'm trying to create the ldap account that will be used by mediawiki.

So I'm running this :
ldapvi --host  ldap.mageia.org -Z --tls allow  -D "uid=boklm,ou=People,dc=mageia,dc=org" -b ou=System Accounts,dc=mageia,dc=org

And I add the following lines :
add cn=mediawiki-alamut,ou=System Accounts,dc=mageia,dc=org
objectClass: organizationalRole
objectClass: simpleSecurityObject
cn: mediawiki-alamut
userPassword:ssha aBcor88zzZoOOzFFF

But I have this error :
ldap_add: Constraint violation (19)
        additional info: Password fails quality checking policy

I tried with many different passwords, with always the same error.

In the ldap server logs I can see :
Oct 10 19:20:52 valstar slapd[1982]: conn=3076671 op=7 ADD dn="cn=mediawiki-alamut,ou=System Accounts,dc=mageia,dc=org"
Oct 10 19:20:52 valstar slapd[1982]: conn=3076671 op=7 RESULT tag=105 err=19 text=Password fails quality checking policy

Does anyone know what is wrong, or how to create this ldap account ?

More information about the Mageia-sysadm mailing list