summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* What to do about debugging in a multi-threaded application?Derrell Lipman2009-05-131-7/+10
| | | | | | | - For now, punt. Any thread that requests debug to stderr will establish that for all threads. Derrell
* Thread-safe protection: libsmbclient initializationDerrell Lipman2009-05-131-94/+133
| | | | | | | | | | | | - Begin converting init functions to use SMB_THREAD_ONCE. libsmbclient module-wide initialization is now moved into a separate function and called via SMB_THREAD_ONCE. - libsmbclient counts users (contexts) so that it can release global resources when the last context is closed. That count of contexts is now protected by a mutex. Derrell
* s3:libsmb: move read_smb_send/recv() static in async_smb.cStefan Metzmacher2009-05-133-92/+87
| | | | metze
* s3:libsmb: let cli_smb_chain_send() also return NTSTATUSStefan Metzmacher2009-05-133-12/+19
| | | | metze
* s3:libsmb: return NT_STATUS_CONNECTION_INVALID if the fd is -1Bo Yang2009-05-131-5/+7
| | | | | | | | | | | | This way we can destinguish between requests which failed because the connection broke after they were triggered and the requests which are started on an already broken connection. This also moves the check to cli_smb_req_iov_send() where it really belongs. metze
* Revert "s3: checkin .po for pam_winbind" because of license issue.Bo Yang2009-05-1318-2851/+0
| | | | This reverts commit 8611f03dbb0c45d8755725232508cff258b426d5.
* s3-printing: no need to define struct table_node 4 times.Günther Deschner2009-05-135-29/+10
| | | | Guenther
* s3-net: Fix bug 6340: don't segfault when cleartext trustdom pwd could not ↵Günther Deschner2009-05-131-1/+1
| | | | | | be retrieved. Guenther
* Remove an unused struct definitionVolker Lendecke2009-05-131-6/+0
|
* s3: checkin .po for pam_winbindBo Yang2009-05-1318-0/+2851
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* s3: return proper error code in cli_smb_req_sendBo Yang2009-05-136-39/+83
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* s3 onefs: Self-contend level2 oplocks on BRLZack Kirsch2009-05-122-2/+14
|
* s3 onefs: Fix ignore sacl parameterTim Prouty2009-05-124-24/+36
|
* s3: Fix strict locking with chained readsTim Prouty2009-05-121-22/+24
| | | | | Move the strict lock/unlock code down a level for reads to avoid calling chain_reply before the unlock.
* s3: Fallback to the legacy sid_to_(uid|gid) instead of returning NULL.Aravind Srinivasan2009-05-122-26/+4
| | | | This is very similar to be1dfff02d562e42a7847bd02fed8538630d3f41
* s3 auth: Make debug message louder and more usefulDan Sledz2009-05-121-2/+3
|
* s3-spoolss: move SPL_ARCH_X defines to IDL.Günther Deschner2009-05-131-8/+0
| | | | Guenther
* s3-netdomjoin-gui: prepare to call out for NetRenameMachineInDomain() to ↵Günther Deschner2009-05-131-1/+48
| | | | | | | | rename computers in domains. Guenther
* 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-122-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
* 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 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