The Samba-Bugzilla – Bug 2725
can't execute escape_ldap_string_alloc until after argc check
Last modified: 2005-08-24 10:16:38 UTC
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.
"net user INFO"
Fixed with Revision 6900. Thanks!
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.