summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix warning about unused label with no sendfile.Jeremy Allison2009-05-111-1/+2
| | | | Jeremy.
* Fix a bunch of compiler warnings about wrong format types.Jeremy Allison2009-05-1118-57/+61
| | | | | Should make Solaris 10 builds look cleaner. Jeremy.
* Hopefully fix the buildfarm. Add some debug level 10 messagesJeremy Allison2009-05-112-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.
* s3-samr: implement _samr_RidToSid().Günther Deschner2009-05-121-10/+30
| | | | Guenther
* s3-samr: Let _samr_TestPrivateFunctionsDomain() return ↵Günther Deschner2009-05-121-1/+0
| | | | | | NT_STATUS_NOT_SUPPORTED to make RPC-SAMR happy. Guenther
* Fix some nonempty blank linesVolker Lendecke2009-05-111-37/+37
|
* Correct typos; semicolons instead of commasDerrell Lipman2009-05-111-7/+7
|
* s3-samr: Fix Bug #5859, renaming of samr objects failed due to samr ↵Günther Deschner2009-05-111-0/+3
| | | | | | | | setuserinfo access checks. Torture test to follow... Guenther
* Add checks for non_root mode to help buildfarm spoolss tests.Jeremy Allison2009-05-111-14/+18
| | | | | Reviewed by Guenther. Jeremy.
* s3-lsa: Fix _lsa_LookupNames2() server implementation which always returned ↵Günther Deschner2009-05-111-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
* s3-selftest: enable RPC-LSA-LOOKUPNAMES against Samba 3.Günther Deschner2009-05-111-1/+1
| | | | Guenther
* s3-net: add "net dom renamecomputer" to rename machines in a domain.Günther Deschner2009-05-112-3/+114
| | | | | | dmarkey, please test :) Guenther
* Provide a libsmbclient interface for programs requiring threadsDerrell Lipman2009-05-104-1/+288
| | | | | | | | | - This adds two functions: smbc_thread_posix() which provides access to the internal threading implementation using pthread; and smbc_thread_impl() where the user provides each of the functions required by Samba, to give access to the thread implementation's native capabilities. Derrell
* wb_int_trans -> wb_simple_trans in wbclient.cVolker Lendecke2009-05-091-148/+24
|
* Add wb_simple_trans_send/recvVolker Lendecke2009-05-092-1/+137
|
* Pass also sername to check password scriptSimo Sorce2009-05-091-4/+12
|
* Fix the mangle1 testVolker Lendecke2009-05-091-1/+1
|
* Do not call SMB_VFS_GET_REAL_FILENAME if the name is mangledVolker Lendecke2009-05-091-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.
* s3:libsmb: fix layering of cli_ntrename_internal and its callersStefan Metzmacher2009-05-091-29/+35
| | | | | | | | It's easier to have cli_ntrename_internal as a semetric async tevent_req function. cli_ntrename() and cli_nt_hardlink() should be callers on top of cli_ntrename_internal(). metze
* s3: Fix chained sesssetupAndX/tconn messagesTim Prouty2009-05-081-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.
* s3-samr: Fix SetUserInfo level 16 and 21 w.r.t. ACB_AUTOLOCK acct_flag.Günther Deschner2009-05-091-0/+10
| | | | | | | | It is not allowed to *set* this flag remotely if it has been not set already. Found by torture test. Guenther
* s3-samr: Fix SetUserInfo level 7 when there has been no name change.Günther Deschner2009-05-091-0/+6
| | | | | | Found by torture test. Guenther
* s3-selftest: enable running RPC-SAMR-USERS against Samba3.Günther Deschner2009-05-081-1/+1
| | | | Guenther
* s3-samr: more accurateness in _samr_SetDomainInfo().Günther Deschner2009-05-081-3/+3
| | | | Guenther
* Fix bug #6330 - DFS doesn't work on AIX. Jeremy.Jeremy Allison2009-05-082-0/+14
|
* Expand the comment explaining why user_in_group_sid isJeremy Allison2009-05-081-1/+6
| | | | | not reliable for winbindd users from foreign domains. Jeremy.
* s3:smbd: fix posix acls when setting an ACL without explicit ACE for the ↵Stefan Metzmacher2009-05-081-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
* s3:smbd: fix the fix for mapped IPv4 address handling in release_ip().Michael Adam2009-05-081-2/+2
| | | | | | It was too late... Thanks Metze for noticing. Michael
* s3-selftest: run RPC-LSA-GETUSER against Samba 3.Günther Deschner2009-05-081-1/+2
| | | | Guenther
* s3-samr: implement more info levels in _samr_QueryDomainInfo().Günther Deschner2009-05-081-0/+82
| | | | | | Gets us closer to pass RPC-SAMR. Guenther
* s3-samr: Fix potential memory leak in _samr_ChangePasswordUser().Günther Deschner2009-05-081-1/+2
| | | | Guenther
* s3: make release_ip() call (ctdb) cope with IPv4 mapped addressesMichael Adam2009-05-081-1/+8
| | | | Michael
* s3-selftest: finally enable RPC-SAMR-PASSWORDS which samba3 now passes.Günther Deschner2009-05-081-1/+1
| | | | Guenther
* s3-selftest: need to enable lanman auth in order make RPC-SAMR-PASSWORDS pass.Günther Deschner2009-05-082-0/+5
| | | | Guenther
* s3-samr: Do not leak information whether a user exist or not in pwd change ↵Günther Deschner2009-05-081-0/+11
| | | | | | | | calls. Found by torture test. Guenther
* s3-samr: implement _samr_ChangePasswordUser().Günther Deschner2009-05-081-10/+106
| | | | | | This is vastly copied from samba4 samr server. Guenther
* s3-samr: implement _samr_OemChangePasswordUser2().Günther Deschner2009-05-081-10/+48
| | | | Guenther
* s3-samr: disable check for ACB_DISABLED in check_oem_password().Günther Deschner2009-05-081-1/+4
| | | | | | | | | It is a bad idea to just tell everyone that an account is disabled without really having checked the password first. Found by torture test. Guenther
* s3-samr: rework check_oem_password() to take a struct samu, not to return one.Günther Deschner2009-05-081-39/+27
| | | | Guenther
* s3-samr: Let _samr_TestPrivateFunctionsUser() return not supported.Günther Deschner2009-05-081-1/+0
| | | | | | This is to get us closer to pass RPC-SAMR-USERS. Guenther
* s3-samr: Do not return users in _samr_QueryDisplayInfo() for builtin domain.Günther Deschner2009-05-081-0/+5
| | | | | | Found by torture test. Guenther
* s3-samr: let set_user_info_16 and 20 follow the same pattern as all other ↵Günther Deschner2009-05-083-29/+40
| | | | | | levels. Guenther
* s3-samr: support some more info levels in samr_SetUserInfo calls.Günther Deschner2009-05-083-0/+468
| | | | Guenther
* s3-samr: support some more info levels in samr_QueryUser calls.Günther Deschner2009-05-081-0/+266
| | | | Guenther
* s3/ldap: also handle DirX return codesBjörn Jacke2009-05-081-0/+2
|
* s3:configure: "test" only takes one "="Björn Jacke2009-05-081-1/+1
|
* Fix some type-punned warningsVolker Lendecke2009-05-073-7/+13
|
* Remove a misleading commentVolker Lendecke2009-05-071-2/+0
|
* Fix some nonempty blank linesVolker Lendecke2009-05-071-11/+10
|
* Convert lib/wb_reqtrans.c to unix calling conventionsVolker Lendecke2009-05-073-97/+113
|