summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
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
2010-04-11s3: Move sanitize_username to lib/util_str.cVolker Lendecke3-8/+9
2010-04-11s3: Move make_server_info to auth/server_info.cVolker Lendecke4-32/+60
2010-04-11s3: Move check_sam_security to auth/check_sam.cVolker Lendecke3-486/+513
2010-04-11s3: Make check_sam_security publicVolker Lendecke2-20/+32
2010-04-11s3: Replace "auth_context" by "challenge" in need_to_increment_bad_pw_count argsVolker Lendecke1-5/+5
2010-04-11s3: Replace "auth_context" by "challenge" in sam_password_ok argsVolker Lendecke1-7/+10
2010-04-11s3: Move user_in_group() and create_token_from_username() to token_utils.cVolker Lendecke2-315/+315
Goal is to be able to call check_sam_security from winbind
2010-04-11[Bug 7345] Incomplete description of function return values in libsmbclient.hDerrell Lipman1-8/+14
- Fixed documentation on smbc_fstat(), smbc_statvfs(), and smbc_fstatvfs(): All were missing return value upon success - Fixed documentation on smbc_read: Documented return value upon EOF Derrell
2010-04-11s3: Use sizeof(chal) instead of a constantVolker Lendecke1-1/+1
2010-04-11s3: Use talloc_stackframe() in user_in_groupVolker Lendecke1-7/+1
2010-04-11s3: Use talloc_stackframe() in user_in_group_sidVolker Lendecke1-8/+1
2010-04-11s3: Use talloc_stackframe() in create_token_from_usernameVolker Lendecke1-7/+1
2010-04-11s3: Fix a memleak in user_in_group_sidVolker Lendecke1-0/+1
2010-04-11s3: Remove the make_auth_methods routineVolker Lendecke10-72/+101
This was just TALLOC_ZERO_P
2010-04-11s3: Fix a typoVolker Lendecke1-1/+1
2010-04-11s3: Make "auth_context" its own talloc parentVolker Lendecke5-16/+9
Remove "mem_ctx" from "struct auth_context"
2010-04-11s3: Fix some nonempty linesVolker Lendecke6-36/+35
2010-04-11s3: Cosmetics -- I could not spot where "chal" was initializedVolker Lendecke1-1/+1
2010-04-10s3: Use IS_DC macro in get_global_sam_name()Volker Lendecke1-1/+1
Much as I dislike macros, this one is there. So why not use it...
2010-04-10s3: Remove domain selection from dual_pam_authVolker Lendecke1-53/+13
We're in a child, the parent already has chosen the domain by picking the right child to connect to. Metze, you've done work on winbind lately, so it goes to you: Please check :-)
2010-04-10s3: Check 0 termination in GETALIASESVolker Lendecke1-7/+13
2010-04-09Plumb SMB2 stubs into all the places we defer SMB1 operations.Jeremy Allison13-111/+198
Rename functions to be internally consistent. Next step is to cope queueing single (non-compounded) SMB2 requests to put some code inside the stubs. Jeremy.
2010-04-09s3-spoolss: Fix two uninitialized vars in spoolss util code.Günther Deschner1-1/+2
Guenther
2010-04-09s3: add iconv_convenience handle to pull/push sz helpers.Günther Deschner15-50/+58
Guenther
2010-04-09s3: Fix a typoVolker Lendecke1-1/+1
2010-04-09s3: Use talloc_tos() as talloc ctx for fd_lines_load() in map_username()Volker Lendecke1-1/+1
2010-04-09s3: TALLOC_FREE(command) correctly in map_username()Volker Lendecke1-0/+2
2010-04-08Stop smb2 from calling into smb1 blocking lock request code.Jeremy Allison6-0/+72
Allocate a uint16_t internal SMB1 mid for an SMB2 request. Add a back pointer from the faked up smb_request struct to the smb2 request. Getting ready to add restart code for blocking locks, share mode violations and oplocks in SMB2. Jeremy.
2010-04-08Simplify call_trans2qfilepathinfo() and smbd_do_qfilepathinfo()Jeremy Allison3-20/+4
Remove the bool ms_dfs_link parameter from smbd_do_qfilepathinfo. It is not possible for this to be a DFS link. Remove the check_msdfs_link() call from call_trans2qfilepathinfo() - the call to filename_convert() above with a ucf_flags of zero *MUST* catch a DFS link and return NT_STATUS_PATH_NOT_COVERED in this case, so the code below checking for msdfs links is redundent. Don't add this to 3.5.x, as it's an optimization but not needed to fix bug #7339 - MSDFS is non-functional in 3.5.x. Jeremy.
2010-04-08Fix bug #7339 - MSDFS is non-functional in 3.5.xJeremy Allison4-1/+6
In the refactoring around filename_convert, the split between the functions resolve_dfspath() and resolve_dfspath_wcard() was lost, leaving us only with resolve_dfspath_wcard(). Internally resolve_dfspath_wcard() calls dfs_redirect() only with a "allow_wcards" flag of true, wheras the old resolve_dfspath() would call with a value of false. The loss of this case causes dfs_redirect to always masquerade DFS links as directories, even when they are being queried directly by a trans2 QPATHINFO call. We should only masquerade DFS links as directories when called from a SMBsearch or trans2 findfirst/findnext - which was the intent of the "allow_wcards" flag. This patch adds back an allow_wcards bool parameter to resolve_dfspath_wcard(). This bool is set from the state of the ucf_flags when filename_convert() is called. I will follow this up with a new smbclient-based torture test that will prevent us from ever regressing our DFS support again. Jeremy.
2010-04-09s3-winreg: add winreg_DeleteKeyEx stub.Günther Deschner1-0/+12
Guenther
2010-04-08s3-lanman: use spoolss for api_RDosPrintJobDel().Günther Deschner1-15/+59
Guenther
2010-04-08s3-lanman: use spoolss for api_WPrintQueueCtrl().Günther Deschner1-7/+70
Guenther
2010-04-08s3-registry: fix fill_in_printer_values() for datatype and printprocessor.Günther Deschner1-2/+2
It is wise and good to enforce RAW and winprint, but we need to be consistent with spoolss (and enforce it there). Found by torture test. Guenther