summaryrefslogtreecommitdiffstats
path: root/source3/utils/smbcontrol.c
Commit message (Collapse)AuthorAgeFilesLines
* s3:smbcontrol: use lp_load_global(): smbcontrol does not need to load the sharesMichael Adam2011-07-281-1/+1
|
* s3-param Remove special case for global_scope()Andrew Bartlett2011-06-091-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
* lib/util Bring procid_str() into lib/util as server_id_string()Andrew Bartlett2011-06-091-3/+3
| | | | | | | This is needed for OpenChange, which prints Samba struct server_id values in debug messages. Andrew Bartlett
* s3: only include tdb headers where needed.Günther Deschner2011-05-061-0/+1
| | | | Guenther
* More const fixes. Remove CONST_DISCARD.Jeremy Allison2011-05-061-2/+2
|
* s3-messages: make ndr_messaging.h part of messages.h.Günther Deschner2011-03-301-1/+0
| | | | Guenther
* s3-messages: only include messages.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-libsmb: put namequery headers to nmblib.hGünther Deschner2011-03-301-0/+1
| | | | | | | We might find a better name for it and merge other namequery related things as well here... Guenther
* s3-includes: only include system/filesys.h when needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3: smbcontrol to notify smbd about idmap changesGregor Beck2011-02-281-0/+49
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Feb 28 14:07:23 CET 2011 on sn-devel-104
* s3-printing: isolate print notification prototypes better.Günther Deschner2011-02-221-0/+1
| | | | Guenther
* s3-debug Impove setup_logging() to specify logging to stderrAndrew Bartlett2010-11-021-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
* s3: Add "smbcontrol winbindd ip-dropped <local-ip>"Volker Lendecke2010-09-301-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.
* s3: Fix a typo in dump-domain-list smbcontrol usage msgVolker Lendecke2010-09-301-1/+1
|
* Change to using TDB_INCOMPATIBLE_HASH (the jenkins hash) on allJeremy Allison2010-09-271-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.
* s3: Lift the server_messaging_context from notify_printer_bynameVolker Lendecke2010-08-081-1/+2
|
* s3: Lift the server_messaging_context from notify_job_status_bynameVolker Lendecke2010-08-081-0/+4
|
* s3: Lift the server_messaging_context from notify_printer_status_bynameVolker Lendecke2010-08-081-3/+7
|
* s3: Remove some explicit calls to procid_self()Volker Lendecke2010-08-061-7/+10
|
* s3-popt: Only include popt-common.h when needed.Andreas Schneider2010-08-051-0/+1
|
* s3: Fix some nonempty blank linesVolker Lendecke2010-08-011-14/+14
|
* s3-build: avoid to globally include printing and spoolss headers.Günther Deschner2010-07-311-0/+2
| | | | | | This shrinks precompiled headers by 3MB and will slightly speed up any build. Guenther
* s3: only include gen_ndr headers where needed.Günther Deschner2010-05-061-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
* s3: Make "smbcontrol xx debuglevel" print the correct cluster pidVolker Lendecke2010-03-051-2/+6
|
* s3: Add connections_forall_read()Volker Lendecke2010-03-011-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.
* s3: Consolidate some pid_to_procid() calls to procid_self()Volker Lendecke2010-02-231-5/+5
|
* s3: Consolidate server_id_self into the equivalent procid_self()Volker Lendecke2010-02-231-1/+1
|
* s3: Fix the format string for smbcontrol pool-usageVolker Lendecke2010-01-171-1/+1
| | | | With the dot I have seen printf to not print anything
* make smbcontrol smbd ping work proper checking for arguments handle short ↵Olaf Flebbe2009-08-241-8/+5
| | | | pid_t correctly
* s3-smbcontrol: use correct PRINTER_NOTIFY flags.Günther Deschner2009-03-181-3/+3
| | | | Guenther
* s3:smbcontrol: don't call message_dispatch() anymore, it's triggered by ↵Stefan Metzmacher2009-01-221-13/+16
| | | | | | tevent_loop_once() metze
* s3:winbindd: put winbindd_cache.tdb into cache_dir, not lock_dir.Michael Adam2009-01-161-4/+4
| | | | Michael
* s3:events: change event_add_timed() prototype to match samba4Stefan Metzmacher2009-01-051-4/+3
| | | | metze
* Use common net utility code (address and sockaddr manipulation).Jelmer Vernooij2008-10-231-1/+1
|
* Make the change to smbcontrol for "all" to mean broadcast,Jeremy Allison2008-08-181-4/+3
| | | | | | and "smbd" to mean the main smb daemon. Update docs to match. Jeremy. (This used to be commit e415420b086a236be6bcc1e7584bec276a74e457)
* Don't block smbcontrol online/offline if !"winbind offline logons"Volker Lendecke2008-05-191-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)
* Fix a C++ warningVolker Lendecke2008-02-231-1/+1
| | | | (This used to be commit c4cab9e1c1f4975d970665f85838b2dea023d5fc)
* Add dump-domain-list command for debugging winbindd's domain_list.Günther Deschner2008-01-241-0/+57
| | | | | Guenther (This used to be commit 10fa43f2840899c0854763e55b9174827c522a5b)
* Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison2007-12-101-1/+1
| | | | | | | them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
* Remove more static data from lib/util_sock.c andJeremy Allison2007-11-031-1/+1
| | | | | | callers. Jeremy. (This used to be commit 35aaa36f82c70964cee5d0778eb04547b226dd3f)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-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)
* r25239: fix cut-n-paste bug in code with LIBUNWIND supportStefan Metzmacher2007-10-101-4/+0
| | | | | metze (This used to be commit ff94d055760b16786d1a998e251d487fb886a64c)
* r24845: Fix a segfault in smbcontrol when called with parameters but no ↵Michael Adam2007-10-101-3/+5
| | | | | | | extra args. Michael (This used to be commit f1bbf9bc18fc615a5660674f8346b4a7bed50044)
* r24843: Add a "validate-cache" control message to winbindd.Michael Adam2007-10-101-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)
* r24828: Give smbcontrol an initial talloc stackframe.Michael Adam2007-10-101-1/+6
| | | | (This used to be commit 55020b07b5568104091352fd3ae21e2b29e34501)
* r24021: use MSG_BROADCAST_PID_STR as value for broadcast messagesStefan Metzmacher2007-10-101-1/+1
| | | | | | | | | to fix the cluster case vl: please check, if this works with clustering = no metze (This used to be commit 9d4104b8d5773537f2271f7be1439f1da1e0bf42)
* r24019: merge from http://people.samba.org/bzr/metze/samba/3_2-ctdb-metze/:Stefan Metzmacher2007-10-101-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)
* r24005: Attempt to fix the build on host deckchairVolker Lendecke2007-10-101-1/+1
| | | | (This used to be commit cdc8ca57a7eb3e7e33a243e705be8a33c538253a)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)