Re: Help accessing a remote ldap server

From: Glenn Robinson (glenn_at_flying-fields.co.uk)
Date: 05/28/04


Date: Fri, 28 May 2004 16:09:02 +0100

Update:

I can now read the ldap server entries from the remote machine. I changed
the peername value on the ldap server's /etc/openldap/ldap.conf file from
ip=127\.0\.0\.1 to the ip address of my subnet.

I'm still not getting the remote machine to succesfully do the login
authentication against the remote server.

Glenn

Glenn Robinson wrote:

> Hello,
>
> I'm running openldap on my main server and i can use this for my local tty
> logins rather than using the /etc/passwd file. I want to be able to access
> this from a networked machine now.
>
> On the remote machine I have set up /etc/openldap/ldap.conf file to be
> identical to the same file on the ldap server with the exception of the
> host value.
>
> My nsswitch says 'files ldap' for passwd and group.
>
> I can't seem to get the remote machine to authenticate against the ldap
> server though.
>
> On the server I can use ldapsearch -x 'sn=robinson' title sn and I get the
> entries I expect.
>
> If I do the same on the remote system I get:
>
> # extended LDIF
> #
> # LDAPv3
> # filter: sn=robinson
> # requesting: title sn
> #
>
> # search result
> search: 2
> result: 0 Success
>
> # numResponses: 1
>
> I've even tried the ldapsearch with -h ldap_server_name and get the same
> results.
>
> If I do a netstat I can see that the remote machine has tried to establish
> a connection with the server.
>
> What do I need to do to get the remote machine 'talking' succesfully to
> the ldap server?
>
> Thanks
>

-- 
Glenn


Relevant Pages

  • Access to remote LDAP server
    ... I'm running openldap on my main server and i can use this for my local tty ... identical to the same file on the ldap server with the exception of the ... I can't seem to get the remote machine to authenticate against the ldap ... result: 0 Success ...
    (alt.os.linux.suse)
  • Accessing a remote ldap server
    ... I'm running openldap on my main server and i can use this for my local tty ... identical to the same file on the ldap server with the exception of the ... I can't seem to get the remote machine to authenticate against the ldap ... result: 0 Success ...
    (alt.os.linux.suse)
  • Help accessing a remote ldap server
    ... I'm running openldap on my main server and i can use this for my local tty ... identical to the same file on the ldap server with the exception of the ... I can't seem to get the remote machine to authenticate against the ldap ... result: 0 Success ...
    (alt.os.linux.suse)
  • [SLE] Remote Booting using SuSE AMD64 Enterprise Server 8
    ... Enterprise Server 8 for AMD64. ... I got the right linux kernel, I set up DHCP and the right TFTP (without ... The diskless nodes, on startup, immediately obtain an address from the range. ... removing the hard drive from the remote machine). ...
    (SuSE)
  • OpenSSH Problem -Please Help, Thank you!
    ... I was wondering if you could help me with an OpenSSH problem I ... Pageant machine to my Windows XP OpenSSH remote machine (email server) ... and the command prompt showed I was in my home directory ...
    (comp.security.ssh)