summaryrefslogtreecommitdiffstats
path: root/source3/utils/smbcontrol.c
Commit message (Collapse)AuthorAgeFilesLines
* Check error returns from strupper_m() (in all reasonable places).Jeremy Allison2012-08-091-1/+1
|
* Move everything to use the common pidfile functions.Jeremy Allison2012-07-191-1/+2
| | | | The extra code in source3/lib/pidfile.c is no longer needed.
* Move source4/smbd/pidfile into lib/util in preparation for making it in common.Jeremy Allison2012-07-191-1/+1
|
* s3:smbcontrol: remove an unused variableMichael Adam2012-04-211-4/+0
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Apr 21 00:55:13 CEST 2012 on sn-devel-104
* s3:id_cache: do not use the in-memory idmap cache (it is going to be removed)Michael Adam2012-04-201-6/+3
| | | | This also removes the ID_CACHE_FLUSH message.
* s3: Add "notify-cleanup" to smbcontrolVolker Lendecke2012-04-171-0/+13
| | | | This triggers a notify cleanup run which would normally only run periodically
* s3-utils: add do_reload_printers command to smbcontolBjörn Baumbach2012-04-061-0/+14
| | | | Add command to force smbd to reload printers by sending MSG_PRINTER_PCAP.
* s3:smbcontrol: avoid using messaging_event_context()Stefan Metzmacher2012-01-171-10/+7
| | | | metze
* s3:smbcontrol: pass tevent_context down to wait_replies()Stefan Metzmacher2012-01-171-10/+11
| | | | metze
* s3:smbcontrol: pass tevent_context down to subcommandsStefan Metzmacher2012-01-171-38/+69
| | | | metze
* s3:smbcontrol: remove unused "samsync" and "samrepl" commandsStefan Metzmacher2011-12-131-30/+0
| | | | metze
* s3: Remove a bunch of calls to procid_self()Volker Lendecke2011-12-121-1/+1
| | | | All callers to messaging_[re]init only used procid_self()
* Finish commit 8745c70d by Michael Adam.Jeremy Allison2011-09-151-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
* s3-id_cache: Use better names for id cache management opsAndreas Schneider2011-08-211-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>
* 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)