I finally found out what was wrong...

Looking in the log file of the Daemon, I found out that start request failed because the pid file was already there. Indeed, the very first instance of the scmdaemon was still up, badly initialized with the first version of the configuration file, and repetitive /etc/init.d/scmbug-server stop command did not killed him...
I killed him manually, and then start the daemon.

The daemon then loaded the new version of the config file, and everything just works perfectly :)

I would suggest to log the "unable to start because there is obviously another daemon runing" to be written to the console when calling /etc/init.d/scmbug-server restart

Sorry for my first message,

Thanks,

Julien.

-------- Original Message  --------
Subject: [scmbug-users] When CVS ID == Bugzilla Login ID != Bugzilla username
From: Julien  BETI <[email protected]>
To: [email protected] <[email protected]>
Date: Tue Jan 27 2009 11:31:18 GMT+0100 (CET)
Hello,

SCMBug version: 0-26-13

I have the following architecture:
-0- I have the following information in the LDAP:
Name: John Smith
uid: smithjo
mail: [email protected]
bugzillaId: smith
-1- CVS authentication is done using LDAP uid => "smithjo"
-2- Bugzilla authentication is done using LDAP uid => "smithjo"
-3- Bugzilla as been configured to not put e-mail domain for Bugzilla
user, and use the "bugzillaId" ldap attribute as username =>smith

I have configured the scmbug-daemon as follow:
mapping_ldap => {
         enabled => 1,
         ldap_server => 'ldap.example.com',
         ldap_port => '389',
         ldap_basedn => 'ou=People,dc=example,dc=com',
         ldap_scm_username_attribute => 'uid',
         ldap_bugtracking_username_attribute => 'bugzillaId',
         ldap_filter => '(objectclass=bugzillaAccount)'
},


During the execution of the integration tool, I have the following error:

scmbug_install_glue.pl --scm=CVS --product=prd --repository=/var/lib/cvs
--bug=128271 --binary-paths=/bin,/usr/bin --daemon=127.0.0.1
...
*******************************************
**
**
** Scmbug error 7: Bug '128271' is not assigned to 'smithjo'. It is
assigned to 'smith'.
**
**
*******************************************


Could you please give me a hint on how to configure scmbug daemon to
match my architecture ?

Thanks a lot,

Julien BETI.

begin:vcard
fn;quoted-printable:Julien B=C3=89TI
n;quoted-printable:B=C3=89TI;Julien
org:Fimasys;Methods and Technical Tools
adr;quoted-printable:;;11, rue Salomon de Rothschild;Suresnes;=C3=8Ele-de-France;92150;France
email;internet:[email protected]
title:Methods and Technical Tools Manager
tel;work:+33 1 45 06 94 40
tel;cell:+33 6 15 92 98 00
x-mozilla-html:TRUE
url:http://www.fimasys.fr
version:2.1
end:vcard

_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to