summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-07-10man pages: Add missing whitespace.Karolin Seeger1-1/+1
Karolin (This used to be commit 5ba418d8bd7bd9a678853b23b0928da4f8693bcf)
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)
2008-07-07build: add a cleanlibaddns target and use it in "make clean"Michael Adam1-2/+7
Michael (This used to be commit 39a447a232d0afbef55437a995f557553cbc8a0e)
2008-07-07build: handle libaddns by SMB_LIBRARY() and correctly create SONAME file.Michael Adam2-46/+26
Create .so file as a symlink. Michael (This used to be commit bbf665ad5790e89ff01867e2762fe2b94db7277d)
2008-07-07build: extend SMB_LIBRARY() to optionally take default value.Michael Adam1-1/+28
The default value defaults to "yes". If no is specified, an optional third argument contains the reason why building of the shared library is turned off by default. Michael (This used to be commit af971f79c7d736eb5b7ae8fcd4b2bf7ccf4834f3)
2008-07-07build: move LIBADDNS_OBJ0 up again -- needed for NET_OBJ :-\Michael Adam1-2/+3
Michael (This used to be commit b871cb0cb6d32e5e97666bd429d0fb9940ae4b2e)
2008-07-07build: move libaddns related bits to the libaddns section in Makefile.inMichael Adam1-16/+16
Michael (This used to be commit 61157cb92ec2c12e565fb088170c7f430e3b5b77)
2008-07-07build: create cleanlibsmbsharemodes target and use it in "make clean".Michael Adam1-2/+8
Michael (This used to be commit 20a5053f0e75176e9ec1d4fd5a18626bbe3a0267)
2008-07-07build: handle libsmbsharemodes by SMB_LIBRARY() and correctly create SONAME ↵Michael Adam2-56/+30
file. Create libsmbsharemodes.so as a symlink. Michael (This used to be commit 1157048146084e9ab34d7c2e77e8d00b22df53a4)
2008-07-07build: move libsmbsharemodes related vars and targets to libsmbsharemodes ↵Michael Adam1-14/+15
section in Makefile.in Michael (This used to be commit 278dde8a6c486505c2d7403103ba011e1abb039e)
2008-07-07build: add structuring comment for libbigballofmudMichael Adam1-0/+7
(This used to be commit 879b000fd3ad123f64017071a6aaa17cdc926995)
2008-07-07build: add cleanlibsmbclient target and use it in make clean.Michael Adam1-2/+8
Michael (This used to be commit 95a7d21d3150ca9c24d48cf6a2976dcc1dfaaa05)
2008-07-07build: handle libsmbclient by SMB_LIBRARY() and correctly create soname file.Michael Adam2-60/+29
Create libsmbclient.so as a symlink to libsmbclient.so.0. Michael (This used to be commit c463bd0cb9927176eec89e25788c6ea78eafdd16)
2008-07-07build: slightly change and extend the logic of SMB_LIBRARY().Michael Adam2-13/+25
Only call the install/uninstall targets (from make (un)install) for libraries configured with SMB_LIBRARY(), when the user did not set --with-libname=no. Make sure to always (at least) build the static version of the library. Michael (This used to be commit f440538c9480134ff05cf9c9f78a565808161101)
2008-07-07build: rename (un)installclientlib to (un)installlibsmbclientMichael Adam1-2/+6
keeping old targets as aliases for backward compatibility Michael (This used to be commit 40ff40de5780fb17567b8d5ea75f5bb7f8d811c4)
2008-07-07build: move libsmbclient related variables and targets to libsmbclient sectionMichael Adam1-34/+35
Michael (This used to be commit ed3c35d307456601ca00d88a5cc278d6604681e1)
2008-07-07build: move definition of SHLIBS to libraries sectionMichael Adam1-2/+2
Michael (This used to be commit 36c99a3cad3c938a874f9b9f37c2265045957099)
2008-07-07build: add a cleanlibwbclient target to Makefile.in and use it for make clean.Michael Adam1-4/+10
Michael (This used to be commit e01a1d8d651f680ca58b809dc569ff74592d53a9)
2008-07-07build: add uninstalllibwbclient to Makefile.in and use it for uninstallMichael Adam1-1/+6
Michael (This used to be commit 2712dade9d6495f3dbb75876ec32d73f8bb93f9f)
2008-07-07build: fix the installlibwbclient target to use defined variables and ↵Michael Adam1-2/+7
install the symlink Michael (This used to be commit 922b136ada1c502edcbbb89e9cca155cd6ad376c)
2008-07-07build: fix creation of libwbclient shared lib by crating soname fileMichael Adam1-3/+8
and adding .so file as a symlink Michael (This used to be commit beab1a31484836014aab5d2bcb38995435f6218b)
2008-07-07build: move libwbclient related target to libwbclient section in Makefile.inMichael Adam1-23/+24
Michael (This used to be commit 8f64706b095b9ca0e2a8f39cc3133bfd02f86158)
2008-07-07build: move libtdb target further down following common schema like with ↵Michael Adam1-2/+2
libtalloc Michael (This used to be commit f94b07f0c56928f890ffb1e2aca2c8bfcc954dd5)
2008-07-07build: fix uninstalllibnetapi target - handle symlink libnetapi.soMichael Adam1-5/+6
and use the defined variables instead of hardcoded bits. Also move the target into the libnetapi section (forgotten last time). Michael (This used to be commit 21b6164795344cea45161bc01828ec1127b5b6ab)