summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-09-19Fix regf.idl, subkey and rootkey types were switched.wilco@baanhofman.nl1-2/+2
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-19Fix file corruption (non-updated header) on new allocation.wilco@baanhofman.nl1-8/+17
Also fixes debug messages to use hex offsets. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-19Fix crash when no subkeys exist. Fix writing outside of buffer error by regf ↵wilco@baanhofman.nl1-2/+13
backend. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-19Add python bindings for open_hive function to be able to load REGF files.wilco@baanhofman.nl1-4/+43
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-19s4/fsmo: Naming master support addedAnatoliy Atanasov2-1/+6
Test suite for fsmo is extended with a test case for naming master too.
2010-09-19s4-smbtorture: add LOCAL-NDR-NTLMSSP.Günther Deschner4-2/+122
Guenther
2010-09-19s4-rodc: added RODC DNS update support to samba_dnsupdateAndrew Tridgell1-3/+70
for DNS updates that have a netlogon equivalent, send via netlogon
2010-09-19s4-finddcs: added some debug messages on failureAndrew Tridgell1-4/+7
2010-09-19s4-pydsdb: added am_rodc() method on samdbAndrew Tridgell2-0/+30
2010-09-19s4-pydsdb: don't force am_rodc unless it is set by callerAndrew Tridgell1-2/+3
we should normally get the rodc flag by looking at the database, not by forcing it in the database connect
2010-09-19pytdb: Make filename argument optional.Jelmer Vernooij2-13/+15
2010-09-19pytdb: Add support for tdb_freelist_size()Kirill Smelkov2-0/+9
Cc: 597386@bugs.debian.org Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru> Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-19pytdb: Add support for tdb_transaction_prepare_commit()Kirill Smelkov2-0/+18
Cc: 597386@bugs.debian.org Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru> Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-19pytdb: Add support for tdb_enable_seqnum, tdb_get_seqnum and ↵Kirill Smelkov2-0/+30
tdb_increment_seqnum_nonblock Cc: 597386@bugs.debian.org Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru> Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-19pytdb: Update open flags to match those for tdb_open() in tdb.hKirill Smelkov1-0/+6
Namely TDB_NOSYNC, TDB_SEQNUM, TDB_VOLATILE, TDB_ALLOW_NESTING and TDB_DISALLOW_NESTING were missing. Cc: 597386@bugs.debian.org Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru> Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-19pytdb: Fix repr segfault for internal dbKirill Smelkov2-1/+11
The problem was tdb->name is NULL for TDB_INTERNAL databases, and so it was crashing ... #0 0xb76944f3 in strlen () from /lib/i686/cmov/libc.so.6 #1 0x0809862b in PyString_FromFormatV (format=0xb72b6a26 "Tdb('%s')", vargs=0xbfc26a94 "") at ../Objects/stringobject.c:211 #2 0x08098888 in PyString_FromFormat (format=0xb72b6a26 "Tdb('%s')") at ../Objects/stringobject.c:358 #3 0xb72b65f2 in tdb_object_repr (self=0xb759e060) at ./pytdb.c:439 Cc: 597089@bugs.debian.org Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru> Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-19pytdb: Add support for tdb_add_flags() & tdb_remove_flags()Kirill Smelkov2-0/+27
Note, unlike tdb_open where flags is `int', tdb_{add,remove}_flags want flags as `unsigned', so instead of "i" I used "I" in PyArg_ParseTuple. Cc: 597386@bugs.debian.org Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru> Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-19waf: add a '+' to the git hash if the working tree isn't cleanStefan Metzmacher1-0/+9
metze
2010-09-19waf: fix typos in GIT_COMMIT_* stringsStefan Metzmacher1-3/+3
metze
2010-09-19s3-rpcclient: add some winreg commands.Günther Deschner3-0/+325
Guenther
2010-09-19s3-nltest: add dsregdns command to nltest.Günther Deschner1-1/+21
Guenther
2010-09-19s3-libnetapi: support NETLOGON_CONTROL_FORCE_DNS_REG in I_NetLogonControl().Günther Deschner1-0/+4
Guenther
2010-09-19libnetapi: deal with NULL data in I_NetLogonControl2().Günther Deschner1-1/+1
Guenther
2010-09-18s3: Add a missing prototypeVolker Lendecke1-0/+1
2010-09-18s3: Fix bug 7688, rpcclient command line completion crashingVolker Lendecke1-1/+1
We've grown more than 100 rpcclient commands by now, so this would overwrite the array of 100 completions. There's nicer ways to fix this problem, but 1000 rpcclient commands should be at least a bit away.
2010-09-18s3: Fix some nonempty blank linesVolker Lendecke1-13/+12
2010-09-18s4-drs: Check for schema changes only in case we are *not* applying Schema ↵Kamen Mazdrashki1-8/+19
replica This fixes the problem when we fail to replicate with a partner DC that has a newer Schema with attributeSchema objects with OIDs that we don't have in our local prefixMap.
2010-09-18werror: Add W_ERROR_HAVE_NO_MEMORY_AND_FREE() macroKamen Mazdrashki1-0/+7
2010-09-18s4-ldapcmp: Fix options parsing for common Samba optionsKamen Mazdrashki1-4/+10
And also set 'creds2' to be equal to 'creds' in case username2 paramater is not supplied on cmd line
2010-09-17s3:rpc_client: remove unused rpc_pipe_set_hnd_state()Stefan Metzmacher1-47/+0
metze
2010-09-17s3:rpc_client: use rpc_api_pipe_send() for auth3Stefan Metzmacher1-20/+11
metze
2010-09-17s3:rpc_client: rpc_pipe_bind_step_one_done() doesn't need reply_pduStefan Metzmacher1-2/+1
metze
2010-09-17s3:rpc_client: allow DCERPC_PKT_AUTH3 via rpc_api_pipe_send/recvStefan Metzmacher1-0/+28
metze
2010-09-17lib/util: usec_time_diff takes arguments the other way round than TvalDiff didBjörn Jacke1-1/+1
2010-09-17s3: fix order of arguments in nsec_time_diff callBjörn Jacke2-4/+4
2010-09-17s4-test: Add unit test for dsdb_schema_info_cmp()Kamen Mazdrashki1-0/+81
2010-09-17s4-schema: Helper func to compare schemaInfo signituresKamen Mazdrashki1-0/+41
2010-09-17s4-schema: use dsdb_schema_info_blob_is_valid() to verify schemaInfo blobKamen Mazdrashki1-9/+6
instead of parsing it.
2010-09-17s4-prefixMap: use dsdb_schema_info_blob_is_valid() for schemaInfo blob ↵Kamen Mazdrashki1-4/+2
validation This fixes a leaking dsdb_schema_info object also.
2010-09-17s4-dsdb: Add dsdb_schema_info_blob_is_valid() to verify schemaInfo bloblsKamen Mazdrashki1-10/+24
2010-09-17s4-pyrpc: Print location and type name we got when checking for typesKamen Mazdrashki1-1/+1
2010-09-17Fix array size of a memmber of struct cli_ulogoff_stateSumit Bose1-1/+1
The too small array makes UID-REGRESSION-FIX fail on 32bit architectures. Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-17s4-devel: developer script for adding DNS entries via netlogon RPCAndrew Tridgell1-0/+43
this calls the netlogon DsrUpdateReadOnlyServerDnsRecords call to add DNS entries for a RODC via RPC calls. The call is routed via a IRPC call to winbind, as winbind is the one with the schannel credential chaining setup. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-17s4-pyrpc: allow python to access irpc interfacesAndrew Tridgell2-10/+53
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-17idl: build python interfaces for winbind and idmap IDLAndrew Tridgell2-1/+18
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-17s4-winbind Add a proxy method to update DNS records with a read-write DCAndrew Bartlett6-2/+225
This must be done in winbindd as it already has the schannel connection and the credential chain. If we re-established that elsewhere, we would break the chain in winbindd. Andrew Bartlett Signed-Off-By: Andrew Tridgell <tridge@samba.org>
2010-09-17testprogs: skip two tests in spoolss tester.Günther Deschner1-0/+4
Guenther
2010-09-17s4-smbtorture: fix winreg querymultiplevalues NDR test warning.Günther Deschner1-2/+2
Guenther
2010-09-16ѕ3: remove smb_msleep prototype from hereBjörn Jacke1-1/+0
2010-09-16s3: remove TvalDiff macro, we can use the shared usec_time_diff functionBjörn Jacke1-9/+0