Re: Reviewboard LDAP configuration
Hi Christian, I Added some debug statement in the backend.py and import traceback, 2011-10-07 05:46:39,335 - WARNING - An error while LDAP-authenticating: TypeError('expected string in list', u'u') 2011-10-07 05:46:39,336 - WARNING - Traceback (most recent call last): File "backends.py", line 201, in authenticate File "/usr/local/lib/python2.5/site-packages/python_ldap-2.3.13-py2.5-linux-x86_64.egg/ldap/ldapobject.py", line 502, in search_s return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout) File "/usr/local/lib/python2.5/site-packages/python_ldap-2.3.13-py2.5-linux-x86_64.egg/ldap/ldapobject.py", line 495, in search_ext_s msgid = self.search_ext(base,scope,filterstr,attrlist,attrsonly,serverctrls,clientctrls,timeout,sizelimit) File "/usr/local/lib/python2.5/site-packages/python_ldap-2.3.13-py2.5-linux-x86_64.egg/ldap/ldapobject.py", line 491, in search_ext timeout,sizelimit, File "/usr/local/lib/python2.5/site-packages/python_ldap-2.3.13-py2.5-linux-x86_64.egg/ldap/ldapobject.py", line 96, in _ldap_call result = func(*args,**kwargs) *TypeError: ('expected string in list', u'u')* My search list is empty, Is this because my search list is empty i am getting above error message. Could you please provide me some pointer. Regards, Jack > On Wed, Oct 5, 2011 at 5:42 PM, Stephen Gallagher < > step...@gallagherhome.com> wrote: > >> On Wed, 2011-10-05 at 17:31 +0530, jack jack wrote: >> > Dear All, >> > >> > While trying to connect to LDAP user reviewboard logs say >> > >> > WARNING - LDAP error: The specified object does not exist in the >> > Directory or provided invalid credentials: uid=jackj >> > >> > But actually jackj is a valid credential. >> > >> >> Actually, the user mask should probably be: >> >> uid=%s,DC=xxxware,DC=com >> >> Or, depending on the layout of your server >> uid=%s,cn=Accounts,DC=xxxware,DC=com >> >> Or something like that. You probably need to ask your admin to tell you >> what the full DN of a user looks like. >> >> > Can someone help me whats is going wrong here. >> > >> > -Jack >> > >> > On Mon, Oct 3, 2011 at 5:54 PM, jack jack wrote: >> > Dear All, >> > >> > Had anybody successfully configured LDAP configuration in >> > ReviewBoard. I am facing issue while doing so. When i try to >> > login using LDAP user, >> > >> > Reviewboard log says error message as below >> > >> > WARNING - LDAP error: {'desc': "Can't contact LDAP server"} >> > >> > Please help me if you have any information, >> > >> > Here are some of the entries which are present in my RB >> > server. >> > >> > LDAP Server: ldap://xxmdc01.na.xxxware.com:3269 >> > LDAP Base DN:DC=xxxware,DC=com >> > Use TLS for authentication : Unchecked >> > User Mask: uid=%s >> > >> > Thanks in advance. >> > >> > Jack >> > >> > >> > >> > >> > >> > -- >> > Want to help the Review Board project? Donate today at >> > http://www.reviewboard.org/donate/ >> > Happy user? Let us know at http://www.reviewboard.org/users/ >> > -~--~~~~--~~--~--~--- >> > To unsubscribe from this group, send email to reviewboard >> > +unsubscr...@googlegroups.com >> > For more options, visit this group at >> > http://groups.google.com/group/reviewboard?hl=en >> >> >> >> -- >> Want to help the Review Board project? Donate today at >> http://www.reviewboard.org/donate/ >> Happy user? Let us know at http://www.reviewboard.org/users/ >> -~--~~~~--~~--~--~--- >> To unsubscribe from this group, send email to >> reviewboard+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/reviewboard?hl=en > > > -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: Reviewboard LDAP configuration
On Wed, 2011-10-05 at 17:31 +0530, jack jack wrote: > Dear All, > > While trying to connect to LDAP user reviewboard logs say > > WARNING - LDAP error: The specified object does not exist in the > Directory or provided invalid credentials: uid=jackj > > But actually jackj is a valid credential. > Actually, the user mask should probably be: uid=%s,DC=xxxware,DC=com Or, depending on the layout of your server uid=%s,cn=Accounts,DC=xxxware,DC=com Or something like that. You probably need to ask your admin to tell you what the full DN of a user looks like. > Can someone help me whats is going wrong here. > > -Jack > > On Mon, Oct 3, 2011 at 5:54 PM, jack jack wrote: > Dear All, > > Had anybody successfully configured LDAP configuration in > ReviewBoard. I am facing issue while doing so. When i try to > login using LDAP user, > > Reviewboard log says error message as below > > WARNING - LDAP error: {'desc': "Can't contact LDAP server"} > > Please help me if you have any information, > > Here are some of the entries which are present in my RB > server. > > LDAP Server: ldap://xxmdc01.na.xxxware.com:3269 > LDAP Base DN:DC=xxxware,DC=com > Use TLS for authentication : Unchecked > User Mask: uid=%s > > Thanks in advance. > > Jack > > > > > > -- > Want to help the Review Board project? Donate today at > http://www.reviewboard.org/donate/ > Happy user? Let us know at http://www.reviewboard.org/users/ > -~--~~~~--~~--~--~--- > To unsubscribe from this group, send email to reviewboard > +unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/reviewboard?hl=en -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: Reviewboard LDAP configuration
Dear All, While trying to connect to LDAP user reviewboard logs say WARNING - LDAP error: The specified object does not exist in the Directory or provided invalid credentials: uid=jackj But actually jackj is a valid credential. Can someone help me whats is going wrong here. -Jack On Mon, Oct 3, 2011 at 5:54 PM, jack jack wrote: > Dear All, > > Had anybody successfully configured LDAP configuration in ReviewBoard. I am > facing issue while doing so. When i try to login using LDAP user, > > Reviewboard log says error message as below > > WARNING - LDAP error: {'desc': "Can't contact LDAP server"} > > Please help me if you have any information, > > Here are some of the entries which are present in my RB server. > > LDAP Server: ldap://xxmdc01.na.xxxware.com:3269 > LDAP Base DN:DC=xxxware,DC=com > Use TLS for authentication : Unchecked > User Mask: uid=%s > > Thanks in advance. > > Jack > > > -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Reviewboard LDAP configuration
Dear All, Had anybody successfully configured LDAP configuration in ReviewBoard. I am facing issue while doing so. When i try to login using LDAP user, Reviewboard log says error message as below WARNING - LDAP error: {'desc': "Can't contact LDAP server"} Please help me if you have any information, Here are some of the entries which are present in my RB server. LDAP Server: ldap://xxmdc01.na.xxxware.com:3269 LDAP Base DN:DC=xxxware,DC=com Use TLS for authentication : Unchecked User Mask: uid=%s Thanks in advance. Jack -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en