Quantcast
Channel: All System Administration posts
Viewing all articles
Browse latest Browse all 1179

Re: Linux : - How to check getpwnam() is working on the system or not ?

$
0
0

In my case I find getpwnam_r was able to  read user detail from Active Directory.  This I could find using both wireshark and strace. In both the tools I can see, Acrtive Directory  has returned the values but getpwnam_r returns NULL in my program.  I find username , uid, gid and other stuff was received by getpwnam_r. Any clue what could be the problem. 


Viewing all articles
Browse latest Browse all 1179

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>