Re: Mysteries of openldap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2007-11-30 at 21:59 +0000, Timothy Murphy wrote:
> Craig White wrote:
> 
> >> I'm running openldap on my desktop,
> >> and can access it fine from my laptop.
> >> But I'd like to use TLS encryption
> >> (as the desktop ldap is open to the world).
> >> 
> >> Unfortunately I find the openldap documentation
> >> very difficult to follow.
> ...
> > short answer, use ldaps - even though it is deprecated.
> 
> Well, thanks very much for your response.
> I'll try ldaps, as you suggest.
> I couldn't tell, from the documentation,
> what the difference is between ldap + TLS and ldaps,
> except that they seem to use different ports.
> 
> > self signed certs?  add TLS_REQCERT to /etc/openldap/ldap.conf
> > and /etc/ldap.conf (openldap client apps use the one in /etc/openldap
> > folder, everything else uses the one is /etc directory)
> 
> I hadn't realized there was a second ldap.conf .
> That's just about par for the course ...
> 
> > this is old, obsolete but very useful
> > 
> > http://www.openldap.org/pub/ksoper/OpenLDAP_TLS.html
> 
> Thanks, I had seen that but ignored it after the rather prissy warning,
> "This independently authored paper is considered to have obsolete status".
> But with your recommendation I'll study it closely.
> 
> Reading openldap documentation is like driving through fog.
> At least one has some sense of progress,
> which is more than I can say for reading sendmail docs.
----
should have been
TLS_REQCERT allow 
for self-signed certs

important to realize...

# rpm -q --whatprovides /etc/ldap.conf
nss_ldap-257-3.fc6

# rpm -q --whatprovides /etc/openldap/ldap.conf
openldap-2.3.30-3.fc6

made me crazy not knowing why the 2 files...

# rpm -ql openldap-clients|grep man
/usr/share/man/man1/ldapadd.1.gz
/usr/share/man/man1/ldapcompare.1.gz
/usr/share/man/man1/ldapdelete.1.gz
/usr/share/man/man1/ldapmodify.1.gz
/usr/share/man/man1/ldapmodrdn.1.gz
/usr/share/man/man1/ldappasswd.1.gz
/usr/share/man/man1/ldapsearch.1.gz
/usr/share/man/man1/ldapwhoami.1.gz

there used to be 2 different man pages on ldap.conf but nss_ldap (padl)
has renamed theirs...

# rpm -ql openldap|grep man
/usr/share/man/man5/ldap.conf.5.gz
/usr/share/man/man5/ldif.5.gz

# rpm -ql nss_ldap|grep man
/usr/share/man/man5/nss_ldap.5.gz
/usr/share/man/man5/pam_ldap.5.gz

/etc/openldap/ldap.conf is for openldap and openldap-clients software

Craig


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux