]> git.ipfire.org Git - thirdparty/samba.git/log
thirdparty/samba.git
17 years agobuild: distribute the libs target over the library-specific sections.
Michael Adam [Thu, 10 Jul 2008 13:49:44 +0000 (15:49 +0200)] 
build: distribute the libs target over the library-specific sections.

Michael

17 years agobuild: use the libs target instead of the LIBRARIES variable as dependecy for "all".
Michael Adam [Thu, 10 Jul 2008 13:01:56 +0000 (15:01 +0200)] 
build: use the libs target instead of the LIBRARIES variable as dependecy for "all".

Michael

17 years agobuild: distribute the cleanlibs target over the library-specific sections.
Michael Adam [Thu, 10 Jul 2008 12:58:36 +0000 (14:58 +0200)] 
build: distribute the cleanlibs target over the library-specific sections.

Michael

17 years agobuild: introduce a installibs target and use it in "make install"
Michael Adam [Thu, 10 Jul 2008 12:15:39 +0000 (14:15 +0200)] 
build: introduce a installibs target and use it in "make install"

The target is distributed over the library-specific sections.

Michael

17 years agodocs: fix the net conf section of net(8) to mention "config backend = registry".
Michael Adam [Thu, 10 Jul 2008 12:05:33 +0000 (14:05 +0200)] 
docs: fix the net conf section of net(8) to mention "config backend = registry".

Michael

17 years agodocs: fix VERSION section in the net(8) manpage.
Michael Adam [Thu, 10 Jul 2008 11:50:04 +0000 (13:50 +0200)] 
docs: fix VERSION section in the net(8) manpage.

It still said for version 3.0 ..

Michael

17 years agodocs: update the section about net conf in the net(8) manpage.
Michael Adam [Thu, 10 Jul 2008 11:46:25 +0000 (13:46 +0200)] 
docs: update the section about net conf in the net(8) manpage.

The description of the "net conf {get,set,del}includes" commands was missing.

Michael

17 years agoman pages: Add missing whitespace.
Karolin Seeger [Thu, 10 Jul 2008 09:23:59 +0000 (11:23 +0200)] 
man pages: Add missing whitespace.

Karolin

17 years agoA brown paper bag bug fix for "net sam rights"
Volker Lendecke [Thu, 10 Jul 2008 09:11:53 +0000 (11:11 +0200)] 
A brown paper bag bug fix for "net sam rights"

17 years agoGive a nice error message if trying to join with a non-privileged user
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

17 years agoAdd in the IDL to store a NT Security descriptor in
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.

17 years agoFix alignment problems on sparc, bug 5512
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)

17 years agoRevert "tdbtool: fix off-by-one error in argument length. (bug #2344)"
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)

17 years agoregistry: fix logic in deleting subkeys record in regdb_fetch_keys().
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

17 years agoregistry: improve logic for deleting value records in regdb_store_keys().
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

17 years agoMerge branch 'v3-3-test' of ssh://git.samba.org/data/git/samba into v3-3-test
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

17 years ago[BUG 5580] Allow access to DFS shares via libsmbclient
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

17 years agoMinor style correction
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.

17 years agotestsuite: fix another expr typo in net registry test script.
Michael Adam [Tue, 8 Jul 2008 22:33:54 +0000 (00:33 +0200)] 
testsuite: fix another expr typo in net registry test script.

Michael

17 years agotestsuite: fix expr typo in net registry testscript.
Michael Adam [Tue, 8 Jul 2008 22:33:14 +0000 (00:33 +0200)] 
testsuite: fix expr typo in net registry testscript.

Michael

17 years agoregistry: fetch regdb_fetch_keys() when a key exists but not its subkey-record.
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

17 years agobuild: move definition of LIBADDNS_OBJ back up to LIBADDNS_OBJ0
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

17 years agobuild: fix build of smbget by moving LIBSMBCLIENT_OBJ* defs up again
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

17 years agotdbtool: fix off-by-one error in argument length. (bug #2344)
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

17 years agoFix option processing in smbcacls - add POPT_COMMON_CONNECTION.
Jeremy Allison [Mon, 7 Jul 2008 22:51:08 +0000 (15:51 -0700)] 
Fix option processing in smbcacls - add POPT_COMMON_CONNECTION.
Jeremy.

17 years agobuild: fix creation of libsmbclient.a - don't link in libtalloc.a
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

17 years agobuild: fix creation of libaddns.a - don't link in libtalloc.a
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

17 years agobuild: fix creation of libsmbsharemodes.a - don't link in libtdb.a.
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

17 years agobuild: remove library-versions.in - it is not used any more.
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

17 years agobuild: set SONAME version of libraries from configure, not using library-versions
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

17 years agobuild: extend SMB_LIBRARY() to take a version as an optional second argument
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

17 years agobuild: combine the cleanlibfoo targets to one cleanlibs target
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

17 years agobuild: fix shlibs target after internal changes, add libs target.
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

17 years agobuild: remove the SONAME_VER variable - not used anymore.
Michael Adam [Mon, 7 Jul 2008 14:24:17 +0000 (16:24 +0200)] 
build: remove the SONAME_VER variable - not used anymore.

Michael

17 years agobuild: fix typo in use of cleanlibsmbclient target
Michael Adam [Mon, 7 Jul 2008 16:12:02 +0000 (18:12 +0200)] 
build: fix typo in use of cleanlibsmbclient target

Michael

17 years agobuild: add a cleanlibaddns target and use it in "make clean"
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

17 years agobuild: handle libaddns by SMB_LIBRARY() and correctly create SONAME file.
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

17 years agobuild: extend SMB_LIBRARY() to optionally take default value.
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

17 years agobuild: move LIBADDNS_OBJ0 up again -- needed for NET_OBJ :-\
Michael Adam [Mon, 7 Jul 2008 16:28:53 +0000 (18:28 +0200)] 
build: move LIBADDNS_OBJ0 up again -- needed for NET_OBJ :-\

Michael

17 years agobuild: move libaddns related bits to the libaddns section in Makefile.in
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

17 years agobuild: create cleanlibsmbsharemodes target and use it in "make clean".
Michael Adam [Mon, 7 Jul 2008 07:26:21 +0000 (09:26 +0200)] 
build: create cleanlibsmbsharemodes target and use it in "make clean".

Michael

17 years agobuild: handle libsmbsharemodes by SMB_LIBRARY() and correctly create SONAME file.
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

17 years agobuild: move libsmbsharemodes related vars and targets to libsmbsharemodes section...
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

17 years agobuild: add structuring comment for libbigballofmud
Michael Adam [Sun, 6 Jul 2008 22:20:47 +0000 (00:20 +0200)] 
build: add structuring comment for libbigballofmud

17 years agobuild: add cleanlibsmbclient target and use it in make clean.
Michael Adam [Sun, 6 Jul 2008 22:06:28 +0000 (00:06 +0200)] 
build: add cleanlibsmbclient target and use it in make clean.

Michael

17 years agobuild: handle libsmbclient by SMB_LIBRARY() and correctly create soname file.
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

17 years agobuild: slightly change and extend the logic of SMB_LIBRARY().
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

17 years agobuild: rename (un)installclientlib to (un)installlibsmbclient
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

17 years agobuild: move libsmbclient related variables and targets to libsmbclient section
Michael Adam [Sun, 6 Jul 2008 20:08:28 +0000 (22:08 +0200)] 
build: move libsmbclient related variables and targets to libsmbclient section

Michael

17 years agobuild: move definition of SHLIBS to libraries section
Michael Adam [Sun, 6 Jul 2008 19:27:18 +0000 (21:27 +0200)] 
build: move definition of SHLIBS to libraries section

Michael

17 years agobuild: add a cleanlibwbclient target to Makefile.in and use it for make clean.
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

17 years agobuild: add uninstalllibwbclient to Makefile.in and use it for uninstall
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

17 years agobuild: fix the installlibwbclient target to use defined variables and install the...
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

17 years agobuild: fix creation of libwbclient shared lib by crating soname file
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

17 years agobuild: move libwbclient related target to libwbclient section in Makefile.in
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

17 years agobuild: move libtdb target further down following common schema like with libtalloc
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

17 years agobuild: fix uninstalllibnetapi target - handle symlink libnetapi.so
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

17 years agobuild: fix installlibnetapi target - install symlink libnetapi.so (if appropriate)
Michael Adam [Sun, 6 Jul 2008 18:35:13 +0000 (20:35 +0200)] 
build: fix installlibnetapi target - install symlink libnetapi.so (if appropriate)

Michael

17 years agobuild: add a cleanlibnetapi target and use it in make clean
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

17 years agobuild: fix creation of the libnetapi shared lib: create soname library
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

17 years agobuild: move libnetapi related definitions and targets together into the libnetapi...
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

17 years agobuild: add an uninstalllibtdb target.
Michael Adam [Sun, 6 Jul 2008 12:43:12 +0000 (14:43 +0200)] 
build: add an uninstalllibtdb target.

Michael

17 years agobuild: fix the installlibtdb target to install the soname file of libtdb.
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

17 years agobuild: create a cleanlibtdb target and use it in target clean.
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

17 years agobuild: fix creation of the libtdb shared library.
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

17 years agobuild: move libtdb related definitions and targets to libtdb section in Makefile.in
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

17 years agobuild: move all libtalloc related definitions into the libtalloc section in Makefile.in
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

17 years agobuild: move top level targets for the libs into the corresponding sections in Makefile.in
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

17 years agobuild: add more structuring comments to Makefile.in
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

17 years agobuild: add structuring comments for libraries and libtalloc section.
Michael Adam [Sun, 6 Jul 2008 10:39:24 +0000 (12:39 +0200)] 
build: add structuring comments for libraries and libtalloc section.

Michael

17 years agobuild: fix installlibtalloc to not install symlink if the library is not there
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

17 years agobuild: move libtalloc related targets together.
Michael Adam [Sun, 6 Jul 2008 00:52:09 +0000 (02:52 +0200)] 
build: move libtalloc related targets together.

Michael

17 years agobuild: add a cleanlibtalloc target.
Michael Adam [Sun, 6 Jul 2008 00:48:39 +0000 (02:48 +0200)] 
build: add a cleanlibtalloc target.

Michael

17 years agobuild: add an uninstalllibtalloc target
Michael Adam [Sun, 6 Jul 2008 00:40:19 +0000 (02:40 +0200)] 
build: add an uninstalllibtalloc target

Michael

17 years agobuild: fix creation of link libtalloc.so on some systems.
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

17 years agobuild: fix the installlibtalloc target to install SONAME and \.so versions of shared...
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

17 years agobuild: fix creation of talloc shared lib.
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

17 years agobuild: add ability to use library files of the form NAME.so.VERSION to create version...
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

17 years agoAllow authentication and memory credential refresh after password change from gdm...
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.

17 years agoClean up winbindd_group.c too
Simo Sorce [Sun, 6 Jul 2008 16:55:07 +0000 (12:55 -0400)] 
Clean up winbindd_group.c too

17 years agoClean up the rest of the file too
Simo Sorce [Sun, 6 Jul 2008 16:27:34 +0000 (12:27 -0400)] 
Clean up the rest of the file too

17 years agoMore clean up, indentation and trailing space removal
Simo Sorce [Sun, 6 Jul 2008 16:17:22 +0000 (12:17 -0400)] 
More clean up, indentation and trailing space removal

17 years agoMake code more readable, fix indentation and traling spaces.
Simo Sorce [Sun, 6 Jul 2008 16:03:35 +0000 (12:03 -0400)] 
Make code more readable, fix indentation and traling spaces.

17 years agoTiny logic simplification -- remove an else branch
Volker Lendecke [Thu, 3 Jul 2008 21:34:28 +0000 (23:34 +0200)] 
Tiny logic simplification -- remove an else branch

17 years agoMake use of ADD_TO_ARRAY
Volker Lendecke [Thu, 3 Jul 2008 21:29:49 +0000 (23:29 +0200)] 
Make use of ADD_TO_ARRAY

17 years agoConvert idmap_cache to gencache
Volker Lendecke [Thu, 3 Jul 2008 21:12:22 +0000 (23:12 +0200)] 
Convert idmap_cache to gencache

17 years agoAdd SMB_VFS_OP_RECVFILE to get it in sync with vfs.h
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.

17 years agoSlightly increase the default idmap cache time
Volker Lendecke [Thu, 3 Jul 2008 19:03:58 +0000 (21:03 +0200)] 
Slightly increase the default idmap cache time

17 years agoIDMAP_READ_CACHE_DATA_FMT_TEMPLATE is unused, remove it
Volker Lendecke [Thu, 3 Jul 2008 18:39:22 +0000 (20:39 +0200)] 
IDMAP_READ_CACHE_DATA_FMT_TEMPLATE is unused, remove it

17 years agoSimplify idmap_cache_set() a bit
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.

17 years agoSimplify idmap_cache_build_[s]idkey a bit
Volker Lendecke [Thu, 3 Jul 2008 02:57:30 +0000 (04:57 +0200)] 
Simplify idmap_cache_build_[s]idkey a bit

17 years agoPatch from SATOH Fumiyasu <fumiyas@osstech.co.jp> for bug #5202. Re-activate "acl...
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.

17 years agoRemove an unused variable
Volker Lendecke [Thu, 3 Jul 2008 14:44:13 +0000 (16:44 +0200)] 
Remove an unused variable

17 years agoRemove gencache_[un]lock_entry
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() :-)

17 years agoReturn timed out entries from gencache_get if timeout param != NULL
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.

17 years agoPass NULL to gencache_get when we are not interested in the timeout value
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

17 years agoFix indentation
Volker Lendecke [Thu, 3 Jul 2008 13:14:01 +0000 (15:14 +0200)] 
Fix indentation

17 years agonetapi: fix doxygen warning.
Günther Deschner [Wed, 2 Jul 2008 11:09:23 +0000 (13:09 +0200)] 
netapi: fix doxygen warning.

Guenther

17 years agolibnetjoin: fix Bug #5570.
Günther Deschner [Thu, 3 Jul 2008 10:01:36 +0000 (12:01 +0200)] 
libnetjoin: fix Bug #5570.

Thanks to Atte Peltomäki.

Guenther

17 years agoFix build warning.
Günther Deschner [Thu, 3 Jul 2008 09:09:32 +0000 (11:09 +0200)] 
Fix build warning.

Thanks to Thorkil Olesen.

Guenther