LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 04-18-2012, 03:11 AM   #31
xintzi
LQ Newbie
 
Registered: Apr 2012
Posts: 19

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by acid_kewpie View Post
don't use SASL binds. That's what the -x prevents, so clearly you're not actually using that command I typed.
Ooops sorry, my mistake. Here's the output.

Code:
# extended LDIF
#
# LDAPv3
# base <ou=People,dc=local> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 2
result: 32 No such object

# numResponses: 1
 
Old 04-18-2012, 03:13 AM   #32
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
ok, well that bind worked... just need to refine your search terms by the look of it. Or are you getting all the user accounts when you put the cn=admin account back in there?
 
Old 04-18-2012, 03:16 AM   #33
xintzi
LQ Newbie
 
Registered: Apr 2012
Posts: 19

Original Poster
Rep: Reputation: Disabled
I get the same result with and without cn=admin .
 
Old 04-18-2012, 03:25 AM   #34
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
right, so job done... no?
 
Old 04-18-2012, 03:35 AM   #35
xintzi
LQ Newbie
 
Registered: Apr 2012
Posts: 19

Original Poster
Rep: Reputation: Disabled
Nope, I didn't get any user accounts when do the search with or without cn=admin. Forget to mention, i got err=32 when do the binding.
 
Old 04-18-2012, 03:37 AM   #36
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
well that just says that there is no data to show you...
 
Old 04-18-2012, 03:45 AM   #37
xintzi
LQ Newbie
 
Registered: Apr 2012
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
well that just says that there is no data to show you...
Ok. Job done. Thanks for the help. Anyway i have added this directive to slapd.conf to enable anonymous binding.

Code:
allow   bind_anon_dn
 
  


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
ldap password reset BFCsaus Linux - Newbie 14 05-25-2012 09:28 AM
[SOLVED] Getting RHEL 4 to allow LDAP password changes trekgirl Linux - Server 3 03-27-2012 10:51 AM
Squirrelmail Ldap Password moekad Linux - Server 1 09-15-2010 07:51 PM
LDAP password naivelinux Linux - General 2 07-04-2008 03:41 AM
Compare LDAP password with php crypt password coolamit78 Linux - Networking 1 01-30-2006 05:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:05 PM.

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