Marc,thank you for your quick reply. Whether or not i use ldapwhoami -R option, i always get the following logs. It seems the replacement string in authz-regexp directive doesn't work. ....... ==>slap_sasl2dn: converting SASL name uid=XY,cn=digest-md5,cn=auth to a DN ==> rewrite_context_apply [depth=1] string='uid=XY,cn=digest-md5,cn=auth' ==> rewrite_rule_apply rule='uid=(.*),cn=test.mydomain.net.com,cn=digest-md5,cn=auth' string='uid=XY,cn=digest-md5,cn=auth' [1 pass(es)] ==> rewrite_rule_apply rule='uid=(.*),cn=mydomain.net,cn=digest-md5,cn=auth' string='uid=XY,cn=digest-md5,cn=auth' [1 pass(es)] ==> rewrite_rule_apply rule='uid=(.*),cn=digest-md5,cn=auth' string='uid=XY,cn=digest-md5,cn=auth' [1 pass(es)] ==> rewrite_context_apply [depth=1] res={0,'o=XY,ou=users,o=home,dc=ditroot'} ....... Jack --- 09年7月30日,周四, Marc Patermann <hans.moser@xxxxxxxxxxxxxxxxxxxxxxxx> 写道:
|
好玩贺卡等你发,邮箱贺卡全新上线!