I already tried that before sending the bug. The output it's exactly the same before and after changing the /etc/hosts file
=== /etc/hosts === 127.0.0.1 localhost 127.0.0.1 hostname.domain hostname # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts ================== $ hostname; hostname -s; hostname -a; hostname -f; hostname -d hostname hostname hostname hostname.domain domain After changing the second line to 127.0.1.1, the hostname command returns exactly the same, but sudo-ldap starts working. Thanks, Lluis El Fri, Mar 14, 2008 at 11:06:53AM -0400, Justin Pryzby ens deleit� amb les seg�ents paraules: > On Fri, Mar 14, 2008 at 03:38:28PM +0100, Lluis wrote: > >> I've detected that sudo-ldap uses 'localhost' for looking up the 'sudoHost' >> entries when the hostname is present in the lookpback (127.0.0.1) line of >> /etc/hosts. >> >> Symptoms: >> - 'sudoHost' check fails >> - 'sudo -p %h' shows 'localhost' > What's the host idea of its own name? Please send the output of: > hostname; hostname -s hostname -a; hostname -f; hostname -d; -- "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]