summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-08-18Fix length error in wrapping spnego blobIgor Mammedov1-1/+1
(This used to be commit 16ee95494ba495c5f5ff8779206f380db1067b2d)
2008-08-16Fix bug 5696. The problem was when smbdJeremy Allison1-2/+18
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)
2008-08-16Attempt to fix Coverity ID 596Volker Lendecke1-1/+1
Jeremy, please check & push if it's ok. (This used to be commit f06070c188d6d2efed3205bbc9c3c290718397b1)
2008-08-16Attempt to fix Coverity ID 595Volker Lendecke1-1/+1
is_ipaddress already dereferences "name", so the NULL check is pointless after calling it. (This used to be commit 31ca7b2dbbbfbb3a55670b58c08ebda68888af7e)
2008-08-15I think the problem with these functions is that lookup_usergroupsHerb Lewis2-18/+18
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)
2008-08-15configure: use libdir=${prefix}/lib and modules=${libdir}/samba as default ↵Michael Adam1-2/+2
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)
2008-08-15configure: use ${libdir} instead of \${LIBDIR}.Michael Adam1-4/+4
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)
2008-08-15configure: remove the --with-libdir parameter.Michael Adam1-16/+0
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)
2008-08-15popt: add support for setting MODULESDIR via popt_common_dynconfig.Michael Adam1-0/+10
Michael (This used to be commit 81030e49ce344260d279a3112b13a21ce3520748)
2008-08-15svcctl: use MODULESDIR instead of LIBDIR for the svcctl script directory.Michael Adam2-6/+6
Michael (This used to be commit bb19634138cfd1f527c44e16a44aa21ebee50c1c)
2008-08-15libgpo: use MODULESDIR instead of LIBDIR for the group policy extensions.Michael Adam1-1/+1
Michael (This used to be commit 3346dd40832e8d61edfe4c56dce6fe85031f20f1)
2008-08-15Use module_path() instead of lib_path() for loading shared modules.Michael Adam1-1/+1
Michael (This used to be commit 22fb3ef1bb4abb33b49d275f9a5d85a1924c22ea)
2008-08-15Add modules_path() to construct paths to files in MODULESDIR.Michael Adam2-0/+14
Michael (This used to be commit 5ef9da6f4f04b07804b389902862fae0fbbfed13)
2008-08-15buildoptions: output MODULESDIR.Michael Adam1-0/+1
Michael (This used to be commit bcb868e4340a856c4009450479628088a8a1628c)
2008-08-15dynconfig: add support for MODULESDIR.Michael Adam2-0/+5
Michael (This used to be commit 34309f097f5c7321930bf6c2ea2447de1008130c)
2008-08-15configure: Add --with-modulesdir to accompany --with-libdir.Michael Adam2-11/+33
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)
2008-08-15dynconfig: remove commented-out old stuff from dynconfig.c and dynconfig.hMichael Adam2-232/+0
Michael (This used to be commit 85a781fa0248fcd0cefcc4de25b3dea3e37d5844)
2008-08-15dynconfig: remove unused prototypes.Michael Adam1-4/+5
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)
2008-08-15proto.h: remove prototypes from dynconfig.cMichael Adam1-25/+0
These are also in dynconfig.h and were originally added by "make proto" by accident. Michael (This used to be commit 4fb69fe1eeebc466944f3daacfacec60ad043b0c)
2008-08-15Makefile: print codepagedir in "make showlayout".Michael Adam1-0/+1
Michael (This used to be commit a823733b91958adf938214113e6875315c6ae5b2)
2008-08-15build: fix a typo in the installlibtalloc rule.Michael Adam1-1/+1
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)
2008-08-14Fix show-stopper for 3.2. Smbd depends on group SIDJeremy Allison1-0/+34
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)
2008-08-14Make it clear that this is a temporary context byusing a talloc stackframe ↵Jeremy Allison1-22/+16
instead. Jeremy (This used to be commit 7f7dd5e8883e23d7fe3f9cb804905c5b23a5a41c)
2008-08-14Fix bug #5692 - Core dump in full_audit.so.Jeremy Allison4-6/+5
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)
2008-08-14Revert "Add a gpfs_prefetch module"Michael Adam3-315/+1
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)
2008-08-14smbspool: Fix printing on port 139.Karolin Seeger1-1/+1
This one was introduced with 8eff35bc. Thanks to Noèl Köthe for tracking that down! Karolin (This used to be commit 250f5a40d6e80305220d7cdc6a8f8459d8d0de74)
2008-08-14netapi: add some remaining documentation fixes.Günther Deschner1-3/+3
Guenther (cherry picked from commit 4a4e90a3872d34791de43c3849c60e2f4e713d47) (This used to be commit c542307b7484df4adb9269f4bb99fa55d5dc48b8)
2008-08-14netapi: add doxygen documentation for NetUserModalsGet and NetUserModalsSet.Günther Deschner1-0/+30
Guenther (cherry picked from commit 93210f04c3b1e4fe977a395531ddc0387a65dab5) (This used to be commit ab1b214ba0bebfebf0685f9c05fdcf6eb141adb9)
2008-08-14netapi: add doxygen documentation for NetLocalGroup{Add,Del,Set,Get}Members.Günther Deschner1-0/+75
Guenther (cherry picked from commit eee28804b7efc3089ce3528f13de6c930cf00adb) (This used to be commit b725852502d45b568c80eb3c323861b89928983d)
2008-08-14netapi: make libnetapi_open_ipc_connection static.Günther Deschner8-196/+114
Guenther (cherry picked from commit 0259914f8ff04514a8395d8e1af61aadd50c5efb) (This used to be commit 7edc671cc1007ae216e7efdbcdb9cfa1e547dca5)
2008-08-14netapi: make non-implemented local calls default to remote "localhost" calls.Günther Deschner6-38/+35
Guenther (cherry picked from commit aa70e588803e3767796dc958b139f4ee464d8626) (This used to be commit 9927ac6eec9fe1fecfedb97b61c4f93379fc8722)
2008-08-14netapi: add NetLocalGroupGetMembers example code.Günther Deschner2-0/+171
Guenther (cherry picked from commit bded298e022028d6237e25e1c785509bc983be9d) (This used to be commit 93b0907aa43e55d2d4093567212b0c9731917351)
2008-08-14netapi: let libnetapi_samr_lookup_and_open_alias return NTSTATUS.Günther Deschner1-85/+77
Guenther (cherry picked from commit dcf6d879a14a70ce5795eb8dcfbfe2fc5a8ad859) (This used to be commit 8ac6a2739be870f286d19dc6bf8f0054a559b43b)
2008-08-14Put prototypes of modules/vfs_irixacl.c to new modules/vfs_irixacl.h.Michael Adam2-0/+49
Thereby (hopefully) fixing the potential build problems with IRIX acls. Michael (This used to be commit 61c201d416bbc37950b980e8598b7ef1292336bc)
2008-08-14Put prototypes of modules/vfs_hpuxacl.c to new modules/vfs_hpuxacl.h.Michael Adam2-0/+62
Thereby (hopefully) fixing the potential build problems with HPUX acls. Michael (This used to be commit 4f2a1de990dc9063a1db877c06a5c1d68924edcf)
2008-08-14Put prototypes of modules/vfs_solarisacl.c to new modules/vfs_solarisacl.h.Michael Adam2-0/+49
Thereby (hopefully) fixing the potential build problems with solaris acls. Michael (This used to be commit 8413c05afcde65006fa7c8743f30b53cc33c1729)
2008-08-14Put prototypes of modules/vfs_tru64acl.c to new modules/vfs_tru64acl.h.Michael Adam2-0/+49
Thereby (hopefully) fixing the build with tru64 acls. Michael (This used to be commit 1ab64b69850489a2648a2543da6d0e1157df68bc)
2008-08-14Put prototypes of modules/vfs_posixacl.c into new modules/vfs_posixacl.h.Michael Adam3-18/+50
Michael (This used to be commit 876f6793434174051084b17f3b02bd1bbb24ec44)
2008-08-14Fix coverity CID: 594. Resource leak on error path.Jeremy Allison1-2/+4
Jeremy. (This used to be commit 1f38b9963c4ec0d73da496a72ba4ee74d8d581c9)
2008-08-14Fix for bug #5688 from SATOH Fumiyasu <fumiyas@osstech.co.jp>. LPQ process ↵Jeremy Allison1-1/+2
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)
2008-08-14Fix for bug #5617, reported and patched by Bartosz Antosik antosik@gmail.com.Jeremy Allison1-0/+2
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)
2008-08-14Prevent NT_STATUS 0xF1000000 errors from appearing whenJim McDonough1-0/+6
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)
2008-08-14Revert "Add winbind:online check timeout parameter"Volker Lendecke1-16/+0
This reverts commit 9920473cc165e75ee9aa5cbb9e568eb5fb67e9e6. (This used to be commit 34a32db9060e7b60455774f923f61b7367ee3fcf)
2008-08-13Revert "If it is a forced DOS error, nt_errstr should say so"Volker Lendecke1-5/+0
This reverts commit ef5489ac805237274d6088aaa7ae870cc0deb52f. (This used to be commit e987e9956f02557c7ec87a369b92f87083fda620)
2008-08-13If it is a forced DOS error, nt_errstr should say soVolker Lendecke1-0/+5
(This used to be commit ef5489ac805237274d6088aaa7ae870cc0deb52f)
2008-08-13WHATSNEW: Start WHATSNEW for 3.4.0pre1.Karolin Seeger1-5/+5
Karolin (This used to be commit e25fadd35900bda1ab411ac5abcf664b5eeb531f)
2008-08-13VERSION: Raise version number.Karolin Seeger1-3/+3
Karolin (This used to be commit 1ed4b2151e60050455e0b3564afe01b0c030b71e)
2008-08-13netapi: add c++ guard.Günther Deschner1-1/+8
Guenther (This used to be commit c9e38fef647520e4038f04bd163678bf4b30853d)
2008-08-13packaging(RHEL-CTDB): check for success of x86_64 build before building i386Michael Adam1-2/+2
Michael (This used to be commit 3102582f0232359069577174b2faea37e5489014)
2008-08-13packaging(RHEL-CTDB): fix installation of libsmbsharemodes for the 3.3.0 build.Michael Adam1-3/+3
Michael (This used to be commit 061a46a35d019e2cd4100a8d63ce9c25753e4c38)