summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* s3-winbindd: Fix typo in comment.Karolin Seeger2010-04-131-1/+1
| | | | Karolin
* s3: Cache the username map in gencacheVolker Lendecke2010-04-133-0/+61
| | | | This is for uses with a heavy-weight username map script
* Move to using 64-bit mid values in our internal open file database.Jeremy Allison2010-04-1215-166/+188
| | | | | | | This will allow us to share logic much easier between SMB1 and SMB2 servers. Jeremy
* s3: Apply some constVolker Lendecke2010-04-122-6/+10
|
* s3/s4:netlogon IDL - fix up "struct netr_SamInfo6" regarding the "forest" ↵Matthias Dieter Wallnöfer2010-04-121-3/+3
| | | | | | | attribute According to MS-NRPC 2.2.1.4.13 this should be the DNS domainname, not the forest one.
* s3: Little refactoring: Factor out skip_spaceVolker Lendecke2010-04-121-5/+10
|
* s3: Remove a bogus 0-check, "isspace" can not return true for \0Volker Lendecke2010-04-121-1/+1
|
* s3: Cache the result of the username map scriptVolker Lendecke2010-04-121-0/+1
|
* s3: Move serverinfo_to_SamInfoX to auth/server_info.cVolker Lendecke2010-04-112-287/+287
|
* s3: Move [make|free]_user_info to auth/user_info.cVolker Lendecke2010-04-114-108/+146
|
* s3: Move make_server_info_sam to auth/server_info_sam.cVolker Lendecke2010-04-113-121/+152
|
* s3: Move sanitize_username to lib/util_str.cVolker Lendecke2010-04-113-8/+9
|
* s3: Move make_server_info to auth/server_info.cVolker Lendecke2010-04-114-32/+60
|
* s3: Move check_sam_security to auth/check_sam.cVolker Lendecke2010-04-113-486/+513
|
* s3: Make check_sam_security publicVolker Lendecke2010-04-112-20/+32
|
* s3: Replace "auth_context" by "challenge" in need_to_increment_bad_pw_count argsVolker Lendecke2010-04-111-5/+5
|
* s3: Replace "auth_context" by "challenge" in sam_password_ok argsVolker Lendecke2010-04-111-7/+10
|
* s3: Move user_in_group() and create_token_from_username() to token_utils.cVolker Lendecke2010-04-112-315/+315
| | | | Goal is to be able to call check_sam_security from winbind
* [Bug 7345] Incomplete description of function return values in libsmbclient.hDerrell Lipman2010-04-111-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
* s3: Use sizeof(chal) instead of a constantVolker Lendecke2010-04-111-1/+1
|
* s3: Use talloc_stackframe() in user_in_groupVolker Lendecke2010-04-111-7/+1
|
* s3: Use talloc_stackframe() in user_in_group_sidVolker Lendecke2010-04-111-8/+1
|
* s3: Use talloc_stackframe() in create_token_from_usernameVolker Lendecke2010-04-111-7/+1
|
* s3: Fix a memleak in user_in_group_sidVolker Lendecke2010-04-111-0/+1
|
* s3: Remove the make_auth_methods routineVolker Lendecke2010-04-1110-72/+101
| | | | This was just TALLOC_ZERO_P
* s3: Fix a typoVolker Lendecke2010-04-111-1/+1
|
* s3: Make "auth_context" its own talloc parentVolker Lendecke2010-04-115-16/+9
| | | | Remove "mem_ctx" from "struct auth_context"
* s3: Fix some nonempty linesVolker Lendecke2010-04-116-36/+35
|
* s3: Cosmetics -- I could not spot where "chal" was initializedVolker Lendecke2010-04-111-1/+1
|
* s3: Use IS_DC macro in get_global_sam_name()Volker Lendecke2010-04-101-1/+1
| | | | Much as I dislike macros, this one is there. So why not use it...
* s3: Remove domain selection from dual_pam_authVolker Lendecke2010-04-101-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 :-)
* s3: Check 0 termination in GETALIASESVolker Lendecke2010-04-101-7/+13
|
* Plumb SMB2 stubs into all the places we defer SMB1 operations.Jeremy Allison2010-04-0913-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.
* s3-spoolss: Fix two uninitialized vars in spoolss util code.Günther Deschner2010-04-091-1/+2
| | | | Guenther
* s3: add iconv_convenience handle to pull/push sz helpers.Günther Deschner2010-04-0915-50/+58
| | | | Guenther
* s3: Fix a typoVolker Lendecke2010-04-091-1/+1
|
* s3: Use talloc_tos() as talloc ctx for fd_lines_load() in map_username()Volker Lendecke2010-04-091-1/+1
|
* s3: TALLOC_FREE(command) correctly in map_username()Volker Lendecke2010-04-091-0/+2
|
* Stop smb2 from calling into smb1 blocking lock request code.Jeremy Allison2010-04-086-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.
* Simplify call_trans2qfilepathinfo() and smbd_do_qfilepathinfo()Jeremy Allison2010-04-083-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.
* Fix bug #7339 - MSDFS is non-functional in 3.5.xJeremy Allison2010-04-084-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.
* s3-winreg: add winreg_DeleteKeyEx stub.Günther Deschner2010-04-091-0/+12
| | | | Guenther
* s3-lanman: use spoolss for api_RDosPrintJobDel().Günther Deschner2010-04-081-15/+59
| | | | Guenther
* s3-lanman: use spoolss for api_WPrintQueueCtrl().Günther Deschner2010-04-081-7/+70
| | | | Guenther
* s3-registry: fix fill_in_printer_values() for datatype and printprocessor.Günther Deschner2010-04-081-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
* s3: Remove the separate "child" argument from setup_domain_child()Volker Lendecke2010-04-083-15/+8
|
* s3:winbindd: make "smbcontrol winbindd validate-cache" reliable againStefan Metzmacher2010-04-081-0/+3
| | | | | | | | commit 73577205cf81644e7fe853eaf3e6459f7f443096 (s3:winbindd: fix problems with SIGCHLD handling (bug #7317)) broke this. metze