summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-07-07build: remove library-versions.in - it is not used any more.Michael Adam2-12/+1
Michael (This used to be commit e2699b7f86302e5c770f8e3160f72f070d700b6c)
2008-07-07build: set SONAME version of libraries from configure, not using ↵Michael Adam2-13/+22
library-versions This sets the library versions (previously gotten from library-versions file during make) already at configure time. For library "foo", the version is stored in the LIBFOO_SOVER configure variable. For all libraries except libwbclient, this is done through the call of SMB_LIBRARY(). NOTE: Currently the versions are hard-coded in the SMB_LIBRARY() calls in configure.in, but this change makes it easier to retrieve the version from the libraries source dir at configure time, e.g. for talloc and tdb. Michael (This used to be commit 3c300f9f8cffb5af32e291ec75007ab98fe96561)
2008-07-07build: extend SMB_LIBRARY() to take a version as an optional second argumentMichael Adam1-4/+7
This will allow transition away from library-versions in the next step. Michael (This used to be commit d9d92b64275127e29c80dbdc7cfe193289fef9a3)
2008-07-07build: combine the cleanlibfoo targets to one cleanlibs targetMichael Adam1-1/+9
And use that in make clean Michael (This used to be commit 887b6231198ce2ff6230e0939ddcf46759bc88bf)
2008-07-07build: fix shlibs target after internal changes, add libs target.Michael Adam1-3/+13
The shlibs target now only builds the shared libs as the name suggests. All libraries are built by the new "libs" target. Michael (This used to be commit 1bb2b576a4fb546f51f1ad70ba8e8b3a86bff2c2)
2008-07-07build: remove the SONAME_VER variable - not used anymore.Michael Adam1-1/+0
Michael (This used to be commit 35b2ee2bce93f6e659f95d91b0590edd02c9b348)
2008-07-07build: fix typo in use of cleanlibsmbclient targetMichael Adam1-1/+1
Michael (This used to be commit 5712062d22237768a671aa918e39a22d290b0f0a)