summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "s3: checkin .po for pam_winbind" because of license issue.Bo Yang2009-05-2618-2851/+0
| | | | | This reverts commit 43388521b8f31757309fb8bec71ad9ee0f3b21de. (cherry picked from commit 0c54e8b3e4f9d7efe1974fa39a039997196b6309)
* s3: checkin .po for pam_winbindBo Yang2009-05-2618-0/+2851
| | | | | | Signed-off-by: Bo Yang <boyang@samba.org> (cherry picked from commit 8611f03dbb0c45d8755725232508cff258b426d5) (cherry picked from commit 43388521b8f31757309fb8bec71ad9ee0f3b21de)
* s3 onefs: Self-contend level2 oplocks on BRLZack Kirsch2009-05-262-2/+14
| | | | | (cherry picked from commit 3627ceb5e25cdecd1a8113a5028cc898a1424349) (cherry picked from commit de68d52c8b7b101ad37d3eb09456bcb31e687906)
* s3 onefs: Fix ignore sacl parameterTim Prouty2009-05-264-24/+36
| | | | | (cherry picked from commit c2482d6b23f769d8a5fa4141f9540a25c985d7cc) (cherry picked from commit b2ba00adc91d18e7356dd0375cf7c24cefe21ed0)
* s3: Fix strict locking with chained readsTim Prouty2009-05-261-22/+24
| | | | | | | Move the strict lock/unlock code down a level for reads to avoid calling chain_reply before the unlock. (cherry picked from commit c60bb39df355c2ef36e4cfdff69cc348adc6dae1) (cherry picked from commit 4fe9f5e1204fd5578a6043ad314614dc541decda)
* s3: Fallback to the legacy sid_to_(uid|gid) instead of returning NULL.Aravind Srinivasan2009-05-262-26/+4
| | | | | | This is very similar to be1dfff02d562e42a7847bd02fed8538630d3f41 (cherry picked from commit 5aefb44bf04becc6b80e7c3bf038d79851c5b0f9) (cherry picked from commit d07c3437aa9f6262abab87bc298c74fd953ebcfc)
* s3-spoolss: move SPL_ARCH_X defines to IDL.Günther Deschner2009-05-261-8/+0
| | | | | | Guenther (cherry picked from commit 7403dd39d608e07f107530819277738ebd20a320) (cherry picked from commit 37d0afc095e43d707ff3b86c9ebda22e8a10f77f)
* s3-netdomjoin-gui: prepare to call out for NetRenameMachineInDomain() to ↵Günther Deschner2009-05-261-1/+48
| | | | | | | | | | rename computers in domains. Guenther (cherry picked from commit 6154b031f4521fad4b5c460643da59dd918b240a) (cherry picked from commit a53f9e695bd09b166085d8c714f323ff1d0ce1c6)
* s3-netdomjoin-gui: Fix join prompt dialog test.Günther Deschner2009-05-261-1/+1
| | | | | | Guenther (cherry picked from commit d3a9ee689d636f13f7935d1ddfccfdd4f4e8527a) (cherry picked from commit 7533e32075ac8b162c230ed112974f421e0d1569)
* s3-netdomjoin-gui: use NetServerGetInfo() level 101 to get hostname.Günther Deschner2009-05-261-2/+7
| | | | | | Guenther (cherry picked from commit 3e2975b3bdd247d1e3e7c74bada2f85a1936acaf) (cherry picked from commit 4298e296f02a4df182d5d2ee2623bc869b321c53)
* s3-netdomjoin-gui: inspect the correct computername string beforeGünther Deschner2009-05-261-1/+1
| | | | | | | | enabling/disabling the change button. Guenther (cherry picked from commit 20b5fc02d2e97dbd51d84cc05ac887e274b14866) (cherry picked from commit c7ca84fd4a4c58771b47252248b00e6bb5c411a1)
* s3:loadparm: free the file_list at the start of loadparmMichael Adam2009-05-261-0/+2
| | | | | | | | | | This should reduce the waste of memory when using "config file" or "config backend". It also reduces the risk of triggering reloads due to some old unused files being checked. Michael (cherry picked from commit 6708b926a47b53a2984de6af9bb9d319ed6efe58) (cherry picked from commit 25b0c51c8db62b5e7b12cab19b4dd2fa699ed67e)
* s3:loadparm: refactor freeing of file_list out into free_file_lists()Michael Adam2009-05-261-13/+21
| | | | | | Michael (cherry picked from commit 6aef9bbbf7160cf9e79c50e13632bf29efaedb65) (cherry picked from commit 2f63ee84f29f15b6173ffc20b7debad2b91eafe6)
* s3:build: extend the support fo Debian GNU/kFooBar to kOpenSolarisMichael Adam2009-05-261-5/+5
| | | | | | | | As suggested by Robert Millan. Michael (cherry picked from commit 66dff4073d0013bfd11ac29e341765141393ea23) (cherry picked from commit aca044014a7c20b1e4d9babc8710865b9b7610ce)
* 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-262-31/+30
| | | | | | | | | | | | 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-2618-57/+61
| | | | | | 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)
* 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)
* 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)
* 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)
* 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)
* 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)
* Fix bug #6330 - DFS doesn't work on AIX. Jeremy.Jeremy Allison2009-05-262-0/+14
| | | | (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)
* 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)
* s3-selftest: need to enable lanman auth in order make RPC-SAMR-PASSWORDS pass.Günther Deschner2009-05-262-0/+5
| | | | | | Guenther (cherry picked from commit 6f4b5798c96ed69d965d6c3c005518f87afda8d6) (cherry picked from commit 664cc387c18aafdf481ce468127dfba05009ea94)
* s3-samr: Do not leak information whether a user exist or not in pwd change ↵Günther Deschner2009-05-261-0/+11
| | | | | | | | | | calls. Found by torture test. Guenther (cherry picked from commit 227b61d7ea9895240e0e7f554fbb10d3e78feaae) (cherry picked from commit d0ab51ff71c726af483cc71ac721b624087d54d7)
* s3-samr: implement _samr_ChangePasswordUser().Günther Deschner2009-05-261-10/+113
| | | | | | | | This is vastly copied from samba4 samr server. Guenther (cherry picked from commit 5773d7d10253f6f53a9ae96e9979a87393b242a6) (cherry picked from commit 8e0390378ab8afed728bdd76d977fd8207b5defc)