I&#39;ve got a system that serves as an LDAP client, so there are many files/dirs with uid/gid information retrieved from LDAP.<br><br>When I do a getpwnam() on a UID, it reports the username/group as &#39;file&#39;.<br><br>
Is there any way to do the translation from UID to LDAP username without loading LDAP modules?  I&#39;m guessing if &#39;ls&#39; shows the correct name, there must be some system call I can use to pull the same info.<br><br>
Any insights?<br><br>Thanks,<br>Bobby<br>