On Wed, 13 Oct 2004, linux user wrote:

> Dear all,
> 
> We have Redhat Linux  clients that are migrating from NIS to LDAP
> using the RFC2307, the ldap server is a SUN ONE DS 5.1 which runing on
> a Solaris 8.0, The linux clients (different red hat releases 7.3,8.0,
> RHEL 2.1, and 3.0)
> 
> We could not do autofs lookups as they seem to be binding anonoumsly
> as seen from the log files, also from the code we can see that is the
> case as follows :
> 
> file modules/lookup_ldap.c:
>            ldap_simple_bind_s(ldap, NULL, NULL);   /*  LDAPv3 */
> 
> But in fact, according to the OpenLDAP header file (ldap.h):
>             ldap_simple_bind_s(LDAP *ld, char *who, char *passwd);
> 
> So, my question is would that be changed to bind using simple bind by
> passing the credniatls as seen in the configration files later on? the
> who, and the password in the above lookup_ldap.c function, as we do
> not have control over the ldap server as its run by different
> department, and they require us to do a simple bind passing
> credentials.

Possible. I don't have any sample code for grabing stuff from the config 
file. I hope this would be available within the LDAP api as we don't have 
any way of knowing where the config may be located.

> 
> also what is the status of autofs when it comes to using LDAPS instead
> over SSL/TLS instead of just standard ldap.

Drom what I've seen adding TLS support to the code is reasonably straight 
forward but again finding out if it's required and how, in a system 
independant manner is a problem. Additionally, there can be other 
related requirements for the exchange when using TLS.

Basically, I haven't looked into this at all yet.

Ian

_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to