summaryrefslogtreecommitdiffstats
path: root/source3/utils/smbcontrol.c
Commit message (Collapse)AuthorAgeFilesLines
* r416: add a newline to the debuglevel message returned stringHerb Lewis2007-10-101-1/+9
| | | | | and have smbcontrol print the PID with it (This used to be commit d3edf71885bfb5d342e62d46542db8ca814f3303)
* Fix -s option to smbcontrol (#908)Jelmer Vernooij2004-01-061-1/+1
| | | | (This used to be commit 7495395c1cc3b09b27d6eeb7dff6f214701d03d6)
* Final round of printf warnings fixes for the moment.Tim Potter2003-11-061-1/+2
| | | | (This used to be commit 0519a7022b4979c0e8ddd4907f4b858a59299c06)
* Replace the eight (!) copies of dummy become/unbecome root with a single one.Tim Potter2003-07-221-6/+0
| | | | (This used to be commit 8b818ce381595cdcb36631a2440d6aa0038805f1)
* Add support for MSG_SMB_CONF_UPDATED and MSG_SHUTDOWN to all daemons (smbd, ↵Alexander Bokovoy2003-07-151-0/+11
| | | | | | nmbd, winbindd). Reviewed by jerry and tridge. (This used to be commit 02c5e2fc6f0721ebd82a9e6a2b34190607de55fe)
* Some const correctness. Stop tdb being used as a remote backend. If anJeremy Allison2003-06-271-25/+24
| | | | | | | | idmap backend is specified cause smbd to ask winbindd (use winbindd if you want a consistant remote backend solution). Should work well enough for next beta now... Jeremy. (This used to be commit 8f830c509af5976d988a30f0b0aee4ec61dd97a3)
* Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij2003-05-101-2/+0
| | | | (This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
* Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij2003-05-101-0/+2
| | | | | | that is now possible to, for example, load a module which contains an auth method into a binary without the auth/ subsystem built in. (This used to be commit 74d9ecfe2dd7364643d32acb62ade957bd71cd0d)
* Sun CC requires constant initialisers, so use a static here.Andrew Bartlett2003-04-301-1/+1
| | | | | (a common bug with popt stuff, becouse it's fine with GCC). (This used to be commit edbab685d181887f8cb055cc9dc175b2772bd0ff)
* Merge of const fixes from HEAD.Tim Potter2003-04-281-1/+1
| | | | (This used to be commit a847ebd82732cc2b430c58c3b287a46db0e35ba1)
* Fix up non-constant initialisers for Sun's CC.Andrew Bartlett2003-04-231-1/+1
| | | | | Andrew Bartlett (This used to be commit 82ba1b4d16da587c5e21739b11c5d84a575534ad)
* Merge rewrite of smbcontrol.Tim Potter2003-04-141-549/+572
| | | | (This used to be commit 30ac37efec0698998ada135655eac8933bd3647f)
* Give warning if 'drvupgrade' doesn't get an argumentJelmer Vernooij2003-04-031-0/+5
| | | | (This used to be commit 38d03f4f1a23963fbbb9046ac9f5ccfa5e3ee7b7)
* Merge of smbcontrol debuglevel fixes from HEAD.Tim Potter2003-02-121-4/+1
| | | | (This used to be commit 77ae3360e36e460f9a0f3f3e198951e575a247cf)
* Add 3 second timeout when terminating server and sending print notifyJeremy Allison2003-01-301-1/+1
| | | | | | | messages. Stops build-up of large numbers of smbd's waiting to terminate on large print throughput. Jeremy. (This used to be commit 07efebb98473cb3d4adc6b2e0afef3f06dcc99b8)
* Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett2003-01-031-3/+3
| | | | | | | warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
* Forward port the change to talloc_init() to make all talloc contextsJeremy Allison2002-12-201-0/+38
| | | | | | named. Ensure we can query them. Jeremy. (This used to be commit 09a218a9f6fb0bd922940467bf8500eb4f1bcf84)
* fix usage messageGerald Carter2002-12-161-2/+3
| | | | (This used to be commit d06e77b60e123314c4214ffa3e76f70abb8a3cba)
* Merge a bunch of trivial changes from HEAD. The difference remainingTim Potter2002-11-291-1/+1
| | | | | | | | | | should actual functional differences between HEAD and 3.0. - Mostly reformatting - Removal of unecessary #include "smb.h" - Merge of dyn_DRIVERFILE removal - Silly bug fix for python code (This used to be commit d3998307adc50ba50defe610cb656c73799ae3b9)
* [print notify fixes from APP_HEAD]Gerald Carter2002-11-261-4/+48
| | | | | | | | | * fixing change notify on print server handle * adding change notify support into smbcontrol for sending comment changes, etc... All part of CR 1159/1160 (This used to be commit f1062e79de8a3046c6e3f22b3d1a4819afe6809b)
* Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison2002-11-121-1/+1
| | | | | | | dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. (This used to be commit f755711df8f74f9b8e8c1a2b0d07d02a931eeb89)
* Merge of scalable printing code fix... Needs testing.Jeremy Allison2002-11-071-0/+3
| | | | | Jeremy. (This used to be commit d030df76439c72825d68410211e62090438cef54)
* sync'ing up for 3.0alpha20 releaseGerald Carter2002-09-251-0/+5
| | | | (This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
* sync 3.0 branch with HEADJelmer Vernooij2002-08-171-0/+20
| | | | (This used to be commit 1b83b78e332b9d28914eff155530e81cf2073a58)
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-151-30/+127
| | | | (This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
* added a shutdown command to smbcontrol.Jean-François Micouleau2002-03-291-0/+6
| | | | | | | have to add the server side now. J.F. (This used to be commit b83f87d6811dbad2c254cd5add4bbedb3196c629)
* getpid() -> sys_getpid()Tim Potter2002-03-141-1/+1
| | | | (This used to be commit a3cea5e9ae3b53ecbc45e61a39cbce0ca1b916aa)
* Fixup the sending of printer change messages from job changes.Jeremy Allison2002-02-261-2/+8
| | | | | Jeremy. (This used to be commit 28d4e7a3e2bd8f15ef807b821e4300a72bbc6904)
* Removed version number from file header.Tim Potter2002-01-301-1/+1
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* Quieten warning about uninitialized variable.Martin Pool2002-01-101-1/+3
| | | | (This used to be commit 63ea2bb0adf5ae742658f479613de90b1eec3db5)
* 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. (This used to be commit bcb443c5c4bf97fe6b5b0993e42496c2e64f0124)
* 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. (This used to be commit 39d6b31e14144a3ff4b992d4286b706147e58566)
* Cleanup format.Martin Pool2002-01-031-1/+1
| | | | (This used to be commit a9b9ae47e1a11492f036b308c408c6a239a690f6)
* smbd now sends a reply to MSG_REQ_POOL_USAGE, though it's prettyMartin Pool2002-01-031-1/+2
| | | | | boring so far. (This used to be commit 9b217dce7fe89d1e36a91d7d011c2a9fe185e0d3)
* 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. (This used to be commit 830a126a442bdde28fc42e23e7260c344b6534b9)
* 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. (This used to be commit ecc624067c54314834aacbf21d0f2ee54fce37e9)
* 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. (This used to be commit 53f1c0298b526dcacae956453a4b95fff226d0b8)
* 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. (This used to be commit 17bb0f60af13c5d0561c0ba50b0a6331bde52e8f)
* 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. (This used to be commit 8fc772c9e5770cd3a8857670214dcff033ebae32)
* Merged in JohnR's ping messaging extension.Jeremy Allison2001-11-201-6/+9
| | | | | Jeremy. (This used to be commit 694372b2c4d7713fe228114730027175f7b4e9b6)
* Store some path names in global variables initialized to configureMartin Pool2001-11-191-3/+2
| | | | | default, rather than in preprocessor macros. (This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
* Added -s configfile to smbcontrol.c.Volker Lendecke2001-09-211-6/+9
| | | | | Volker (This used to be commit 9ecd9db4efc7b736bef0e01a5e157e149a381587)
* got rid of USE_TDB_MMAP_FLAG as its not needed any moreAndrew Tridgell2001-09-061-1/+1
| | | | (This used to be commit c26e0d3f27a05ecc8bd2390f9aab7f9451524e47)
* When sending a message via a tdb, it must be open read/write.Jeremy Allison2001-09-051-1/+1
| | | | | Jeremy. (This used to be commit f35887c7d40ced750596b87bf37f7aae1df68c7a)
* Added samsync and samrepl (untested) message types to smbcontrol.Tim Potter2001-08-281-0/+38
| | | | (This used to be commit b0c8090396ca02d06669d6e20a1c715fc83ff887)
* Added "use mmap" for HPUX.Jeremy Allison2001-07-301-1/+1
| | | | | Jeremy. (This used to be commit 840802f10677cb0009cb4df4c37c7d01aa5edacd)
* 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. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
* added a close-share smbcontrol message that forcibly closes a share in smbd ↵Andrew Tridgell2001-06-201-3/+17
| | | | | | (to allow unmount) (This used to be commit 15b17a80db605a55f667c95fb7e316877a441887)
* use LDSHFLAGS not -shared in several placesAndrew Tridgell2001-06-041-1/+1
| | | | (This used to be commit 8ec9c87b5d1a7dae17d5b1a30f58effaf5e69e4b)
* 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. (This used to be commit 391e7caf76cbc22021629ef0ec5e0c32806edfd7)