summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* s3: Fix a typoVolker Lendecke2010-04-081-1/+1
|
* Start to plumb smb2 into the oplock system. Calls dummy functions for now.Jeremy Allison2010-04-074-46/+59
| | | | Jeremy.
* s3-spoolss: Fix an issue in _spoolss_DeleteForm.Günther Deschner2010-04-071-1/+1
| | | | | | Found by torture test. Guenther
* s3-spoolss: Fix some issues in _spoolss_AddForm.Günther Deschner2010-04-071-1/+19
| | | | | | Found by torture test. Guenther
* s3-spoolss: Fix potential memleak in _spoolss_AddForm and _spoolss_SetForm.Günther Deschner2010-04-071-2/+4
| | | | Guenther
* s3: Fix bug 7327 -- Build fails while building without kerberosVolker Lendecke2010-04-071-5/+6
| | | | libsmb/clikrb5.c has a dummy implementation for the non-kerberos case
* On compound requests, MS-SMB2 says clients MAY use 0xFFFFFFFF for compound ↵Jeremy Allison2010-04-072-0/+39
| | | | | | tid and 0xFFFFFFFFFFFFFFFF for compound sessionid values. Cope with this. Jeremy.
* Don't forget to initialize *p_creds_requested.Jeremy Allison2010-04-071-0/+1
| | | | Jeremy.
* s3-spoolss: Added a winreg_getform1 function.Andreas Schneider2010-04-072-0/+147
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-spoolss: Added a winreg_setform1 function.Andreas Schneider2010-04-072-0/+120
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-spoolss: Added a winreg_deleteform1 function.Andreas Schneider2010-04-072-0/+90
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-spoolss: Added a winreg_addform1 function.Andreas Schneider2010-04-072-0/+124
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-spoolss: Added a winreg_enumforms1 function.Andreas Schneider2010-04-072-0/+251
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-spoolss: Fixed winreg_printer_openkey to be used in a more generic way.Andreas Schneider2010-04-071-19/+72
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-spoolss: Added a delete_printer_key function using the winreg pipe.Andreas Schneider2010-04-072-0/+195
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-spoolss: Added a enum_printer_key function using the winreg pipe.Andreas Schneider2010-04-072-0/+250
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-spoolss: Added a delete_printer_dataex function using the winreg pipe.Andreas Schneider2010-04-072-3/+90
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-spoolss: Added a enum_printer_dataex function using the winreg pipe.Andreas Schneider2010-04-072-0/+264
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-spoolss: Added a get_printer_dataex function using the winreg pipe.Andreas Schneider2010-04-072-0/+146
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-spoolss: Added a set_printer_dataex function using the winreg pipe.Andreas Schneider2010-04-072-0/+106
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-spoolss: Added a function to open a regkey using the winreg pipe.Andreas Schneider2010-04-073-0/+193
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-rpcclient: allow to define server_unc in cmd_srvsvc_srv_query_info().Günther Deschner2010-04-071-4/+10
| | | | Guenther