Re: Help accessing a remote ldap server
From: Glenn Robinson (glenn_at_flying-fields.co.uk)
Date: 05/28/04
- Next message: Franz Gräml: "Re: SuSE-9.1 Pro: Can't connect to X server"
- Previous message: Wein Siegbert: "Suse 9.1 keine USB Unterstützung"
- In reply to: Glenn Robinson: "Help accessing a remote ldap server"
- Next in thread: Martin Tessun: "Re: Help accessing a remote ldap server"
- Reply: Martin Tessun: "Re: Help accessing a remote ldap server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Franz Gräml: "Re: SuSE-9.1 Pro: Can't connect to X server"
- Previous message: Wein Siegbert: "Suse 9.1 keine USB Unterstützung"
- In reply to: Glenn Robinson: "Help accessing a remote ldap server"
- Next in thread: Martin Tessun: "Re: Help accessing a remote ldap server"
- Reply: Martin Tessun: "Re: Help accessing a remote ldap server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|