summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* 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)
* 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)
* [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)
* Fix bug #6195 - Migrating from 3.0.x to 3.3.x can fail to update passdb.tdb ↵Jeremy Allison2009-04-153-1/+31
| | | | | | | | | | | correctly. For the clustering case. Clustered setups should have only ever used the unsigned version of TDB_DATA in the first place so they can't be in this mess :-). Just do the normal upgrade in the clustered case. Jeremy. (cherry picked from commit ede0f69a97abd4f1cb7870b2da65d9198d20c7ad)
* Fix the build of nfsv4_acls.cVolker Lendecke2009-04-151-1/+1
| | | | | | .. after adding smb_iconv_convenience to ndr_size_security_descriptor() (cherry picked from commit 9e70a960b78b8c2ca7c308a4ff9af9011804585c) (cherry picked from commit d3289c3e7df5951c1634642f026fc7873579b235)
* Try and fix the build farm RAW-STREAMS errors. Ordering ofJeremy Allison2009-04-151-2/+2
| | | | | | | | modules shouldn't matter, so as vfs_streams_depot doesn't implement get/setxattrs then call into the full VFS stack at the top. Jeremy (cherry picked from commit 5e77abe108bab07c04f5c7186b63a4c0fef59721)
* Fix bug #6224 - nmbd waits 5 minutes at startup before checking if it needs ↵Jeremy Allison2009-04-151-3/+0
| | | | | | | | | | to run elections Fix logic bug that causes nmbd to wait 5 minutes before looking for a master browser. This one is *old* :-). Thanks for Simo for bugging me on this. Jeremy. (cherry picked from commit 21c76accc3cde979844eb622d7a9bafe1d02d9be)
* s3:smbd: if we allow trans2 on the IPC$ share, then we have to allow transs2 ↵Stefan Metzmacher2009-04-151-1/+1
| | | | | | | | | | too. Otherwise we'll confuse the client signing engine, when we reply an error to each transs2. metze (cherry picked from commit 7716ad68a8d859ac3651c4eb559b6e45d98566db) (cherry picked from commit 1d11417c71ebcb80851c8b77e9f3102ee9b592f8)
* Fix a talloc/malloc screwup in file_lines_ploadVolker Lendecke2009-04-151-1/+1
| | | | | | | Another bug due to careless merge to /lib :-((( Volker (cherry picked from commit c253e80ad21a24395a973b23993dd211b8e0d482)
* Fix a scary "fill_share_mode_lock failed" messageVolker Lendecke2009-04-151-1/+2
| | | | | | | | To me "fill_share_mode_lock failed" is a "can't happen" alert. There is however a perfectly valid case in get_file_infos() when the file is not open. Change the corresponding debug message to level 10 and explain more. (cherry picked from commit 66ea221009d9d72868a989c33d48177accc9d924)
* s3-libnetapi: fix creds in libnetapi_open_ipc_connection().Günther Deschner2009-04-151-0/+5
| | | | | | | | | Jeremy, this broke with 8dd1faaa2992851f6852ba7ea4498445af5faadd. Not sure if other users broke as well with that change. Guenther (cherry picked from commit 56d74b62126083dd7e2a60d1b48b03e1b1798c90) (cherry picked from commit 97c30f557aab49f199df07f2a48ba94ad9cc81c5)
* s3:rpc_parse: remove unused init_unistr().Günther Deschner2009-04-153-25/+4
| | | | | | Guenther (cherry picked from commit fe340eb92fd2e5dfef977dc391d2a43ce970e0ea) (cherry picked from commit 0e845cd6009c8a01eb3d53f558e9872ec4a3ab9f)
* s3-net: Fix Bug #6102. NetQueryDisplayInformation could return wrong ↵Günther Deschner2009-04-151-6/+12
| | | | | | | | information. Guenther (cherry picked from commit 24d5229a81e1067662930d42f8c59b3a0adac1e0) (cherry picked from commit 1de41bb8d6b9cbf287bad4152e38402201f966d3)
* Avahi disables a timer by tv=NULL in avahi_timeout_update(), do not crashVolker Lendecke2009-04-151-0/+7
| | | | (cherry picked from commit 45726ee52f766350023d85bc38cd803fdd8235a4)
* Ensure we never enter VFS_CREATE without having initializedJeremy Allison2009-04-153-0/+12
| | | | | | | | sbuf as invalid (if not already read via stat()). Still trying to find the build farm RAW-STREAM errors and it's happening in a openX call.... Jeremy. (cherry picked from commit 940c84fcc75085ee4f1180d4d2a8e718142e4eb6)
* s3-rpc_parse: remove unused smb_io_domsid().Günther Deschner2009-04-152-39/+0
| | | | | | Guenther (cherry picked from commit c86df62b4a51b2813104aece8b3813b1806aeb22) (cherry picked from commit 62923f9be593d8c7cdcb79c56b9f2c0c36e5dbdd)
* s3: remove unused rpc_parse/parse_sec.c file.Günther Deschner2009-04-153-442/+1
| | | | | | Guenther (cherry picked from commit 72636db8e5f06e887db6c34b6f88bef567c093dd) (cherry picked from commit 8ab087da9038f7b80b4488727be49092a7e562cf)
* s3-registry: remove last sec_io_desc() caller.Günther Deschner2009-04-151-2/+24
| | | | | | | | This is a temporary solution while waiting for the regf merge from s4. Guenther (cherry picked from commit 8000479d181347bd6f248309168721fe3a20ad2a) (cherry picked from commit a0aea317fad27085377da9c3832f88a178579c3c)
* s3-libnet: Fix Bug #6193: avoid messing with sync_context in ↵Günther Deschner2009-04-151-3/+0
| | | | | | | | | | | | libnet_samsync_delta(). We absolutely need to avoid messing with the sync_context as that breaks the stream of replication data coming from the DC (only replicates ~350 instead of ~4000 groups). Guenther (cherry picked from commit e3f7057b0942793543c215ab45176c4280bd7d51) (cherry picked from commit 16cba3ec22ca424db0f98185e179c718794bc563)
* s3-spoolss: implement enumprinters_level0.Günther Deschner2009-04-151-0/+24
| | | | | | Guenther (cherry picked from commit 283e135298767f128c413e0e6df75d21ec8e8e6b) (cherry picked from commit 54d48c3749981621dd5286ae5c8227f28f5fdc35)
* s3 onefs: Change error status to NT_ACCESS_DENIED for errors in ↵David Kwan2009-04-151-5/+5
| | | | | | | SET_SECURITY_DESC (cherry picked from commit ad98eae02e623a8ca8aa6a1c46d5aedea50e2e4b) (cherry picked from commit 7d5996e1d5eca454f651ca49a357d28077446309)
* s3: parse_packet can return NULL which is then dereferenced in ↵Tim Prouty2009-04-151-0/+2
| | | | | | | match_mailslot_name (cherry picked from commit db5677d071fc58f38cab4ab800111455a8637edb) (cherry picked from commit 0f01296bbb08d75ce693a65ea6cb0df80c1b4927)
* Fix two memleaks in the encryption codeVolker Lendecke2009-04-151-1/+2
| | | | | | | | | | | ntlmssp_seal_packet creates its own signature data blob, which we then have to free. Jeremy, please check and merge appropriately (Yes, I'm asking you to do the janitor work, I want you to *look* at this :-)) Volker (cherry picked from commit 17616dddfaa26688387f671c870873056896f6b7)
* Fix bug 6097Volker Lendecke2009-04-152-1/+5
| | | | | | | | A client sent a SID with authority 0 and 0 sub-authorities. W2k3 replies with NT_STATUS_INVALID_SID, even if other SIDs in the list are valid. Thanks to Pavel <wylda@volny.cz> for the bug report! (cherry picked from commit e4f3d75432dbe372e164962a993b6e882fe44e83)
* s3: add missing prototype for auth_wbc_init().Günther Deschner2009-04-151-0/+4
| | | | | | Guenther (cherry picked from commit c388efdbcb9ef1ecd5a81f7731ce56c7f79b2579) (cherry picked from commit 87cf381dc3bd020dc043419f4ca18a3ff118458d)
* s3:dsgetdcname: use parentheses in if condition to make negation clearBjörn Jacke2009-04-151-1/+1
| | | | | | Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 87b428e424e2e3cca975ecd0efed327e72950a1d) (cherry picked from commit a2e138419138a2f675f6370426a6caeda0a314b4)
* Use avahi to register _smb._tcp in smbdVolker Lendecke2009-04-154-1/+187
| | | | (cherry picked from commit 55b7bf7338c13701944169df02ab8e9def6d43a1)
* Add tevent avahi bindingVolker Lendecke2009-04-154-4/+279
| | | | (cherry picked from commit 49fc1138b5e4dcf66b84a14ba47cc1da40c764f2)
* Add avahi detection to configureVolker Lendecke2009-04-152-0/+37
| | | | (cherry picked from commit b943e0083f6b0daa226f395158fcf7f467cdacd0)
* Disable dns_sd by defaultVolker Lendecke2009-04-151-2/+2
| | | | (cherry picked from commit 8cf21c9c7121049329f4d3e86d3021cdd2dec86a)
* ѕ3/winbind_pam: fix gcc 4.4 compile warningBjörn Jacke2009-04-151-1/+1
| | | | | (cherry picked from commit f4aec7b5907065a2f48d1b19065c6673aff6a190) (cherry picked from commit 11b3f0d8deb629489de4de29cedf518adc86d196)