summaryrefslogtreecommitdiff
path: root/source3/utils/smbcontrol.c
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23563: Add dump-event-list command to smbcontrol.Günther Deschner1-0/+17
Guenther (This used to be commit 0d956a8e45cd4421cddb8e077e1960dafac3a4d0)
2007-10-10r23204: Add MSG_SMB_BRL_VALIDATE. Tridge, this is a bit different from your bzrVolker Lendecke1-0/+30
branch, please check if it fulfils your needs. Two changes: The validation is not done inside the brlock.c traverse_fn, it's done as a separate routine. Secondly, this patch does not call the checker routines in smbcontrol directly but depends on a running smbd. (This used to be commit 7e39d77c1f90d9025cab08918385d140e20ca25b)
2007-10-10r23171: Convert connections.tdb to dbwrapVolker Lendecke1-3/+4
(This used to be commit 80a1f43825063bbbda896175d99700ede5a4757a)
2007-10-10r23055: Rewrite messages.c to use auto-generated marshalling in the tdb. I'mVolker Lendecke1-36/+28
doing this because for the clustering the marshalling is needed in more than one place, so I wanted a decent routine to marshall a message_rec struct which was not there before. Tridge, this seems about the same speed as it used to be before, the librpc/ndr overhead in my tests was under the noise. Volker (This used to be commit eaefd00563173dfabb7716c5695ac0a2f7139bb6)
2007-10-10r23010: Make the output of "smbcontrol --help" match that of "smbcontrol help".James Peach1-5/+30
Bug #3181. (This used to be commit 94b0997ef1bd993587dfeef4e0a8d366c5371e9f)
2007-10-10r22934: Change smbcontrol to use messaging_register instead of message_registerVolker Lendecke1-23/+35
(This used to be commit e3d985c581ffc597aea932858d27c421643d2868)
2007-10-10r22911: Pass a messaging_context to message_send_allVolker Lendecke1-1/+1
(This used to be commit cc92ce665dcfe9054d09429219883b18a4cab090)
2007-10-10r22908: All callers of message_init now also call messaging_init. Unify those.Volker Lendecke1-3/+0
(This used to be commit 330946ad2307ca34f0a8d068a0193fcb8a0d6036)