summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-09-20Really enable core dumps in LinuxRusty Russell1-8/+8
commit e1f1ce68e1f685400a8c68bcec14018e3d1fc29d Author: Rusty Russell <rusty@rustcorp.com.au> Date: Mon Sep 20 13:33:30 2010 +0930 source3: dump core on Linux, even after seteuid/etc. The "dumpable" flag is reset on every call to set*uid, so we need to reset it to 1 in the signal handler itself. This code dates back to commit ac01fda2b97b 6 years ago :( Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Jeremy Allison <jra@samba.org>
2010-09-20s3:registry: move prototypes of unused hilvl functions to ret_api_util.h and ↵Michael Adam2-7/+11
comment them out
2010-09-20s3:registry: move (commented out) hilvl util functions to reg_api_util.cMichael Adam2-98/+98
2010-09-20s3:registry: move higher level function reg_open_path to new module reg_api_utilMichael Adam9-59/+123
The reg_api.c code should just export functions that direclty relate to winreg api calls.
2010-09-20s3-waf: add net.Günther Deschner3-1/+76
Guenther
2010-09-20s3-waf: add libnetapiGünther Deschner1-0/+18
2010-09-20s4/dcdiag: Handle ListRoles command for dcdiag:KnowsOfRoleHolders testAnatoliy Atanasov3-29/+120
2010-09-20s4/fsmo: Create separate function for retrieving fsmo role dn and owner dn.Anatoliy Atanasov2-54/+81
This functionality is needed for DsCrackNames ListRoles command also.
2010-09-20s4/drs: use type enum drsuapi_DsNameFormat in DsCrackNames codeAnatoliy Atanasov1-9/+20
2010-09-20s4/drs: Added the rest of the enum drsuapi_DsNameFormat valuesAnatoliy Atanasov1-11/+28
According to documentation - [MS-DRSR] 4.1.4.1.2 and 4.1.4.1.3
2010-09-20s4-smbtorture: add test_SetServiceObjectSecurity() to RPC-SVCCTL.Günther Deschner1-1/+62
Guenther
2010-09-19s3/winbind: remove unused winbindd_check_cache_sizeBjörn Jacke2-30/+0
2010-09-19s3: Fix the charset_pull routine (bug 7531)Volker Lendecke1-1/+1
In the push routine we do the SVAL, so we should do the SSVAL here.
2010-09-19s3-waf: Build libwbclient as dynamic libraryKai Blin1-10/+10
2010-09-19s4-rootdse: mark registered controls as non-criticalAndrew Tridgell1-0/+37
this is needed for clients that may include unnecessary controls in requests and mark them as non-critical
2010-09-20s3-waf: fix the file locations of gen_ndr'ed files.Günther Deschner1-32/+32
Guenther
2010-09-20s3-waf: fix the build after reg_api changes.Günther Deschner1-1/+4
Guenther
2010-09-20s3-registry: move regf based reg_api calls into own file.Günther Deschner4-276/+313
Guenther
2010-09-20s3-registry: add reg_querymultiplevalues to reg_api matching table.Günther Deschner1-2/+2
Guenther
2010-09-20s3-waf: add rpcclient to the waf build.Günther Deschner1-0/+39
Guenther
2010-09-19s4-rodc: override client site from cldap responseAndrew Tridgell1-0/+2
2010-09-19s4-dns: fixed the dns_domain_info_type for netlogon DNS callsAndrew Tridgell1-3/+14
w2k8r2 does check this field (WSPP docs need an update)
2010-09-19s4-dns: added --all-names option to samba_dnsupdateAndrew Tridgell1-1/+2
this forces the re-registration of all names
2010-09-19s4-libnet: use the right domain name in libnet_lookupAndrew Tridgell1-4/+1
2010-09-19s4-cldap: improved debug msgs in finddcs_cldap()Andrew Tridgell1-3/+5
2010-09-19testtools: Import newer upstream revision.Jelmer Vernooij4-37/+78
This fixes (among other things) a warning during 'make test' on systems with Python 2.6.
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