Hi Jun,
Which version of Scmbug are you running ?
I know for a fact that mapping_values works. Try setting
mapping_regexes->{ enabled } = 0, mapping_ldap->{ enabled } = 0, and
only:
mapping_values => {
enabled => 1,
values => {
'user1' => '[EMAIL PROTECTED]' }
},
I'm wondering if the other mappings are causing some problem.
On Tue, 2007-01-09 at 11:12 -0500, Jun wrote:
> Hi Kristis,
>
> There is a user mapping problem when I tried to commit. The following
> is the error message:
> Scmbug error 7: Bug '4' is not assigned to 'user1'. It is assigned to
> '[EMAIL PROTECTED]'
>
> I tried to use mapping_regexes as following:
> mapping_regexes => {
> enabled => 1,
> values => {
> # This is an example of mapping a Windows Domain user
> # from 'DOMAIN\user' to '[EMAIL PROTECTED]'
> '^DOMAIN\\\\(\w+)$' => '[EMAIL PROTECTED]',
> # This is an example of mapping a UNIX user from
> # 'example_user' to '[EMAIL PROTECTED]'
> '^(\w+)$' => '[EMAIL PROTECTED]'
> }
> },
>
> and also tried to use mapping_user as following:
> mapping_values => {
> enabled => 1,
> values => {
> 'DOMAIN\\example_user' => '[EMAIL PROTECTED]',
> 'example_user2' => '[EMAIL PROTECTED]',
> 'user1' => '[EMAIL PROTECTED]' }
> },
> but none of them working. In order to commit, I have to modify the svn
> user file to use the same user id (email format) as in the bugzilla.
>
> Can you tell me anything wrong in my config, or any additional
> configuration I need to change to make the mapping work?
>
> Thanks!
>
>
> _______________________________________________
> scmbug-users mailing list
> [email protected]
> http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users