In utils/net_ads.c, ads_user_info(): the function call to initialize
'escaped_user' needs to be moved to after the "if (argc < 1)" check. If you
don't, the following statement causes a segmentation violation since the
resulting call is: escape_ldap_string_alloc(0) (because no user was inputed).
You want to print a usage message in this case.
statement:
"net user INFO"
-John