1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

55732 Commits

Author SHA1 Message Date
Günther Deschner
71e9dfc0cd s3-netlogon: rework _netr_ServerPasswordSet.
Guenther
2009-09-02 10:47:35 +02:00
Andrew Tridgell
bde679e6f8 show the full set of command line options for ldb tools
I always found it hard to remember some of the options. We might as
well use popt to give us the full list
2009-09-02 18:31:59 +10:00
Günther Deschner
931771138a s3-netlogon: implement _netr_LogonSamLogonWithFlags().
Guenther
2009-09-02 10:23:28 +02:00
Andrew Tridgell
9f031352c6 traverse the ac list in reverse order
items are added to the linked attribute list using DLIST_ADD(), which
means to commit them to the database in the same order they came from
the server we need to walk the list backwards when we traverse it
2009-09-02 18:19:56 +10:00
Andrew Tridgell
b5f63160d4 repl_meta_data should only be included when we are a DC 2009-09-02 18:19:56 +10:00
Andrew Tridgell
ca45847eda s4:dsdb rewrite the linked_atrributes code to commit in the end_transaction hook
linked attribute changes can come in any order. This means it is
possible for a forward link to come over the wire in DRS before the
target even exists. To make this work this patch changed the linked
attributes module to gather up all the changes it needs to make in a
linked list, then execute the changes in the end_transaction hook for
the module.

During that commit phase we also fix up all the DNs that we got by
searching for their GUID, as the objects may have moved after the
linked attribute was sent, but before the end of the transaction
2009-09-02 18:19:56 +10:00
Andrew Tridgell
199be936d8 move the repl_meta_data module up the ldb module stack
The repl_meta_data module needs to be above the linked_attributes
module, to allow linked_attributes to do its magic
2009-09-02 18:19:56 +10:00
Andrew Tridgell
69802b3a3b wrap the entire vampire operation in a transaction
We want to grab the whole database, or none of it.
This is also needed to get linked attributes right
2009-09-02 18:19:55 +10:00
Andrew Tridgell
10bd56b34a use ldb_cmdline_help() in ldbsearch 2009-09-02 18:19:55 +10:00
Andrew Tridgell
1e552770ee added ldb_cmdline_help()
This allows the ldb tools to show their full command line options
2009-09-02 18:19:55 +10:00
Andrew Tridgell
29320bc6e0 add the partition_control control to replication requests
We know the partition DN from the DRS objects, we need to pass this
down the modules below us to ensure they operate on the right
partition
2009-09-02 18:19:55 +10:00
Andrew Tridgell
79255a9384 change the dsdb_control_current_partition to not include internal variables
This structures was used in two ways. In one way it held variables
that are logically internal to the partition module, and in the other
way it was used to pass the partition DN down to other modules. This
change makes the structure contain just the dn which is being passed
down.

This change is part of the support for linked attributes. We will be
passing this control down from above the partition module to force
which partition a request acts upon. The partition module now only
adds this control if it isn't already there.
2009-09-02 18:19:55 +10:00
Andrew Tridgell
67bf17598b don't allow two controls to be added with the same OID
Two controls with the same OID makes no sense, as they may
have different data attached
2009-09-02 18:19:55 +10:00
Andrew Tridgell
4b336fed94 Display ldif formatted versions of all DRS changes at log level 4
This helps a lot with debugging the DRS replication code
2009-09-02 18:19:55 +10:00
Andrew Tridgell
a19ad21033 Wrap DRS changes in a transaction
We should always apply a whole set of DRS changes or none of them. See
[MS-DRSR] 3.3.2
2009-09-02 18:19:55 +10:00
Andrew Tridgell
132242fe7e add a ref to the WSPP docs 2009-09-02 18:19:55 +10:00
Andrew Tridgell
90b694bc61 fixed spelling 2009-09-02 18:19:54 +10:00
Andrew Tridgell
b5bf440065 added ldb_ldif_message_string()
This function provides a easy function for displaying a ldb_message
structure in a human readable format. It is especially useful for
calling in gdb.
2009-09-02 18:19:54 +10:00
Simo Sorce
aec03eda93 s3-smbpasswd: Fix Bug #6584: allow DOM\user when changing passwords remotely.
Signed-off-by: Günther Deschner <gd@samba.org>
2009-09-02 10:17:14 +02:00
Günther Deschner
9264f48914 wbclient: Fix Bug #6680: always activate handling of large (> 256 byte) ntlmv2
blobs in wbcAuthenticateUserEx().

Guenther
2009-09-01 16:13:57 +02:00
Karolin Seeger
1bc05ca3bb s3-docs: Update build howto.
This addresses bug #6661.

Karolin
2009-09-01 12:57:45 +02:00
Günther Deschner
792b544e37 netlogon: fill in more details for the netr_LogonControlX family of calls.
Guenther
2009-08-31 20:24:04 +02:00
Günther Deschner
94f7c98430 s3-netlogon: add DS_WEB_SERVICE_REQUIRED bit for dsgetdcname calls.
Guenther
2009-08-31 20:23:08 +02:00
Simo Sorce
a3e9b62f44 ldb: Depend on libtalloc 2.0.0 2009-08-30 17:52:43 -04:00
Simo Sorce
185d06e122 ldb: cosmetic changes in ldb_dn
- remove trailing spaces and tabs
- shorten some variable names for readability
- try to break superlong lines for readability
2009-08-30 17:49:37 -04:00
Simo Sorce
a28b499e80 s3: Fix libtalloc so version 2009-08-30 13:54:42 -04:00
Volker Lendecke
bb1f56a814 s3:libwbclient: Fix bug 6349, initialize domain info struct 2009-08-30 11:40:59 +02:00
Volker Lendecke
4179270198 s3:winbind: Fix bug 5626
Apparently the AIX compiler can't deal with sizeless array declarations
2009-08-30 11:13:18 +02:00
Volker Lendecke
0cae043b0c w3:winbind: Convert WINBINDD_ALLOCATE_GID to the new API 2009-08-30 09:48:28 +02:00
Volker Lendecke
9e7c6f12fd w3:winbind: Convert WINBINDD_ALLOCATE_UID to the new API 2009-08-30 09:48:28 +02:00
Michael Adam
0d120be36b One would expect I could spell my name... 2009-08-30 00:56:04 +02:00
Michael Adam
700533a748 One would expect I could spell my name. 2009-08-30 00:56:03 +02:00
Michael Adam
84446a2407 tdb: move the original abi_checks script to script/abi_checks_gcc.sh
Michael
2009-08-30 00:51:55 +02:00
Michael Adam
f7c473f534 tdb: run abi_checks as part of "make test".
Strange: I had to place "test:: abi_checks" before the main
"test::" target here, otherwise the abi checks would not get run.

Michael
2009-08-30 00:51:55 +02:00
Michael Adam
dff3f37cf1 tdb: remove files generated by "make abi_checks" in "make clean".
Michael
2009-08-30 00:51:55 +02:00
Michael Adam
e21ecfc563 tdb: add a target "abi_checks" to tdb.
Simply run "make abi_checks" to call the abi check script appropriately.

Michael
2009-08-30 00:51:54 +02:00
Michael Adam
9636e0d373 tdb: add script/abi_checks.sh. check for abi changes without gcc magic.
USAGE: abi_checks.sh LIBRARY_NAME header1 [header2 ...]

This creates symbol signature lists using the mksyms and mksigs scripts
and compares them with the checked in lists.

Michael
2009-08-30 00:51:54 +02:00
Michael Adam
0760a04ef9 tdb: add script to extract signatures from header files.
This produces output like the output gcc produces when
invoked with the -aux-info switch.

Run like this: cat include/tdb.h | ./script/mksigs.pl

This simple parser is probably too coarse to handle all
possible header files, but it treats tdb.h correctly...

Michael
2009-08-30 00:51:54 +02:00
Michael Adam
006fd0c43c tdb: add scripts to extract library symbols (exports file) from headers
Michael
2009-08-30 00:51:53 +02:00
Michael Adam
c7d9617259 talloc: move the original abi_checks script to script/abi_checks_gcc.sh
Michael
2009-08-30 00:51:53 +02:00
Michael Adam
d9b193189a talloc: remove talloc_free from the exports
Michael
2009-08-30 00:51:53 +02:00
Michael Adam
fe0b5234ba talloc: run abi_checks as part of "make test"
Michael
2009-08-30 00:51:52 +02:00
Michael Adam
4e9a06d601 talloc: remove files generated by "make abi_check" in "make clean"
Michael
2009-08-30 00:51:52 +02:00
Michael Adam
cbc75c11fd talloc: add a target "abi_checks" to talloc.
Simply run "make abi_checks" to call the abi check script appropriately.

Michael
2009-08-30 00:51:52 +02:00
Michael Adam
f1b386a894 talloc: add script/abi_checks.sh. check for abi changes without gcc magic.
USAGE: abi_checks.sh LIBRARY_NAME header1 [header2 ...]

This creates symbol signature lists using the mksyms and mksigs scripts
and compares them with the checked in lists.

Michael
2009-08-30 00:51:51 +02:00
Michael Adam
4579c05462 talloc: add script to extract signatures from header files.
This produces output like the output gcc produces when
invoked with the -aux-info switch.

Run like this: cat talloc.h | ./script/mksigs.pl

This simple parser is probably too coarse to handle all possible
header files, but it does treat talloc.h correctly.

Michael
2009-08-30 00:51:51 +02:00
Michael Adam
e896f9188d talloc: add scripts to extract library symbols (exports file) from headers
Michael
2009-08-30 00:51:50 +02:00
Volker Lendecke
2774a02f64 s3:winbind: Convert WINBINDD_LIST_GROUPS to the new API 2009-08-29 19:53:46 +02:00
Volker Lendecke
6b474c56a5 s3:winbind: Convert WINBINDD_LIST_USERS to the new API 2009-08-29 19:53:29 +02:00
Volker Lendecke
a95955f285 s3:nsstest: Fix a very confusing behaviour in nsstest
Testing getgrent I thought I get the offset calculations wrong whereas
it was only nsstest printing stuff with spaces...
2009-08-29 19:43:33 +02:00