[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
olcAuthzRegexp and SASL
- To: openldap-technical@openldap.org
- Subject: olcAuthzRegexp and SASL
- From: Brendan Kearney <bpk678@gmail.com>
- Date: Sat, 08 Jun 2013 10:37:56 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:date:content-type:x-mailer:mime-version :content-transfer-encoding; bh=ToECbJhnFrR+vQsit3rOE9+QJGyp3lk8MBCExprBpI8=; b=ylXpPil6eAyt1S73JB2G/JFTDCi1C/h90+Sjj4c3S6UGi3+cTWGtjON89B6z4aVfGH 6v1d6hvoqgp88PFJs83P+tjgmWLHPCt9Zl0z0Q/pIDJfLY10Vi9t7TGQk8pTtUEBnrgY HqT4VHiqRJordzH3MOeOndgwTtPfVVFsQ+KJkOahjZPXitGupIz4RUjRkKvk+WFOAVjo ZkOZ6VrKwbi//Yz5QSZin0y1//tVNV7Cku//FGMl/1yMijUSQBa/LLee7ELE54Du/5oL I8PKximnThJMFt1tDVhMIR6GcGIj+jhOMET4Z6mLVa2IiuWog+meVaJELO2Z2HMLFkoh Jmrg==
all,
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=
$1,ou=Users,dc=bpk2,dc=com
-
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: