1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source3
Gregor Beck a217ec64ec s3-net: add command "net idmap check"
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
2011-04-04 18:21:09 +02:00
..
auth s3-auth consolidate create_local_token() into make_server_info_krb5() 2011-04-04 19:48:58 +10:00
build s3-waf: use SAMBA3_*() build rules in source3/build 2011-02-18 16:46:41 +11:00
client s3: Use cli_ntcreate to when listing snapshots 2011-03-30 14:37:02 +02:00
exports
groupdb s3-passdb: add passdb.h where needed. 2011-03-30 01:13:07 +02:00
include s3: add function dbwrap_traverse 2011-04-04 15:57:35 +02:00
intl s3-build: only include intl protos where needed. 2011-03-30 01:13:08 +02:00
lib s3: add function srprs_quoted to parse strings written with cbuf_print_quoted 2011-04-04 15:57:36 +02:00
libads s3-libndr: add ../librpc/ndr/libndr.h include in some places. 2011-03-31 00:14:01 +02:00
libgpo registry: create and use shared libcli/registry/util_reg.h header. 2011-03-30 01:13:07 +02:00
libnet s3-messages: only include messages.h where needed. 2011-03-30 01:13:09 +02:00
librpc s3-libndr: add ../librpc/ndr/libndr.h include in some places. 2011-03-31 00:14:01 +02:00
libsmb s3: Remove some unused code 2011-04-03 18:32:51 +02:00
locale Updated french translations from Jean Delvare <jdelvare@suse.de> 2010-12-04 18:23:54 +01:00
locking s3-messages: make ndr_messaging.h part of messages.h. 2011-03-30 01:13:09 +02:00
m4 s3: Make nmbd socket dir configurable 2011-01-07 14:14:19 +01:00
modules Fix bug #7987 - ACL can get lost when files are being renamed. 2011-04-02 02:40:43 +02:00
nmbd s3-messages: make ndr_messaging.h part of messages.h. 2011-03-30 01:13:09 +02:00
pam_smbpass s3-passdb: add passdb.h where needed. 2011-03-30 01:13:07 +02:00
param s3-includes: only include system/filesys.h when needed. 2011-03-30 01:13:07 +02:00
passdb s3-libndr: add ../librpc/ndr/libndr.h include in some places. 2011-03-31 00:14:01 +02:00
pkgconfig s3-smbsharemodes: libsmbsharemodes does neither depend on krb5 or ldap. 2011-02-18 16:46:35 +01:00
po
printing s3-includes: only include ntdomain.h where needed. 2011-03-30 01:13:09 +02:00
profile s3-messages: make ndr_messaging.h part of messages.h. 2011-03-30 01:13:09 +02:00
registry rep_parse_prs: remove some dead, unused code. 2011-03-31 00:14:01 +02:00
rpc_client s3: include ../librpc/gen_ndr/lsa.h where needed. 2011-03-30 01:13:10 +02:00
rpc_server s3-rpc_server Remove comment, yes the key is correct. 2011-04-04 13:31:52 +02:00
rpcclient s3-rpcclient: include rpc_client/cli_pipe.h globally in rpcclient.h 2011-03-31 00:14:01 +02:00
script s3-selftest Remove more instances of /tmp in test_smbclient_s3.sh 2011-04-04 19:48:58 +10:00
selftest s3-selftest Add testing of kerberos login 2011-04-04 19:48:57 +10:00
services s3-auth: rpc_server needs auth.h 2011-03-30 01:13:09 +02:00
smbd s3-auth consolidate create_local_token() into make_server_info_krb5() 2011-04-04 19:48:58 +10:00
stf
tests s3: Compile IDL files in autogen, some configure tests need this 2011-03-25 16:35:30 +01:00
torture s3: Add a quick test for bug 8042 2011-04-03 16:13:21 +02:00
utils s3-net: add command "net idmap check" 2011-04-04 18:21:09 +02:00
web Fix convert_string() to take a *converted_size arg. and return a bool. 2011-03-30 23:59:37 +02:00
winbindd s3:idmap_tdb2: fix build of tdb2 2011-04-04 15:57:34 +02:00
.clang_complete s3-build: remove -I../lib/addns. 2011-03-10 23:25:04 +01:00
.dmallocrc
.indent.pro
autogen-waf.sh s3-waf: add autogen-waf.sh to source3. 2010-09-24 11:26:11 -07:00
autogen.sh s3: Compile IDL files in autogen, some configure tests need this 2011-03-25 16:35:30 +01:00
change-log
config.guess
config.sub
configure.developer
configure.in s3:configure: allow building without SCHEDULE_FOR_DELETION with --enable-old-ctdb 2011-03-31 18:55:38 +02:00
Doxyfile
dynconfig.c s3: Make nmbd socket dir configurable 2011-01-07 14:14:19 +01:00
install-sh
localedir.c
mainpage.dox
Makefile-smbtorture4 s3-build: make it a little easier to build smbtorture4. 2011-03-30 23:12:42 +02:00
Makefile.in s3-net: add command "net idmap check" 2011-04-04 18:21:09 +02:00
smbadduser.in
VERSION
wscript s3:waf: add cluster support / ctdb checks. 2011-04-02 03:26:55 +02:00
wscript_build s3-net: add command "net idmap check" 2011-04-04 18:21:09 +02:00