summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2010-04-19Now SMB2 error messages are correctly being returned with the 1 byte data ↵Jeremy Allison1-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.
2010-04-19Ensure vectors are always allocated with consistent size. Removes one byte ↵Jeremy Allison1-20/+60
alloc on SMB2 error packet. Always use talloc_zero_array on out vectors - fixes valgrind errors in tevent writes. Jeremy.
2010-04-19Fix valgrind error where a strdup of name reads one byte beyond the end. ↵Jeremy Allison1-1/+2
Ensure buffer returned from inotify is null terminated. Jeremy.
2010-04-19Remove an unused auto variable.Jeremy Allison1-3/+0
Jeremy.
2010-04-19s3: Remove a leftover of my lua experimentsVolker Lendecke1-5/+0
2010-04-19s3: Move the in-memory ccache to the parentVolker Lendecke7-95/+90
None of this blocks, so there is no reason to keep this in a winbind child process
2010-04-19s3: Test for wb ccache access by smbclientVolker Lendecke1-0/+33
2010-04-19libwbclient: remove async libwbclient and talloc from libwbclient.soVolker Lendecke1-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.
2010-04-19s3: Change the make test password to "testPw"Volker Lendecke1-1/+1
This way we can change back to it when testing testing wbcChangeUserPassword, "test" is too short (<5 chars)
2010-04-19s3-winbind: Allow changing the password for pdbVolker Lendecke2-1/+50
2010-04-19s3: Convert WINBINDD_PAM_LOGOFF to the new async APIVolker Lendecke5-68/+149
2010-04-19s3: Convert WINBINDD_PAM_CHAUTHTOK to the new async APIVolker Lendecke5-59/+132
2010-04-19s3: Convert WINBINDD_PAM_AUTH_CRAP to the new async APIVolker Lendecke5-73/+133
2010-04-19s3: Convert WINBINDD_PAM_AUTH to the new async APIVolker Lendecke5-66/+135
2010-04-19winbindd: Fill in num_entries where availableVolker Lendecke3-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.
2010-04-19s3: Add some debug to GETSIDALIASESVolker Lendecke1-0/+9
2010-04-19s3-smb2: fix some c++ warnings.Günther Deschner1-3/+3
Guenther
2010-04-19s3-spoolss: fix samr_ValidatePassword_Change.Günther Deschner1-1/+1
Guenther
2010-04-19s3-lanman: use spoolss for api_WPrintJobGetInfo().Günther Deschner1-21/+54
Guenther
2010-04-19s3-lanman: use spoolss for api_WPrintJobEnumerate().Günther Deschner1-11/+142
Guenther
2010-04-19s3 i18n: Fix up missing newlines in more pam_winbind translationsKai Blin9-18/+18
2010-04-19s3 i18n: Fix up missing newlines in pam_winbind translationsKai Blin10-20/+20
At least in the languages I could read, the newlines were indeed missing.
2010-04-18Final fix for #7331 - Compound async SMB 2 requests don't work right.Jeremy Allison2-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.
2010-04-18s3: Fix indentation in remove_ccacheVolker Lendecke1-1/+1
2010-04-18s3: Fix a memleak in discover_dc_netbiosVolker Lendecke1-0/+3
2010-04-18s3: Fix a typo in winbindd_ccache_saveVolker Lendecke1-1/+1
2010-04-18s3: Improved support for GAMIN.Ira Cooper2-5/+26
Support the FAMNoExists API for gamin to reduce cpu use and problems when using GAMIN as FAM for vfs_notify_fam.
2010-04-17Second part of fix for bug #7331 - Compound async SMB 2 requests don't work ↵Jeremy Allison1-58/+158
right. Cause us to match W2K8R2 by sending an interim compound reply followed by a async reply. Jeremy.
2010-04-17First part of fix for bug #7331 - Compound async SMB 2 requests don't work ↵Jeremy Allison5-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.
2010-04-17s3: Slightly simpify samr_ValidatePassword_ResetVolker Lendecke1-12/+13
2010-04-17s3: Slightly simpify samr_ValidatePassword_ChangeVolker Lendecke1-12/+13
2010-04-17s3: Slightly simplify the logic of check_password_complexity()Volker Lendecke1-18/+22
The whole routine was just one if-branch. Do an early return instead.
2010-04-17s3: Fix some nonempty blank linesVolker Lendecke1-7/+7
2010-04-16s3-winreg_nt: Fixed QueryValue with data=NULL to get the length.Andreas Schneider1-1/+3
2010-04-14s3: Fix a typoVolker Lendecke1-1/+1
2010-04-13Don't set "requested_posix_capabilities" in the sync code, already done in ↵Jeremy Allison1-2/+0
the async. Jeremy.
2010-04-13Add basic DFS tests.Jeremy Allison2-0/+92
Jeremy.
2010-04-13Split out the client unix capabilities to those the server offered, and ↵Jeremy Allison5-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.
2010-04-13s3-winbind: Authenticate SAM usersVolker Lendecke2-5/+75
2010-04-13s3-winbindd: Fix typo in comment.Karolin Seeger1-1/+1
Karolin
2010-04-13s3: Cache the username map in gencacheVolker Lendecke3-0/+61
This is for uses with a heavy-weight username map script
2010-04-12Move to using 64-bit mid values in our internal open file database.Jeremy Allison15-166/+188
This will allow us to share logic much easier between SMB1 and SMB2 servers. Jeremy
2010-04-12s3: Apply some constVolker Lendecke2-6/+10
2010-04-12s3/s4:netlogon IDL - fix up "struct netr_SamInfo6" regarding the "forest" ↵Matthias Dieter Wallnöfer1-3/+3
attribute According to MS-NRPC 2.2.1.4.13 this should be the DNS domainname, not the forest one.
2010-04-12s3: Little refactoring: Factor out skip_spaceVolker Lendecke1-5/+10
2010-04-12s3: Remove a bogus 0-check, "isspace" can not return true for \0Volker Lendecke1-1/+1
2010-04-12s3: Cache the result of the username map scriptVolker Lendecke1-0/+1
2010-04-11s3: Move serverinfo_to_SamInfoX to auth/server_info.cVolker Lendecke2-287/+287
2010-04-11s3: Move [make|free]_user_info to auth/user_info.cVolker Lendecke4-108/+146
2010-04-11s3: Move make_server_info_sam to auth/server_info_sam.cVolker Lendecke3-121/+152