Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-05-12 | s3-samr: implement _samr_RidToSid(). | Günther Deschner | 1 | -10/+30 | |
Guenther | |||||
2009-05-12 | s3-samr: Let _samr_TestPrivateFunctionsDomain() return ↵ | Günther Deschner | 1 | -1/+0 | |
NT_STATUS_NOT_SUPPORTED to make RPC-SAMR happy. Guenther | |||||
2009-05-12 | s4-smbtorture: skip SetMemberAttributesOfGroup in RPC-SAMR for s3 as well. | Günther Deschner | 1 | -1/+2 | |
Guenther | |||||
2009-05-12 | s4-smbtorture: Skip secdesc set calls for non-user objects in RPC-SAMR for ↵ | Günther Deschner | 1 | -8/+18 | |
Samba3. Note that they are skipped for all objects while testing Samba4. Guenther | |||||
2009-05-12 | s4-smbtorture: Fix order of assert args in test_TestPrivateFunctionsDomain() ↵ | Günther Deschner | 1 | -1/+1 | |
in RPC-SAMR. Guenther | |||||
2009-05-12 | s4-smbtorture: switch to use torture_context in RPC-SAMR. | Günther Deschner | 1 | -103/+131 | |
Guenther | |||||
2009-05-12 | s4-smbtorture: remove trailing whitespace in RPC-SAMR. | Günther Deschner | 1 | -252/+252 | |
Guenther | |||||
2009-05-11 | Fix some nonempty blank lines | Volker Lendecke | 1 | -37/+37 | |
2009-05-11 | Correct typos; semicolons instead of commas | Derrell Lipman | 1 | -7/+7 | |
2009-05-11 | s3-samr: Fix Bug #5859, renaming of samr objects failed due to samr ↵ | Günther Deschner | 1 | -0/+3 | |
setuserinfo access checks. Torture test to follow... Guenther | |||||
2009-05-11 | Add checks for non_root mode to help buildfarm spoolss tests. | Jeremy Allison | 1 | -14/+18 | |
Reviewed by Guenther. Jeremy. | |||||
2009-05-11 | s3-lsa: Fix _lsa_LookupNames2() server implementation which always returned ↵ | Günther Deschner | 1 | -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 | |||||
2009-05-11 | s3-selftest: enable RPC-LSA-LOOKUPNAMES against Samba 3. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-05-11 | s4-smbtorture: add very basic RPC-LSA-LOOKUPNAMES test. | Günther Deschner | 2 | -0/+67 | |
Guenther | |||||
2009-05-11 | s4-smbtorture: add optional very simple reply checks to lsa lookup name tests. | Günther Deschner | 1 | -7/+34 | |
Guenther | |||||
2009-05-11 | s4:smb_server: return after we have processed an invalid smb2 request | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2009-05-11 | Move SMB2 constants to a separate file | Volker Lendecke | 2 | -114/+140 | |
2009-05-11 | Fix SMB2_CAP_DFS | Volker Lendecke | 1 | -1/+1 | |
2009-05-11 | s4-smbtorture: remove trailing whitespace in RPC-LSA test. | Günther Deschner | 1 | -192/+192 | |
Guenther | |||||
2009-05-11 | s4-smbtorture: use struct torture_context in RPC-LSA. | Günther Deschner | 1 | -211/+207 | |
Guenther | |||||
2009-05-11 | s3-docs: document "net dom renamecomputer". | Günther Deschner | 1 | -0/+33 | |
Guenther | |||||
2009-05-11 | s3-net: add "net dom renamecomputer" to rename machines in a domain. | Günther Deschner | 2 | -3/+114 | |
dmarkey, please test :) Guenther | |||||
2009-05-10 | Use bool instead of int for a boolean variable | Derrell Lipman | 1 | -1/+1 | |
2009-05-10 | Optimize smb_thread_once usage by not calling it if known already called | Derrell Lipman | 1 | -2/+6 | |
- The macro SMB_THREAD_ONCE now tests whether the "once" variable is already set, and if so avoids calling smb_thread_once(). Derrell | |||||
2009-05-10 | Panic upon mutex lock or unlock failure | Derrell Lipman | 1 | -2/+2 | |
- It's a serious error if we can't lock or unlock a mutex in smb_thread_once(). Panic instead of just displaying a DEBUG message. Derrell | |||||
2009-05-10 | Provide a libsmbclient interface for programs requiring threads | Derrell Lipman | 4 | -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 | |||||
2009-05-10 | Don't require external use of internal enum smb_thread_lock_type | Derrell Lipman | 1 | -3/+4 | |
- Internally, when locking or unlocking a mutex, we'll pass one of the values of enum smb_thread_lock_type. That enum is not available to users providing a thread implementation. Externally, we'll document the integer values which will be passed to their lock_mutex function, but not require them to access our internal header file. Derrell | |||||
2009-05-10 | Replace external thread "once" with an internal implementation | Derrell Lipman | 3 | -22/+66 | |
Jeremy, please check... - I'm in the process of providing an interface in libsmbclient to the recently-added threading capabilities. In the process, I discovered that different thread implementations have varying types for the variable passed to the thread_impl_once() function. pthreads, for example, uses type pthread_once_t. Since Samba needs to internally declare these variables, it would need to know the exact type required by each thread implementation's function. After considering multiple methods of obtaining an appropriately sized variable, I decided that for the basic "once" functionality required by Samba, it would be much simpler to just implement our own "once" functionality. We don't require cancellation points et all. This commit adds an smb_thread_once() function that is implemented using an internal mutex. The mutex itself uses the implementation's create_mutex function. This eliminates the need for the user to provide a smb_thread_once function pointer and the entire issue of that function's first parameter. Derrell | |||||
2009-05-10 | Fix an unitialized variable warning | Volker Lendecke | 1 | -0/+3 | |
2009-05-09 | wb_int_trans -> wb_simple_trans in wbclient.c | Volker Lendecke | 1 | -148/+24 | |
2009-05-09 | Add wb_simple_trans_send/recv | Volker Lendecke | 2 | -1/+137 | |
2009-05-09 | Pass also sername to check password script | Simo Sorce | 1 | -4/+12 | |
2009-05-09 | Fix the mangle1 test | Volker Lendecke | 1 | -1/+1 | |
2009-05-09 | Do not call SMB_VFS_GET_REAL_FILENAME if the name is mangled | Volker Lendecke | 1 | -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. | |||||
2009-05-09 | s3:libsmb: fix layering of cli_ntrename_internal and its callers | Stefan Metzmacher | 1 | -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 | |||||
2009-05-08 | s3: Fix chained sesssetupAndX/tconn messages | Tim Prouty | 1 | -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. | |||||
2009-05-09 | s4-smbtorture: avoid secdesc test on connect handle in RPC-SAMR-USERS for ↵ | Günther Deschner | 1 | -1/+3 | |
Samba3. With this, I think, we pass RPC-SAMR-USERS. Guenther | |||||
2009-05-09 | s3-samr: Fix SetUserInfo level 16 and 21 w.r.t. ACB_AUTOLOCK acct_flag. | Günther Deschner | 1 | -0/+10 | |
It is not allowed to *set* this flag remotely if it has been not set already. Found by torture test. Guenther | |||||
2009-05-09 | s3-samr: Fix SetUserInfo level 7 when there has been no name change. | Günther Deschner | 1 | -0/+6 | |
Found by torture test. Guenther | |||||
2009-05-08 | s3-selftest: enable running RPC-SAMR-USERS against Samba3. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-05-08 | s4-smbtorture: skip unsupported ACB bits for Samba3 in RPC-SAMR-USER. | Günther Deschner | 1 | -4/+10 | |
Guenther | |||||
2009-05-08 | s3-samr: more accurateness in _samr_SetDomainInfo(). | Günther Deschner | 1 | -3/+3 | |
Guenther | |||||
2009-05-08 | s4-smbtorture: Support timestamp handling for Samba3 in RPC-SAMR-USERS. | Günther Deschner | 1 | -8/+23 | |
Timestamps in passdb (currently) only have second granularity. Guenther | |||||
2009-05-08 | Fix bug #6330 - DFS doesn't work on AIX. Jeremy. | Jeremy Allison | 3 | -0/+47 | |
2009-05-08 | Expand the comment explaining why user_in_group_sid is | Jeremy Allison | 1 | -1/+6 | |
not reliable for winbindd users from foreign domains. Jeremy. | |||||
2009-05-08 | s3:smbd: fix posix acls when setting an ACL without explicit ACE for the ↵ | Stefan Metzmacher | 1 | -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 | |||||
2009-05-08 | s3:smbd: fix the fix for mapped IPv4 address handling in release_ip(). | Michael Adam | 1 | -2/+2 | |
It was too late... Thanks Metze for noticing. Michael | |||||
2009-05-08 | s3-selftest: run RPC-LSA-GETUSER against Samba 3. | Günther Deschner | 1 | -1/+2 | |
Guenther | |||||
2009-05-08 | s4-smbtorture: Fix printf info-level mismatch in RPC-SAMR. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-05-08 | s3-samr: implement more info levels in _samr_QueryDomainInfo(). | Günther Deschner | 1 | -0/+82 | |
Gets us closer to pass RPC-SAMR. Guenther |