summaryrefslogtreecommitdiff
path: root/source3/utils/smbcontrol.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman1-1/+1
lp_load() could not be called multiple times to modify parameter settings based on reading from multiple configuration settings. Each time, it initialized all of the settings back to their defaults before reading the specified configuration file. This patch adds a parameter to lp_load() specifying whether the settings should be initialized. It does, however, still force the settings to be initialized the first time, even if the request was to not initialize them. (Not doing so could wreak havoc due to uninitialized values.) (This used to be commit f2a24de769d1b2266e576597c57a8e3b1e2a2b51)
2007-10-10r12781: Support the level parameter for lsa_lookupsids.Volker Lendecke1-0/+2
Simplify the interfaces to domain trusts a bit: Nothing outside secrets.c needs to know we're storing stuff in ucs2. Volker (This used to be commit a01fa43ed2d43f79940795b70a330c6a9ddf1b45)
2007-10-10r11962: Bring talloc up to date with Samba4, re-add theJeremy Allison1-2/+2
talloc_describe_all() function. Fix smbcontrol <pid> pool-usage as we desparately need it working in the field to track down memory leaks. Seriously, when new functionality like the Samba4 talloc is added, don't just disable working functionality like "pool-usage", fix the damn thing first ! Jeremy. (This used to be commit 2e262a75cca4575edd00db3d24e7e35760943120)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter1-47/+79
* \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
2007-10-10r7415: * big change -- volker's new async winbindd from trunkGerald Carter1-2/+49
(This used to be commit a0ac9a8ffd4af31a0ebc423b4acbb2f043d865b8)
2007-10-10r6149: Fixes bugs #2498 and 2484.Derrell Lipman1-1/+2
1. using smbc_getxattr() et al, one may now request all access control entities in the ACL without getting all other NT attributes. 2. added the ability to exclude specified attributes from the result set provided by smbc_getxattr() et al, when requesting all attributes, all NT attributes, or all DOS attributes. 3. eliminated all compiler warnings, including when --enable-developer compiler flags are in use. removed -Wcast-qual flag from list, as that is specifically to force warnings in the case of casting away qualifiers. Note: In the process of eliminating compiler warnings, a few nasties were discovered. In the file libads/sasl.c, PRIVATE kerberos interfaces are being used; and in libsmb/clikrb5.c, both PRIAVE and DEPRECATED kerberos interfaces are being used. Someone who knows kerberos should look at these and determine if there is an alternate method of accomplishing the task. (This used to be commit 994694f7f26da5099f071e1381271a70407f33bb)
2007-10-10r6127: Eliminated all compiler warnings pertaining to mismatched ↵Derrell Lipman1-1/+1
"qualifiers". The whole of samba comiles warning-free with the default compiler flags. Temporarily defined -Wall to locate other potential problems. Found an unused static function (#ifdefed out rather than deleted, in case it's needed for something in progress). There are also a number of uses of undeclared functions, mostly krb5_*. Files with these problems need to have appropriate header files included, but they are not fixed in this update. oplock_linux.c.c has undefined functions capget() and capset(), which need to have "#undef _POSIX_SOURCE" specified before including <sys/capability.h>, but that could potentially have other side effects, so that remains uncorrected as well. The flag -Wall should be added permanently to CFLAGS, and all warnings then generated should be eliminated. (This used to be commit 5b19ede88ed80318e392f8017f4573fbb2ecbe0f)
2007-10-10r416: add a newline to the debuglevel message returned stringHerb Lewis1-1/+9
and have smbcontrol print the PID with it (This used to be commit d3edf71885bfb5d342e62d46542db8ca814f3303)
2004-01-06Fix -s option to smbcontrol (#908)Jelmer Vernooij1-1/+1
(This used to be commit 7495395c1cc3b09b27d6eeb7dff6f214701d03d6)
2003-11-06Final round of printf warnings fixes for the moment.Tim Potter1-1/+2
(This used to be commit 0519a7022b4979c0e8ddd4907f4b858a59299c06)
2003-07-22Replace the eight (!) copies of dummy become/unbecome root with a single one.Tim Potter1-6/+0
(This used to be commit 8b818ce381595cdcb36631a2440d6aa0038805f1)
2003-07-15Add support for MSG_SMB_CONF_UPDATED and MSG_SHUTDOWN to all daemons (smbd, ↵Alexander Bokovoy1-0/+11
nmbd, winbindd). Reviewed by jerry and tridge. (This used to be commit 02c5e2fc6f0721ebd82a9e6a2b34190607de55fe)
2003-06-27Some const correctness. Stop tdb being used as a remote backend. If anJeremy Allison1-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)
2003-05-10Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij1-2/+0
(This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
2003-05-10Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij1-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)
2003-04-30Sun CC requires constant initialisers, so use a static here.Andrew Bartlett1-1/+1
(a common bug with popt stuff, becouse it's fine with GCC). (This used to be commit edbab685d181887f8cb055cc9dc175b2772bd0ff)
2003-04-28Merge of const fixes from HEAD.Tim Potter1-1/+1
(This used to be commit a847ebd82732cc2b430c58c3b287a46db0e35ba1)
2003-04-23Fix up non-constant initialisers for Sun's CC.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 82ba1b4d16da587c5e21739b11c5d84a575534ad)
2003-04-14Merge rewrite of smbcontrol.Tim Potter1-549/+572
(This used to be commit 30ac37efec0698998ada135655eac8933bd3647f)
2003-04-03Give warning if 'drvupgrade' doesn't get an argumentJelmer Vernooij1-0/+5
(This used to be commit 38d03f4f1a23963fbbb9046ac9f5ccfa5e3ee7b7)
2003-02-12Merge of smbcontrol debuglevel fixes from HEAD.Tim Potter1-4/+1
(This used to be commit 77ae3360e36e460f9a0f3f3e198951e575a247cf)
2003-01-30Add 3 second timeout when terminating server and sending print notifyJeremy Allison1-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)
2003-01-03Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett1-3/+3
warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2002-12-20Forward port the change to talloc_init() to make all talloc contextsJeremy Allison1-0/+38
named. Ensure we can query them. Jeremy. (This used to be commit 09a218a9f6fb0bd922940467bf8500eb4f1bcf84)
2002-12-16fix usage messageGerald Carter1-2/+3
(This used to be commit d06e77b60e123314c4214ffa3e76f70abb8a3cba)
2002-11-29Merge a bunch of trivial changes from HEAD. The difference remainingTim Potter1-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)
2002-11-26[print notify fixes from APP_HEAD]Gerald Carter1-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)
2002-11-12Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison1-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)
2002-11-07Merge of scalable printing code fix... Needs testing.Jeremy Allison1-0/+3
Jeremy. (This used to be commit d030df76439c72825d68410211e62090438cef54)
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter1-0/+5
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-08-17sync 3.0 branch with HEADJelmer Vernooij1-0/+20
(This used to be commit 1b83b78e332b9d28914eff155530e81cf2073a58)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-30/+127
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-03-29added a shutdown command to smbcontrol.Jean-François Micouleau1-0/+6
have to add the server side now. J.F. (This used to be commit b83f87d6811dbad2c254cd5add4bbedb3196c629)
2002-03-14getpid() -> sys_getpid()Tim Potter1-1/+1
(This used to be commit a3cea5e9ae3b53ecbc45e61a39cbce0ca1b916aa)
2002-02-26Fixup the sending of printer change messages from job changes.Jeremy Allison1-2/+8
Jeremy. (This used to be commit 28d4e7a3e2bd8f15ef807b821e4300a72bbc6904)
2002-01-30Removed version number from file header.Tim Potter1-1/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-10Quieten warning about uninitialized variable.Martin Pool1-1/+3
(This used to be commit 63ea2bb0adf5ae742658f479613de90b1eec3db5)
2002-01-09Add two more memory-debug smbcontrol messages: these ones shouldMartin Pool1-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)
2002-01-07merge changes from 2.2 branch to prevent smb.conf from changing debug levelHerb Lewis1-0/+5
of commands when specified on command line. (This used to be commit 39d6b31e14144a3ff4b992d4286b706147e58566)
2002-01-03Cleanup format.Martin Pool1-1/+1
(This used to be commit a9b9ae47e1a11492f036b308c408c6a239a690f6)
2002-01-03smbd now sends a reply to MSG_REQ_POOL_USAGE, though it's prettyMartin Pool1-1/+2
boring so far. (This used to be commit 9b217dce7fe89d1e36a91d7d011c2a9fe185e0d3)
2002-01-03smbd should register to receive MSG_REQ_POOL_USAGE. Response shouldMartin Pool1-2/+0
be information about memory usage, but this is not done yet. (This used to be commit 830a126a442bdde28fc42e23e7260c344b6534b9)
2001-12-21smbcontrol in non-interactive mode was returning True for success --Martin Pool1-1/+4
need to invert this to give the shell 0. (This used to be commit ecc624067c54314834aacbf21d0f2ee54fce37e9)
2001-12-21Add option to pass NULL max_replies to wait_for_replies in case youMartin Pool1-4/+7
don't know how many to expect. (This used to be commit 53f1c0298b526dcacae956453a4b95fff226d0b8)
2001-12-21Add code to send MSG_REQ_POOL_USAGE. (smbd doesn't respond yet.)Martin Pool1-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)
2001-11-23Removed TimeInit() call from every client program (except for one placeTim Potter1-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)
2001-11-20Merged in JohnR's ping messaging extension.Jeremy Allison1-6/+9
Jeremy. (This used to be commit 694372b2c4d7713fe228114730027175f7b4e9b6)
2001-11-19Store some path names in global variables initialized to configureMartin Pool1-3/+2
default, rather than in preprocessor macros. (This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
2001-09-21Added -s configfile to smbcontrol.c.Volker Lendecke1-6/+9
Volker (This used to be commit 9ecd9db4efc7b736bef0e01a5e157e149a381587)
2001-09-06got rid of USE_TDB_MMAP_FLAG as its not needed any moreAndrew Tridgell1-1/+1
(This used to be commit c26e0d3f27a05ecc8bd2390f9aab7f9451524e47)