[PATCH] net ads error
Juergen Hasch
Hasch at t-online.de
Sat Feb 16 10:43:02 GMT 2002
Am Freitag, 15. Februar 2002 19:03 schrieb Alexander Bokovoy:
> Greetings!
>
> Attached patch fixes a problem with non-working 'net ads -Uuser%pass'
> in CVS HEAD.
Alexander,
this breaks the "net ads user/group/status" command. I get a SIGSEV every time
now.
An additional check for opt_password works for me:
--- net_ads.orig Sat Feb 16 19:36:04 2002
+++ net_ads.c Sat Feb 16 19:36:14 2002
@@ -101,7 +101,8 @@
free(prompt);
}
- ads->password = strdup(opt_password);
+ if (opt_password)
+ ads->password = strdup(opt_password);
ads->user_name = strdup(opt_user_name);
status = ads_connect(ads);
...Juergen
More information about the samba-technical
mailing list