Francois, Please send all communication to the mailing list.
About the LDAP question, I'm sure that if you configure it appropriately
it will work.
Good luck.
On Thu, 2009-02-19 at 11:07 +0100, François Gaillardin wrote:
> Hi again,
>
> Finally I'm having more trouble than I thought with username mapping.
> I'm using LDAP mapping with an Active Directory Domain Controller
> under Windows Server 2003.
> Here is my daemon.conf mapping section :
>
> mapping_ldap => {
> enabled => 1,
> ldap_server => 'my_pdc.com',
> ldap_port => '3268', # because it's the primary domain
> controller, so i use the global catalog port
> ldap_binddn => 'scmbug', # a valid user, and the bind works
> # The password of the binddn that has access to read all
> attributes
> ldap_binddn_password => 'valid_pwd',
> ldap_basedn =>
> 'ou=Utilisateurs,dc=net,dc=elsys-design,dc=com',
> # The name of the attribute containing the user's SCM username
> ldap_scm_username_attribute => 'samid',
> # The name of the attribute containing the user's bug-tracking
> username
> ldap_bugtracking_username_attribute => 'email',
> # LDAP filter to AND with the ldap_scm_username_attribute for
> filtering the list of valid SCM users.
> # I don't understand this, maybe this my problem
> ldap_filter => ''
> },
>
> Windows accounts are family name, and bugzilla ones are email address,
> so I filled the user email in active directory.
> All my accounts are in the basedn, the bugtracking maps well
> windiws_username->email but the scm mapping don't work...
> I tried some configurations with attribut "ln" (the family name,
> normally the login windows as well), "email" (the bugzilla account, it
> works), "samid" (ie. the login windows ) for the last one without
> success.
> Here is the log :
>
> Thu Feb 19 10:55:40 2009 127.0.0.1:4065 Looking up the SCM username in
> LDAP using the ldap_scm_username_attribute 'samid' failed. Success
> Thu Feb 19 10:49:42 2009 127.0.0.1:4019 Looking up the SCM username in
> LDAP using the ldap_scm_username_attribute 'email' failed. Bad filter
> Thu Feb 19 10:39:22 2009 127.0.0.1:3966 Looking up the SCM username in
> LDAP using the ldap_scm_username_attribute '' failed. Bad filter
> # this is when I disabled mapping, so scm worked since my scm account
> is the same than the windows one but then bugzilla failed
> Thu Feb 19 10:28:54 2009 127.0.0.1:3883 Processing an
> 'activity_commit' for bug id '1' from SCM user 'xxx'
> Thu Feb 19 10:28:54 2009 127.0.0.1:3883 Login 'xxx' could not be
> converted to an id in Bugzilla. Is username mapping setup correctly in
> daemon.conf ?
>
> I also tried to map only bugzilla username by commenting the
> scm_username_attribute line but daemon don't launch.
> The strange thing is that I created an SCM account with my email as a
> login, and it still don't map, whereas bugzilla does !
>
> I'm writing to you because I received a mesage saying that I'm a
> non-member of the mailing-list, I'll sign in later, I'm quite in a
> hurry right now :-)
> Thanks for your help.
>
> @+
> François
>
> ______________________________________________________________________
> From: [email protected]
> To: [email protected]
> Subject: RE: [scmbug-users] Compatibility issue with SCMBUG 0.23.3
> Date: Thu, 19 Feb 2009 09:41:21 +0100
>
> Hi Kristis,
>
> It's ok, I just tested this morning and it worked fine.
> I just need to find a way to map SCM usernames, I guess it will be
> quick.
>
> Thank you for your quick response.
>
> > Subject: Re: [scmbug-users] Compatibility issue with SCMBUG 0.23.3
> > From: [email protected]
> > To: [email protected]
> > CC: [email protected]
> > Date: Wed, 18 Feb 2009 15:44:02 -0700
> >
> > Hi Francois,
> >
> > General support for Subversion 1.4.x was added a long time ago:
> >
> > http://bugzilla.mkgnu.net/show_bug.cgi?id=835
> >
> > I don't see a reason why Subversion 1.4.5 would work and 1.4.6
> wouldn't.
> > Do you have a particular error message Trac reports in mind, or a
> > particular change that occurred between Subversion 1.4.5 and 1.4.6 ?
> >
> > Searching the mailing list archives, I see various users reported
> that
> > they used Scmbug with Subversion 1.4.6 successfully.
> >
> > It should work as expected.
> >
> > On Wed, 2009-02-18 at 21:18 +0100, François Gaillardin wrote:
> > > Hello,
> > >
> > > I am currently installing SCMBUG 0.23.3 with Apache 2.2.4, SVN
> 1.4.5
> > > and it works fine, except some ldap mapping issue between my
> Active
> > > Directory global catalog and the SCM_user, but I think this point
> will
> > > be fine. I can still rework the login policy off the window domain
> > > usernames.
> > >
> > > I just wonder if you ever had issues, or experience returns with
> using
> > > SCMBUG 0.23.3 over SVN 1.4.6 ?
> > >
> > > This quite important because I have to run Trac on the same
> machine
> > > (obvioulsy it's not a smart thing but I have no choice), and Trac
> > > works with SVN 1.4.6 and not with v1.4.5 :-/
> > >
> > > The only other fix I could implement is to run a Virtual Machine
> but I
> > > don't want to go that far !
> > >
> > > Thanks
> > > François
> > >
> > >
> > >
> ______________________________________________________________________
> > > Discutez sur Messenger où que vous soyez ! Mettez Messenger sur
> votre
> > > mobile !
> > > _______________________________________________
> > > scmbug-users mailing list
> > > [email protected]
> > > http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
>
>
> ______________________________________________________________________
> Téléphonez gratuitement à tous vos proches avec Windows Live
> Messenger ! Téléchargez-le maintenant !
>
> ______________________________________________________________________
> Discutez sur Messenger où que vous soyez ! Mettez Messenger sur votre
> mobile !
signature.asc
Description: This is a digitally signed message part
_______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
