summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-winbind: fix setup_domain_child() callers.Günther Deschner2010-04-231-2/+2
| | | | | | Volker, please check. Guenther
* s3-spoolss: make switch in _spoolss_AddPrinterDriver() a bit more clear.Günther Deschner2010-04-231-4/+6
| | | | Guenther
* s3: Fix a winbind crash when scanning trustsVolker Lendecke2010-04-231-0/+6
| | | | | | | | add_trusted_domain() for a new domain always needs to be followed by a setup_domain_child(). This was not always done, in particular not when walking to the forest root for additional trusts. This is a minimal patch, we need to fix add_trusted_domain().
* Make deferred opens (NT_STATUS_SHARING_VIOLATION) work over SMB2.Jeremy Allison2010-04-228-85/+357
| | | | | | | | Makes SMB2Create call re-entrant internally. Now this infrastructure is in place, oplocks will follow shortly. Tested with Win7 client and with W2K8R2. Jeremy.
* s3: Fix a cut&paste error in a debug message in check_oem_password()Volker Lendecke2010-04-231-1/+2
|
* s3-spoolss: make sure AddPrinterDriver calls into AddPrinterDriverEx.Günther Deschner2010-04-231-19/+27
| | | | | | | | | Not vice versa. Also disable some info levels in AddPrinterDriver according to MS-RPRN 3.1.4.4.1. Found by torture test. Guenther
* s3-spoolss: fix some crash bugs and missing error codes in AddDriver paths.Günther Deschner2010-04-232-2/+12
| | | | | | Found by torture test. Guenther
* Fix i18n of net conf import error message.Jim McDonough2010-04-201-3/+4
| | | | Thanks gd
* Display an error on net conf import failures.Jim McDonough2010-04-201-0/+3
| | | | | | When something goes wrong, such as a typo in a parameter name, we'll now display the failure instead of just returning with -1 and no message.
* s3-spoolss: fix winreg spoolss helper call documentation.Günther Deschner2010-04-201-11/+33
| | | | Guenther
* s3-spoolss: avoid passing down full "struct pipes_struct".Günther Deschner2010-04-202-51/+73
| | | | Guenther
* Now SMB2 error messages are correctly being returned with the 1 byte data ↵Jeremy Allison2010-04-191-51/+49
| | | | | | area, smbd_smb2_request_error_ex() must call smbd_smb2_request_done_ex() in order to do the padding correctly on compound replies. Jeremy.
* Ensure vectors are always allocated with consistent size. Removes one byte ↵Jeremy Allison2010-04-191-20/+60
| | | | | | alloc on SMB2 error packet. Always use talloc_zero_array on out vectors - fixes valgrind errors in tevent writes. Jeremy.
* Fix valgrind error where a strdup of name reads one byte beyond the end. ↵Jeremy Allison2010-04-191-1/+2
| | | | | | Ensure buffer returned from inotify is null terminated. Jeremy.
* Remove an unused auto variable.Jeremy Allison2010-04-191-3/+0
| | | | Jeremy.
* s3: Remove a leftover of my lua experimentsVolker Lendecke2010-04-191-5/+0
|
* s3: Move the in-memory ccache to the parentVolker Lendecke2010-04-197-95/+90
| | | | | None of this blocks, so there is no reason to keep this in a winbind child process
* s3: Test for wb ccache access by smbclientVolker Lendecke2010-04-191-0/+33
|
* libwbclient: remove async libwbclient and talloc from libwbclient.soVolker Lendecke2010-04-191-17/+8
| | | | | Except for tests there is right now no active user of this. We can easily re-add this when smbd makes more use of it.
* s3: Change the make test password to "testPw"Volker Lendecke2010-04-191-1/+1
| | | | | This way we can change back to it when testing testing wbcChangeUserPassword, "test" is too short (<5 chars)
* s3-winbind: Allow changing the password for pdbVolker Lendecke2010-04-192-1/+50
|
* s3: Convert WINBINDD_PAM_LOGOFF to the new async APIVolker Lendecke2010-04-195-68/+149
|
* s3: Convert WINBINDD_PAM_CHAUTHTOK to the new async APIVolker Lendecke2010-04-195-59/+132
|
* s3: Convert WINBINDD_PAM_AUTH_CRAP to the new async APIVolker Lendecke2010-04-195-73/+133
|
* s3: Convert WINBINDD_PAM_AUTH to the new async APIVolker Lendecke2010-04-195-66/+135
|
* winbindd: Fill in num_entries where availableVolker Lendecke2010-04-193-0/+6
| | | | | | | | The server implementation of WINBINDD_LIST_USERS, WINBINDD_LIST_GROUPS and WINBINDD_LIST_TRUSTDOM knows the number of entries returned. Bump up the version number so that a newer lib does not rely on something an older winbind does not do.
* s3: Add some debug to GETSIDALIASESVolker Lendecke2010-04-191-0/+9
|
* s3-smb2: fix some c++ warnings.Günther Deschner2010-04-191-3/+3
| | | | Guenther
* s3-spoolss: fix samr_ValidatePassword_Change.Günther Deschner2010-04-191-1/+1
| | | | Guenther
* s3-lanman: use spoolss for api_WPrintJobGetInfo().Günther Deschner2010-04-191-21/+54
| | | | Guenther
* s3-lanman: use spoolss for api_WPrintJobEnumerate().Günther Deschner2010-04-191-11/+142
| | | | Guenther
* s3 i18n: Fix up missing newlines in more pam_winbind translationsKai Blin2010-04-199-18/+18
|
* s3 i18n: Fix up missing newlines in pam_winbind translationsKai Blin2010-04-1910-20/+20
| | | | | At least in the languages I could read, the newlines were indeed missing.
* Final fix for #7331 - Compound async SMB 2 requests don't work right.Jeremy Allison2010-04-182-4/+20
| | | | | | | | | | | | | | | Don't free the cancelled SMB2 req early, let the cancelation function take care of it. Return a NT_STATUS_CANCELLED when we find and cancel a request. Fix our SMB2 error returns to correctly set the structuresize to 9, and add the expected zero byte (see section 2.2.2 in the SMB2 spec.). This causes Samba to pass the test program in this bug report that W2K8R2 fails (heh heh :-). This is because we always cause compound requests to get to a cancelation point before dealing with a cancel request. Jeremy.
* s3: Fix indentation in remove_ccacheVolker Lendecke2010-04-181-1/+1
|
* s3: Fix a memleak in discover_dc_netbiosVolker Lendecke2010-04-181-0/+3
|
* s3: Fix a typo in winbindd_ccache_saveVolker Lendecke2010-04-181-1/+1
|
* s3: Improved support for GAMIN.Ira Cooper2010-04-182-5/+26
| | | | | Support the FAMNoExists API for gamin to reduce cpu use and problems when using GAMIN as FAM for vfs_notify_fam.
* Second part of fix for bug #7331 - Compound async SMB 2 requests don't work ↵Jeremy Allison2010-04-171-58/+158
| | | | | | | | | right. Cause us to match W2K8R2 by sending an interim compound reply followed by a async reply. Jeremy.
* First part of fix for bug #7331 - Compound async SMB 2 requests don't work ↵Jeremy Allison2010-04-175-105/+367
| | | | | | | | | | | | | | | | right. Gets us handling SMB2 compound async requests similar to W2K8R2 (and triggers the same client bug in the Win7 redirector). Great thanks to Ira Cooper <samba@ira.wakeful.net> for helping with this and to Metze for the wonderful async framework. The one thing I need to fix to make us identical to W2K8R2 is that when a compound request goes async at the end W2K8R2 splits the replies up into a compound non-async reply followed by a separate async reply. Currently we're doing the whole thing in a compound reply. Jeremy.
* s3: Slightly simpify samr_ValidatePassword_ResetVolker Lendecke2010-04-171-12/+13
|
* s3: Slightly simpify samr_ValidatePassword_ChangeVolker Lendecke2010-04-171-12/+13
|
* s3: Slightly simplify the logic of check_password_complexity()Volker Lendecke2010-04-171-18/+22
| | | | The whole routine was just one if-branch. Do an early return instead.
* s3: Fix some nonempty blank linesVolker Lendecke2010-04-171-7/+7
|
* s3-winreg_nt: Fixed QueryValue with data=NULL to get the length.Andreas Schneider2010-04-161-1/+3
|
* s3: Fix a typoVolker Lendecke2010-04-141-1/+1
|
* Don't set "requested_posix_capabilities" in the sync code, already done in ↵Jeremy Allison2010-04-131-2/+0
| | | | | | the async. Jeremy.
* Add basic DFS tests.Jeremy Allison2010-04-132-0/+92
| | | | Jeremy.
* Split out the client unix capabilities to those the server offered, and ↵Jeremy Allison2010-04-135-9/+24
| | | | | | | | | those the client asked for. This fixes a bug when using encrypted transport and DFS links. Found by my basic DFS torture test, which I'll check in next. Testing *rocks* :-). Jeremy.
* s3-winbind: Authenticate SAM usersVolker Lendecke2010-04-132-5/+75
|