summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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)
* error-codes: add WERR_DS_DRA_SOURCE_DISABLED.Günther Deschner2009-04-152-0/+2
| | | | | | Guenther (cherry picked from commit 5603c0f2ba9d5b90e5f8b71e779ec037053f04f8) (cherry picked from commit a7c80bb70e0153568bc26c0dac044458d47dae0a)
* 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)
* Fix connect to port 139 only -- thanks gd for bugging me :-)Volker Lendecke2009-04-151-4/+3
| | | | | (cherry picked from commit 298bff5019be5a40dc0023b5af1e980fba91abd9) (cherry picked from commit c96d0ffd944f536a1228812c761ba4fb4313ee05)
* talloc_array_length: talloc_get_size deals fine with NULLVolker Lendecke2009-04-151-1/+1
| | | | (cherry picked from commit 89cb10430c30c9e59a5305210b7f09346b360c42)
* Only build the dirsort module if we have the dirfd functionVolker Lendecke2009-04-151-2/+2
| | | | | Fix the build on HP/UX (cherry picked from commit 4a4c69d26526294aa6e9b98d34d8495fc3fc65e8)
* Document the dirsort moduleVolker Lendecke2009-04-151-0/+69
| | | | (cherry picked from commit 211a04568aa97d8c327a02eb28c80b952446d5df)
* Use StrCaseCmp in the dirsort moduleVolker Lendecke2009-04-151-1/+1
| | | | (cherry picked from commit fcd02076d7562d2bc222dd15d2cd0a8fff58d5cf)
* Add dirsort moduleAndy Kelk2009-04-153-1/+201
| | | | (cherry picked from commit 2364bc8dcd46ca66e06e1dd8d4ed224611d65330)
* s3-spoolss: _spoolss_EnumPrinters level 3 always returns WERR_UNKNOWN_LEVEL.Günther Deschner2009-04-151-3/+0
| | | | | | Guenther (cherry picked from commit 19de802c171f70ec4de102452afac52e2c0e548f) (cherry picked from commit 8630f2cbdfaaf8260615f16ba360b1281b666df5)
* s3-spoolss: implement enumprinters_level4.Günther Deschner2009-04-151-1/+24
| | | | | | Guenther (cherry picked from commit d2de9b068c19a8eaac64f9cf4ea4aae153cffcd4) (cherry picked from commit 53965d391c08cc3b935f5bd86d2d95bb6fe89262)
* s3-spoolss: implement enumprinters_level5.Günther Deschner2009-04-151-2/+8
| | | | | | Guenther (cherry picked from commit aa6dbcfc11b74c1e80728bc295d9612ba4eb1e64) (cherry picked from commit 48df86ca7f6d59b530597621862a619813a0568f)
* s3-spoolss: use enum_all_printers_info_level for level 1 and 2.Günther Deschner2009-04-151-110/+8
| | | | | | Guenther (cherry picked from commit 6713244d465b0cf69f1bba15744e05795ec2fda9) (cherry picked from commit ebf6d6d956a60c4f95baa4e148573bde933bdb2d)
* s3-spoolss: add enum_all_printers_info_level().Günther Deschner2009-04-151-0/+77
| | | | | | Guenther (cherry picked from commit 95f2913c7de2ac69421911ec2cb0fcbb8c4e8e93) (cherry picked from commit ce1b736da021858273a1daff0246e0740bc67620)
* s3-spoolss: apply some const in spoolss server.Günther Deschner2009-04-153-42/+45
| | | | | | Guenther (cherry picked from commit 5a388115a944a425a774d7ec98260b7595998ee1) (cherry picked from commit e0cdb435d38c643d5a75aa16e793c6f09a349978)
* s3-rpcclient: allow to set flags in enumprinters command.Günther Deschner2009-04-151-4/+9
| | | | | | Guenther (cherry picked from commit c9a388348a2d4b276448b6a7bfc8c575b99f8eb7) (cherry picked from commit f9eb007d64e155d561cd257d3d6e09b267299a0b)
* s3-netapi: Fix Coverity #774 (REVERSE_INULL).Günther Deschner2009-04-151-6/+3
| | | | | | Guenther (cherry picked from commit 3a6133d70202ef80ead4203740c000be5e93b288) (cherry picked from commit 0ec1350d3d9272a6070950ba1d460523f53a628d)
* s3-netapi: Fix Coverity #775 (REVERSE_INULL).Günther Deschner2009-04-151-6/+3
| | | | | | Guenther (cherry picked from commit f2243e8197aa064adea3da2a4d1c08250668943f) (cherry picked from commit 8a6f09cededf4167aea5f08e573bab51afcc0074)
* s3-netapi: Fix Coverity #776 (REVERSE_INULL).Günther Deschner2009-04-151-7/+3
| | | | | | Guenther (cherry picked from commit d2e348b191ada5492538b7bdae1bb7cd3f639aba) (cherry picked from commit e858d192e1d7d6ab45ec247fbb776f5825e7fca5)
* s3-krb5: Fix Coverity #762 (REVERSE_INULL).Günther Deschner2009-04-151-6/+6
| | | | | | Guenther (cherry picked from commit 97190ae184dff6450b1390c854f7426e2ee3f980) (cherry picked from commit 1a591aadb66d589171d236fc2f8bf2eb6d9ce499)
* s3-net: Fix Coverity #861 (UNINIT).Günther Deschner2009-04-151-1/+1
| | | | | | Guenther (cherry picked from commit 73030b107d5722a2c42cd18240d45bcb256335ac) (cherry picked from commit 81a6aee736f805d1bf8d7d2a1ff19851cd11d763)
* s3-net: Fix Coverity #898 (UNINIT).Günther Deschner2009-04-151-1/+1
| | | | | | Guenther (cherry picked from commit d2fb6d348248cdca7e55360c77aa31b91250f885) (cherry picked from commit 874caf9a1fb45f36ec8c506d29264735d1647dae)
* s3-spoolss: pure comsetics.Günther Deschner2009-04-154-190/+188
| | | | | | | | sorry, I just need to do that. Guenther (cherry picked from commit 045151b767c62ac1343e86cb3886107226e73fda) (cherry picked from commit 59811de7a80d5ecdf090c116087c7a03ae288887)
* s3-krb5: Fix Coverity #722 (RESOURCE_LEAK).Günther Deschner2009-04-151-12/+18
| | | | | | Guenther (cherry picked from commit 1524abd8bf12d82e1fb0063585fc9a465fc7bf9c) (cherry picked from commit 42a692da477d7986767ad90a15087aa8a2ebcb40)