summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-07-11Revert "Tiny logic simplification: Remove an unnecessary else branch"Volker Lendecke1-8/+8
This reverts commit 6009ae329375b1c40e3d00df977ddccc8b5cc176. (This used to be commit b71ce00796efdd27b593bbbc36f5cbba23fe9240)
2008-07-11Revert "Fix typo"Volker Lendecke1-2/+1
This reverts commit fe79c8a5b726754703626ca0bff57074274c98c7. (This used to be commit 62835f8d7e824a5d469ec5f79e4db739e6602f4f)
2008-07-11Revert "Make use of sid_check_is_in_unix_users/groups"Volker Lendecke1-16/+11
This reverts commit cd8e63b2b45402091d6d328b3c6ca593fc19ac92. (This used to be commit 061e55d4f48d269dc45fad6739e0872501b9433d)
2008-07-11Revert "Don't scream, better explain a bit in comments"Volker Lendecke1-8/+10
This reverts commit dcc39ed00453a075b23daece2844ca4817bfbfaf. (This used to be commit 26ca09a3570a0df051d042bef586ea57ad9f198c)
2008-07-11Revert "Fix indentation"Volker Lendecke1-1/+1
This reverts commit c4e6de9e34e1ff76552ce6d4e72b343fb5f33306. (This used to be commit fa9b128e93cca45b9516917f73f586197e7637f3)
2008-07-11Revert "Pass NULL to gencache_get when we are not interested in the timeout ↵Volker Lendecke5-8/+14
value" This reverts commit 16062dfc3dcc8f1ca0024a3ae21effb889c7ffc0. (This used to be commit 114ca8577568cdb5a81d8734f1d1d096f1b36c36)
2008-07-11Revert "Return timed out entries from gencache_get if timeout param != NULL"Volker Lendecke2-17/+11
This reverts commit 2954b2be563149380e1fae7fe088b98d6cbd42e7. (This used to be commit 77ab2fb306a7ad59447a3e1591c2af03447e09c5)
2008-07-11Revert "Remove gencache_[un]lock_entry"Volker Lendecke3-2/+37
This reverts commit 7a5a575ffe5196caecedc93970a25abfbe6f8059. (This used to be commit 62e444dd50ae974c2ab9a553cdf7f188a8f2c538)
2008-07-11Revert "Remove an unused variable"Volker Lendecke1-0/+1
This reverts commit 454cb852e06fa3d8bdd0eebb3ebdb24b3d74ecd0. (This used to be commit cae8ec3199d5b0ffe0bfb6f15adaa5a12343c763)
2008-07-11Revert "Simplify idmap_cache_build_[s]idkey a bit"Volker Lendecke1-33/+36
This reverts commit 80932c0266ef73b8d0462c078a053444fff47f32. (This used to be commit 847609a148b653b9e3a24b2bc9e1636c6ef0db84)
2008-07-11Revert "Simplify idmap_cache_set() a bit"Volker Lendecke1-3/+8
This reverts commit 55b976ba93462c6885e8d89edd13c32fb5529944. (This used to be commit 23edc4ec0ab1de60a864de01c0ff90ea1378231d)
2008-07-11Revert "IDMAP_READ_CACHE_DATA_FMT_TEMPLATE is unused, remove it"Volker Lendecke1-0/+1
This reverts commit 2396d5d5d2f453f097f8ce77b640ad7e1d7e7c4c. (This used to be commit 447d77949f99fdc5fc2bea6ddc27176d3a0871a9)
2008-07-11Revert "Slightly increase the default idmap cache time"Volker Lendecke1-1/+1
This reverts commit 448836d44d0468a74b962ba3c0b7d51de236374f. (This used to be commit a9b29ab6b7503d6d30553a17219603a4f4cd3df9)
2008-07-11Revert "Convert idmap_cache to gencache"Volker Lendecke4-132/+399
This reverts commit 0bf0434f22b0ea46fda3ccc4dd612adbc88dd4f2. (This used to be commit cc536677735ecc318cbd2176ce53b124f44d85a0)
2008-07-11Revert "Make use of ADD_TO_ARRAY"Volker Lendecke4-38/+98
This reverts commit 81f334bd6da601a040f754c46705cfa2fd4f8c45. (This used to be commit d4d106776af3f475d46a4dd78794b7b48a3572af)
2008-07-11Revert "Tiny logic simplification -- remove an else branch"Volker Lendecke1-20/+22
This reverts commit 01c8c7bbf6163d5c7733db0d8ecbccfe7e4fec7d. (This used to be commit b0fe0c7ac18d4f47ad4a218114de7bab7a3f19de)
2008-07-11build: fix build of libaddns shared lib : it needs socket_wrapper.Michael Adam1-1/+1
Michael (This used to be commit 58bc04b31b15c36505c5ecb2d8373e9033972390)
2008-07-11build: fix build of libaddns shared lib. symbols file was missing.Michael Adam1-0/+5
This symbols file is checked because mksyms script currently does not support headers without exportet symbols... Michael (This used to be commit 1fa57b47e8f8da33a5713096c187bafb3a6c5b79)
2008-07-11Fix the build of nfs4_acls.cVolker Lendecke1-1/+2
(This used to be commit 2abb7cd867be307e56c02087e700189b17efb894)
2008-07-10Add XATTR_NTACL_NAME constant.Jeremy Allison2-0/+3
Jeremy. (This used to be commit 9c21756f9e841fd996590619b5eedc659f849626)
2008-07-10Fix realpath() check so that it doesn't generate a core() when it fails.Zach Loafman1-2/+10
(This used to be commit 5fdbf89c898efff57c65061ea2c360d2cd91bcec)
2008-07-10Fix some memleaks regarding trustdom passwordsVolker Lendecke1-3/+15
(This used to be commit 3d2913d599a4cd773614110ec7b7493aa7adb547)
2008-07-10Fix some uninitialized variable references via ndr_printVolker Lendecke2-1/+5
(This used to be commit 26fb3fea812867f8b0dfe6a1be59e4922ed86e45)
2008-07-10Fix a segfault in base64_encode_data_blobVolker Lendecke1-1/+3
We did not allocate enough memory for the \0 and a = at the end (This used to be commit ea110de1dc6257b78631b7d83b7bbb728180c1a1)
2008-07-10build: remove SHLIBS variable, and distribute deps for shlibs and ↵Michael Adam1-16/+10
test_shlibs target Michael (This used to be commit 939e75126ebfcd9124781b5d70a68886c4bf9a54)
2008-07-10build: create a new uninstalllibs target and use it in "make uninstall"Michael Adam1-1/+8
Michael (This used to be commit 73a3e4e1eaa408ef0ddbbb8aa0113fdc869057bb)
2008-07-10build: distribute the libs target over the library-specific sections.Michael Adam1-2/+7
Michael (This used to be commit 18b932c980f2acdf9b5569cf61afece28c02abf5)
2008-07-10build: use the libs target instead of the LIBRARIES variable as dependecy ↵Michael Adam1-1/+1
for "all". Michael (This used to be commit 991c3fefa850c0b48111c6c5bacae14163872b58)
2008-07-10build: distribute the cleanlibs target over the library-specific sections.Michael Adam1-7/+8
Michael (This used to be commit 2588c399a0df99a87cf7c749133bceb6aa34a21a)
2008-07-10build: introduce a installibs target and use it in "make install"Michael Adam1-4/+8
The target is distributed over the library-specific sections. Michael (This used to be commit 0afe205a7da4103a4fcfdd24f45a164493e3b9b8)
2008-07-10A brown paper bag bug fix for "net sam rights"Volker Lendecke1-1/+1
(This used to be commit 8a455b012827cfb917473a160c5710a90490451a)
2008-07-10Give a nice error message if trying to join with a non-privileged userVolker Lendecke1-1/+1
(This used to be commit 347772fc39d9c7a96fcc72c9707696cc6abd89d7)
2008-07-09Add in the IDL to store a NT Security descriptor inJeremy Allison4-0/+276
a blob. Use the same format as S4, but a new version as we'll need to store the timestamp to check for validity against the POSIX st_ctime. Jeremy. (This used to be commit 5c4ce1dac3769bfe533a4ea778c916d117603603)
2008-07-09Fix alignment problems on sparc, bug 5512Volker Lendecke1-19/+20
Patch successfully tested by Christoph Kaegi <kaph@zhaw.ch>, thanks. (cherry picked from commit 9f8df16f476c49da85000b7365c8a6e33b8b71fc) (This used to be commit 82ed19ff64fc815a8ca9fbd7d3331671ecf5d12b)
2008-07-09Revert "tdbtool: fix off-by-one error in argument length. (bug #2344)"Michael Adam1-1/+1
This reverts commit fafb8ad2b81b9a46cf8259bedc1dca5023b06115. This fix is not valid: 1. convert_string() is not only used for key strings but also for data. 2. Some databases use string_tdb_data() i.e. non-null-terminated strings as keynames and others (like the one I was using), use string_term_tdb_data(), i.e. zero-terminated key strings. After discussion with Metze, the easiest (and proper way) to handle this is to specify key names as "keyname\0" for databases which use string_term_tdb_data(). Sorry for the noise... Michael (cherry picked from commit 17c012c4645f4e9542537c15f80d9b4e74304d11) (This used to be commit 42c953c106b3da90e8c3452c4a246392502c200d)
2008-07-09registry: fix logic in deleting subkeys record in regdb_fetch_keys().Michael Adam1-2/+6
Don't cancel on NT_STATUS_NOT_FOUND error from dbwrap_delete_bystring(). So deletion of an "incomlete" registry key, i.e. one with an entry in the list of subkeys of its parent key but not a subkey list of its own, works again. Michael (This used to be commit 75be2116ac2589aaf69038a4115197f40e4b16a5)
2008-07-09registry: improve logic for deleting value records in regdb_store_keys().Michael Adam1-2/+9
Don't ignore all errors from dbwrap_delete_bystring() but only NT_STATUS_NOT_FOUND. Michael (This used to be commit d7ec9b2d52d1eddd98eba222f723fb6cdff4541f)
2008-07-08Merge branch 'v3-3-test' of ssh://git.samba.org/data/git/samba into v3-3-testDerrell Lipman2-4/+4
(This used to be commit 2dab9ad77954dc608f8910bf4d3cb92fcaad5cb6)
2008-07-08[BUG 5580] Allow access to DFS shares via libsmbclientDerrell Lipman4-0/+53
Brian Sheehan provided a nice patch intended for the 3.0 code base. This commit applies a similar patch for the 3.3 code base. It adds a new public function to libsmbclient -- smbc_set_credentials() -- that may be called from the authentication callback when DFS referrals are in use. Derrell (This used to be commit 888f922bd0d1c84a687d404e95ae314a9dd0aee1)
2008-07-08Minor style correctionZach Loafman1-2/+2
Set sin[6]_family instead of ss_family in in[6]_addr_to_sockaddr_storage so that assignments look like they're going to the same place. (This used to be commit 3d19112f645fb0f4bb6b644207ed2cee0b6b3ea9)
2008-07-09testsuite: fix another expr typo in net registry test script.Michael Adam1-1/+1
Michael (This used to be commit 73312e4e21b6d14363bd0987e0c9716c4ec91834)
2008-07-09testsuite: fix expr typo in net registry testscript.Michael Adam1-1/+1
Michael (This used to be commit 5b6c32160a5d8fafc807fbefb66aa8c98662baae)
2008-07-08registry: fetch regdb_fetch_keys() when a key exists but not its subkey-record.Michael Adam1-9/+10
According to the new policy a key (that is not a base key) exists, iff it exists in the subkey list of its parent key. Usually this subkeylist is present, but in a transaction-less dbwrap backend (ctdb), a failing write can leave an "incomplete" key without its own subkeylist-record. (Otherwise such an incomplete key can be generated with e.g. tdbtool.) For such a key net registry enumerate (e.g.) would fail. This commit fixes this behaviour of regdb_fetch_keys(). Michael (This used to be commit f329aaf0452cc9bbad9fb6f67dac00bf8d1ef128)
2008-07-08build: move definition of LIBADDNS_OBJ back up to LIBADDNS_OBJ0Michael Adam1-1/+1
to keep stuff together... Michael (This used to be commit 22735ee14a244dbda768c26dbe83a1b2aa3c03ec)
2008-07-08build: fix build of smbget by moving LIBSMBCLIENT_OBJ* defs up againMichael Adam1-22/+22
to their original place. The problem was that LIBSMCLIENT_OBJ1 is used in SMBGET_OBJ and that the difinition of LIBSMBCLIENT_OBJ1 was moved below the bin/smbget target. Somehow it had worked for me. Thanks to Derrell for pointing that out. Michael (This used to be commit c4e51f5e761ab23fa08197fa9a52af6db4ab839d)
2008-07-08tdbtool: fix off-by-one error in argument length. (bug #2344)Michael Adam1-1/+1
This prevented all commands operating on keys (all non-traverse commands) in tdbtool to fail with a "fetch failed" or "delete failed" message. It seems that it fixes bug #2344 ... Apparently this bug was introduced with 94e53472666ed in 2005. Either nobody is using tdbtool or else tdb_find() has become more strict about the key legth in the meantime. :-) Michael (This used to be commit 9be6b46f7715cdc7f77308d7613e8df73effe3c1)
2008-07-07Fix option processing in smbcacls - add POPT_COMMON_CONNECTION.Jeremy Allison1-1/+2
Jeremy. (This used to be commit 599d5f75c703a4cae3da87eb09b6a46285f6b074)
2008-07-07build: fix creation of libsmbclient.a - don't link in libtalloc.aMichael Adam1-5/+7
a step in fixing bug #5590 Michael (This used to be commit bae7bd4bba4d49edec9cb58d47c1cb82aba16c6b)
2008-07-07build: fix creation of libaddns.a - don't link in libtalloc.aMichael Adam1-2/+2
a step in fixing bug #5590 Michael (This used to be commit 4d6edcb2c8bd516e09a864d1990675ba9bcec796)
2008-07-07build: fix creation of libsmbsharemodes.a - don't link in libtdb.a.Michael Adam1-3/+5
a step in fixing bug #5590 Michael (This used to be commit 76f9e2e64644c6f21baf523b91455dc3aebb2163)