01-24-2013
OpenLDAP Server Configuration error
I followed the guide from the below link to set up a ldap server. After everything is finished, I configured a client for ldap authentication and I can search the entries in ldap using the command
ldapsearch -x ZZ but when I am trying to login to the client using a ldap user, the prompt just keeps waiting. I found the below log from the ldap server side.
Log for successful search from client side
Jan 24 11:34:00 server3 slapd[11086]: conn=1012 fd=19 ACCEPT from IP=<CLIENT-IP>:22759 (IP=0.0.0.0:389)
Jan 24 11:34:00 server3 slapd[11086]: conn=1012 op=0 BIND dn="" method=128
Jan 24 11:34:00 server3 slapd[11086]: conn=1012 op=0 RESULT tag=97 err=0 text=
Jan 24 11:34:00 server3 slapd[11086]: conn=1012 op=1 SRCH base="<DOMAIN>" scope=2 deref=0 filter="(objectClass=*)"
Jan 24 11:34:00 server3 slapd[11086]: conn=1012 op=1 SRCH attr=ZZ
Jan 24 11:34:00 server3 slapd[11086]: conn=1012 op=1 SEARCH RESULT tag=101 err=0 nentries=6 text=
Jan 24 11:34:00 server3 slapd[11086]: conn=1012 op=2 UNBIND
Jan 24 11:34:00 server3 slapd[11086]: conn=1012 fd=19 closed
Log for unsuccessful ldap user login from client side
Jan 24 11:35:23 server3 slapd[11086]: conn=1013 fd=19 ACCEPT from IP=<CLIENT-IP>:53501 (IP=0.0.0.0:389)
Jan 24 11:35:23 server3 slapd[11086]: conn=1013 op=0 EXT oid=1.3.6.1.4.1.1466.20037
Jan 24 11:35:23 server3 slapd[11086]: conn=1013 op=0 STARTTLS
Jan 24 11:35:23 server3 slapd[11086]: conn=1013 op=0 RESULT oid= err=0 text=
Guide Link
http://cheenu-y2k.blogspot.in/2011/0...r-configuratio
10 More Discussions You Might Find Interesting
1. SCO
Hi,
Any one can help me to configure print server in SCO Unixware. I don't have any idea in this context. Any help would be highly appreciated.
Best Regards,
Tayyab (1 Reply)
Discussion started by: tayyabq8
1 Replies
2. Linux
Hello,
I use fedora linux. I want to configure my FTP server. Actually, I don't know anything about this server except that I know I have installed it. Please guide me with this.
Thx (1 Reply)
Discussion started by: HSN
1 Replies
3. Solaris
hi
Please give me the configuration steps for NTP server.
How do i sync other servers with this NTP server
thanks to all (1 Reply)
Discussion started by: sijocg
1 Replies
4. SCO
hi,
I am new to this forum as well new to unix . i also wish to know the commands to find out the configuration of our server.
i did try these commands
uname -a and it gave this
unixware agk2 5 7.1.4 i386 x86at sco unix - svr5.
i did try out these commands to get more info on
cpu... (11 Replies)
Discussion started by: lacchhii
11 Replies
5. Solaris
I m using Intel solaris 10 version . I m trying to install openldap and used several documents and package versions .
But every time I got CC PATH error and while I solved the CC issue , I got Barkley DB error . :wall:
Is there any perticular site from where I can install and configure... (1 Reply)
Discussion started by: sanjee
1 Replies
6. Linux
Dear all,
I am working on Centos 6 (2.6.32-71.29.1.el6.x86_64).
After removing openldap (openldap-2.4.19-15.el6.x86_64), i can not perform command yum (or /usr/bin/yum).
*Here is error:
# yum search anypackage
There was a problem importing one of the Python modules
required to run yum.... (1 Reply)
Discussion started by: all4cfa
1 Replies
7. Solaris
Greetings!
I have a Solaris workstation that I use for web hosting. It runs SAMP and everything was working good for me until I got a need to add a couple of co-workers to help me with development. I'm trying to find some guidance for how to set up filesystem permissions so everybody would be... (3 Replies)
Discussion started by: pn8830
3 Replies
8. AIX
Hi folks,
How can i configure an AIX LDAP client to authenticate against an Linux Openldap server over TLS/SSL?
It works like a charm without TLS/SSL.
i would like to have SSL encrypted communication for ldap (secldapclntd) and ldapsearch etc. while accepting every kind of certificate/CA.... (6 Replies)
Discussion started by: paco699
6 Replies
9. Web Development
Hello list,
I want to be able to send email directly from my linux box. I have both a CentOS and Debian installation. I am by no means an expert when it comes to all of the SMTP servers. I have been testing different configs by installing and uninstalling sendmail, postfix, and exim4.
... (2 Replies)
Discussion started by: landossa
2 Replies
10. UNIX for Beginners Questions & Answers
Hi,
we are setting up an hadoop environment in Azure. we are having java 7 installed and below steps which i have completed and getting error while as "ldap_bind: Invalid credentials (49)" doing ldapsearch
1. I have installed openldap-servers.x86_64 openldap-clients.x86_64... (2 Replies)
Discussion started by: Bibhusisa
2 Replies
UD(1) General Commands Manual UD(1)
NAME
ud - interactive LDAP Directory Server query program
SYNOPSIS
ud [-Dv] [-s server] [-d debug-mask] [-l ldap-debug-mask] [-f file]
DESCRIPTION
ud is used to interogate a directory server via the Lightweight Directory Access Protocol (LDAP).
OPTIONS
-s server Used to specify the name of an LDAP server to which ud should connect. If this flag is omitted, the value specified in the ud
configuration file is used. If no value is specified in the configuration file, or the configuration file does not exist, the
name ldap is used. Of course, it is up to the system administrator to make sure that the name ldap can be resolved (presumably
through the use of a CNAME or A record in the DNS and the appropriate search path specified in the resolver config file).
-d debug-mask
Sets the ud debug mask to the value specified. Values for the mask can be dumped by using the -D flag.
-f file Sets the configuration file to the name specified.
-l ldap-debug-mask
Sets the LDAP debug mask to the value specified.
-v Turns on verbose output. Also toggable via the ud verbose command.
-D Prints out a list of valid ud debug masks.
FILES
/etc/openldap/ud.conf The ud configuration file.
SEE ALSO
ud.conf(5), ldap.conf(5), ldap(3)
DIAGNOSTICS
ud will try to be nice about error conditions, and in most cases prints a warm and fuzzy error message when it encounters a problem. Some-
times the error will be unexpected, and in these cases, ud uses the ldap_perror() routine to print an informative diagnostic.
BUGS
Too numerous to mention.
AUTHOR
Bryan Beecher, University of Michigan
ACKNOWLEDGEMENTS
OpenLDAP is developed and maintained by The OpenLDAP Project (http://www.openldap.org/). OpenLDAP is derived from University of Michigan
LDAP 3.3 Release.
4.3 Berkeley Distribution 20 August 2000 UD(1)