[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4025) Ppolicy overlay: objectIdentifierMatch rule doesn't understand descriptions



On Tue, 2005-09-27 at 07:30 -0700, Howard Chu wrote:
> stran@amnh.org wrote:
> > Full_Name: Samuel Tran
> > Version: 2.3.7
> > OS: Debian Linux Sarge
> > URL: ftp://ftp.openldap.org/incoming/
> > Submission from: (NULL) (66.114.85.133)
> >
> >
> > I am trying to implement the password policy overlay.
> >
> > When I try to create a dn that would hold the password policy, I get the
> > following error:
> >
> > stran@educ236:~$ ldapmodify -vv -x -W -D
> > "uid=stran,ou=people,dc=example,dc=com" -H ldap://localhost -f
> > passwd_cn.ldif 
> > ldap_initialize( ldap://localhost )
> > Enter LDAP Password: 
> > replace cn:
> >         password
> > replace objectClass:
> >         organizationalRole
> >         pwdPolicy
> > replace pwdattribute:
> >         userpassword
> > modifying entry "cn=password,ou=Policies,dc=example,dc=com"
> > modify complete
> > ldap_modify: Invalid syntax (21)
> >         additional info: pwdattribute: value #0 invalid per syntax
> >
> >
> >   
> The ppolicy overlay code in HEAD has been patched to allow descriptions 
> in addition to numeric OIDs.
> 

Howard,

I just compiled the latest CVS and tried to use the description instead
of the numeric OIDs. Unfortuantely same result:

stran@info-ldap-001:/etc/openldap_REL_ENG_2_3/schema$ ldapmodify -vv -x
-W -D "cn=manager,dc=example,dc=com"
ldap_initialize( <DEFAULT> )
Enter LDAP Password: 
dn: cn=PsynchPwd,ou=Policies,dc=example,dc=com
changetype: modify
replace: pwdAttribute
pwdAttribute: userPassword

replace pwdAttribute:
        userPassword
modifying entry "cn=PsynchPwd,ou=Policies,dc=example,dc=com"
modify complete
ldap_modify: Invalid syntax (21)
        additional info: pwdAttribute: value #0 invalid per syntax


Sam