summaryrefslogtreecommitdiffstats
path: root/source3/utils/smbcontrol.c
Commit message (Collapse)AuthorAgeFilesLines
* support smbcontrol sending messages to itself (for testing purposes)Andrew Tridgell2000-11-171-0/+2
| | | | (This used to be commit 5dfae86dab50fba1890d0ce33fa9d68f12bc0bfa)
* Fix for a problem with the new messaging system. If a sender is using theJeremy Allison2000-11-161-10/+10
| | | | | | | | | | | | | | | messaging system as a notification mechanism, and the speed of notification greatly exceeds the speed of message recovery, then you get a massively (>75Mb) growing tdb. If the message is a simple notification, then the message is static, and you only need one of them in transit to a target process at any one time. This patch adds a BOOL "allow_duplicates" to the message_send_XX primitives. If set to False, then before sending a message the sender checks the existing message queue for a target pid for a duplicate of this message, and doesn't add to it if one already exists. Also added code into msgtest.c to test this. Jeremy. (This used to be commit 3aa7995660395ecb85c8e35b638fa9fbbb952558)
* Merge of Herb's profiling code.Jeremy Allison2000-11-111-0/+49
| | | | | Jeremy. (This used to be commit 3be056c71aa8e0a4ba70d397107199004bdb7d3f)
* Merge in Herb's changes from 2.2.Jeremy Allison2000-11-101-2/+14
| | | | | Jeremy. (This used to be commit 24d76c5fbda29d89c96d7c22193ec2eb93ad3887)
* lib/messages.c add debug print for receipt of PING andHerb Lewis2000-10-121-1/+2
| | | | | | | REQ_DEBUGLEVEL messages utils/smbcontrol.c allow "q" to exit interactive mode. Exit on error from message_init. (This used to be commit cda8c0439113dcce02a681b0aaddf69326c0ec9a)
* print source PID in PONG and debuglevel message. Allow request debuglevelHerb Lewis2000-10-121-10/+30
| | | | | | | message to go to any dest. Put timeout for commands that expect a reply. sync with 2.2 branch (This used to be commit 45632bb813da06d0139aa32b9ab99d472dcfaf25)
* changes to sync with 2.2. treeHerb Lewis2000-10-111-4/+6
| | | | | | | | | | | | | | | | | | .cvsignore remove config.h - not in this directory include/profile.h profile changes lib/messages.c added message to return debug level libsmb/clierror.c cast to get rid of compiler warning libsmb/smbencrypt.c cast to get rid of compiler warning profile/profile.c add flush profile stats changes for profile struct rpc_parse/parse_samr.c fix for compiler warning rpc_server/srv_samr.c cast to get rid of compiler warning smbd/ipc.c profile stats message.c profile stats smbd/negprot.c profile stats smbd/nttrans.c profile stats smbd/trans2.c profile stats utils/smbcontrol.c new flush stats command (This used to be commit bbb24daa25dca4e4b6b1f8942cd84ee3aa1bed8e)
* don't use gets() !Andrew Tridgell2000-10-101-2/+2
| | | | (This used to be commit e4ea0a5975d3539803c78cac2229550a6e89c4b4)
* Added Herb's fixes to HEAD.Jeremy Allison2000-10-061-2/+59
| | | | | Jeremy. (This used to be commit 4862d2ab1163310d844b929fb17239b4f4cb1a99)
* utils/smbcontrol.c: Fixes from Herb for interactive use.Jeremy Allison2000-09-291-29/+82
| | | | | | printing/nt_printing.c: No C++ comments please :-). Jeremy. (This used to be commit dd9f668108215f18240458fc33bf872a6fc9e6be)
* first cut at smbcontrol program. It currently allows syntax like:Andrew Tridgell2000-09-131-0/+155
smbcontrol nmbd debug 7 smbcontrol smbd debug 9 smbcontrol 3278 debug 1 smbcontrol nmbd force-election (This used to be commit 5f91c24636f5d82486f22c10bc55e060f9c518bf)