How to get user's OU programmatically with ldap C++
how to get user's o开发者_StackOverflowu programmatically with ldap C++
Well if you can get the users full DN, which is usually needed for the bind, then chop off the first something=something, and you have the OU.
精彩评论