summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-netdomjoin-gui: Fix join prompt dialog test.Günther Deschner2009-05-121-1/+1
| | | | Guenther
* s3-netdomjoin-gui: use NetServerGetInfo() level 101 to get hostname.Günther Deschner2009-05-121-2/+7
| | | | Guenther
* s3-netdomjoin-gui: inspect the correct computername string beforeGünther Deschner2009-05-121-1/+1
| | | | | | enabling/disabling the change button. Guenther
* Clean up assignments to iov_base, ensure it's always cast to void *. This ↵Jeremy Allison2009-05-1211-32/+32
| | | | | | should quieten some warnings with picky compilers on the buildfarm. Jeremy.
* Fix the last few format arg missmatches I missed.Jeremy Allison2009-05-121-4/+4
| | | | Jeremy.
* Convert response.extra_data.data from malloc to tallocVolker Lendecke2009-05-128-98/+47
|
* Fix bug 6157Volker Lendecke2009-05-123-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.
* s3-printing: Fix vlp testprinter application.Günther Deschner2009-05-123-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
* s3:build: extend the support fo Debian GNU/kFooBar to kOpenSolarisMichael Adam2009-05-121-5/+5
| | | | | | As suggested by Robert Millan. Michael
* s3:build: support non-linux gnu portsMichael Adam2009-05-121-4/+16
| | | | | | | This is based on a patch by the debian package maintainers, adapted for the merged branch. Michael
* s3:loadparm: free the file_list at the start of loadparmMichael Adam2009-05-121-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
* s3:loadparm: refactor freeing of file_list out into free_file_lists()Michael Adam2009-05-121-13/+21
| | | | Michael
* s3:proto.h: remove old param/params.c prototypeMichael Adam2009-05-121-7/+0
| | | | Michael
* Fix warning about unused label with no sendfile.Jeremy Allison2009-05-111-1/+2
| | | | Jeremy.
* Fix definition of smb_thread_once - must return int not void asJeremy Allison2009-05-112-2/+5
| | | | | it's used in a ? : comparison macro. Jeremy.
* Fix a bunch of compiler warnings about wrong format types.Jeremy Allison2009-05-1119-76/+84
| | | | | 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.
* Ensure documentation matches the tdb_util function usage.Jeremy Allison2009-05-111-2/+2
| | | | 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
* s4-smbtorture: skip SetMemberAttributesOfGroup in RPC-SAMR for s3 as well.Günther Deschner2009-05-121-1/+2
| | | | Guenther
* s4-smbtorture: Skip secdesc set calls for non-user objects in RPC-SAMR for ↵Günther Deschner2009-05-121-8/+18
| | | | | | | | Samba3. Note that they are skipped for all objects while testing Samba4. Guenther
* s4-smbtorture: Fix order of assert args in test_TestPrivateFunctionsDomain() ↵Günther Deschner2009-05-121-1/+1
| | | | | | in RPC-SAMR. Guenther
* s4-smbtorture: switch to use torture_context in RPC-SAMR.Günther Deschner2009-05-121-103/+131
| | | | Guenther
* s4-smbtorture: remove trailing whitespace in RPC-SAMR.Günther Deschner2009-05-121-252/+252
| | | | 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
* s4-smbtorture: add very basic RPC-LSA-LOOKUPNAMES test.Günther Deschner2009-05-112-0/+67
| | | | Guenther
* s4-smbtorture: add optional very simple reply checks to lsa lookup name tests.Günther Deschner2009-05-111-7/+34
| | | | Guenther
* s4:smb_server: return after we have processed an invalid smb2 requestStefan Metzmacher2009-05-111-0/+2
| | | | metze
* Move SMB2 constants to a separate fileVolker Lendecke2009-05-112-114/+140
|
* Fix SMB2_CAP_DFSVolker Lendecke2009-05-111-1/+1
|
* s4-smbtorture: remove trailing whitespace in RPC-LSA test.Günther Deschner2009-05-111-192/+192
| | | | Guenther
* s4-smbtorture: use struct torture_context in RPC-LSA.Günther Deschner2009-05-111-211/+207
| | | | Guenther
* s3-docs: document "net dom renamecomputer".Günther Deschner2009-05-111-0/+33
| | | | Guenther
* s3-net: add "net dom renamecomputer" to rename machines in a domain.Günther Deschner2009-05-112-3/+114
| | | | | | dmarkey, please test :) Guenther
* Use bool instead of int for a boolean variableDerrell Lipman2009-05-101-1/+1
|
* Optimize smb_thread_once usage by not calling it if known already calledDerrell Lipman2009-05-101-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
* Panic upon mutex lock or unlock failureDerrell Lipman2009-05-101-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
* 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
* Don't require external use of internal enum smb_thread_lock_typeDerrell Lipman2009-05-101-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
* Replace external thread "once" with an internal implementationDerrell Lipman2009-05-103-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
* Fix an unitialized variable warningVolker Lendecke2009-05-101-0/+3
|
* 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
|