ira/wip.git
15 years agolibsmbclient examples: add Makefile.internal.in for building from a samba source
Michael Adam [Thu, 21 Aug 2008 08:48:44 +0000 (10:48 +0200)]
libsmbclient examples: add Makefile.internal.in for building from a samba source

Without needing to install libsmbclient to /usr/local/samba first.

Michael
(This used to be commit f0e47bce2e98131812e96fb88cc3d1fe939e8d6c)

15 years agolibsmbclient examples: fix prototype for readlink
Michael Adam [Thu, 21 Aug 2008 08:41:11 +0000 (10:41 +0200)]
libsmbclient examples: fix prototype for readlink

Michael
(This used to be commit 28688cfd57c322937f2c63087380c377bd961018)

15 years agoHere is a re-working of the winbindd
Jeremy Allison [Wed, 20 Aug 2008 23:24:22 +0000 (16:24 -0700)]
Here is a re-working of the winbindd
reconnect code to cope with rebooting a DC. This
replaces the code I asked Volker to revert.
The logic is pretty simple. It adds a new parameter,
"winbind reconnect delay", set to 30 seconds by
default, which determines how long to wait between
connection attempts.
To avoid overwhelming the box with DC-probe
forked children, the code now keeps track of
the DC probe child per winbindd_domain struct
and only starts a new one if the existing one
has died.
I also added a little logic to make sure the
dc probe child always sends a message whatever
the reason for exit so we will always reschedule
another connect attempt.
Also added documentation.
Jeremy.
(This used to be commit 8027197635b988b3dcf9d3d00126a024e768fa62)

15 years agogitignore: add examples/libsmbclient/tree
Michael Adam [Wed, 20 Aug 2008 20:31:53 +0000 (22:31 +0200)]
gitignore: add examples/libsmbclient/tree

Michael
(This used to be commit e5c4cbbf5a4b3e5db1732043a74cd1f4a5eec136)

15 years agogitignore: add lib/netapi/tests/Makefile
Michael Adam [Wed, 20 Aug 2008 20:31:07 +0000 (22:31 +0200)]
gitignore: add lib/netapi/tests/Makefile

Michael
(This used to be commit fdf29c1cdf6b9bd1c6fb7a9f070084e0df5470bb)

15 years agogitignore: add libsmbsharemodes.syms - this is now generated
Michael Adam [Wed, 20 Aug 2008 20:34:26 +0000 (22:34 +0200)]
gitignore: add libsmbsharemodes.syms - this is now generated

Michael
(This used to be commit 11458f9a9ac17c68aa0496d2ade4b93d02e7ebcc)

15 years agobuild: auto-generate symbols for libsmbsharemodes.
Michael Adam [Wed, 20 Aug 2008 13:09:27 +0000 (15:09 +0200)]
build: auto-generate symbols for libsmbsharemodes.

Michael
(This used to be commit f1d84e76bb6935e80b01d13414980f8de1f71824)

15 years agogitignore: add libsmbclient.syms - this is now generated
Michael Adam [Wed, 20 Aug 2008 20:33:17 +0000 (22:33 +0200)]
gitignore: add libsmbclient.syms - this is now generated

Michael
(This used to be commit 02d4b820fccfef1387f47db4bb5ade3dfd0d25bb)

15 years agobuild: autogenerate symbols for libsmbclient.so
Michael Adam [Wed, 20 Aug 2008 13:06:02 +0000 (15:06 +0200)]
build: autogenerate symbols for libsmbclient.so

Michael
(This used to be commit d6fb6348a3672e915556dcb36c1a4999d4abae18)

15 years agobuild: fix bug #5590 by not linking in the static libs but the objects.
Michael Adam [Wed, 20 Aug 2008 12:56:18 +0000 (14:56 +0200)]
build: fix bug #5590 by not linking in the static libs but the objects.

Michael
(This used to be commit 6ad2090391a92ebe822b2d7b80e180c251dc8e7a)

15 years agobuild: fall down to the same place when using an internal lib statically.
Michael Adam [Wed, 20 Aug 2008 12:55:24 +0000 (14:55 +0200)]
build: fall down to the same place when using an internal lib statically.

Michael
(This used to be commit 702c0bc04668117e3521d687b9b5a87fd7e0f1b1)

15 years agobuild: remove duplicated and hardcoded definition of LIBSMBSHAREMODES
Michael Adam [Wed, 20 Aug 2008 12:47:26 +0000 (14:47 +0200)]
build: remove duplicated and hardcoded definition of LIBSMBSHAREMODES

Michael
(This used to be commit c3c3dadcab81f0a1ae8834e85e7e80a3da6601fb)

15 years agobuild: rename LIBNETAPI_OBJ1 to LIBNETAPI_OBJ0 for consistency.
Michael Adam [Wed, 20 Aug 2008 11:22:13 +0000 (13:22 +0200)]
build: rename LIBNETAPI_OBJ1 to LIBNETAPI_OBJ0 for consistency.

Michael
(This used to be commit ead9b9d7167d999d73cf4111f3b321236aac2a15)

15 years agofix build warning.
Günther Deschner [Wed, 20 Aug 2008 16:40:58 +0000 (18:40 +0200)]
fix build warning.

Guenther
(This used to be commit a75055be5ff7ebe3476cfac86c6597a56a843c23)

15 years agolibads: remove unused vars.
Günther Deschner [Wed, 20 Aug 2008 19:17:35 +0000 (21:17 +0200)]
libads: remove unused vars.

Guenther
(This used to be commit ea9fc3bea31b11e715d9524defc18b75e5943842)

15 years agofix another build warning.
Günther Deschner [Wed, 20 Aug 2008 18:24:45 +0000 (20:24 +0200)]
fix another build warning.

Guenther
(This used to be commit 43693ce6c678b961fa516bbf502af92f87cd5346)

15 years agonss_winbind: When returning NSS_UNAVAIL, squash errno to ENOENT
Gerald (Jerry) Carter [Wed, 20 Aug 2008 18:00:40 +0000 (13:00 -0500)]
nss_winbind: When returning NSS_UNAVAIL, squash errno to ENOENT

According to the GNU libc nss guide, we should always set
errno to ENOENT when returning NSS_UNAVAIL.

http://www.gnu.org/software/libtool/manual/libc/NSS-Modules-Interface.html#NSS-Modules-Interface

At least the MQ Series message queing service that runs
on WebSphere will fail if you return any other errno in this case.
(This used to be commit ee26664602445fa7798e2061f6bcbef0756d6528)

15 years agosmbd: fix the handling of create_options to pass RAW-OPEN
Stefan Metzmacher [Tue, 19 Aug 2008 14:34:50 +0000 (16:34 +0200)]
smbd: fix the handling of create_options to pass RAW-OPEN

Some of the bits generate INVALID_PARAMETER and some bits
are ignored when they come from a client, that's why we need
to use bits from the ignored range for our internal usage.

metze
(This used to be commit 7b4c8a4e39f310eb450918fa841b0ea1b4af19f7)

15 years agoUpdated Doxyfile conf to doxygen version 1.5.3
Steven Danneman [Tue, 19 Aug 2008 18:05:07 +0000 (11:05 -0700)]
Updated Doxyfile conf to doxygen version 1.5.3

* Removed deprecated configuration parameters
* Silenced all warnings due to lack of doxygen comments
* Reordered config parameters to match doxygen's canonical ordering
(This used to be commit d3295d13aeb396377cb7fd46dcdb1f504f18efef)

15 years agoFix bug 5697 nmbd spins in reload_interfaces when only loopback has an IPv4 address
Jeremy Allison [Wed, 20 Aug 2008 00:30:30 +0000 (17:30 -0700)]
Fix bug 5697 nmbd spins in reload_interfaces when only loopback has an IPv4 address
reported by Ted Percival <ted@midg3t.net>.
Jeremy.
(This used to be commit ab06efccf31fbc899536d2681a2076e6dfd65b9e)

15 years agowinbindd: consistently use false/true.
Günther Deschner [Tue, 19 Aug 2008 16:03:13 +0000 (18:03 +0200)]
winbindd: consistently use false/true.

Guenther
(This used to be commit e8619121d16d086f1ab186051d0ecdc83c02e5b5)

15 years agowinbindd: use set_auth_errors (avoid code duplication).
Günther Deschner [Tue, 19 Aug 2008 16:31:35 +0000 (18:31 +0200)]
winbindd: use set_auth_errors (avoid code duplication).

Guenther
(This used to be commit ae35a5110ea03d8ff27f320cdc685e5623715a2a)

15 years agowinbindd: fill_in_password_policy (to avoid redundant code).
Günther Deschner [Tue, 19 Aug 2008 16:31:10 +0000 (18:31 +0200)]
winbindd: fill_in_password_policy (to avoid redundant code).

Guenther
(This used to be commit dbfa7ba14c9f1a4d7a1e7205dd0b3ea2fc2e6131)

15 years agopam_winbind: some doxygen fixes.
Günther Deschner [Tue, 19 Aug 2008 14:19:54 +0000 (16:19 +0200)]
pam_winbind: some doxygen fixes.

Guenther
(This used to be commit f2a2ed315e393353110aa7760b4eca4f1f49ca21)

15 years agowbinfo: use wbinfo_prompt_pass() everywhere.
Günther Deschner [Tue, 19 Aug 2008 13:09:12 +0000 (15:09 +0200)]
wbinfo: use wbinfo_prompt_pass() everywhere.

Guenther
(This used to be commit 687ef28874eb311b3e3919c3a38a22e5186d4c1b)

15 years agowbinfo: add wbinfo_prompt_pass.
Günther Deschner [Tue, 19 Aug 2008 13:32:37 +0000 (15:32 +0200)]
wbinfo: add wbinfo_prompt_pass.

Guenther
(This used to be commit 7cf6ed68236e7dd64657cb1087a5a687d6f59ad1)

15 years agopam_winbind: use pam error string function to display result.
Günther Deschner [Thu, 14 Aug 2008 18:56:47 +0000 (20:56 +0200)]
pam_winbind: use pam error string function to display result.

Guenther
(This used to be commit 8504a92ac55d6936df051be66207a59a76bf32a3)

15 years agopam_winbind: add _pam_error_code_str().
Günther Deschner [Thu, 14 Aug 2008 15:40:26 +0000 (17:40 +0200)]
pam_winbind: add _pam_error_code_str().

Guenther
(This used to be commit 693f90fd2394309ce40d3ca5fc007543058b342a)

15 years agopam_winbind: use integer constants.
Günther Deschner [Thu, 14 Aug 2008 11:07:51 +0000 (13:07 +0200)]
pam_winbind: use integer constants.

Guenther
(This used to be commit 8d19b2ceb131ca2a0fd983cdb4fd17acdad9c26e)

15 years agowinbindd: kill some trailing/leading whitespace.
Günther Deschner [Mon, 18 Aug 2008 23:18:24 +0000 (01:18 +0200)]
winbindd: kill some trailing/leading whitespace.

Guenther
(This used to be commit b5bb7844952a87b123551b478b60bfe232afc308)

15 years agobuild: fix linking cifs.upcall when nscd_flush_cache() is found.
Michael Adam [Tue, 19 Aug 2008 11:29:24 +0000 (13:29 +0200)]
build: fix linking cifs.upcall when nscd_flush_cache() is found.

Michael
(This used to be commit 661b7fdffda40a9ca7cb36627dbaf91cb4357cd0)

15 years agoMake the change to smbcontrol for "all" to mean broadcast,
Jeremy Allison [Mon, 18 Aug 2008 23:18:34 +0000 (16:18 -0700)]
Make the change to smbcontrol for "all" to mean broadcast,
and "smbd" to mean the main smb daemon. Update docs to match.
Jeremy.
(This used to be commit e415420b086a236be6bcc1e7584bec276a74e457)

15 years agoFix length error in wrapping spnego blob
Igor Mammedov [Mon, 18 Aug 2008 16:55:11 +0000 (09:55 -0700)]
Fix length error in wrapping spnego blob
(This used to be commit 16ee95494ba495c5f5ff8779206f380db1067b2d)

15 years agoFix bug 5696. The problem was when smbd
Jeremy Allison [Sun, 17 Aug 2008 02:23:38 +0000 (19:23 -0700)]
Fix bug 5696. The problem was when smbd
was asking for a winbindd name to SID lookup of
"Unix Group\name" where "name" was also a valid username,
the winbindd passdb lookup of that name was losing the
domain string info before calling lookup name (ie. lookup_name()
was being called with just the string "name", not the
full string "Unix Group\name").

The passdb backend of winbindd has to cope with
not only names from it's own global SAM domain,
but it does lookups for BUILTIN and "Unix User"
and "Unix Group" also, so making it guess by
losing the domain string is "A Bad Idea" (tm) :-).

Note that as winbind globally calls winbind_off()
at startup, it's safe for winbind to call sys_getgrnam()
to do the "Unix Group" lookup from inside lookup_name().

Jeremy.
(This used to be commit 5293af6c3cbfdde340e6add47b914b6ee6fd7b6f)

15 years agoAttempt to fix Coverity ID 596
Volker Lendecke [Sat, 16 Aug 2008 09:12:35 +0000 (11:12 +0200)]
Attempt to fix Coverity ID 596

Jeremy, please check & push if it's ok.
(This used to be commit f06070c188d6d2efed3205bbc9c3c290718397b1)

15 years agoAttempt to fix Coverity ID 595
Volker Lendecke [Sat, 16 Aug 2008 09:17:09 +0000 (11:17 +0200)]
Attempt to fix Coverity ID 595

is_ipaddress already dereferences "name", so the NULL check is pointless after
calling it.
(This used to be commit 31ca7b2dbbbfbb3a55670b58c08ebda68888af7e)

15 years agoI think the problem with these functions is that lookup_usergroups
Herb Lewis [Fri, 15 Aug 2008 22:28:23 +0000 (15:28 -0700)]
I think the problem with these functions is that lookup_usergroups
should never include the user SID.
The comment for the function in winbindd/winbindd_ads.c says
/* Lookup groups a user is a member of. */
The following patch makes the wbinfo calls return the correct data
before and after a login.
wbinfo --user-domgroups and --user-sids
(This used to be commit 7849938906a9c859805cbaeca66fae9d3c515aad)

15 years agoconfigure: use libdir=${prefix}/lib and modules=${libdir}/samba as default with-fhs.
Michael Adam [Fri, 15 Aug 2008 13:55:17 +0000 (15:55 +0200)]
configure: use libdir=${prefix}/lib and modules=${libdir}/samba as default with-fhs.

This is what one actually wants:
Shared/static libs in /usr/lib, shared modules and so on in /usr/lib/samba.

Michael
(This used to be commit 03de8c1955a85f2e3e9f947309e09023138a1591)

15 years agoconfigure: use ${libdir} instead of \${LIBDIR}.
Michael Adam [Fri, 15 Aug 2008 12:38:41 +0000 (14:38 +0200)]
configure: use ${libdir} instead of \${LIBDIR}.

Now after removing --with-libdir, the value of ${libdir} won't change
anymore at that stage, so there is no need to have the variable expansion
deferred to "make".

Michael
(This used to be commit 256977cf05cb4c4073ece1389a7e4939b18f5f13)

15 years agoconfigure: remove the --with-libdir parameter.
Michael Adam [Fri, 15 Aug 2008 12:35:46 +0000 (14:35 +0200)]
configure: remove the --with-libdir parameter.

This is redundant: use the autoconf-provided --libdir instead.
This will also make the new distinction between libdir and modulesdir
more visible.

Michael
(This used to be commit c1d53b7c767275b39dc8ecfcd5b6129ee2cabb6d)

15 years agopopt: add support for setting MODULESDIR via popt_common_dynconfig.
Michael Adam [Thu, 14 Aug 2008 22:45:57 +0000 (00:45 +0200)]
popt: add support for setting MODULESDIR via popt_common_dynconfig.

Michael
(This used to be commit 81030e49ce344260d279a3112b13a21ce3520748)

15 years agosvcctl: use MODULESDIR instead of LIBDIR for the svcctl script directory.
Michael Adam [Thu, 14 Aug 2008 22:50:56 +0000 (00:50 +0200)]
svcctl: use MODULESDIR instead of LIBDIR for the svcctl script directory.

Michael
(This used to be commit bb19634138cfd1f527c44e16a44aa21ebee50c1c)

15 years agolibgpo: use MODULESDIR instead of LIBDIR for the group policy extensions.
Michael Adam [Thu, 14 Aug 2008 22:49:19 +0000 (00:49 +0200)]
libgpo: use MODULESDIR instead of LIBDIR for the group policy extensions.

Michael
(This used to be commit 3346dd40832e8d61edfe4c56dce6fe85031f20f1)

15 years agoUse module_path() instead of lib_path() for loading shared modules.
Michael Adam [Thu, 14 Aug 2008 22:47:30 +0000 (00:47 +0200)]
Use module_path() instead of lib_path() for loading shared modules.

Michael
(This used to be commit 22fb3ef1bb4abb33b49d275f9a5d85a1924c22ea)

15 years agoAdd modules_path() to construct paths to files in MODULESDIR.
Michael Adam [Thu, 14 Aug 2008 22:44:14 +0000 (00:44 +0200)]
Add modules_path() to construct paths to files in MODULESDIR.

Michael
(This used to be commit 5ef9da6f4f04b07804b389902862fae0fbbfed13)

15 years agobuildoptions: output MODULESDIR.
Michael Adam [Thu, 14 Aug 2008 22:46:46 +0000 (00:46 +0200)]
buildoptions: output MODULESDIR.

Michael
(This used to be commit bcb868e4340a856c4009450479628088a8a1628c)

15 years agodynconfig: add support for MODULESDIR.
Michael Adam [Thu, 14 Aug 2008 22:43:31 +0000 (00:43 +0200)]
dynconfig: add support for MODULESDIR.

Michael
(This used to be commit 34309f097f5c7321930bf6c2ea2447de1008130c)

15 years agoconfigure: Add --with-modulesdir to accompany --with-libdir.
Michael Adam [Thu, 14 Aug 2008 22:36:49 +0000 (00:36 +0200)]
configure: Add --with-modulesdir to accompany --with-libdir.

This starts the seplitting of libdir in to libdir and modulesdir.
Our shared libs should go into libdir, the internal shared modules,
codepages, and other stuff that was originally in libdir, should
go into modulesdir.

The idea behind this is, that in a typical installation,
the shared (and static) libraries (as libtalloc, libsmbclient,
libwbclient and others) should be put into /usr/lib, while
the e.g. the vfs modules should reside in /usr/lib/samba.

This is meant to ease the work of packagers and reduce
the needs for manual interaction and workarounds.

Michael
(This used to be commit b17d1ff646e22c3e979224d119b283fc3af780a8)

15 years agodynconfig: remove commented-out old stuff from dynconfig.c and dynconfig.h
Michael Adam [Thu, 14 Aug 2008 22:58:47 +0000 (00:58 +0200)]
dynconfig: remove commented-out old stuff from dynconfig.c and dynconfig.h

Michael
(This used to be commit 85a781fa0248fcd0cefcc4de25b3dea3e37d5844)

15 years agodynconfig: remove unused prototypes.
Michael Adam [Thu, 14 Aug 2008 21:44:06 +0000 (23:44 +0200)]
dynconfig: remove unused prototypes.

set_dyn_STATEDIR, is_default_dyn_STATEDIR,
set_dyn_CACHEDIR, is_default_dyn_CACHEDIR
are neither used nor implemented.

Michael
(This used to be commit f30b70b2c3a49bc962848039953a565a040b563d)

15 years agoproto.h: remove prototypes from dynconfig.c
Michael Adam [Thu, 14 Aug 2008 21:14:42 +0000 (23:14 +0200)]
proto.h: remove prototypes from dynconfig.c

These are also in dynconfig.h and were originally added
by "make proto" by accident.

Michael
(This used to be commit 4fb69fe1eeebc466944f3daacfacec60ad043b0c)

15 years agoMakefile: print codepagedir in "make showlayout".
Michael Adam [Thu, 14 Aug 2008 21:18:28 +0000 (23:18 +0200)]
Makefile: print codepagedir in "make showlayout".

Michael
(This used to be commit a823733b91958adf938214113e6875315c6ae5b2)

15 years agobuild: fix a typo in the installlibtalloc rule.
Michael Adam [Fri, 15 Aug 2008 21:17:48 +0000 (23:17 +0200)]
build: fix a typo in the installlibtalloc rule.

The symlink liballoc.so -> libtalloc.so.1 would have been
created unconditionally, independent of the existence of
libtalloc.so.1.

Michael
(This used to be commit 04974818bda75c4315ad09b623e5df55c87dbc87)

15 years agoFix show-stopper for 3.2. Smbd depends on group SID
Jeremy Allison [Fri, 15 Aug 2008 04:52:11 +0000 (21:52 -0700)]
Fix show-stopper for 3.2. Smbd depends on group SID
position zero being the primary group sid. Authenicating
via winbindd call returned a non-sorted sid list. This
fixes is for both a winbindd call and a pac list from
an info3 struct. Without this we mess up the
primary group associated with created files. Found by
Herb.
Jeremy.
(This used to be commit cb925dec85cfc4cfc194c3ff76dbeba2bd2178d7)

15 years agoMake it clear that this is a temporary context byusing a talloc stackframe instead.
Jeremy Allison [Thu, 14 Aug 2008 21:36:02 +0000 (14:36 -0700)]
Make it clear that this is a temporary context byusing a talloc stackframe instead.
Jeremy
(This used to be commit 7f7dd5e8883e23d7fe3f9cb804905c5b23a5a41c)

15 years agoFix bug #5692 - Core dump in full_audit.so.
Jeremy Allison [Thu, 14 Aug 2008 17:58:50 +0000 (10:58 -0700)]
Fix bug #5692 - Core dump in full_audit.so.
There were some function mismatches in the various GET_NT_ACL modules (some places the fsp parameter has not been removed).
Jeremy.
(This used to be commit 221cc5e21eb27cdad51f34ec6832467a7bd89213)

15 years agoRevert "Add a gpfs_prefetch module"
Michael Adam [Thu, 14 Aug 2008 15:46:28 +0000 (17:46 +0200)]
Revert "Add a gpfs_prefetch module"

This reverts commit fc9b30bed2d774dca6660b497cb50f982b23b885.

Sorry, this got pushed by accident:

"This can not go upstream yet because it uses the non-GPL libgpfs."

Michael
(This used to be commit 26a3cf0be918fe577a979f3e358d58359e42b2f1)

15 years agosmbspool: Fix printing on port 139.
Karolin Seeger [Wed, 13 Aug 2008 19:27:55 +0000 (21:27 +0200)]
smbspool: Fix printing on port 139.

This one was introduced with 8eff35bc.
Thanks to Noèl Köthe for tracking that down!

Karolin
(This used to be commit 250f5a40d6e80305220d7cdc6a8f8459d8d0de74)

15 years agonetapi: add some remaining documentation fixes.
Günther Deschner [Wed, 13 Aug 2008 11:59:08 +0000 (13:59 +0200)]
netapi: add some remaining documentation fixes.

Guenther
(cherry picked from commit 4a4e90a3872d34791de43c3849c60e2f4e713d47)
(This used to be commit c542307b7484df4adb9269f4bb99fa55d5dc48b8)

15 years agonetapi: add doxygen documentation for NetUserModalsGet and NetUserModalsSet.
Günther Deschner [Tue, 12 Aug 2008 17:47:37 +0000 (19:47 +0200)]
netapi: add doxygen documentation for NetUserModalsGet and NetUserModalsSet.

Guenther
(cherry picked from commit 93210f04c3b1e4fe977a395531ddc0387a65dab5)
(This used to be commit ab1b214ba0bebfebf0685f9c05fdcf6eb141adb9)

15 years agonetapi: add doxygen documentation for NetLocalGroup{Add,Del,Set,Get}Members.
Günther Deschner [Tue, 12 Aug 2008 17:39:38 +0000 (19:39 +0200)]
netapi: add doxygen documentation for NetLocalGroup{Add,Del,Set,Get}Members.

Guenther
(cherry picked from commit eee28804b7efc3089ce3528f13de6c930cf00adb)
(This used to be commit b725852502d45b568c80eb3c323861b89928983d)

15 years agonetapi: make libnetapi_open_ipc_connection static.
Günther Deschner [Tue, 12 Aug 2008 15:59:23 +0000 (17:59 +0200)]
netapi: make libnetapi_open_ipc_connection static.

Guenther
(cherry picked from commit 0259914f8ff04514a8395d8e1af61aadd50c5efb)
(This used to be commit 7edc671cc1007ae216e7efdbcdb9cfa1e547dca5)

15 years agonetapi: make non-implemented local calls default to remote "localhost" calls.
Günther Deschner [Tue, 12 Aug 2008 13:25:06 +0000 (15:25 +0200)]
netapi: make non-implemented local calls default to remote "localhost" calls.

Guenther
(cherry picked from commit aa70e588803e3767796dc958b139f4ee464d8626)
(This used to be commit 9927ac6eec9fe1fecfedb97b61c4f93379fc8722)

15 years agonetapi: add NetLocalGroupGetMembers example code.
Günther Deschner [Tue, 12 Aug 2008 10:49:19 +0000 (12:49 +0200)]
netapi: add NetLocalGroupGetMembers example code.

Guenther
(cherry picked from commit bded298e022028d6237e25e1c785509bc983be9d)
(This used to be commit 93b0907aa43e55d2d4093567212b0c9731917351)

15 years agonetapi: let libnetapi_samr_lookup_and_open_alias return NTSTATUS.
Günther Deschner [Mon, 11 Aug 2008 18:39:14 +0000 (20:39 +0200)]
netapi: let libnetapi_samr_lookup_and_open_alias return NTSTATUS.

Guenther
(cherry picked from commit dcf6d879a14a70ce5795eb8dcfbfe2fc5a8ad859)
(This used to be commit 8ac6a2739be870f286d19dc6bf8f0054a559b43b)

15 years agoPut prototypes of modules/vfs_irixacl.c to new modules/vfs_irixacl.h.
Michael Adam [Wed, 13 Aug 2008 13:59:14 +0000 (15:59 +0200)]
Put prototypes of modules/vfs_irixacl.c to new modules/vfs_irixacl.h.

Thereby (hopefully) fixing the potential build problems with IRIX acls.

Michael
(This used to be commit 61c201d416bbc37950b980e8598b7ef1292336bc)

15 years agoPut prototypes of modules/vfs_hpuxacl.c to new modules/vfs_hpuxacl.h.
Michael Adam [Wed, 13 Aug 2008 13:58:06 +0000 (15:58 +0200)]
Put prototypes of modules/vfs_hpuxacl.c to new modules/vfs_hpuxacl.h.

Thereby (hopefully) fixing the potential build problems with HPUX acls.

Michael
(This used to be commit 4f2a1de990dc9063a1db877c06a5c1d68924edcf)

15 years agoPut prototypes of modules/vfs_solarisacl.c to new modules/vfs_solarisacl.h.
Michael Adam [Wed, 13 Aug 2008 13:56:44 +0000 (15:56 +0200)]
Put prototypes of modules/vfs_solarisacl.c to new modules/vfs_solarisacl.h.

Thereby (hopefully) fixing the potential build problems with solaris acls.

Michael
(This used to be commit 8413c05afcde65006fa7c8743f30b53cc33c1729)

15 years agoPut prototypes of modules/vfs_tru64acl.c to new modules/vfs_tru64acl.h.
Michael Adam [Wed, 13 Aug 2008 13:31:53 +0000 (15:31 +0200)]
Put prototypes of modules/vfs_tru64acl.c to new modules/vfs_tru64acl.h.

Thereby (hopefully) fixing the build with tru64 acls.

Michael
(This used to be commit 1ab64b69850489a2648a2543da6d0e1157df68bc)

15 years agoPut prototypes of modules/vfs_posixacl.c into new modules/vfs_posixacl.h.
Michael Adam [Wed, 13 Aug 2008 13:28:38 +0000 (15:28 +0200)]
Put prototypes of modules/vfs_posixacl.c into new modules/vfs_posixacl.h.

Michael
(This used to be commit 876f6793434174051084b17f3b02bd1bbb24ec44)

15 years agoFix coverity CID: 594. Resource leak on error path.
Jeremy Allison [Wed, 13 Aug 2008 23:52:53 +0000 (16:52 -0700)]
Fix coverity CID: 594. Resource leak on error path.
Jeremy.
(This used to be commit 1f38b9963c4ec0d73da496a72ba4ee74d8d581c9)

15 years agoFix for bug #5688 from SATOH Fumiyasu <fumiyas@osstech.co.jp>. LPQ process is orphane...
Jeremy Allison [Wed, 13 Aug 2008 23:45:34 +0000 (16:45 -0700)]
Fix for bug #5688 from SATOH Fumiyasu <fumiyas@osstech.co.jp>. LPQ process is orphaned if socket address parameter is invalid.
If the "socket address" parameter is a null string that is an invalid value for Samba 3.2 but valid for Samba 3.0.
Jeremy.
(This used to be commit c65726d418601cdc86202c0371615e4f7f3d843c)

15 years agoFix for bug #5617, reported and patched by Bartosz Antosik antosik@gmail.com.
Jeremy Allison [Wed, 13 Aug 2008 22:46:35 +0000 (15:46 -0700)]
Fix for bug #5617, reported and patched by Bartosz Antosik antosik@gmail.com.
xp/2003 explorer freezes browsing shares on samba ipv6 hosts. Caused by missing
reply packet to SMB printclose packet.
Jeremy
(This used to be commit ecf2b906f476e4a764d0e53eed84b9b75a2062c0)

15 years agoPrevent NT_STATUS 0xF1000000 errors from appearing when
Jim McDonough [Wed, 13 Aug 2008 22:03:51 +0000 (18:03 -0400)]
Prevent NT_STATUS 0xF1000000 errors from appearing when
dos errors are used and there is no error.  It should
be mapped directly to NT_STATUS_OK.  smbclient to older
servers didn't work.
(This used to be commit 78f009b7ef1f1d63b21df9ba6da7fcca01c12109)

15 years agoRevert "Add winbind:online check timeout parameter"
Volker Lendecke [Thu, 14 Aug 2008 09:09:37 +0000 (11:09 +0200)]
Revert "Add winbind:online check timeout parameter"

This reverts commit 9920473cc165e75ee9aa5cbb9e568eb5fb67e9e6.
(This used to be commit 34a32db9060e7b60455774f923f61b7367ee3fcf)

15 years agoRevert "If it is a forced DOS error, nt_errstr should say so"
Volker Lendecke [Wed, 13 Aug 2008 16:19:06 +0000 (18:19 +0200)]
Revert "If it is a forced DOS error, nt_errstr should say so"

This reverts commit ef5489ac805237274d6088aaa7ae870cc0deb52f.
(This used to be commit e987e9956f02557c7ec87a369b92f87083fda620)

15 years agoIf it is a forced DOS error, nt_errstr should say so
Volker Lendecke [Wed, 13 Aug 2008 15:40:30 +0000 (17:40 +0200)]
If it is a forced DOS error, nt_errstr should say so
(This used to be commit ef5489ac805237274d6088aaa7ae870cc0deb52f)

15 years agoWHATSNEW: Start WHATSNEW for 3.4.0pre1.
Karolin Seeger [Wed, 13 Aug 2008 13:29:06 +0000 (15:29 +0200)]
WHATSNEW: Start WHATSNEW for 3.4.0pre1.

Karolin
(This used to be commit e25fadd35900bda1ab411ac5abcf664b5eeb531f)

15 years agoVERSION: Raise version number.
Karolin Seeger [Wed, 13 Aug 2008 13:25:09 +0000 (15:25 +0200)]
VERSION: Raise version number.

Karolin
(This used to be commit 1ed4b2151e60050455e0b3564afe01b0c030b71e)

15 years agonetapi: add c++ guard.
Günther Deschner [Tue, 12 Aug 2008 17:38:22 +0000 (19:38 +0200)]
netapi: add c++ guard.

Guenther
(This used to be commit c9e38fef647520e4038f04bd163678bf4b30853d)

15 years agopackaging(RHEL-CTDB): check for success of x86_64 build before building i386
Michael Adam [Tue, 12 Aug 2008 21:46:50 +0000 (23:46 +0200)]
packaging(RHEL-CTDB): check for success of x86_64 build before building i386

Michael
(This used to be commit 3102582f0232359069577174b2faea37e5489014)

15 years agopackaging(RHEL-CTDB): fix installation of libsmbsharemodes for the 3.3.0 build.
Michael Adam [Tue, 12 Aug 2008 21:17:18 +0000 (23:17 +0200)]
packaging(RHEL-CTDB): fix installation of libsmbsharemodes for the 3.3.0 build.

Michael
(This used to be commit 061a46a35d019e2cd4100a8d63ce9c25753e4c38)

15 years agopackaging(RHEL-CTDB): fix installation of libsmclient for 3.3.0 build.
Michael Adam [Tue, 12 Aug 2008 21:14:42 +0000 (23:14 +0200)]
packaging(RHEL-CTDB): fix installation of libsmclient for 3.3.0 build.

Michael
(This used to be commit e70529e477125a04d4368885f80be3c828ce2205)

15 years agopackaging(RHEL-CTDB): install the right libraries for 3.3.0.
Michael Adam [Tue, 12 Aug 2008 19:48:00 +0000 (21:48 +0200)]
packaging(RHEL-CTDB): install the right libraries for 3.3.0.

The library creation and installation has been fixed in that
now the libfoo.so.VERSION is created and libfoo.so is correclty
installed as a link.

Since we do not have a separation of lib dir and modules dir,
we do still install to /usr/lib/samba/, though. Therefore we
still need the workaround in the spec file to install the
libs to /usr/lib/ manually.

Michael
(This used to be commit ba17854342cfe8a0ad63b0f4800d16152291b50f)

15 years agopackaging(RHEL-CTDB): don't call make proto for the 3.3.0 build.
Michael Adam [Tue, 12 Aug 2008 19:46:19 +0000 (21:46 +0200)]
packaging(RHEL-CTDB): don't call make proto for the 3.3.0 build.

Michael
(This used to be commit 815613c65597bbcde9aa1a133b86fce6a9ec554b)

15 years agopackaging(RHEL-CTDB): move to version 3.3.0 for the rpm build.
Michael Adam [Tue, 12 Aug 2008 19:28:10 +0000 (21:28 +0200)]
packaging(RHEL-CTDB): move to version 3.3.0 for the rpm build.

Michael
(This used to be commit fe7847f3e539ed737d7b1cd5b874e2d3add78129)

15 years agopackaging(RHEL-CTDB): Bump release number to ctdb.47 for the next RPM.
Michael Adam [Mon, 11 Aug 2008 20:56:55 +0000 (22:56 +0200)]
packaging(RHEL-CTDB): Bump release number to ctdb.47 for the next RPM.

Michael
(This used to be commit 7eb4ebd364bfcfcdebb0b1a68531e440f4221574)

15 years agosmbd: prevent smbd from panicing with "clustering = no" but --with-cluster-support
Michael Adam [Mon, 11 Aug 2008 14:30:36 +0000 (16:30 +0200)]
smbd: prevent smbd from panicing with "clustering = no" but --with-cluster-support

Michael
(This used to be commit a687949d19ba9690f96e7869aa22e4d87840640e)

15 years agoup release to 46
Andrew Tridgell [Sun, 10 Aug 2008 00:46:09 +0000 (10:46 +1000)]
up release to 46
(This used to be commit 4c2ec600731117316a6bec763e9cde2845e2356c)

15 years agoup to release 45 now
Andrew Tridgell [Sat, 9 Aug 2008 03:27:36 +0000 (13:27 +1000)]
up to release 45 now
(This used to be commit 7f0e1732a06709131475d0174103467aa795ec19)

15 years agodisable the DNS update code, as it breaks clustering
Andrew Tridgell [Sat, 9 Aug 2008 03:26:49 +0000 (13:26 +1000)]
disable the DNS update code, as it breaks clustering
(This used to be commit 30a5f682b5fe6edcdb119af6dc736f4beb40bc26)

15 years agoup to release 44
Andrew Tridgell [Fri, 8 Aug 2008 12:47:23 +0000 (22:47 +1000)]
up to release 44
(This used to be commit 5d482fe9873a20d3fd97f54f1e1216c1f13f46a1)

15 years agoadded a explanatory comment on tcon check
Andrew Tridgell [Fri, 8 Aug 2008 12:47:04 +0000 (22:47 +1000)]
added a explanatory comment on tcon check
(This used to be commit f2ab2cebb9b81453dc0b6370288b85909182ae49)

15 years agosmbd/conn: fix prototype change of conn_close_all() in proto.h.
Michael Adam [Tue, 12 Aug 2008 10:16:19 +0000 (12:16 +0200)]
smbd/conn: fix prototype change of conn_close_all() in proto.h.

(Cleaning "ensure we exit with non-zero status on EOF on socket"
 after rebasing to v3-3-test which has no "make proto" anymore.)

Michael
(This used to be commit a958c6bf1e0394e98df286974d78d3b07498e0b4)

15 years agoensure we exit with non-zero status on EOF on socket, so the parent
Andrew Tridgell [Fri, 8 Aug 2008 12:34:59 +0000 (22:34 +1000)]
ensure we exit with non-zero status on EOF on socket, so the parent
can trigger a brlock db cleanup
(This used to be commit bbd49f9e1c4b50c4a596fb991f3306e1e90c0177)

15 years agofixed child exit handling and IP release handling
Andrew Tridgell [Fri, 8 Aug 2008 11:11:56 +0000 (21:11 +1000)]
fixed child exit handling and IP release handling
(This used to be commit 6fe27d296c389473c24e8c627a61bd56b364ad9f)

15 years agolog unclean shutdowns
Andrew Tridgell [Fri, 8 Aug 2008 11:00:42 +0000 (21:00 +1000)]
log unclean shutdowns
(This used to be commit 30b83245a22ebd5e4fa4739dd2aa1805373a7eb2)

15 years agoregister the ctdbd reconfigure message
Andrew Tridgell [Fri, 8 Aug 2008 10:31:03 +0000 (20:31 +1000)]
register the ctdbd reconfigure message
(This used to be commit 9d3217bb28765e107c230fb90b578dcc6f5d4375)

15 years agoupdate configure.rpm
Andrew Tridgell [Fri, 8 Aug 2008 09:57:57 +0000 (19:57 +1000)]
update configure.rpm
(This used to be commit ec8f3d75a22e7d2d7617ed33836836cd73610095)

15 years agoincrease version to 43
Andrew Tridgell [Fri, 8 Aug 2008 06:44:52 +0000 (16:44 +1000)]
increase version to 43
(This used to be commit 1d8024d261264a709b9df22fa35cdad03ab4af19)