summaryrefslogtreecommitdiff
path: root/source3/utils/smbcontrol.c
AgeCommit message (Collapse)AuthorFilesLines
2011-09-15Finish commit 8745c70d by Michael Adam.Jeremy Allison1-4/+4
If you're going to move winbindd_cache.tdb to the state_path, do it *everywhere*. Found by Ira Cooper <ira@wakeful.net>. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Sep 15 00:43:04 CEST 2011 on sn-devel-104
2011-08-21s3-id_cache: Use better names for id cache management opsAndreas Schneider1-3/+3
The IDMAP term is normally associated with Winbind's idmap stuff. These functions deal with id caching not id mapping. Signed-off-by: Simo Sorce <idra@samba.org>
2011-07-28s3:smbcontrol: use lp_load_global(): smbcontrol does not need to load the sharesMichael Adam1-1/+1
2011-06-09s3-param Remove special case for global_scope()Andrew Bartlett1-1/+1
There is no reason this can't be a normal constant string in the loadparm system. (Past reasons were that we didn't have lp_set_cmdline()) Andrew Bartlett
2011-06-09lib/util Bring procid_str() into lib/util as server_id_string()Andrew Bartlett1-3/+3
This is needed for OpenChange, which prints Samba struct server_id values in debug messages. Andrew Bartlett
2011-05-06s3: only include tdb headers where needed.Günther Deschner1-0/+1
Guenther
2011-05-06More const fixes. Remove CONST_DISCARD.Jeremy Allison1-2/+2
2011-03-30s3-messages: make ndr_messaging.h part of messages.h.Günther Deschner1-1/+0
Guenther
2011-03-30s3-messages: only include messages.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-libsmb: put namequery headers to nmblib.hGünther Deschner1-0/+1
We might find a better name for it and merge other namequery related things as well here... Guenther
2011-03-30s3-includes: only include system/filesys.h when needed.Günther Deschner1-0/+1
Guenther
2011-02-28s3: smbcontrol to notify smbd about idmap changesGregor Beck1-0/+49
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Feb 28 14:07:23 CET 2011 on sn-devel-104
2011-02-22s3-printing: isolate print notification prototypes better.Günther Deschner1-0/+1
Guenther
2010-11-02s3-debug Impove setup_logging() to specify logging to stderrAndrew Bartlett1-1/+1
This change improves the setup_logging() API so that callers which wish to set up logging to stderr can simply ask for it, rather than directly modify the dbf global variable. Andrew Bartlett
2010-09-30s3: Add "smbcontrol winbindd ip-dropped <local-ip>"Volker Lendecke1-0/+17
This is supposed to improve the winbind reconnect time after an ip address has been moved away from a box. Any kind of HA scenario will benefit from this, because winbindd does not have to wait for the TCP timeout to kick in when a local IP address has been dropped and DC replies are not received anymore.
2010-09-30s3: Fix a typo in dump-domain-list smbcontrol usage msgVolker Lendecke1-1/+1
2010-09-27Change to using TDB_INCOMPATIBLE_HASH (the jenkins hash) on allJeremy Allison1-1/+2
TDB_CLEAR_IF_FIRST tdb's. For tdb's like gencache where we open without CLEAR_IF_FIRST and then with CLEAR_IF_FIRST if corrupt this is still safe to use as if opening an existing tdb the new hash will be ignored - it's only used on creating a new tdb not opening an old one. Jeremy.
2010-08-08s3: Lift the server_messaging_context from notify_printer_bynameVolker Lendecke1-1/+2
2010-08-08s3: Lift the server_messaging_context from notify_job_status_bynameVolker Lendecke1-0/+4
2010-08-08s3: Lift the server_messaging_context from notify_printer_status_bynameVolker Lendecke1-3/+7
2010-08-06s3: Remove some explicit calls to procid_self()Volker Lendecke1-7/+10
2010-08-05s3-popt: Only include popt-common.h when needed.Andreas Schneider1-0/+1
2010-08-01s3: Fix some nonempty blank linesVolker Lendecke1-14/+14
2010-07-31s3-build: avoid to globally include printing and spoolss headers.Günther Deschner1-0/+2
This shrinks precompiled headers by 3MB and will slightly speed up any build. Guenther
2010-05-06s3: only include gen_ndr headers where needed.Günther Deschner1-0/+1
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther
2010-03-05s3: Make "smbcontrol xx debuglevel" print the correct cluster pidVolker Lendecke1-2/+6
2010-03-01s3: Add connections_forall_read()Volker Lendecke1-3/+2
In a cluster, this makes a large difference: For r/w traverse, we have to do a fetch_locked on every record which for most users of connections_forall is just overkill.
2010-02-23s3: Consolidate some pid_to_procid() calls to procid_self()Volker Lendecke1-5/+5
2010-02-23s3: Consolidate server_id_self into the equivalent procid_self()Volker Lendecke1-1/+1
2010-01-17s3: Fix the format string for smbcontrol pool-usageVolker Lendecke1-1/+1
With the dot I have seen printf to not print anything
2009-08-24make smbcontrol smbd ping work proper checking for arguments handle short ↵Olaf Flebbe1-8/+5
pid_t correctly
2009-03-18s3-smbcontrol: use correct PRINTER_NOTIFY flags.Günther Deschner1-3/+3
Guenther
2009-01-22s3:smbcontrol: don't call message_dispatch() anymore, it's triggered by ↵Stefan Metzmacher1-13/+16
tevent_loop_once() metze
2009-01-16s3:winbindd: put winbindd_cache.tdb into cache_dir, not lock_dir.Michael Adam1-4/+4
Michael
2009-01-05s3:events: change event_add_timed() prototype to match samba4Stefan Metzmacher1-4/+3
metze
2008-10-23Use common net utility code (address and sockaddr manipulation).Jelmer Vernooij1-1/+1
2008-08-18Make the change to smbcontrol for "all" to mean broadcast,Jeremy Allison1-4/+3
and "smbd" to mean the main smb daemon. Update docs to match. Jeremy. (This used to be commit e415420b086a236be6bcc1e7584bec276a74e457)
2008-05-19Don't block smbcontrol online/offline if !"winbind offline logons"Volker Lendecke1-14/+0
There's no point to block these, winbind will ignore them anyway. Jerry, Jeremy, we definitely need a chance to trigger a reconnection attempt after a DC has been rebooted. Right now winbind's reaction to a single rebooted DC is to declare it offline. It will not try before a "winbind cache timeout" timeout. If the admin sets this to an hour or longer for performance reasons, we're screwed. Reboot your DC, no logon for an hour. Volker (This used to be commit cb065a8995fa0a18f9124d0bdea70c692d6b5c58)
2008-02-23Fix a C++ warningVolker Lendecke1-1/+1
(This used to be commit c4cab9e1c1f4975d970665f85838b2dea023d5fc)
2008-01-24Add dump-domain-list command for debugging winbindd's domain_list.Günther Deschner1-0/+57
Guenther (This used to be commit 10fa43f2840899c0854763e55b9174827c522a5b)
2007-12-10Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison1-1/+1
them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-11-03Remove more static data from lib/util_sock.c andJeremy Allison1-1/+1
callers. Jeremy. (This used to be commit 35aaa36f82c70964cee5d0778eb04547b226dd3f)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-36/+36
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10r25239: fix cut-n-paste bug in code with LIBUNWIND supportStefan Metzmacher1-4/+0
metze (This used to be commit ff94d055760b16786d1a998e251d487fb886a64c)
2007-10-10r24845: Fix a segfault in smbcontrol when called with parameters but no ↵Michael Adam1-3/+5
extra args. Michael (This used to be commit f1bbf9bc18fc615a5660674f8346b4a7bed50044)
2007-10-10r24843: Add a "validate-cache" control message to winbindd.Michael Adam1-0/+44
So there is a new subcommand "smbcontrol winbindd validate-cache" now. This change provides the infrastructure: The function currently returns "true" unconditionally. The call of a real cache validation function will be incorporated in subsequent changes. Michael (This used to be commit ef92d505c04397614cb0dd5ede967e9017a5e302)
2007-10-10r24828: Give smbcontrol an initial talloc stackframe.Michael Adam1-1/+6
(This used to be commit 55020b07b5568104091352fd3ae21e2b29e34501)
2007-10-10r24021: use MSG_BROADCAST_PID_STR as value for broadcast messagesStefan Metzmacher1-1/+1
to fix the cluster case vl: please check, if this works with clustering = no metze (This used to be commit 9d4104b8d5773537f2271f7be1439f1da1e0bf42)
2007-10-10r24019: merge from http://people.samba.org/bzr/metze/samba/3_2-ctdb-metze/:Stefan Metzmacher1-8/+23
use a timed event to make sure the timelimit is correctly handled in smbcontrol when waiting for messages metze (This used to be commit 68c786dafacb187dfea83c45b7fd84127dc02e43)
2007-10-10r24005: Attempt to fix the build on host deckchairVolker Lendecke1-1/+1
(This used to be commit cdc8ca57a7eb3e7e33a243e705be8a33c538253a)