summaryrefslogtreecommitdiffstats
path: root/source/utils/smbcontrol.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge some usage info from APPLIANCE_HEAD.Tim Potter2002-08-111-0/+3
|
* Merge of print notify fixes from APPLIANCE_HEAD.Tim Potter2002-08-021-0/+17
|
* Proper merge of all the working printing stuff from APPLIANCE_HEAD.Jeremy Allison2002-06-281-14/+96
| | | | | Now let's keep this in sync ! Jeremy.
* Keep the compiler happyAndrew Bartlett2002-05-191-1/+0
|
* so here it is the code to introduce seriously debugggging classes.Simo Sorce2002-05-181-15/+31
| | | | | | | | | | | | | | | | | | this is a first step only passdb stuff has beein "classized". - so what can you do? set debug level to: 1 poasdb:10 that will make all the code run at debug level 1 except the code in passdb/* files that will run at level 10 TODO: fix the man page - also smbcontrol has this nice feature so smbcontrol smbd debug 3 passdb:5 will set every smbd to have a default log level of 3 while passdb stuff will be at level 5 and so no.. minor cosmetic fix to pdbedit is there too
* added a shutdown command to smbcontrol.Jean-François Micouleau2002-03-291-0/+6
| | | | | | have to add the server side now. J.F.
* getpid() -> sys_getpid()Tim Potter2002-03-141-1/+1
|
* Fixup the sending of printer change messages from job changes.Jeremy Allison2002-02-261-2/+8
| | | | Jeremy.
* Removed version number from file header.Tim Potter2002-01-301-1/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Quieten warning about uninitialized variable.Martin Pool2002-01-101-1/+3
|
* Add two more memory-debug smbcontrol messages: these ones shouldMartin Pool2002-01-091-6/+17
| | | | | prompt dmalloc to log information about what happening, so you can see in flight why smbd is getting bloated.
* merge changes from 2.2 branch to prevent smb.conf from changing debug levelHerb Lewis2002-01-071-0/+5
| | | | of commands when specified on command line.
* Cleanup format.Martin Pool2002-01-031-1/+1
|
* smbd now sends a reply to MSG_REQ_POOL_USAGE, though it's prettyMartin Pool2002-01-031-1/+2
| | | | boring so far.
* smbd should register to receive MSG_REQ_POOL_USAGE. Response shouldMartin Pool2002-01-031-2/+0
| | | | be information about memory usage, but this is not done yet.
* smbcontrol in non-interactive mode was returning True for success --Martin Pool2001-12-211-1/+4
| | | | need to invert this to give the shell 0.
* Add option to pass NULL max_replies to wait_for_replies in case youMartin Pool2001-12-211-4/+7
| | | | don't know how many to expect.
* Add code to send MSG_REQ_POOL_USAGE. (smbd doesn't respond yet.)Martin Pool2001-12-211-15/+57
| | | | | | | Factor out common code to wait until replies are received or timeout expires. Show debug message when messages are sent.
* Removed TimeInit() call from every client program (except for one placeTim Potter2001-11-231-1/+0
| | | | | in smbd/process.c where the timezone is reinitialised. Was replaced with check for a static is_initialised boolean.
* Merged in JohnR's ping messaging extension.Jeremy Allison2001-11-201-6/+9
| | | | Jeremy.
* Store some path names in global variables initialized to configureMartin Pool2001-11-191-3/+2
| | | | default, rather than in preprocessor macros.
* Added -s configfile to smbcontrol.c.Volker Lendecke2001-09-211-6/+9
| | | | Volker
* got rid of USE_TDB_MMAP_FLAG as its not needed any moreAndrew Tridgell2001-09-061-1/+1
|
* When sending a message via a tdb, it must be open read/write.Jeremy Allison2001-09-051-1/+1
| | | | Jeremy.
* Added samsync and samrepl (untested) message types to smbcontrol.Tim Potter2001-08-281-0/+38
|
* Added "use mmap" for HPUX.Jeremy Allison2001-07-301-1/+1
| | | | Jeremy.
* The big character set handling changeover!Andrew Tridgell2001-07-041-1/+0
| | | | | | | This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation.
* added a close-share smbcontrol message that forcibly closes a share in smbd ↵Andrew Tridgell2001-06-201-3/+17
| | | | (to allow unmount)
* use LDSHFLAGS not -shared in several placesAndrew Tridgell2001-06-041-1/+1
|
* If a debug class was explicitly set to zero the debug system would notTim Potter2001-06-011-5/+7
| | | | | | | | | | | | | | | | recognise it as there was no distinction made between zeroing a debug class and just not setting it to anything. I've added a debuglevel_isset array in parallel with the debuglevel_class array to fix this. Added a couple of new debug classes which I might start filling out to get smb, rpc header and rpc marshall/unmarshalling debugs tidied up. Fixed a bunch of cut&paste bugs in include/debug.h Modified smbcontrol and the messaging system debug handler to like the debuglevel_isset stuff.
* remember to close tdb after useAndrew Tridgell2001-05-151-9/+13
|
* Fix crash in smbcontrol Gerald pointed out when no parameter given to debug.Jeremy Allison2001-05-141-2/+2
| | | | Jeremy.
* More gcc compile on solaris tidyups.Jeremy Allison2001-04-271-4/+4
| | | | Jeremy.
* Merge of Andrew's changes in 2.2.Jeremy Allison2001-04-131-2/+2
| | | | Jeremy.
* Merge of JohnR's changes to appliance-head, JF's changes to 2.2,Jeremy Allison2001-02-121-19/+32
| | | | | updated the POSIX_ACL code to be in sync. Jeremy.
* Fixed memory leaks in lsa_XX calls. Fixed memory leaks in smbcacls. MergedJeremy Allison2000-12-151-1/+8
| | | | | | in fixes from appliance-head and 2.2. Fixed multiple connection.tdb open problem. Jeremy.
* support smbcontrol sending messages to itself (for testing purposes)Andrew Tridgell2000-11-171-0/+2
|
* 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.
* Merge of Herb's profiling code.Jeremy Allison2000-11-111-0/+49
| | | | Jeremy.
* Merge in Herb's changes from 2.2.Jeremy Allison2000-11-101-2/+14
| | | | Jeremy.
* 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.
* 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
* 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
* don't use gets() !Andrew Tridgell2000-10-101-2/+2
|
* Added Herb's fixes to HEAD.Jeremy Allison2000-10-061-2/+59
| | | | Jeremy.
* utils/smbcontrol.c: Fixes from Herb for interactive use.Jeremy Allison2000-09-291-29/+82
| | | | | printing/nt_printing.c: No C++ comments please :-). Jeremy.
* 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