Problem in LDAP
Assalam o Alaikum!
I have followed following link for configuring LDAP. But I am unable to login from client to ldap server. Server http://www.server-world.info/en/note..._14&p=ldap&f=1 Client: http://www.server-world.info/en/note..._14&p=ldap&f=2 Now I when I tried from client in this way at login screen: uk.example.com Password:****** Authentication fails tcpdump result at server side: 03:24:10.542392 IP 192.168.1.93.59277 > server.example.com.ldap: Flags [S], seq 2995702033, win 5840, options [mss 1460,sackOK,TS val 4604901 ecr 0,nop,wscale 6], length 0 03:24:10.542514 IP server.example.com.ldap > 192.168.1.93.59277: Flags [S.], seq 2981601597, ack 2995702034, win 5792, options [mss 1460,sackOK,TS val 4650729 ecr 4604901,nop,wscale 6], length 0 03:24:10.545300 IP 192.168.1.93.59277 > server.example.com.ldap: Flags [.], ack 1, win 92, options [nop,nop,TS val 4604902 ecr 4650729], length 0 03:24:10.545405 IP 192.168.1.93.59277 > server.example.com.ldap: Flags [P.], seq 1:15, ack 1, win 92, options [nop,nop,TS val 4604903 ecr 4650729], length 14 03:24:10.545564 IP server.example.com.ldap > 192.168.1.93.59277: Flags [.], ack 15, win 91, options [nop,nop,TS val 4650732 ecr 4604903], length 0 |
you've jumped far too many steps there. Can you bind to ldap with a valid account with ldapsearch? A basic tcpdump is of no use other than to show that there is ldap communication happening, which is certainly something. You should really look at that traffic in wireshark and look at the actual LDAP requests being made, that's extremely useful.
|
Hi,
Check in slapd.conf ,whether you are using any encrypted algorithm for storing password for your LDAP Directory manager. Also try to connect locally first rather than checking tcpdump output...in case if ssh is not enabled you will not be able to connect to server remotely. LDAP provides simple bind to connect to LDAP Server... |
Quote:
|
Quote:
[root@fedora14 client]# ldapsearch -h ukengr ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1) my distro is fedora 14 |
well from that you need to learn how to do an ldapsearch. plenty of docs and examples out there. immediately, you would want to add an -x to do a "normal" bind instead of SASL
|
Please provide me any link for configuring LDAP for fedora 14+,
When I googled I found mostly links for less than fedora 14. I am confused when I see configuration related to fedora 12 or 13 their config files naming and config is little bit different. example in fedora 14 config file name is ldap.conf and in fedora 13 it is slapd.conf. It may be childish question above. But I need to clear this concept please help. Thanks |
you're reading the wrong docs and haven't covered the advice you've already been given. slapd.conf is for an OpenLDAP server, not OS level LDAP client config. Newer versions of Fedora will be using nslcd.conf but not in 14 I don't believe (which is obsolete)
|
All times are GMT -5. The time now is 12:28 AM. |