summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Use procid_str in debug messages for better cluster-debuggabilityVolker Lendecke2009-04-152-13/+15
| | | | (cherry picked from commit d5bec253f7494dd74cce3acf59ddd417900e5ad3)
* s3-nsswitch: Fix Bug #6238. Make sure wbcLogoffUserParams are properlyGünther Deschner2009-04-151-2/+2
| | | | | | | | | | initialized before freed. Fix inspired by patch from Rashid N. Achilov <citycat4@ngs.ru>. Guenther (cherry picked from commit 09265bcff5a2fac42f5abf34b8b439aa0a6998a1) (cherry picked from commit 24ff9b8dba8e4e0918b0aabf5cb8bacecfbc39d7)
* s3-lsa: use LSA_ROLE definitions in _lsa_QueryInfoPolicy().Günther Deschner2009-04-151-2/+2
| | | | | | Guenther (cherry picked from commit 31ab1d6a6487fb442ccd5b2cd093b4a2b7b80291) (cherry picked from commit 2d53463aaf679de8ca03ae71db0e9582241cc1c7)
* s3-lsa: don't SAFE_FREE talloced structs.Günther Deschner2009-04-151-2/+2
| | | | | | Guenther (cherry picked from commit 168eb23252c14234d09f7038b9894edf86e0efe1) (cherry picked from commit 6e7ad585196885900d465493398aea7f7665c94c)
* s3-spoolss: implement _spoolss_GetPrinterDriver2 level 101 (Bug #5140).Günther Deschner2009-04-151-5/+238
| | | | | | Guenther (cherry picked from commit 37aff885a62cdc5c3298e6f44165f9d9a22729c5) (cherry picked from commit 02b7eeef61e0144ef6756adffbb2f4f259c06258)
* Allow pdbedit to change a user rid/sid. Based on a fix from Alexander ↵Jeremy Allison2009-04-151-3/+57
| | | | | | | Zagrebin <alexz@visp.ru>. Jeremy. (cherry picked from commit 6f7147225ab599a4085ef8eb7af6900d6b681a4e)
* s3 onefs: Quiet a log message about oplocks being requested on streamsTim Prouty2009-04-151-21/+16
| | | | | (cherry picked from commit 87fe4d732d18d18ed56c99cba6a395a0bf9e9d95) (cherry picked from commit 9258adeac95e7fca025a72ce39e2d70fa5a665cd)
* s3:net conf: don't store share names as lower case, but as given.Michael Adam2009-04-151-11/+11
| | | | | | Michael (cherry picked from commit 36c1a52a57bc96c7586ca1bffbe8ef47c93bca1b) (cherry picked from commit dd495878d764c3836784adcd739f78ca03d27d58)
* s3-auth: rename static smb_create_user(). Sorry...Günther Deschner2009-04-151-2/+2
| | | | | | Guenther (cherry picked from commit 01a942d8ab5b5e430eb928dd58626fe16b9b04fe) (cherry picked from commit e67f9c77ce812b40a8e003d861bff64c6c6442fd)
* s3-libnet-samsync: return appropriate error code in fetch_sam_entry().Günther Deschner2009-04-151-22/+25
| | | | | | Guenther (cherry picked from commit 5cdf75e679a45dcc3dad56e54f5c9f7d7ea23200) (cherry picked from commit 7cf7c00663a41de202d695fb1f8dab7c3906e165)
* s3-libnet-samsync: use smb_create_user().Günther Deschner2009-04-151-46/+6
| | | | | | Guenther (cherry picked from commit e18f57fd36102212a3662823c58408da01d067ed) (cherry picked from commit 2a0f4fd1b4fa58f5cf89595e93053abc6101817d)
* s3-passdb: add smb_create_user().Günther Deschner2009-04-152-0/+63
| | | | | | Guenther (cherry picked from commit d0e1ff4aff24ef2f3b3f535ad25ad0573382e1a3) (cherry picked from commit 44d72cfa74c103c41beea2f5651155506667811b)
* s3-libnet-samsync: some pure cosmetics.Günther Deschner2009-04-151-0/+30
| | | | | | Guenther (cherry picked from commit e4802bfcad0402fce1e942e22d5533b3c14ada80) (cherry picked from commit 32c7e6c9e5a2a02b6972293c9d5233f4797899c8)
* s3-libnet-samsync: use parent talloc context for libnet_samsync_passdb.Günther Deschner2009-04-151-26/+28
| | | | | | Guenther (cherry picked from commit af78240cbe68282190980cd6c367a8fc2a4438a6) (cherry picked from commit c9bee2d4f982f677ced90ba18dc6326560139ed0)
* s3-libnet: only call libnet_dssync_process() startup and shutdown callbacks ↵Günther Deschner2009-04-151-12/+16
| | | | | | | | when filled in. Guenther (cherry picked from commit 264b28ec0962c355ee90f9ac67fcf07cd84c5c7b) (cherry picked from commit 7c553eb319de84a3510d348d3f927d11253aaacf)
* s3:build: add targets to show how libraries will be built / linkedMichael Adam2009-04-151-0/+120
| | | | | | | | showlibtalloc, showlibtdb, ... and one overall showlibs target. Michael (cherry picked from commit 1e92ddd40523f053513f9d12611e5a70c8a425f0) (cherry picked from commit aeedc9e0ce1843aee9c3f4fa83f5132557de3049)
* s3:build: don't build the static libs unconditionallyMichael Adam2009-04-151-7/+7
| | | | | | Michael (cherry picked from commit 99b486a056222d69a4865d4ee828163902de8eba) (cherry picked from commit d68e62f1a83e71a7dec6ce9b10b8963bc3c514b5)
* s3:build: add LIBSMBCLIENT_LIBS and LIBSMBSHAREMODES_LIBS to MakefileMichael Adam2009-04-151-0/+2
| | | | | | | | for completeness Michael (cherry picked from commit b79157f602163c671a413202424652e35c973b12) (cherry picked from commit 917d1d78980a6490f92e41f356ee5fa3a3bcdfcf)
* s3:build: no need to set LIBFOO_STATIC to the object collection any moreMichael Adam2009-04-151-1/+1
| | | | | | | | | now that the @LIBFOO_STATIC@ entries have vanished from the object lists. Just use the static library. Michael (cherry picked from commit 15ef346f9f7c69a2012a9b41a56a6ae9ffdd7cf6) (cherry picked from commit d2cbec7838e73da60a43219b8192fac3cdfbb2af)
* s3:build: rename WINBIND_LIBS -> LIBWBCLIENT_LIBS for unificationMichael Adam2009-04-152-31/+31
| | | | | | Michael (cherry picked from commit 993c87495b80caff8ce288a29cd1ce8935224ca2) (cherry picked from commit 2c158434576bc3921f6de737cf3332c1baf1f4da)
* s3:build: unify linking of libwbclient with a @LIBWBCLIENT_TARGET@Michael Adam2009-04-152-53/+55
| | | | | | | | | just like for the libs configured with SMB_LIBRARY(). This makes @LIBWBCLIENT_STATIC@ vanish from the object collections. Michael (cherry picked from commit baf39de623d39dba6fe0bfed899f9b232f9c1266) (cherry picked from commit f2bdfbfe7d43ec993806f4783ff089c0972e20dc)
* s3:build: first cut at fixing linking of shared/static libs internallyMichael Adam2009-04-152-79/+85
| | | | | | | | | | | | This is based on a patch from the debian packages by Steve Langasek <vorlon@debian.org>. It removes the static libs from the object collections. For those libs that are set up with SMB_LIBRARY(). Michael (cherry picked from commit f9eb77477b82740814e6143837d8a70f8090b9a5) (cherry picked from commit 874b6dc483f681842d076f597979feeb4b288bb4)
* s3:build: add a SHOWCFLAGS target for debugging how CFLAGS are assebledMichael Adam2009-04-151-0/+15
| | | | | | Michael (cherry picked from commit 9aab2631c6294ebc3e4a7ab2367e22e3d552d41b) (cherry picked from commit d2a09b6b1c1aa4a3a42a8a305ca6f824465d2d53)
* s3:build: line-wrap assignment of FLAGS for readabilityMichael Adam2009-04-151-1/+10
| | | | | | Michael (cherry picked from commit b2e8bc28a5f589b86269907ff384a9e4c1f3aaca) (cherry picked from commit 38a7ba0d7fd17f76037117b0808c73e03f7fe02b)
* remove needless rpath stuff for default paths as early as possibleBjörn Jacke2009-04-151-1/+3
| | | | | | Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit c7dba467f268d0007c58e7de4985dc5386a44c6f) (cherry picked from commit 6a59971f5286e588c87f6d2635e7d36a2ec3aa26)
* clean up lib64 linking paths the same way as libBjörn Jacke2009-04-152-4/+16
| | | | | | Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 066cbb5835feae90e2ce4172e3c58bf50a2b004b) (cherry picked from commit 4cb1d0eef7155f9beaabd92d5e93d3b7974bc372)
* to be portable, use options first, arguments lastBjörn Jacke2009-04-151-1/+1
| | | | | | Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit da06a345cc290ca29234bc231fc9174d2780cf4f) (cherry picked from commit dcff24b20290bd07f962d21b5a9b8bc7172b68d0)
* libreplace: use libreplace_SAVE_CPPFLAGS instead of SAVE_CPPFLAGSMichael Adam2009-04-151-2/+2
| | | | | | | | | | | This fixes Samba3's double listing of -I options in CFLAGS, since samba3's configure wraps the call to AC_LIBREPLACE_NETWORK_CHECKS into a SAVE_CPPFLAGS="${CPPFLAGS}" .. CPPFLAGS="${SAVE_CPPFLAGS}" sequence... :-) Michael (cherry picked from commit 33d9f46674a270a0715213c17581deef192826e1) (cherry picked from commit cf43aadee5cd70597d5dc6750bff4486ed768204)
* Properly strip /usr/lib and /usr/include for the merged build.Jelmer Vernooij2009-04-151-0/+8
| | | | | (cherry picked from commit a3d2b77ddd9808b35300446cebca1b403ca56f78) (cherry picked from commit d9403162871e5d9fa8e1823139fda1a039d842c2)
* s3:build: prevent from setting "-O -g", check for $debug first.Michael Adam2009-04-151-3/+3
| | | | | | | | | | This makes configure actually behave as the comments describe. The reversal of order was introduced by mistake in 90ea8ae9b1ed3b7ed1c93076517e026e629ea1aa Michael (cherry picked from commit a4cc3e253852794f477ef5d836537b50111d0e42) (cherry picked from commit 8c98c32b9184b7d67a7fef2526fe73a5afb8a34c)
* don't set -O twiceBjörn Jacke2009-04-151-2/+0
| | | | | | Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 2dc8ce59b28d3a028551ac5087f31cf83d04e064) (cherry picked from commit 34074d6baa9f667a67aae56e2294b8dabff2b07d)
* Print an error if trying a merged build without a system kerberos libVolker Lendecke2009-04-151-0/+9
| | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit ffdc2a3fe8437582ded1c4a3b09a54201519889b) (cherry picked from commit e45edef8261f6c77de181cb896aa36987e5a36b4)
* s3: fix the fix for bug #6195 - dont let smbd child processes panicMichael Adam2009-04-151-2/+16
| | | | | | | | | | | | This patch makes sure the original and temporary TDBs are closed _before_ the rename. Originally, the open TDB was renamed, and so the name passdb.tdb.tmp stayed around in the db context. Hence upon client connect, the smbd children died because reinit_after_fork() calling tdb_reopen_all() would try to reopen passdb.tdb.tmp which existed no longer... Michael (cherry picked from commit a7bbe8d10835d813a8d528e6e70f5d944ac0f804)
* Tidy up some convert_string_internal error cases, found by Andrew Bartlett.Jeremy Allison2009-04-151-6/+19
| | | | | Jeremy. (cherry picked from commit ee729830b872f1cb760ad91b808bf200bc34773d)
* s3 onefs: Add missing newlines to debug statements in the onefs moduleTim Prouty2009-04-154-15/+16
| | | | | (cherry picked from commit 74246650613cca9ec57c9a0eff75c53a5c15b110) (cherry picked from commit 23876eba5f22b5953339b23bf25262d53acce994)
* s3 onefs: Async failures are resulting in SMB_ASSERT->smb_panic while ↵Zack Kirsch2009-04-151-2/+2
| | | | | | | | | running many of the LOCK torture tests. Return true from the onefs cancel function if we've errored, which can happen when the CBRL domain is configured to only give out 1 lock. :) (cherry picked from commit bfc7bb49ff0b842a1a372cee7d2affb49c2a0e54) (cherry picked from commit 1197d4538c716fc0fbf3625f6b8b1a2b566cffaa)
* Add missing newlines to debug statementsSteven Danneman2009-04-151-2/+2
| | | | | (cherry picked from commit 365b5cfcbeb041ce84718717f30ac02183c9af7f) (cherry picked from commit 2ab9a15f4ae08155474222a857afd70bfdfc4a44)
* s3:build: fix build of pam_winbind.so with static linkingMichael Adam2009-04-151-1/+1
| | | | | | | Static talloc libs were missing since conversion to talloc. Michael (cherry picked from commit 848919e86ee8040aa81b8be2559283ada22cc723)
* s3/ldbtools: don't neddlessly link against wbinbind libsBjörn Jacke2009-04-151-6/+6
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 9f68847576c4c5e77f042e97810be4f53574baba)
* s3/cifs: don't link cifs mount helpers agains poptBjörn Jacke2009-04-151-6/+6
| | | | | | | the mount helpers don't use any popt symbols Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 682ce450c072ad4fd8c23b9f8990f1294254f2aa)
* s3/pam_smbpass: don't link agains KRB5LIBSBjörn Jacke2009-04-151-1/+1
| | | | | | | pam_smbpass doesn't use the krb5 stuff Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 863c61de4c0a29a0cdad59fa3bebf17963ef6db2)
* s3:build: make SHOWFLAGS target phony and add alias showflagsMichael Adam2009-04-151-0/+4
| | | | | | | Michael Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 3c7f26b5e1e7f2bfd08de27e6e7772b614ef9121)
* remove non standard way to point to ctdb pathBjörn Jacke2009-04-151-2/+1
| | | | | | | | | we can provide the path to ctdb via the --with-ctdb=... configure flag like we do it with other packageѕ, too. There is no need for another redundnant Makefile hack to point the ctdb header location Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 12aba91bacc9c064fa57325d1b1f50afb2eddfaa)
* Ensure files starting with multiple dots are hiddenJeremy Allison2009-04-151-4/+8
| | | | | | | if "hide dot files" is set. Thanks to Barry Kelly <bkelly.ie@gmail.com> for pointing this one out. Jeremy. (cherry picked from commit 286d6a404cca02a0d3662f6aa2ddd69d3dcbc17a)
* Fix a debug msg typoVolker Lendecke2009-04-151-1/+1
| | | | (cherry picked from commit 2d12e14ad277d28b7b8181525b16992f4cad1370)
* Fix the problem of 3.0.x passdb databases being versionJeremy Allison2009-04-151-5/+43
| | | | | | | | 3 but using a different hash calculation than 3.2.x passwd databases (also version 3). Introduces a minor version number. Jeremy. (cherry picked from commit 7d3b85999c6d2521ef2f9a5aace52c9a19bf2f42)
* s3: ifdef sendfile code that's only used in other ifdef'ed sendfile codeBjörn Jacke2009-04-151-0/+2
| | | | | This fixes a "defined but not used" compile warning. (cherry picked from commit 1aa65f485b60a80766581e7d3f31565f340aa528)
* Ensure parameter types match format stringDerrell Lipman2009-04-154-18/+38
| | | | (cherry picked from commit 63d9694d7a0198375fba3a713d6e5d3bbed7a458)
* [Bug 6228] SMBC_open_ctx failure due to path resolve failure doesn't set errnoDerrell Lipman2009-04-153-1/+15
| | | | | | | | | | | | | Fixed. It turns out there were a number of places where cli_resolve_path() was called and the error path upon that function failing did not set errno. There were a couple of places the failure handling code did set errno to ENOENT, so I made them all consistent, although I think better errno choices for this condition exist, e.g. EHOSTUNREACH. Derrell (cherry picked from commit ebc4c0b50db16cdb11222c3d536a211bb86bcdfd)
* Fix external np read after conversion to tevent_reqVolker Lendecke2009-04-151-1/+1
| | | | (cherry picked from commit 0d7a37be40d7748cb8d685af5412624678b27208)