Skip to contentSkip to conversation

Simple BINDS over SSL/TLS

DISCUSSION [email protected] 4 participants 10 messages May 2, 2007 – May 4, 2007 Kernel automounter

lore
Share & tools
lore
#0 lore raw

I was wondering if it is possible for autofs to do simple binds over TLS/SSL rather than having to do them over SASL.

Any input would be greatly appreciated.

Peter

#1 lore raw
Quoted 2 lines · On Wed, May 02, 2007 at 11:19:39AM -0400, [email protected] wrote:

I was wondering if it is possible for autofs to do simple binds over TLS/SSL rather than having to do them over SASL.

This may not have been clear enough. I want autofs to authenticate to the LDAP server as a user but without the use of SASL.

Thanks,
Peter

maintainer
#2 lore raw
Quoted 6 lines · On Wed, 2007-05-02 at 11:33 -0400, [email protected] wrote:
Quoted 2 lines · On Wed, May 02, 2007 at 11:19:39AM -0400, [email protected] wrote:

I was wondering if it is possible for autofs to do simple binds over TLS/SSL rather than having to do them over SASL.

This may not have been clear enough. I want autofs to authenticate to the LDAP server as a user but without the use of SASL.

Why don't you want to use SASL?

Ian

#3 lore raw
In reply to [email protected]
Quoted 6 lines · [email protected] wrote:
Quoted 2 lines · On Wed, May 02, 2007 at 11:19:39AM -0400, [email protected] wrote:

I was wondering if it is possible for autofs to do simple binds over TLS/SSL rather than having to do them over SASL.

This may not have been clear enough. I want autofs to authenticate to the LDAP server as a user but without the use of SASL.

Looking at autofs-4.1.4, it looks like it only does anonymous, because it does not have a binddn or bindpw to use. It can use TLS, if the ldap.conf it uses has someting like:

URI ldaps://your.ldap.server.name
TLS_CACERTDIR path to ca certs

The ldap library could fill in a binddn from a ldaprc, Its the bindpw that the ldap library will not fill in, and autofs does not have an easy way to get it.

Speakinig of SASL, the best I can tell is 4.1.4 does not support it directly, but could with a patch to call

ldap_sasl_interactive_bind_s

I had a working patch, but got side tracked. Are there any plans to add SASL support to autofs, such that it ends up in Debian distribution?

Quoted 9 lines

Thanks,
Peter

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Signature · 5 lines
  Douglas E. Engert  <[email protected]>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444
#4 lore raw

==> On Thu, 03 May 2007 09:56:55 -0500, "Douglas E. Engert" <[email protected]> said:

Douglas> I had a working patch, but got side tracked. Are there any Douglas> plans to add SASL support to autofs, such that it ends up in Douglas> Debian distribution?

SASL support was introduced in autofs v5. Testing has been limited, since it seems no one uses it.

-Jeff

maintainer
#9 lore raw
In reply to Douglas E. Engert
Quoted 20 lines · Douglas E. Engert
Quoted 6 lines · [email protected] wrote:
Quoted 2 lines · On Wed, May 02, 2007 at 11:19:39AM -0400, [email protected] wrote:

I was wondering if it is possible for autofs to do simple binds over TLS/SSL rather than having to do them over SASL.

This may not have been clear enough. I want autofs to authenticate to the LDAP server as a user but without the use of SASL.

Looking at autofs-4.1.4, it looks like it only does anonymous, because it does not have a binddn or bindpw to use. It can use TLS, if the ldap.conf it uses has someting like:

URI ldaps://your.ldap.server.name
TLS_CACERTDIR path to ca certs

The ldap library could fill in a binddn from a ldaprc, Its the bindpw that the ldap library will not fill in, and autofs does not have an easy way to get it.

Quoted 7 lines

Speakinig of SASL, the best I can tell is 4.1.4 does not support it directly, but could with a patch to call

ldap_sasl_interactive_bind_s

I had a working patch, but got side tracked. Are there any plans to add SASL support to autofs, such that it ends up in Debian distribution?

If the folks at Debian update to version 5 it's present.

Ian

#5 lore raw
In reply to Jeff Moyer
Quoted 8 lines · Jeff Moyer

==> On Thu, 03 May 2007 09:56:55 -0500, "Douglas E. Engert" <[email protected]> said:

Douglas> I had a working patch, but got side tracked. Are there any Douglas> plans to add SASL support to autofs, such that it ends up in Douglas> Debian distribution?

SASL support was introduced in autofs v5. Testing has been limited, since it seems no one uses it.

Great. I was looking at Debian, and using a Ubuntu system, that used 4.1.4 When v5 is stable, then we can look at it again. Is v5 in any of the RedHat distributions?

Quoted 4 lines

-Jeff

Signature · 5 lines
  Douglas E. Engert  <[email protected]>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444
#6 lore raw

==> On Fri, 04 May 2007 09:27:13 -0500, "Douglas E. Engert" <[email protected]> said:

Douglas> Jeff Moyer wrote: > ==> On Thu, 03 May 2007 09:56:55 -0500, Douglas> "Douglas E. Engert" <[email protected]> said: > Douglas> I had Douglas> a working patch, but got side tracked. Are there any > Douglas> Douglas> plans to add SASL support to autofs, such that it Douglas> ends up in > Douglas> Debian distribution? > SASL support Douglas> was introduced in autofs v5. Testing has been limited, > Douglas> since it seems no one uses it.

Douglas> Great. I was looking at Debian, and using a Ubuntu system, Douglas> that used 4.1.4 When v5 is stable, then we can look at it Douglas> again. Is v5 in any of the RedHat distributions?

I use v5 on my workstation, and have done so for at least a couple of months, now. We also ship it in several distributions, so let's call it stable. If you have evidence to the contrary, then please send us problem reports!

It is available in RHEL 5, FC6, and will be shipping with F7 as well.

-Jeff

#7 lore raw
Quoted 10 lines · Jeff Moyer

==> On Fri, 04 May 2007 09:27:13 -0500, "Douglas E. Engert" <[email protected]> said:

Douglas> Jeff Moyer wrote: > ==> On Thu, 03 May 2007 09:56:55 -0500, Douglas> "Douglas E. Engert" <[email protected]> said: > Douglas> I had Douglas> a working patch, but got side tracked. Are there any > Douglas> Douglas> plans to add SASL support to autofs, such that it Douglas> ends up in > Douglas> Debian distribution? > SASL support Douglas> was introduced in autofs v5. Testing has been limited, > Douglas> since it seems no one uses it.

Quoted 8 lines

Douglas> Great. I was looking at Debian, and using a Ubuntu system, Douglas> that used 4.1.4 When v5 is stable, then we can look at it Douglas> again. Is v5 in any of the RedHat distributions?

I use v5 on my workstation, and have done so for at least a couple of months, now. We also ship it in several distributions, so let's call it stable. If you have evidence to the contrary, then please send us problem reports!

I have no indications of any problems. What I meant was "stable" in the terms of the Debian distributions. Debian appears to have 4.1.4 versions in "stable", "testing" and "unstable" Unfortuneatly they don't appear to have any 5.0 versions yet.

http://packages.debian.org/cgi-bin/search_packages.pl?searchon=names&version=all&exact=1&keywords=autofs

Quoted 2 lines

It is available in RHEL 5, FC6, and will be shipping with F7 as well.

Good to know, we have a number of RedHat systems too.

Quoted 4 lines

-Jeff

Signature · 5 lines
  Douglas E. Engert  <[email protected]>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444
maintainer
#8 lore raw
Quoted 21 lines · Douglas E. Engert
Quoted 10 lines · Jeff Moyer

==> On Fri, 04 May 2007 09:27:13 -0500, "Douglas E. Engert" <[email protected]> said:

Douglas> Jeff Moyer wrote: > ==> On Thu, 03 May 2007 09:56:55 -0500, Douglas> "Douglas E. Engert" <[email protected]> said: > Douglas> I had Douglas> a working patch, but got side tracked. Are there any > Douglas> Douglas> plans to add SASL support to autofs, such that it Douglas> ends up in > Douglas> Debian distribution? > SASL support Douglas> was introduced in autofs v5. Testing has been limited, > Douglas> since it seems no one uses it.

Quoted 8 lines

Douglas> Great. I was looking at Debian, and using a Ubuntu system, Douglas> that used 4.1.4 When v5 is stable, then we can look at it Douglas> again. Is v5 in any of the RedHat distributions?

I use v5 on my workstation, and have done so for at least a couple of months, now. We also ship it in several distributions, so let's call it stable. If you have evidence to the contrary, then please send us problem reports!

Quoted 4 lines

I have no indications of any problems. What I meant was "stable" in the terms of the Debian distributions. Debian appears to have 4.1.4 versions in "stable", "testing" and "unstable" Unfortuneatly they don't appear to have any 5.0 versions yet.

Yes, one of the difficulties with Debian is that v5 needs a fairly recent kernel which could cause pain for some people that can't update the kernel component for some reason.

Ian