Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-10 | s4:libnet_become_dc - change counter variables to "unsigned" where they ↵ | Matthias Dieter Wallnöfer | 2 | -3/+3 | |
count LDB objects | |||||
2010-03-10 | s4:winreg RPC - fix up the "QueryValue" call to work against the enhanced ↵ | Matthias Dieter Wallnöfer | 1 | -7/+11 | |
torture test Found out by gd's updated torture test. | |||||
2010-03-10 | s4:registry/ldb.c - if "name" isn't set we should return WERR_INVALID_PARAM | Matthias Dieter Wallnöfer | 1 | -1/+5 | |
2010-03-10 | nsswitch: build libnss_winbind.so with SOVERSION = 2 | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2010-03-10 | nsswitch: don't use socket_wrapper for winbind client code | Stefan Metzmacher | 1 | -2/+1 | |
metze | |||||
2010-03-10 | nsswitch: build libnss_winbindd.so only for the non merged build | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2010-03-10 | s4:build/m4/public.m4: add realname argument to SMB_BUILD_LIBRARY() | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2010-03-10 | s4:rpc_server/wkssvc: don't reset [out,ref] pointer to 0 | Stefan Metzmacher | 1 | -6/+0 | |
r->out.total_entries = 0; should be *r->out.total_entries = 0; Otherwise we fail to marshall the reponse or crash if we run with log level = 10 and trigger the ndr_print functions. All out elements are already setup and initialized by the pidl generated code. metze | |||||
2010-03-10 | s4:rpc_server/wkssvc: remove unneeded talloc_reference() | Stefan Metzmacher | 1 | -4/+2 | |
metze | |||||
2010-03-10 | s4:rpc_server/wkssvc: avoid ZERO_STRUCT(r->out) and use already allocated ↵ | Stefan Metzmacher | 1 | -4/+0 | |
[out,ref] memory metze | |||||
2010-03-10 | s4:rpc_server/srvsvc: remove unused ZERO_STRUCT(r->out); | Stefan Metzmacher | 1 | -2/+0 | |
Here it doesn't matter, but it's a bad example for other code as it might reset the [out,ref] pointers which are already generated by the pidl generated code. metze | |||||
2010-03-10 | idl: Regenerate DRSUAPI idl files | Kamen Mazdrashki | 5 | -299/+225 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | s4/idl: drsuapi_QuerySitesByCostCtr1 'unknown' member is now known | Kamen Mazdrashki | 1 | -1/+1 | |
and this it is a reserved fields for future flags - 'flags_reserver' Must be 0 and is currently ignored. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | s4/idl: QuerySitesByCost - switch types should be unsigned | Kamen Mazdrashki | 1 | -4/+4 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | s4/idl: DsGetMemberships2 - switch types should be unsigned | Kamen Mazdrashki | 1 | -4/+4 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | s4/drs: DsRemoveDSServer - Propagating IDL changes to source code | Kamen Mazdrashki | 1 | -1/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | s4/idl: DsRemoveDSServer - switch types should be unsigned | Kamen Mazdrashki | 1 | -4/+4 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | s4/drs: DsWriteAccountSpn - Propagating IDL changes to source code | Kamen Mazdrashki | 1 | -1/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | s4/idl: DsWriteAccountSpn - switch types should be unsigned | Kamen Mazdrashki | 1 | -4/+4 | |
Changes also propagated into source code as they are too minor to be done in separate commit Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | s3/drs: DsCrackNames - Propagating IDL changes to source code | Kamen Mazdrashki | 2 | -4/+4 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | s4/drs: DsCrackNames - Propagating IDL changes to source code | Kamen Mazdrashki | 3 | -4/+4 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | s4/idl: DsCrackNames - switch types should be unsigned | Kamen Mazdrashki | 1 | -4/+4 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | s4/idl: DsGetMemberships - switch types should be unsigned | Kamen Mazdrashki | 1 | -4/+4 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | s4/idl: DsReplicaMod - switch types should be unsigned | Kamen Mazdrashki | 1 | -2/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | s4/idl: DsReplicaDel - switch types should be unsigned | Kamen Mazdrashki | 1 | -2/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | s4/idl: DsReplicaAdd - switch types should be unsigned | Kamen Mazdrashki | 1 | -2/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | s4/idl: DsReplicaUpdateRefs - switch types should be unsigned | Kamen Mazdrashki | 1 | -2/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | s3/drs: DsGetNCChanges - Propagating IDL changes to source code | Kamen Mazdrashki | 2 | -9/+9 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | s4/drs: DsGetNCChanges - Propagating IDL changes to source code | Kamen Mazdrashki | 4 | -7/+7 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | s4/idl: DsGetNCChanges - switch types should be unsigned | Kamen Mazdrashki | 1 | -5/+5 | |
Converting those types to unsigned should help in creating DRSUAPI dissector for Wireshark also. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | s4/idl: drsuapi_DsReplicaSyncOptions flags are no more used | Kamen Mazdrashki | 2 | -28/+0 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | doxygen: talloc_get_type name fixed in Doxygen documentation | Kamen Mazdrashki | 1 | -1/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | s3-winreg: add some debug statements to _winreg_QueryValue(). | Günther Deschner | 1 | -2/+6 | |
Guenther | |||||
2010-03-10 | s4-smbtorture: do full winreg QueryValue test for values we created. | Günther Deschner | 1 | -0/+27 | |
Guenther | |||||
2010-03-10 | s4-smbtorture: check for non existing value under version key in RPC-WINREG. | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2010-03-10 | s3: Fix a long-standing problem with recycled PIDs | Volker Lendecke | 20 | -38/+602 | |
When a samba server process dies hard, it has no chance to clean up its entries in locking.tdb, brlock.tdb, connections.tdb and sessionid.tdb. For locking.tdb and brlock.tdb Samba is robust by checking every time we read an entry from the database if the corresponding process still exists. If it does not exist anymore, the entry is deleted. This is not 100% failsafe though: On systems with a limited PID space there is a non-zero chance that between the smbd's death and the fresh access, the PID is recycled by another long-running process. This renders all files that had been locked by the killed smbd potentially unusable until the new process also dies. This patch is supposed to fix the problem the following way: Every process ID in every database is augmented by a random 64-bit number that is stored in a serverid.tdb. Whenever we need to check if a process still exists we know its PID and the 64-bit number. We look up the PID in serverid.tdb and compare the 64-bit number. If it's the same, the process still is a valid smbd holding the lock. If it is different, a new smbd has taken over. I believe this is safe against an smbd that has died hard and the PID has been taken over by a non-samba process. This process would not have registered itself with a fresh 64-bit number in serverid.tdb, so the old one still exists in serverid.tdb. We protect against this case by the parent smbd taking care of deregistering PIDs from serverid.tdb and the fact that serverid.tdb is CLEAR_IF_FIRST. CLEAR_IF_FIRST does not work in a cluster, so the automatic cleanup does not work when all smbds are restarted. For this, "net serverid wipe" has to be run before smbd starts up. As a convenience, "net serverid wipedbs" also cleans up sessionid.tdb and connections.tdb. While there, this also cleans up overloading connections.tdb with all the process entries just for messaging_send_all(). Volker | |||||
2010-03-10 | s3: Make TLDAP_IS_ALPHA and TLDAP_IS_ADH static functions | Volker Lendecke | 1 | -5/+12 | |
2010-03-10 | s3-passdb: Fix typo in debug message. | Karolin Seeger | 1 | -1/+1 | |
Karolin | |||||
2010-03-10 | s4-spoolss: remove unsed iconv handle from dcesrv_spoolss_GetPrinterData(). | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2010-03-10 | s4:winreg RPC - don't crash when incoming data wasn't correctly specified | Matthias Dieter Wallnöfer | 1 | -2/+8 | |
Also found by the WINREG torture test enhancements by gd. | |||||
2010-03-10 | s4:lib/registry/ldb.c - fix up registry backend to be more robust | Matthias Dieter Wallnöfer | 1 | -9/+5 | |
This should let the new WINREG tests written by gd at least pass against us. | |||||
2010-03-09 | Fix the shell script in the root case. When run as root, make test now ↵ | Jeremy Allison | 1 | -4/+4 | |
detects CAP_DAC_OVERRIDE being left on in error. Jeremy. | |||||
2010-03-10 | s4-smbtorture: disable winreg QueryValue test for today. | Günther Deschner | 1 | -2/+2 | |
wow, both s3 and s4 crash on full coverage winreg QueryValue testing. Guenther | |||||
2010-03-10 | s4-smbtorture: fix some build warnings in RPC-SPOOLSS test. | Günther Deschner | 1 | -8/+8 | |
Guenther | |||||
2010-03-09 | Add tests which, when run as root, will ensure we can't write | Jeremy Allison | 3 | -11/+154 | |
into a read-only directory, or read a owner-read-only file. Jeremy. | |||||
2010-03-10 | s4-smbtorture: on HKLM hive test the well known CurrentVersion value. | Günther Deschner | 1 | -0/+17 | |
Guenther | |||||
2010-03-10 | s4-smbtorture: add full coverage test for winreg QueryValue calls. | Günther Deschner | 1 | -0/+101 | |
Guenther | |||||
2010-03-10 | s4-smbtorture: rework test_winreg_QueryValue in RPC-SPOOLSS-PRINTER once again. | Günther Deschner | 1 | -3/+8 | |
Guenther | |||||
2010-03-10 | s4-smbtorture: add tests for set and delete value in RPC-WINREG. | Günther Deschner | 1 | -0/+52 | |
Guenther | |||||
2010-03-09 | Fix typo and convert spaces to tabs | Simo Sorce | 1 | -4/+4 | |