LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-16-2009, 04:14 AM   #1
fizeelinux
Member
 
Registered: Nov 2008
Posts: 91

Rep: Reputation: 15
LDAP authentication fails in Bugzilla


Hi all ,

I have configured Bugzilla .I have enabled both 'DB' and 'LDAP' for the authentication in the params file.Here are my details
Code:
           'LDAPBaseDN' => 'OU=thy,OU=eQobjects,DC=xyz,DC=com',
           'LDAPbinddn' => 'CN=admin;CN=Users;DC=xyz;DC=com:abc123',

           'LDAPmailattribute' => 'mail',
           'LDAPserver' => 'ldap://ntp:389',

           'LDAPuidattribute' => 'mail',

           'user_verify_class' => 'DB,LDAP',
FYI i am using Windows Active directory running under windows 2003 server.

admin is the user name in the CN=Users which is in turn contained in 'OU=thy,OU=eQobjects,DC=xyz,DC=com', and abc123 is the password for the
admin user

I am presently using another account(type DB account) for logging in bugzilla interface and doing the configuration.

Now my problem is whenever i am trying to authenticate the bugzilla with the ldap users

i am getting the error "The username or password you entered is not valid." and some times i get "FAILED TO BIND THE LDAP SERVER".Have i done anything wrong in the ldap configuration settings? Please help me .Thanks in advance.
 
Old 10-16-2009, 04:40 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well can you do an ldapsearch outside of bugzilla using the same credentials?
 
Old 10-16-2009, 09:01 AM   #3
fizeelinux
Member
 
Registered: Nov 2008
Posts: 91

Original Poster
Rep: Reputation: 15
Thumbs up

Quote:
Originally Posted by acid_kewpie View Post
well can you do an ldapsearch outside of bugzilla using the same credentials?
Hi Chris thanks for your valuable suggestion.

ldapsearch -x -b "OU=Users,OU=thy,OU=eQobjects,DC=xyz,DC=com" -W -D "CN=admin,CN=Users,DC=xyz,DC=com"

Runs successfully and returns all the objects ..
All of my users are getting listed...Same parameters i set in bugzilla.When i checked it the 'admin' user got added in the bugzilla user list.But when i tried to login with other users(Users in the OU=Users) the authentication fails with the error message 'Invalid username and password'...Any ideas will be greatly appreciated...Thanks in advance.....
 
Old 10-16-2009, 02:36 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Well for a start the binddn is not valid syntactically.

Personally *I* would use a track sniffing tool (i.e. wireshark) to capture and analyze the LDAP bind. compare and contrast an ldapsearch with the failing Bugzilla attempt, and that should give you a lot of useful information
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS 5.2 LDAP/kerberos authentication fails against Active Directory ccaum Linux - Server 14 03-24-2010 12:15 PM
LDAP Authentication Fails for Non-Root, but works for root ludwig Linux - Server 2 08-16-2008 06:53 PM
Bugzilla Access through http authentication talat Linux - Software 5 02-16-2006 08:18 PM
LDAP Authentication and su da_kidd_er Linux - Networking 1 12-27-2005 12:24 PM
LDAP Authentication Staceman Linux - Software 0 07-31-2003 09:14 AM


All times are GMT -5. The time now is 08:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration