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

olcAuthzRegexp and SASL


i am working on getting SASL, Kerberos 5, and LDAP working together.  i
buggered an olcAuthzRegexp and need to correct it.  i need to remove the
one in place, and replace it with the corrected version.  below is what
i am trying:

ldapmodify -QY EXTERNAL -H ldapi:///
dn: cn=config
changetype: delete
olcAuthzRegexp: uid=([^,]+),cn=bpk2.com,cn=gssapi,cn=auth uid=
changetype: modify
add: olcAuthzRegexp
olcAuthzRegexp: {0}uid=([^,]*),cn=bpk2.com,cn=gssapi,cn=auth
olcAuthzRegexp: {1}uid=$1,ou=Users,dc=bpk2,dc=com

(note, the first olcAuthzRegexp that is to be deleted should be all on
one line, and that is why it is wrong.  formatting in this message may
change the way it looks.)

the error i get is: