Karolin Seeger [Thu, 10 Jul 2008 09:23:59 +0000 (11:23 +0200)]
man pages: Add missing whitespace.
Karolin
(This used to be commit
5ba418d8bd7bd9a678853b23b0928da4f8693bcf)
Volker Lendecke [Thu, 10 Jul 2008 09:11:53 +0000 (11:11 +0200)]
A brown paper bag bug fix for "net sam rights"
(This used to be commit
8a455b012827cfb917473a160c5710a90490451a)
Volker Lendecke [Thu, 10 Jul 2008 08:47:46 +0000 (10:47 +0200)]
Give a nice error message if trying to join with a non-privileged user
(This used to be commit
347772fc39d9c7a96fcc72c9707696cc6abd89d7)
Jeremy Allison [Wed, 9 Jul 2008 23:54:38 +0000 (16:54 -0700)]
Add in the IDL to store a NT Security descriptor in
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)
Volker Lendecke [Fri, 4 Jul 2008 07:28:04 +0000 (09:28 +0200)]
Fix alignment problems on sparc, bug 5512
Patch successfully tested by Christoph Kaegi <kaph@zhaw.ch>, thanks.
(cherry picked from commit
9f8df16f476c49da85000b7365c8a6e33b8b71fc)
(This used to be commit
82ed19ff64fc815a8ca9fbd7d3331671ecf5d12b)
Michael Adam [Wed, 9 Jul 2008 10:48:05 +0000 (12:48 +0200)]
Revert "tdbtool: fix off-by-one error in argument length. (bug #2344)"
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)
Michael Adam [Wed, 9 Jul 2008 08:40:39 +0000 (10:40 +0200)]
registry: fix logic in deleting subkeys record in regdb_fetch_keys().
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)
Michael Adam [Wed, 9 Jul 2008 08:39:00 +0000 (10:39 +0200)]
registry: improve logic for deleting value records in regdb_store_keys().
Don't ignore all errors from dbwrap_delete_bystring() but
only NT_STATUS_NOT_FOUND.
Michael
(This used to be commit
d7ec9b2d52d1eddd98eba222f723fb6cdff4541f)
Derrell Lipman [Wed, 9 Jul 2008 00:44:57 +0000 (20:44 -0400)]
Merge branch 'v3-3-test' of ssh://git.samba.org/data/git/samba into v3-3-test
(This used to be commit
2dab9ad77954dc608f8910bf4d3cb92fcaad5cb6)
Derrell Lipman [Wed, 9 Jul 2008 00:44:39 +0000 (20:44 -0400)]
[BUG 5580] Allow access to DFS shares via libsmbclient
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)
Zach Loafman [Tue, 8 Jul 2008 02:30:47 +0000 (19:30 -0700)]
Minor style correction
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)
Michael Adam [Tue, 8 Jul 2008 22:33:54 +0000 (00:33 +0200)]
testsuite: fix another expr typo in net registry test script.
Michael
(This used to be commit
73312e4e21b6d14363bd0987e0c9716c4ec91834)
Michael Adam [Tue, 8 Jul 2008 22:33:14 +0000 (00:33 +0200)]
testsuite: fix expr typo in net registry testscript.
Michael
(This used to be commit
5b6c32160a5d8fafc807fbefb66aa8c98662baae)
Michael Adam [Tue, 8 Jul 2008 15:10:01 +0000 (17:10 +0200)]
registry: fetch regdb_fetch_keys() when a key exists but not its subkey-record.
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)
Michael Adam [Tue, 8 Jul 2008 15:00:07 +0000 (17:00 +0200)]
build: move definition of LIBADDNS_OBJ back up to LIBADDNS_OBJ0
to keep stuff together...
Michael
(This used to be commit
22735ee14a244dbda768c26dbe83a1b2aa3c03ec)
Michael Adam [Tue, 8 Jul 2008 14:55:52 +0000 (16:55 +0200)]
build: fix build of smbget by moving LIBSMBCLIENT_OBJ* defs up again
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)
Michael Adam [Tue, 8 Jul 2008 13:33:36 +0000 (15:33 +0200)]
tdbtool: fix off-by-one error in argument length. (bug #2344)
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)
Jeremy Allison [Mon, 7 Jul 2008 22:51:08 +0000 (15:51 -0700)]
Fix option processing in smbcacls - add POPT_COMMON_CONNECTION.
Jeremy.
(This used to be commit
599d5f75c703a4cae3da87eb09b6a46285f6b074)
Michael Adam [Mon, 7 Jul 2008 16:32:50 +0000 (18:32 +0200)]
build: fix creation of libsmbclient.a - don't link in libtalloc.a
a step in fixing bug #5590
Michael
(This used to be commit
bae7bd4bba4d49edec9cb58d47c1cb82aba16c6b)
Michael Adam [Mon, 7 Jul 2008 16:30:12 +0000 (18:30 +0200)]
build: fix creation of libaddns.a - don't link in libtalloc.a
a step in fixing bug #5590
Michael
(This used to be commit
4d6edcb2c8bd516e09a864d1990675ba9bcec796)
Michael Adam [Mon, 7 Jul 2008 09:57:43 +0000 (11:57 +0200)]
build: fix creation of libsmbsharemodes.a - don't link in libtdb.a.
a step in fixing bug #5590
Michael
(This used to be commit
76f9e2e64644c6f21baf523b91455dc3aebb2163)
Michael Adam [Mon, 7 Jul 2008 15:42:59 +0000 (17:42 +0200)]
build: remove library-versions.in - it is not used any more.
Michael
(This used to be commit
e2699b7f86302e5c770f8e3160f72f070d700b6c)
Michael Adam [Mon, 7 Jul 2008 15:35:08 +0000 (17:35 +0200)]
build: set SONAME version of libraries from configure, not using 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)
Michael Adam [Mon, 7 Jul 2008 15:34:00 +0000 (17:34 +0200)]
build: extend SMB_LIBRARY() to take a version as an optional second argument
This will allow transition away from library-versions in the next step.
Michael
(This used to be commit
d9d92b64275127e29c80dbdc7cfe193289fef9a3)
Michael Adam [Mon, 7 Jul 2008 17:06:16 +0000 (19:06 +0200)]
build: combine the cleanlibfoo targets to one cleanlibs target
And use that in make clean
Michael
(This used to be commit
887b6231198ce2ff6230e0939ddcf46759bc88bf)
Michael Adam [Mon, 7 Jul 2008 15:32:18 +0000 (17:32 +0200)]
build: fix shlibs target after internal changes, add libs target.
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)
Michael Adam [Mon, 7 Jul 2008 14:24:17 +0000 (16:24 +0200)]
build: remove the SONAME_VER variable - not used anymore.
Michael
(This used to be commit
35b2ee2bce93f6e659f95d91b0590edd02c9b348)
Michael Adam [Mon, 7 Jul 2008 16:12:02 +0000 (18:12 +0200)]
build: fix typo in use of cleanlibsmbclient target
Michael
(This used to be commit
5712062d22237768a671aa918e39a22d290b0f0a)
Michael Adam [Mon, 7 Jul 2008 12:04:32 +0000 (14:04 +0200)]
build: add a cleanlibaddns target and use it in "make clean"
Michael
(This used to be commit
39a447a232d0afbef55437a995f557553cbc8a0e)
Michael Adam [Mon, 7 Jul 2008 11:57:34 +0000 (13:57 +0200)]
build: handle libaddns by SMB_LIBRARY() and correctly create SONAME file.
Create .so file as a symlink.
Michael
(This used to be commit
bbf665ad5790e89ff01867e2762fe2b94db7277d)
Michael Adam [Mon, 7 Jul 2008 11:55:31 +0000 (13:55 +0200)]
build: extend SMB_LIBRARY() to optionally take default value.
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)
Michael Adam [Mon, 7 Jul 2008 16:28:53 +0000 (18:28 +0200)]
build: move LIBADDNS_OBJ0 up again -- needed for NET_OBJ :-\
Michael
(This used to be commit
b871cb0cb6d32e5e97666bd429d0fb9940ae4b2e)
Michael Adam [Mon, 7 Jul 2008 09:59:10 +0000 (11:59 +0200)]
build: move libaddns related bits to the libaddns section in Makefile.in
Michael
(This used to be commit
61157cb92ec2c12e565fb088170c7f430e3b5b77)
Michael Adam [Mon, 7 Jul 2008 07:26:21 +0000 (09:26 +0200)]
build: create cleanlibsmbsharemodes target and use it in "make clean".
Michael
(This used to be commit
20a5053f0e75176e9ec1d4fd5a18626bbe3a0267)
Michael Adam [Sun, 6 Jul 2008 22:41:23 +0000 (00:41 +0200)]
build: handle libsmbsharemodes by SMB_LIBRARY() and correctly create SONAME file.
Create libsmbsharemodes.so as a symlink.
Michael
(This used to be commit
1157048146084e9ab34d7c2e77e8d00b22df53a4)
Michael Adam [Sun, 6 Jul 2008 22:23:57 +0000 (00:23 +0200)]
build: move libsmbsharemodes related vars and targets to libsmbsharemodes section in Makefile.in
Michael
(This used to be commit
278dde8a6c486505c2d7403103ba011e1abb039e)
Michael Adam [Sun, 6 Jul 2008 22:20:47 +0000 (00:20 +0200)]
build: add structuring comment for libbigballofmud
(This used to be commit
879b000fd3ad123f64017071a6aaa17cdc926995)
Michael Adam [Sun, 6 Jul 2008 22:06:28 +0000 (00:06 +0200)]
build: add cleanlibsmbclient target and use it in make clean.
Michael
(This used to be commit
95a7d21d3150ca9c24d48cf6a2976dcc1dfaaa05)
Michael Adam [Sun, 6 Jul 2008 22:02:50 +0000 (00:02 +0200)]
build: handle libsmbclient by SMB_LIBRARY() and correctly create soname file.
Create libsmbclient.so as a symlink to libsmbclient.so.0.
Michael
(This used to be commit
c463bd0cb9927176eec89e25788c6ea78eafdd16)
Michael Adam [Sun, 6 Jul 2008 21:37:06 +0000 (23:37 +0200)]
build: slightly change and extend the logic of SMB_LIBRARY().
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)
Michael Adam [Sun, 6 Jul 2008 20:10:23 +0000 (22:10 +0200)]
build: rename (un)installclientlib to (un)installlibsmbclient
keeping old targets as aliases for backward compatibility
Michael
(This used to be commit
40ff40de5780fb17567b8d5ea75f5bb7f8d811c4)
Michael Adam [Sun, 6 Jul 2008 20:08:28 +0000 (22:08 +0200)]
build: move libsmbclient related variables and targets to libsmbclient section
Michael
(This used to be commit
ed3c35d307456601ca00d88a5cc278d6604681e1)
Michael Adam [Sun, 6 Jul 2008 19:27:18 +0000 (21:27 +0200)]
build: move definition of SHLIBS to libraries section
Michael
(This used to be commit
36c99a3cad3c938a874f9b9f37c2265045957099)
Michael Adam [Sun, 6 Jul 2008 19:23:11 +0000 (21:23 +0200)]
build: add a cleanlibwbclient target to Makefile.in and use it for make clean.
Michael
(This used to be commit
e01a1d8d651f680ca58b809dc569ff74592d53a9)
Michael Adam [Sun, 6 Jul 2008 19:20:54 +0000 (21:20 +0200)]
build: add uninstalllibwbclient to Makefile.in and use it for uninstall
Michael
(This used to be commit
2712dade9d6495f3dbb75876ec32d73f8bb93f9f)
Michael Adam [Sun, 6 Jul 2008 19:14:17 +0000 (21:14 +0200)]
build: fix the installlibwbclient target to use defined variables and install the symlink
Michael
(This used to be commit
922b136ada1c502edcbbb89e9cca155cd6ad376c)
Michael Adam [Sun, 6 Jul 2008 18:48:00 +0000 (20:48 +0200)]
build: fix creation of libwbclient shared lib by crating soname file
and adding .so file as a symlink
Michael
(This used to be commit
beab1a31484836014aab5d2bcb38995435f6218b)
Michael Adam [Sun, 6 Jul 2008 18:44:27 +0000 (20:44 +0200)]
build: move libwbclient related target to libwbclient section in Makefile.in
Michael
(This used to be commit
8f64706b095b9ca0e2a8f39cc3133bfd02f86158)
Michael Adam [Sun, 6 Jul 2008 18:39:45 +0000 (20:39 +0200)]
build: move libtdb target further down following common schema like with libtalloc
Michael
(This used to be commit
f94b07f0c56928f890ffb1e2aca2c8bfcc954dd5)
Michael Adam [Sun, 6 Jul 2008 18:38:03 +0000 (20:38 +0200)]
build: fix uninstalllibnetapi target - handle symlink libnetapi.so
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)
Michael Adam [Sun, 6 Jul 2008 18:35:13 +0000 (20:35 +0200)]
build: fix installlibnetapi target - install symlink libnetapi.so (if appropriate)
Michael
(This used to be commit
59e7827e557c5096fb363051a4cf1835b2a53223)
Michael Adam [Sun, 6 Jul 2008 18:28:43 +0000 (20:28 +0200)]
build: add a cleanlibnetapi target and use it in make clean
Michael
(This used to be commit
ff62887a94a7dd6f09995c820db7d825828bacad)
Michael Adam [Sun, 6 Jul 2008 18:25:16 +0000 (20:25 +0200)]
build: fix creation of the libnetapi shared lib: create soname library
and add the .so file as symlink
Michael
(This used to be commit
d9af2f7ab6b839e8074a69ce5d1fe66548c08e52)
Michael Adam [Sun, 6 Jul 2008 18:11:50 +0000 (20:11 +0200)]
build: move libnetapi related definitions and targets together into the libnetapi section.
in Makefile.in
Michael
(This used to be commit
da29e1ce44d4f99b876259fbad892691e2c7d7e0)
Michael Adam [Sun, 6 Jul 2008 12:43:12 +0000 (14:43 +0200)]
build: add an uninstalllibtdb target.
Michael
(This used to be commit
c50c847f4b9772261f8011f32eec97d8244dccdd)
Michael Adam [Sun, 6 Jul 2008 12:42:30 +0000 (14:42 +0200)]
build: fix the installlibtdb target to install the soname file of libtdb.
and create the .so file as a symlink (if appropriate)
Michael
(This used to be commit
5c090762f769b645c411333aef2085362bb2e6cb)
Michael Adam [Sun, 6 Jul 2008 12:37:29 +0000 (14:37 +0200)]
build: create a cleanlibtdb target and use it in target clean.
Michael
(This used to be commit
ebfe13b79b24791bd9c854ac2f239f02796da6bb)
Michael Adam [Sun, 6 Jul 2008 12:32:36 +0000 (14:32 +0200)]
build: fix creation of the libtdb shared library.
Create the libtdb.so.1 file and create the .so file as the symlink.
Not vice versa.
Michael
(This used to be commit
662d666b41b11ae70daf7422b1ced5f86209e608)
Michael Adam [Sun, 6 Jul 2008 11:07:54 +0000 (13:07 +0200)]
build: move libtdb related definitions and targets to libtdb section in Makefile.in
Michael
(This used to be commit
a4de301af48f4e5b4898751e8836bdb434d047a6)
Michael Adam [Sun, 6 Jul 2008 11:02:40 +0000 (13:02 +0200)]
build: move all libtalloc related definitions into the libtalloc section in Makefile.in
Michael
(This used to be commit
b330892f4b2f9f50fd192e37720217d15fedf1f0)
Michael Adam [Sun, 6 Jul 2008 10:53:21 +0000 (12:53 +0200)]
build: move top level targets for the libs into the corresponding sections in Makefile.in
Michael
(This used to be commit
4092059ff0bbb638c937c3f2b977ad431d868331)
Michael Adam [Sun, 6 Jul 2008 10:51:04 +0000 (12:51 +0200)]
build: add more structuring comments to Makefile.in
for several shared libs and shared modules section
Michael
(This used to be commit
53cc6a3225c0c7baea4d8ea04eefc61283650434)
Michael Adam [Sun, 6 Jul 2008 10:39:24 +0000 (12:39 +0200)]
build: add structuring comments for libraries and libtalloc section.
Michael
(This used to be commit
3de000890447dd15962fbd6a9b1b3504b9bd1175)
Michael Adam [Mon, 7 Jul 2008 14:16:28 +0000 (16:16 +0200)]
build: fix installlibtalloc to not install symlink if the library is not there
Michael
(This used to be commit
52ccb52c8e42e748fcc05337849945ddc30d5efa)
Michael Adam [Sun, 6 Jul 2008 00:52:09 +0000 (02:52 +0200)]
build: move libtalloc related targets together.
Michael
(This used to be commit
01b1e642d72ecccac5277b5f071aab8f6df04c0d)
Michael Adam [Sun, 6 Jul 2008 00:48:39 +0000 (02:48 +0200)]
build: add a cleanlibtalloc target.
Michael
(This used to be commit
5d3c6c3c1c08747c521292ef09648ad528c2dca9)
Michael Adam [Sun, 6 Jul 2008 00:40:19 +0000 (02:40 +0200)]
build: add an uninstalllibtalloc target
Michael
(This used to be commit
4b6ef6202cd9b6e1e8949c43d0c45c04d4b97438)
Michael Adam [Sun, 6 Jul 2008 00:32:09 +0000 (02:32 +0200)]
build: fix creation of link libtalloc.so on some systems.
ln -s -f seem to be unknown on some solaris versions (e.g.).
so if there is an old libtalloc.so around, this will fail.
use rm -f prior to creating the link to circumvent this.
Michael
(This used to be commit
d913b1e7316e84c1430f9d577f49d3c3e4e7719b)
Michael Adam [Sun, 6 Jul 2008 00:30:38 +0000 (02:30 +0200)]
build: fix the installlibtalloc target to install SONAME and \.so versions of shared lib.
Michael
(This used to be commit
49919889892f258cc669b08417e7569e8f5efaf4)
Michael Adam [Sun, 6 Jul 2008 00:29:02 +0000 (02:29 +0200)]
build: fix creation of talloc shared lib.
link the libtalloc.so.1 file and create libtalloc.so as a link
Michael
(This used to be commit
946537e6bec904d4a7937eeb6085dfac19c3e2b5)
Michael Adam [Sun, 6 Jul 2008 00:26:57 +0000 (02:26 +0200)]
build: add ability to use library files of the form NAME.so.VERSION to create version script name.
Michael
(This used to be commit
b8d13f8773f61863b71bfc9df468f0018b0db0d1)
Jeremy Allison [Mon, 7 Jul 2008 18:26:16 +0000 (11:26 -0700)]
Allow authentication and memory credential refresh after password change from gdm/xdm. Patch from boyang <boyang@novell.com>.
Jeremy.
(This used to be commit
8cfc6afc7b4a6af9aea5f5a7cb5af7e3218c2d75)
Simo Sorce [Sun, 6 Jul 2008 16:55:07 +0000 (12:55 -0400)]
Clean up winbindd_group.c too
(This used to be commit
50a347f5503ebed0fcc7b9de60f8368677585bb1)
Simo Sorce [Sun, 6 Jul 2008 16:27:34 +0000 (12:27 -0400)]
Clean up the rest of the file too
(This used to be commit
f6c92c4759096f839e3854a1e9eea56e6eecad4d)
Simo Sorce [Sun, 6 Jul 2008 16:17:22 +0000 (12:17 -0400)]
More clean up, indentation and trailing space removal
(This used to be commit
d17d401603c1c26a5fd5eca5ece245790445e6d4)
Simo Sorce [Sun, 6 Jul 2008 16:03:35 +0000 (12:03 -0400)]
Make code more readable, fix indentation and traling spaces.
(This used to be commit
e19e12d5cbba28ccf682eaf0ff26909bd7e8e6c6)
Volker Lendecke [Thu, 3 Jul 2008 21:34:28 +0000 (23:34 +0200)]
Tiny logic simplification -- remove an else branch
(This used to be commit
01c8c7bbf6163d5c7733db0d8ecbccfe7e4fec7d)
Volker Lendecke [Thu, 3 Jul 2008 21:29:49 +0000 (23:29 +0200)]
Make use of ADD_TO_ARRAY
(This used to be commit
81f334bd6da601a040f754c46705cfa2fd4f8c45)
Volker Lendecke [Thu, 3 Jul 2008 21:12:22 +0000 (23:12 +0200)]
Convert idmap_cache to gencache
(This used to be commit
0bf0434f22b0ea46fda3ccc4dd612adbc88dd4f2)
Lars Müller [Fri, 4 Jul 2008 12:51:01 +0000 (14:51 +0200)]
Add SMB_VFS_OP_RECVFILE to get it in sync with vfs.h
Fix "vfs_full_audit.c: name table not in sync with vfs.h" panic reported
by Franz Sirl.
(This used to be commit
72b96b75a4a1b523540a24fb758b1965ad66009b)
Volker Lendecke [Thu, 3 Jul 2008 19:03:58 +0000 (21:03 +0200)]
Slightly increase the default idmap cache time
(This used to be commit
448836d44d0468a74b962ba3c0b7d51de236374f)
Volker Lendecke [Thu, 3 Jul 2008 18:39:22 +0000 (20:39 +0200)]
IDMAP_READ_CACHE_DATA_FMT_TEMPLATE is unused, remove it
(This used to be commit
2396d5d5d2f453f097f8ce77b640ad7e1d7e7c4c)
Volker Lendecke [Thu, 3 Jul 2008 02:59:36 +0000 (04:59 +0200)]
Simplify idmap_cache_set() a bit
sid_check_is_in_unix_* will only give true if it is of the corresponding type,
so the check if the struct idmap actually represents a user or group is
unnecessary.
(This used to be commit
55b976ba93462c6885e8d89edd13c32fb5529944)
Volker Lendecke [Thu, 3 Jul 2008 02:57:30 +0000 (04:57 +0200)]
Simplify idmap_cache_build_[s]idkey a bit
(This used to be commit
80932c0266ef73b8d0462c078a053444fff47f32)
Jeremy Allison [Thu, 3 Jul 2008 17:24:12 +0000 (10:24 -0700)]
Patch from SATOH Fumiyasu <fumiyas@osstech.co.jp> for bug #5202. Re-activate "acl group control"
parameter and make it only apply to owning group. Also added man page fix.
Jeremy.
(This used to be commit
e98e080bad2c8b9f038a8f2dffcfeba1d5f392ce)
Volker Lendecke [Thu, 3 Jul 2008 14:44:13 +0000 (16:44 +0200)]
Remove an unused variable
(This used to be commit
454cb852e06fa3d8bdd0eebb3ebdb24b3d74ecd0)
Volker Lendecke [Thu, 3 Jul 2008 14:24:27 +0000 (16:24 +0200)]
Remove gencache_[un]lock_entry
Günther agreed that it might be unnecessary in dsgetdcname_cache_store() :-)
(This used to be commit
7a5a575ffe5196caecedc93970a25abfbe6f8059)
Volker Lendecke [Thu, 3 Jul 2008 13:58:37 +0000 (15:58 +0200)]
Return timed out entries from gencache_get if timeout param != NULL
net cache get was the only one interested in the timeout. That single caller
can take care of the timeout itself then.
With this API change idmap_cache.c can be converted to gencache.
(This used to be commit
2954b2be563149380e1fae7fe088b98d6cbd42e7)
Volker Lendecke [Thu, 3 Jul 2008 13:15:57 +0000 (15:15 +0200)]
Pass NULL to gencache_get when we are not interested in the timeout value
(This used to be commit
16062dfc3dcc8f1ca0024a3ae21effb889c7ffc0)
Volker Lendecke [Thu, 3 Jul 2008 13:14:01 +0000 (15:14 +0200)]
Fix indentation
(This used to be commit
c4e6de9e34e1ff76552ce6d4e72b343fb5f33306)
Günther Deschner [Wed, 2 Jul 2008 11:09:23 +0000 (13:09 +0200)]
netapi: fix doxygen warning.
Guenther
(This used to be commit
cfd59383d680e41a885e546842b0eb8585123acb)
Günther Deschner [Thu, 3 Jul 2008 10:01:36 +0000 (12:01 +0200)]
libnetjoin: fix Bug #5570.
Thanks to Atte Peltomäki.
Guenther
(This used to be commit
144d374ad9dd981430a82369ceaa2783e6dae90a)
Günther Deschner [Thu, 3 Jul 2008 09:09:32 +0000 (11:09 +0200)]
Fix build warning.
Thanks to Thorkil Olesen.
Guenther
(This used to be commit
3130aa63fd64c08c1d8be8338d6490aeb12c234a)
Volker Lendecke [Thu, 3 Jul 2008 00:32:18 +0000 (02:32 +0200)]
Don't scream, better explain a bit in comments
(This used to be commit
dcc39ed00453a075b23daece2844ca4817bfbfaf)
Volker Lendecke [Thu, 3 Jul 2008 00:26:43 +0000 (02:26 +0200)]
Make use of sid_check_is_in_unix_users/groups
Don't replicate code unnecessarily
(This used to be commit
cd8e63b2b45402091d6d328b3c6ca593fc19ac92)
Jeremy Allison [Wed, 2 Jul 2008 23:31:16 +0000 (16:31 -0700)]
Remove worrying warning message when safe_strcpy tries to copy a pseaudo interface
name that's too long. Reported by James Kosin <JKosin@intcomgrp.com>.
Jeremy.
(This used to be commit
3a7542fd495223c3a504571a52e2d00551fea0e2)
Jeremy Allison [Wed, 2 Jul 2008 23:11:59 +0000 (16:11 -0700)]
Canonicalize servername in the printer functions to remove leading '\\' characters. Ensure we always return consistent names.
Jeremy.
(This used to be commit
fc2178b04743d2f94be7b489b793fc67826557ac)
Jeremy Allison [Wed, 2 Jul 2008 18:57:13 +0000 (11:57 -0700)]
Fix bug #5578, reported by sendel2000@hotbox.ru. Bad (non-Samba) use of strlcat gives error.
Jeremy.
(This used to be commit
d7c82997bdcf1acd7ac104efa0ad05e0b94935ea)
Jeremy Allison [Wed, 2 Jul 2008 17:51:45 +0000 (10:51 -0700)]
Ensure consistent use of pdb_get_nt_passwd instead of pdb_get_lanman_passwd.
Reported by hongbing Zhang <hongbing.zhang@gmail.com>.
Jeremy.
(This used to be commit
ade27d8baa03816b6f5f480096dfb90f3e231e6a)
Volker Lendecke [Wed, 2 Jul 2008 13:13:14 +0000 (15:13 +0200)]