summaryrefslogtreecommitdiff
path: root/source3/utils
Commit message (Collapse)AuthorAgeFilesLines
* s3-net: Add delete op for net trust utilitySumit Bose2011-04-061-53/+159
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-net: Add net trust utilitySumit Bose2011-04-063-0/+559
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-net: add IPA provisionSumit Bose2011-04-061-20/+119
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-net: add command "net idmap check"Gregor Beck2011-04-045-1/+1106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a tool to check the consistency of an idmap tdb database. The default mode is to scan the database and list invalid entries, e.g. records with an invalid format, or records which are valid but for which the reverse mapping entry is missing. With the "--repair" switch, one can enter an interactive repair mode which will prompt for each invalid entry found with the option to delete, skip or edit the record. There is also a non-interactive repair mode triggered by "--auto" which will remove all records with invalid content and fill up mappings which are missing the reverse entry. The "--test" parameter lets "net idmap check" only list the changes that would be written and not actually commit them to the database. The "--lock" option allows to lock the database already in the first reading traverse, in order to remove the race when the database has to be closed and reopened again before writing the changes. Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Apr 4 18:21:09 CEST 2011 on sn-devel-104
* s3: Fix Coverity ID 1136: CONSTANT_EXPRESSION_RESULTVolker Lendecke2011-04-011-1/+1
|
* s3-net: Do not use uninitialized valueSumit Bose2011-03-311-0/+2
| | | | | | | | | s3-net: Do not use uninitialized value Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Mar 31 18:09:57 CEST 2011 on sn-devel-104
* s3: only include lib/privileges.h where needed.Günther Deschner2011-03-301-0/+1
| | | | | | This finally removes the global lsa.h inclusion. Guenther
* s3: include ../librpc/gen_ndr/lsa.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-includes: only include ntdomain.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* 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-307-0/+7
| | | | Guenther
* s3-libsmb: put namequery headers to nmblib.hGünther Deschner2011-03-304-0/+4
| | | | | | | We might find a better name for it and merge other namequery related things as well here... Guenther
* s3-locking: move locking prototypes out of proto.h.Günther Deschner2011-03-301-0/+1
| | | | | | Will later become part of locking.h Guenther
* s3-passdb: use passdb headers where needed.Günther Deschner2011-03-306-0/+6
| | | | Guenther
* s3-passdb: add passdb.h where needed.Günther Deschner2011-03-305-0/+5
| | | | Guenther
* registry: create and use shared libcli/registry/util_reg.h header.Günther Deschner2011-03-305-0/+5
| | | | Guenther
* s3-includes: no point in including all security headers globally.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-includes: only include system/filesys.h when needed.Günther Deschner2011-03-3013-0/+13
| | | | Guenther
* s3-includes: only include system/passwd.h when needed.Günther Deschner2011-03-304-0/+4
| | | | Guenther
* s3-winbind: remove global inclusion of libwbclient.Günther Deschner2011-03-302-0/+2
| | | | Guenther
* lib/util/util_pw: share more code between lib/util/util_pw.c and ↵Günther Deschner2011-03-301-0/+1
| | | | | | source3/lib/username.c Guenther
* s3: Fix Coverity ID 2228: RESOURCE_LEAKVolker Lendecke2011-03-271-0/+1
| | | | Holger, please check!
* charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell2011-03-241-1/+1
| | | | | | | | | convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
* s3-smbta-util: fix some buildwarnings.Günther Deschner2011-03-231-2/+2
| | | | Guenther
* s3: Fix Coverity ID 2202, NULL_RETURNSVolker Lendecke2011-03-231-0/+3
|
* s3-fault: removed the cont_fn from fault_setup()Andrew Tridgell2011-03-221-1/+1
| | | | | | | | | | cont_fn() was supposed to be a way to continue after a seg fault. It could never be called however, as smb_panic() from fault_report() could never return, as dump_core() never returns at the end of smb_panic() Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Mar 22 05:07:58 CET 2011 on sn-devel-104
* s3-net: make sure we set correct default user flags in rap_user_add().Günther Deschner2011-03-181-1/+1
| | | | Guenther
* s3-utils: run minimal_includes.pl over utils/*.cGünther Deschner2011-03-183-4/+0
| | | | Guenther
* s3:net Find uid before using itSumit Bose2011-03-171-7/+7
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-build: only include asn1 headers where actually needed.Günther Deschner2011-03-161-0/+1
| | | | Guenther
* s3: Fix Coverity ID 1402: PASS_BY_VALUEVolker Lendecke2011-03-161-11/+11
| | | | | | | There's no point in passing GROUP_MAP on the stack Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 16 21:58:08 CET 2011 on sn-devel-104
* libcli/security: move display_sec headers to own header file and add toGünther Deschner2011-03-162-0/+2
| | | | | | security.h grouping header. Guenther
* s3-libsmb: only include rap client when needed.Günther Deschner2011-03-154-0/+4
| | | | Guenther
* s3: Fix Coverity ID 2290: Uninitialized readVolker Lendecke2011-03-151-1/+1
| | | | | We passed the structure including the uninitialized elements to dcerpc_winreg_DeleteKey.
* s3-build: remove -I../lib/addns.Günther Deschner2011-03-102-3/+2
| | | | Guenther
* s3-net: Use wbcSidToStringBufVolker Lendecke2011-03-051-17/+3
|
* s3-sessionid: avoid global include of sessionid.hGünther Deschner2011-03-023-0/+3
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 2 12:58:12 CET 2011 on sn-devel-104
* s3-server_id: only include server_id where needed.Günther Deschner2011-03-021-0/+1
| | | | Guenther
* Fix some typesJelmer Vernooij2011-02-282-4/+4
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
* s3-rpc_client: Move client pipe functions to own header.Andreas Schneider2011-02-289-0/+9
|
* s3: Eliminate sys_select_intr from smbfilterVolker Lendecke2011-02-281-17/+43
|
* 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: Make is_zero_addr take a sockaddr_storageVolker Lendecke2011-02-271-2/+2
| | | | | | | All callers had to cast this anyway Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 27 11:02:53 CET 2011 on sn-devel-104
* s3-printing: isolate print notification prototypes better.Günther Deschner2011-02-221-0/+1
| | | | Guenther
* s3: Add "len" to pdb_set_hoursVolker Lendecke2011-02-191-1/+1
|
* s3-cluster Always fill in the clustering vnn elementAndrew Bartlett2011-02-171-2/+0
| | | | | | This avoids this structure being partially uninitialised. Adnrew Bartlett
* s3:net: fix usage for "net rpc registry export"Michael Adam2011-02-161-1/+2
|
* s3: no need to globally include intl.h.Günther Deschner2011-02-151-0/+1
| | | | Guenther
* s3:utils enable sharesec for registry sharesChristian Ambach2011-02-091-1/+2
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Feb 9 16:41:31 CET 2011 on sn-devel-104
* s3:net idmap: implement net idmap deleteGregor Beck2011-02-091-5/+137
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Feb 9 15:06:06 CET 2011 on sn-devel-104