rpcclient Crashes for help
Benjamin Kuit
bj at it.uts.edu.au
Thu Dec 20 17:00:02 GMT 2001
Small fix guys,
I type in 'help' after authenticating, and it crashes.
I get around the problem with a patch in rpcclient/rpcclient.c:
===
--- rpcclient/rpcclient.c.orig Fri Dec 21 11:53:41 2001
+++ rpcclient/rpcclient.c Fri Dec 21 11:52:32 2001
@@ -315,7 +315,7 @@
while(tmp_set->name) {
printf("%15s\t\t%s\n", tmp_set->name,
- tmp_set->description);
+ tmp_set->description?tmp_set->description:"");
tmp_set++;
}
===
Bj
--
+-------------------------------+--------------------------------------+
| Benjamin (Bj) Kuit | Building 4, 447 |
| Systems Programmer | Faculty of Information Technology |
| Phone: 02 9514 1841 | University of Technology, Sydney |
| Mobile: 0416 184 972 | Email: bj at it.uts.edu.au |
+-------------------------------+--------------------------------------+
More information about the samba-technical
mailing list