summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:build: support non-linux gnu portsMichael Adam2009-05-261-4/+16
| | | | | | | | | This is based on a patch by the debian package maintainers, adapted for the merged branch. Michael (cherry picked from commit 5fba1e938c59492872d026c452cbbf8d2239c95f) (cherry picked from commit dd699425f80a1b1fa158b2386c2b10338b656298)
* s3:proto.h: remove old param/params.c prototypeMichael Adam2009-05-261-7/+0
| | | | | | Michael (cherry picked from commit a04bac71356139c62d786f6254d33bd247fb7692) (cherry picked from commit b0a46b6abd265e484e89912eb7b9e1feb1b917c2)
* s3:smbd: fix the fix for mapped IPv4 address handling in release_ip().Michael Adam2009-05-261-2/+2
| | | | | | | | It was too late... Thanks Metze for noticing. Michael (cherry picked from commit 7d6e4c7e950592112d09f7d98393c41e8097bba8) (cherry picked from commit af5adfbd402a8d4fe31b7de5d13aa82287e88e57)
* s3: make release_ip() call (ctdb) cope with IPv4 mapped addressesMichael Adam2009-05-261-1/+8
| | | | | | Michael (cherry picked from commit e86a534fa707b44baec87060745dd8a557622721) (cherry picked from commit acf13609039a0cd321fdfe7ce75e508036f91e5d)
* Fix the last few format arg missmatches I missed.Jeremy Allison2009-05-261-4/+4
| | | | | Jeremy. (cherry picked from commit d2ce16043ba7a0ee7368a611eacddc010d3935e0)
* Fix bug 6157Volker Lendecke2009-05-263-1/+60
| | | | | | This patch picks the alphabetically smallest one of the multi-value attribute "uid". This fixes a regression against 3.0 and also becomes deterministic. (cherry picked from commit b1d864d1006aab53a1692175adf2c64897eeffd9)
* s3-printing: Fix vlp testprinter application.Günther Deschner2009-05-263-38/+37
| | | | | | | | | | | | Jeremy, we cannot just access cache_path() here without calling lp_load and friends as well as parsing configfile from the commandline in order to make "make test/selftest" find the correct conffile with path, etc. I just changed it to pass the target tdbfilename as an argument, ok ? Guenther (cherry picked from commit 94665adb484c25534b756012e9b55f01737b7713) (cherry picked from commit 502d9ec5d1f37cd5d992324025b88756b6a475ec)
* Fix warning about unused label with no sendfile.Jeremy Allison2009-05-261-1/+2
| | | | | Jeremy. (cherry picked from commit 6c5450d9010b83e4acdd359279102ceda9bf0318)
* Fix a bunch of compiler warnings about wrong format types.Jeremy Allison2009-05-2619-76/+84
| | | | | | Should make Solaris 10 builds look cleaner. Jeremy. (cherry picked from commit b5947b876f3c777e075879d305b6672a6c8d8abd)
* Hopefully fix the buildfarm. Add some debug level 10 messagesJeremy Allison2009-05-262-5/+20
| | | | | | | | | I used to track down the vlp problem, change the vlp test printer not to use a static path of /tmp/vlp.tdb for the virtual print database (as this will eventually fill up). Cause it to use a virtual print database inside the cachepath. Jeremy. (cherry picked from commit dcf314874e90ec9debf1582fc3f6b07f2d4d30ca)
* Ensure documentation matches the tdb_util function usage.Jeremy Allison2009-05-261-2/+2
| | | | | Jeremy. (cherry picked from commit a63e966ce64d262ae9a032c73915a398a5c174f8)
* s3-samr: Fix rid2sid call, 3-4-test does not have policy_handle_find() yet.Günther Deschner2009-05-261-8/+4
| | | | | Guenther (cherry picked from commit 99ae1159fe885cf57ec5cd964febca2eca5def61)
* s3-samr: implement _samr_RidToSid().Günther Deschner2009-05-261-10/+30
| | | | | | Guenther (cherry picked from commit 0dc1b239eb48ac81797720a8ff23c810321ad5c3) (cherry picked from commit a26ac9ce2708e8d959500da418daefcb3ca94bd6)
* s3-samr: Let _samr_TestPrivateFunctionsDomain() return ↵Günther Deschner2009-05-261-1/+0
| | | | | | | | NT_STATUS_NOT_SUPPORTED to make RPC-SAMR happy. Guenther (cherry picked from commit 4beb4395eb032a290bf0d29e0d50e4d823e5f20c) (cherry picked from commit 93ba45468e1aaff625f1f8aad35ccaed598209ef)
* s4-smbtorture: skip SetMemberAttributesOfGroup in RPC-SAMR for s3 as well.Günther Deschner2009-05-261-1/+2
| | | | | | Guenther (cherry picked from commit 54d925a30469f9318717b8e6da7b433efd4efd70) (cherry picked from commit f70e7de8e1b015f790325c51cff9dc804c8b95ad)
* s4-smbtorture: Skip secdesc set calls for non-user objects in RPC-SAMR for ↵Günther Deschner2009-05-261-8/+18
| | | | | | | | | | Samba3. Note that they are skipped for all objects while testing Samba4. Guenther (cherry picked from commit 59cb8fd58d03953ea53eed70da35dd94fe10d9c4) (cherry picked from commit 9d89c70a7dfb065e0246f251e410dc96e493b03f)
* s4-smbtorture: Fix order of assert args in test_TestPrivateFunctionsDomain() ↵Günther Deschner2009-05-261-1/+1
| | | | | | | | in RPC-SAMR. Guenther (cherry picked from commit 1fb9b65921b617962dd72bf64c62fd95bfdcf326) (cherry picked from commit 4f6b20feda1940af05840ce4a46a133e628a5f06)
* s4-smbtorture: switch to use torture_context in RPC-SAMR.Günther Deschner2009-05-261-103/+131
| | | | | | Guenther (cherry picked from commit ff7ebdf317979f54fba257afb1dbfb589b33885f) (cherry picked from commit 847b21133669fb618398611bbf6ac855ee41ea2e)
* s4-smbtorture: remove trailing whitespace in RPC-SAMR.Günther Deschner2009-05-261-252/+252
| | | | | | Guenther (cherry picked from commit 0f88b3cc94edd716894ce86c0e7125298b5b6338) (cherry picked from commit 80541bd941ea52e9f97a30301c39736f53ea4a4f)
* s3-samr: Fix Bug #5859, renaming of samr objects failed due to samr ↵Günther Deschner2009-05-261-0/+3
| | | | | | | | | | setuserinfo access checks. Torture test to follow... Guenther (cherry picked from commit 6d1e21bd1b38e8a3c7df3f7fdb8a17fcdd997d42) (cherry picked from commit e89bc8dcfd15dd0deef587edf9aceb1073d78312)
* Add checks for non_root mode to help buildfarm spoolss tests.Jeremy Allison2009-05-261-14/+18
| | | | | | Reviewed by Guenther. Jeremy. (cherry picked from commit 11041fe1c24575c25d3ac82e61d9fb2b651db3aa)
* s3-lsa: Fix _lsa_LookupNames2() server implementation which always returned ↵Günther Deschner2009-05-261-0/+1
| | | | | | | | | | | | | a NULL sid_array since 3.2.0. Found by torture test. This makes it possible to search for users while adding them to groups via windows usermanager. Guenther (cherry picked from commit a82bb4bd516e6a8e50c0272b79df8e506ea0cc91) (cherry picked from commit 7d1e25a885637b65c75b4ddd78949c4a2091bb6d)
* s3/ldap: also handle DirX return codesBjörn Jacke2009-05-261-0/+2
| | | | (cherry picked from commit 5616abe2e8fb6a95fa82b80e8e97090e956b98ff)
* s3-selftest: enable RPC-LSA-LOOKUPNAMES against Samba 3.Günther Deschner2009-05-261-1/+1
| | | | | | Guenther (cherry picked from commit f5cab8913b77c37dc24188b9093b80a0b4d42749) (cherry picked from commit 69551b562a575c300d14bd1691fe5213db71d6bc)
* s4-smbtorture: add very basic RPC-LSA-LOOKUPNAMES test.Günther Deschner2009-05-262-0/+67
| | | | | | Guenther (cherry picked from commit 5f015920a80a22f5486e0679f017db3a5ff9d798) (cherry picked from commit ac5adbc294eb96db658151a9d278cae0e63ff3a1)
* s4-smbtorture: add optional very simple reply checks to lsa lookup name tests.Günther Deschner2009-05-261-7/+34
| | | | | | Guenther (cherry picked from commit 7347373e7cb814d683c603ed958583ff70552a2b) (cherry picked from commit 90aac31a2db75895a1b75b8c5e4a8259938ff74b)
* s4-smbtorture: remove trailing whitespace in RPC-LSA test.Günther Deschner2009-05-261-192/+192
| | | | | | Guenther (cherry picked from commit 7672a033eff9db1203c69de422fb906504a54f77) (cherry picked from commit 983d92188dcc5ac4bc31365cea195532e40d1144)
* s4-smbtorture: use struct torture_context in RPC-LSA.Günther Deschner2009-05-261-211/+207
| | | | | | Guenther (cherry picked from commit 410f17cdebab929c68cd6d68b6e1a29ffe64e8d4) (cherry picked from commit bada15c31123c0a7c2716620c19f3a073e7c0067)
* s3-docs: document "net dom renamecomputer".Günther Deschner2009-05-261-0/+33
| | | | | | Guenther (cherry picked from commit fe474861f87dc02081acf34d756329c66cc5c805) (cherry picked from commit 92117cd56692303b2018299cd43f229b0db59066)
* s3-net: add "net dom renamecomputer" to rename machines in a domain.Günther Deschner2009-05-262-3/+114
| | | | | | | | dmarkey, please test :) Guenther (cherry picked from commit b1a4649438e5f27722c8dae629037df2543871c7) (cherry picked from commit 0f3c2e2e0c47d1f774f4265fb60498483c27840d)
* Do not call SMB_VFS_GET_REAL_FILENAME if the name is mangledVolker Lendecke2009-05-261-6/+11
| | | | | | | | | | The GPFS get_real_file name does not know about mangled names. Tim, if onefs does not either, you need this bugfix :-) In case onefs does 8.3 names, we need to pass the mangled flag down to SMB_VFS_GET_REAL_FILENAME to give GPFS a chance say ENOTSUPP and do the fallback. (cherry picked from commit 97c668276d24743065f16dccaf29704b6f3857f4)
* s3: Fix chained sesssetupAndX/tconn messagesTim Prouty2009-05-261-0/+7
| | | | | | | | | A sesssetupAndX chained with a tconn will not correctly set the TID in the response header. I'm seeing an XP client send this chained sesssetup/tconn when samba has security = share. Samba's current behavior is to return a TID of 0 in the smb header rather than the actual TID. This patch also updates the UID in the header as well. (cherry picked from commit b6c86e1ef28d9008eec1d39ad714a475dc735c38)
* s4-smbtorture: avoid secdesc test on connect handle in RPC-SAMR-USERS for ↵Günther Deschner2009-05-261-1/+3
| | | | | | | | | | Samba3. With this, I think, we pass RPC-SAMR-USERS. Guenther (cherry picked from commit a3873bca516e0f89302409c89910561707360d14) (cherry picked from commit 3f55201564afae5681b3530cb767da7f2b64794c)
* s3-samr: Fix SetUserInfo level 16 and 21 w.r.t. ACB_AUTOLOCK acct_flag.Günther Deschner2009-05-261-0/+10
| | | | | | | | | | It is not allowed to *set* this flag remotely if it has been not set already. Found by torture test. Guenther (cherry picked from commit a21bfc4daff9e67750021d96ffa0c1e6e4cd3472) (cherry picked from commit d8b37fe08e9e833c466c82e07599356b746020fa)
* s3-samr: Fix SetUserInfo level 7 when there has been no name change.Günther Deschner2009-05-261-0/+6
| | | | | | | | Found by torture test. Guenther (cherry picked from commit 705f36b804093f656498f7963768a418672cd422) (cherry picked from commit 863b568624ef908c9454ed28d64a82e5afddd79a)
* s3-selftest: enable running RPC-SAMR-USERS against Samba3.Günther Deschner2009-05-261-1/+1
| | | | | | Guenther (cherry picked from commit d0100947002a892dff22aefd2491e3a66aaf3a07) (cherry picked from commit 1c5c537f449f2f808a7be2b11ef19c8a979d3b81)
* s4-smbtorture: skip unsupported ACB bits for Samba3 in RPC-SAMR-USER.Günther Deschner2009-05-261-4/+10
| | | | | | Guenther (cherry picked from commit 4f3bfb6261dfb9836404399db57373ef91a411bf) (cherry picked from commit 85ee8f36029deba69959aeacd68b55e676348d5f)
* s3-samr: more accurateness in _samr_SetDomainInfo().Günther Deschner2009-05-261-3/+3
| | | | | | Guenther (cherry picked from commit b7925cb3f219b0502bb7d5ffff2dbda7bb4c2bda) (cherry picked from commit 1136037b814472d09b98c7a276d4041603953a45)
* s4-smbtorture: Support timestamp handling for Samba3 in RPC-SAMR-USERS.Günther Deschner2009-05-261-8/+23
| | | | | | | | Timestamps in passdb (currently) only have second granularity. Guenther (cherry picked from commit 67df4489e20f17c334544818227e905136b6f5aa) (cherry picked from commit a9c907bbc7fb6af7616e990eb1feb02bf3e844f8)
* Fix bug #6330 - DFS doesn't work on AIX. Jeremy.Jeremy Allison2009-05-263-0/+47
| | | | (cherry picked from commit c6bf4cb7e611c4acd3df2e8a52ed535ec3210c24)
* Expand the comment explaining why user_in_group_sid isJeremy Allison2009-05-261-1/+6
| | | | | | not reliable for winbindd users from foreign domains. Jeremy. (cherry picked from commit 32eaef7d2f2e9be171f835b8f440b7c78ee22bd8)
* s3:smbd: fix posix acls when setting an ACL without explicit ACE for the ↵Stefan Metzmacher2009-05-261-3/+18
| | | | | | | | | | | | | | | | | | owner (bug#2346) The problem of bug #2346 remains for users exported by winbindd, because create_token_from_username() just fakes the token when the user is not in the local sam domain. This causes user_in_group_sid() to give totally wrong results. In uid_entry_in_group() we need to check if we already have the full unix token in the current_user struct. If so we should use the current_user unix token, instead of doing a very complex user_in_group_sid() which doesn't give reliable results anyway. metze (cherry picked from commit b79eff843be392f3065e912edca1434081d93c44) (cherry picked from commit 369c52cc8c3042dab5b60c25c03218a761ffd3ef)
* s3-samr: Fix the build of _samr_QueryDomainInfo, sorry :)Günther Deschner2009-05-261-3/+3
| | | | | Guenther (cherry picked from commit 891e677a97f90383803cd6203515ec9a98b1a430)
* s3-selftest: run RPC-LSA-GETUSER against Samba 3.Günther Deschner2009-05-261-1/+2
| | | | | | Guenther (cherry picked from commit 66cf7e1835d5d711c91d0541b05eb11b61267ba8) (cherry picked from commit 921cd4b58f31e2ab821172b79ece8fb34d6b5cee)
* s4-smbtorture: Fix printf info-level mismatch in RPC-SAMR.Günther Deschner2009-05-261-1/+1
| | | | | | Guenther (cherry picked from commit c2498d133db4dcb76e636661110b6432d017d13c) (cherry picked from commit aa569ecfcf9d9f6084ab171afb64fb918870958b)
* s3-samr: implement more info levels in _samr_QueryDomainInfo().Günther Deschner2009-05-261-0/+82
| | | | | | | | Gets us closer to pass RPC-SAMR. Guenther (cherry picked from commit 266b79e004470ae1859085ca018fd6aff6836059) (cherry picked from commit 21d7315fcf08836dfc6f5584bc018f9e46a81a26)
* s3-samr: Fix potential memory leak in _samr_ChangePasswordUser().Günther Deschner2009-05-261-1/+2
| | | | | | Guenther (cherry picked from commit d7b32b51f840d34e0ecb62dd8b7df862974d6271) (cherry picked from commit 2d52c7c605d92356211aa11c31ce9c8392952557)
* s3-selftest: finally enable RPC-SAMR-PASSWORDS which samba3 now passes.Günther Deschner2009-05-261-1/+1
| | | | | | Guenther (cherry picked from commit 53713be2cbc1156769b8b82d3df9da02459232ce) (cherry picked from commit 5fc5c808962ee87e618ab9661f449cd587dce361)
* s4-smbtorture: avoid acct_flags check at the end of RPC-SAMR-PASSWORDS for ↵Günther Deschner2009-05-261-1/+4
| | | | | | | | | | Samba3. I don't get this, why would the account suddenly get ACB_PWNOTREQ ? Guenther (cherry picked from commit 310031274d8b0fdf15a5e33fccfd7b6cb81c8a50) (cherry picked from commit 7dee64aa3544057bc4d436974441052bc863fb3e)
* s3-selftest: need to enable lanman auth in order make RPC-SAMR-PASSWORDS pass.Günther Deschner2009-05-263-0/+6
| | | | | | Guenther (cherry picked from commit 6f4b5798c96ed69d965d6c3c005518f87afda8d6) (cherry picked from commit 664cc387c18aafdf481ce468127dfba05009ea94)