I am having a problem with sudo when I am running in a TSL/SSL connection, I am able to ssh into the client and verified that the connection is secure, but once logged in to the client machine I am unable to use sudo.

I am seeing multiple re-tries in the access logs that appear to close,:

When I do the same thing without a TLS/SSL connection sudo works fine.

Here is what I am seeing in the log

31/Jul/2007:15:48:18 -0500] conn=607 fd=74 slot=74 connection from <ipaddr> to <ipaddr>
[31/Jul/2007:15:48:18 -0500] conn=607 op=0 EXT oid="1.3.6.1.4.1.1466.20037" name="startTLS"
[31/Jul/2007:15:48:18 -0500] conn=607 op=0 RESULT err=0 tag=120 nentries=0 etime=0
[31/Jul/2007:15:48:18 -0500] conn=607 SSL 256-bit AES
[31/Jul/2007:15:48:18 -0500] conn=607 op=1 UNBIND
[31/Jul/2007:15:48:18 -0500] conn=607 op=1 fd=74 closed - U1

and eventually, I get

sudo: uid 1000 does not exist in the passwd file!

for the user config, it is simple, the user exists in ldap, the group exists on the box (wheel) and I give the user in ldap a gid of 10

-bash-3.1$ id
uid=1000(testuser) gid=10(wheel) groups=10(wheel)

Thoughts?

Greg