LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 11-23-2009, 11:39 PM   #1
rakesh.hari
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 0
Need to bind windows users in linux ldap


Dear all,

I need to do squid configuration thrugh LDAP. For that I need to bind the users from windows 2003. I am getting an error while LDAP configuration.
"A problem occured while reading schema from LDAP server.
DSID: 0c090627, In order to perform this operation a successfull bind must be completed on the connection, data 0."
How to bind the users from linux.

Thanks and Regards,
Rakesh
 
Old 11-24-2009, 01:57 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
are you tring to bind to ldap properly, or just expecting anonymous binding to work? make sure you're happy with an ldapsearch first before jumping into using it within a service.
 
Old 11-25-2009, 03:33 AM   #3
rakesh.hari
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Original Poster
Rep: Reputation: 0
No i am getting the following error while do a LDAP search:

WX-Proxy:~ # ldapsearch -x
# extended LDIF
#
# LDAPv3
# base <> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 2
result: 1 Operations error
text: 00000000: LdapErr: DSID-0C090627, comment: In order to perform this ope
ration a successful bind must be completed on the connection., data 0, vece

# numResponses: 1
WX-Proxy:~ # ldapsearch -v
ldap_initialize( <DEFAULT> )
SASL/EXTERNAL authentication started
ldap_sasl_interactive_bind_s: Unknown authentication method (-6)
additional info: SASL(-4): no mechanism available:

How to bind a LDIF?

Regards,
Rakesh
 
Old 11-25-2009, 12:25 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
hmm, ok "binding an ldif" doesn't make sense. if you can't just do an ldapsearch -x then as the error says, you need to bind to the ldap service with valid credentials, e.g.
Code:
ldapsearch -x -D "uid=myuser,ou=users,dc=example,dc=com" -w "mypassword"
 
  


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
how to import windows users / passwords into openldap server - ldap migrate migration dananarama Linux - Software 1 11-23-2009 07:37 AM
import users from Windows LDAP server to Windows 2003 server kpachopoulos General 2 11-26-2008 06:23 PM
Vpopmail ldap to samba ldap users luquee Linux - Software 1 07-23-2008 11:38 AM
Struggling to setup a Debian/etch desktop: LDAP users and LOCAL users jferrando Linux - Networking 1 05-05-2006 03:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:35 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
Open Source Consulting | Domain Registration