[sudo-users] uri Vs host in /etc/ldapo.conf

Todd C. Miller Todd.Miller at courtesan.com
Sat Dec 8 08:30:30 EST 2007

In message <1196972068.5977.45.camel at wade-linux.itiva.com>
	so spake Wade Klaver (wadeklaver):

>   I had a hell of a time getting sudo to check ldap until I added a
> "host" line to ldap.conf.  With just the uri line, it only attempts to
> connect to localhost.  If I add a host line, it connects to the server
> listed there.  However, the example in the sudo LDAP readme says
> either/or.  Below is the ldap.conf and a debugging log.  In the example
> below, if I add the line "host skywarp.itivalabs.net", things start
> working.

The LDAP README is wrong.  There is code in cvs HEAD (what will
become sudo 1.7) to parse the uri but this code is not present in
the 1.6.9 branch.

 - todd

More information about the sudo-users mailing list