summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | pytdb: Add support for tdb_enable_seqnum, tdb_get_seqnum and ↵Kirill Smelkov2010-09-192-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>
* | pytdb: Update open flags to match those for tdb_open() in tdb.hKirill Smelkov2010-09-191-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>
* | pytdb: Fix repr segfault for internal dbKirill Smelkov2010-09-192-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>
* | pytdb: Add support for tdb_add_flags() & tdb_remove_flags()Kirill Smelkov2010-09-192-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>
* | waf: add a '+' to the git hash if the working tree isn't cleanStefan Metzmacher2010-09-191-0/+9
| | | | | | | | metze
* | waf: fix typos in GIT_COMMIT_* stringsStefan Metzmacher2010-09-191-3/+3
| | | | | | | | metze
* | s3-rpcclient: add some winreg commands.Günther Deschner2010-09-193-0/+325
| | | | | | | | Guenther
* | s3-nltest: add dsregdns command to nltest.Günther Deschner2010-09-191-1/+21
| | | | | | | | Guenther
* | s3-libnetapi: support NETLOGON_CONTROL_FORCE_DNS_REG in I_NetLogonControl().Günther Deschner2010-09-191-0/+4
| | | | | | | | Guenther
* | libnetapi: deal with NULL data in I_NetLogonControl2().Günther Deschner2010-09-191-1/+1
| | | | | | | | Guenther
* | s3: Add a missing prototypeVolker Lendecke2010-09-181-0/+1
| |
* | s3: Fix bug 7688, rpcclient command line completion crashingVolker Lendecke2010-09-181-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.
* | s3: Fix some nonempty blank linesVolker Lendecke2010-09-181-13/+12
| |
* | s4-drs: Check for schema changes only in case we are *not* applying Schema ↵Kamen Mazdrashki2010-09-181-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.
* | werror: Add W_ERROR_HAVE_NO_MEMORY_AND_FREE() macroKamen Mazdrashki2010-09-181-0/+7
| |
* | s4-ldapcmp: Fix options parsing for common Samba optionsKamen Mazdrashki2010-09-181-4/+10
| | | | | | | | | | And also set 'creds2' to be equal to 'creds' in case username2 paramater is not supplied on cmd line
* | s3:rpc_client: remove unused rpc_pipe_set_hnd_state()Stefan Metzmacher2010-09-171-47/+0
| | | | | | | | metze
* | s3:rpc_client: use rpc_api_pipe_send() for auth3Stefan Metzmacher2010-09-171-20/+11
| | | | | | | | metze
* | s3:rpc_client: rpc_pipe_bind_step_one_done() doesn't need reply_pduStefan Metzmacher2010-09-171-2/+1
| | | | | | | | metze
* | s3:rpc_client: allow DCERPC_PKT_AUTH3 via rpc_api_pipe_send/recvStefan Metzmacher2010-09-171-0/+28
| | | | | | | | metze
* | lib/util: usec_time_diff takes arguments the other way round than TvalDiff didBjörn Jacke2010-09-171-1/+1
| |
* | s3: fix order of arguments in nsec_time_diff callBjörn Jacke2010-09-172-4/+4
| |
* | s4-test: Add unit test for dsdb_schema_info_cmp()Kamen Mazdrashki2010-09-171-0/+81
| |
* | s4-schema: Helper func to compare schemaInfo signituresKamen Mazdrashki2010-09-171-0/+41
| |
* | s4-schema: use dsdb_schema_info_blob_is_valid() to verify schemaInfo blobKamen Mazdrashki2010-09-171-9/+6
| | | | | | | | instead of parsing it.
* | s4-prefixMap: use dsdb_schema_info_blob_is_valid() for schemaInfo blob ↵Kamen Mazdrashki2010-09-171-4/+2
| | | | | | | | | | | | validation This fixes a leaking dsdb_schema_info object also.
* | s4-dsdb: Add dsdb_schema_info_blob_is_valid() to verify schemaInfo bloblsKamen Mazdrashki2010-09-171-10/+24
| |
* | s4-pyrpc: Print location and type name we got when checking for typesKamen Mazdrashki2010-09-171-1/+1
| |
* | Fix array size of a memmber of struct cli_ulogoff_stateSumit Bose2010-09-171-1/+1
| | | | | | | | | | | | | | The too small array makes UID-REGRESSION-FIX fail on 32bit architectures. Signed-off-by: Günther Deschner <gd@samba.org>
* | s4-devel: developer script for adding DNS entries via netlogon RPCAndrew Tridgell2010-09-171-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>
* | s4-pyrpc: allow python to access irpc interfacesAndrew Tridgell2010-09-172-10/+53
| | | | | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* | idl: build python interfaces for winbind and idmap IDLAndrew Tridgell2010-09-172-1/+18
| | | | | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* | s4-winbind Add a proxy method to update DNS records with a read-write DCAndrew Bartlett2010-09-176-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>
* | testprogs: skip two tests in spoolss tester.Günther Deschner2010-09-171-0/+4
| | | | | | | | Guenther
* | s4-smbtorture: fix winreg querymultiplevalues NDR test warning.Günther Deschner2010-09-171-2/+2
| | | | | | | | Guenther
* | ѕ3: remove smb_msleep prototype from hereBjörn Jacke2010-09-161-1/+0
| |
* | s3: remove TvalDiff macro, we can use the shared usec_time_diff functionBjörn Jacke2010-09-161-9/+0
| |
* | s3/s4: merge msleep and smb_msleepBjörn Jacke2010-09-1617-152/+138
| | | | | | | | | | the merged variant is renamed to smb_msleep as some platforms already have a msleep function.
* | s3: remove TspecDiff macro, we can use the shared nsec_time_diff functionBjörn Jacke2010-09-161-9/+0
| |
* | s3: use nsec_time_diff instead of TspecDiffBjörn Jacke2010-09-162-4/+4
| |
* | s3/vfs_scannedonly: use smb_msleep instead of nanosleepBjörn Jacke2010-09-161-2/+1
| | | | | | | | Thanks to Joachim Schmitz. This fixes bug #7478
* | s3: Add the PAC info3 struct to the netsamlogon_cache in ntlm_authVolker Lendecke2010-09-162-0/+5
| |
* | s3: Correctly unwrap the krb ticket in gss-spnegoVolker Lendecke2010-09-161-1/+52
| |
* | s3: Fall back to raw NTLMSSP for the gss-spnego protocolVolker Lendecke2010-09-161-0/+25
| | | | | | | | | | | | This is to handle the mod_auth_ntlm_winbind protocol sending "Negotiate" to IE, which sends raw NTLMSSP instead of a SPNEGO wrapped NTLMSSP blob.
* | s3: Split off output generation from manage_squid_ntlmssp_requestVolker Lendecke2010-09-161-17/+41
| |
* | s3: Wrap the ntlm_auth loop with a talloc_stackframeVolker Lendecke2010-09-161-0/+2
|/
* s4-smbtorture: add NDR spoolss_GetPrinterDriver2 in and out check functions.Günther Deschner2010-09-161-2/+49
| | | | Guenther
* s4-smbtorture: finally enable most of our NDR_OUT NDR tests that we couldnt ↵Günther Deschner2010-09-163-10/+6
| | | | | | handle previously. Guenther
* s4-smbtorture: add functions to do NDR_OUT ndr_pull validation including ↵Günther Deschner2010-09-162-0/+99
| | | | | | NDR_IN context. Guenther
* s4-smbtorture: fix some indentation in NDR testsuite.Günther Deschner2010-09-161-28/+30
| | | | Guenther