summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2008-12-08Simplify async programming a bit with helper routinesVolker Lendecke1-0/+4
Introduce async_req_is_error() and async_req_simple_recv()
2008-12-08Streamline the async_sock API a bitVolker Lendecke1-9/+13
2008-12-08Add a "bytes_padding" parameter to smb_splice_chainVolker Lendecke1-0/+1
For example open&x and write&x needs the bytes to be aligned relative to the SMB header. In particular for write&x we should not have to move stuff around.
2008-12-08Factor out smb_splice_chain(), to be used by chain_reply() in smbdVolker Lendecke1-0/+3
2008-12-05Fix lp_socket_address() prototype.Jeremy Allison1-1/+1
Jeremy.
2008-12-05s3: store user session key in cli_rpc_pipe_open_noauth().Günther Deschner1-0/+1
Guenther
2008-12-05s3-samr: fix samr callers of samr_UserInfo18.Günther Deschner1-1/+2
Guenther
2008-12-04Fix bug #1254 - write list not working under share-level securityJeremy Allison1-3/+3
A somewhat more elegant fix than I could use for 3.2.x or 3.0.x. Turns out the only part of check_user_ok() that needs to change for share level security is the VUID cache pieces, so I can just always use check_user_ok() for all lp_security() cases. Jeremy
2008-12-03s3: Change SMB_VFS_CREATE_FILE to take a create_file_flags argumentTim Prouty4-5/+10
This replaces the is_dos_path bool with a more future-proof argument. The next step is to plumb INTERNAL_OPEN_ONLY through this flag instead of overridding the oplock_request.
2008-12-03s3: Simplify the create_file_unix_path->open_file_ntcreate pathTim Prouty1-24/+0
Also removed open_file_ntcreate/open_file from proto.h so they can no longer be called directly.
2008-12-03s3: Modify direct callers of create_file_unix_path to call SMB_VFS_CREATE_FILETim Prouty1-16/+0
2008-12-03s3: Add new "is_dos_path" argument to SMB_VFS_CREATE_FILETim Prouty3-3/+5
Now unix paths can be differentiated from windows paths so the underlying create_file implementations can convert paths correctly.
2008-12-03s3: Add SMB_VFS_CREATE_FILE to the vfs layerTim Prouty3-17/+41
Modify all callers of create_file to go through SMB_VFS_CREATE_FILE
2008-12-03s3: Change sockaddr util function names for consistencyTim Prouty1-2/+2
Also eliminates name conflicts with OneFS system libraries
2008-12-02Attempt to fix a build failure on AIXVolker Lendecke1-1/+1
2008-12-02s3-passdb: remove unused (now samr.idl) ACCT_NT/LM_PWD_SET flags.Günther Deschner1-10/+0
Guenther
2008-12-02s3-samr: use samr_DomainServerState in client tools.Günther Deschner1-1/+1
Guenther
2008-12-01s3:vfs: fix FCHMOD_ACL macrosStefan Metzmacher1-3/+3
metze
2008-11-30Make nt4_compatible_acls() non-static for use by VFS ACL modules.Steven Danneman1-0/+1
2008-12-01s3:winbindd/nss_info: change nss_map_{to|from}_alias to take nss_domain_entryMichael Adam1-4/+6
instead of just the domain name Michael
2008-11-30remove the explicit mem_ctx from ntlmssp_state, use the state itselfVolker Lendecke1-1/+0
2008-11-30fix nonempty blank linesVolker Lendecke1-3/+2
2008-11-28s3-samr: add init_samr_user_info25 and init_samr_user_info26.Günther Deschner1-0/+33
Guenther
2008-11-28s3-samr: fix init_samr_user_info{23,24} callers.Günther Deschner1-4/+3
Guenther
2008-11-28Remove "conn" parameter from np_open, smb_request contains itVolker Lendecke1-2/+2
2008-11-28Move cli_trans_oob to lib/util.cVolker Lendecke1-0/+1
Rename it to trans_oob, it will be used in the server routines.
2008-11-27s3-samr: add init_samr_user_info5.Günther Deschner1-0/+19
Guenther
2008-11-24Fix nonempty blank linesVolker Lendecke1-17/+17
2008-11-24Get rid of pipes_struct->pipe_user, we have server_info now --- YESSS!Volker Lendecke2-7/+0
2008-11-24Remove unused make_connection_with_chdir()Volker Lendecke1-4/+0
2008-11-24Convert delete_driver_files to use create_conn_structVolker Lendecke1-2/+3
Jerry, please check!
2008-11-24Convert get_correct_cversion to use create_conn_structVolker Lendecke1-2/+3
Jerry, please check!
2008-11-24Convert move_driver_to_download_area to use create_conn_structVolker Lendecke1-2/+3
This removes a use of struct current_user and the vuid The become_user() here is unnecessary, within the spoolss handling code we have switched to the authenticated pipe user anyway. Jerry, please check!
2008-11-23Add auth_serversupplied_info to create_conn_structVolker Lendecke1-1/+2
srvsvc needs it, as will printing
2008-11-21First part of fix for bug #5903 - vfs_streams_xattr breaks contents of the file.Jeremy Allison1-3/+3
Restructures parts of open code so that fsp must be allocated before calling open_file_ntcreate(_internal). Also fix up file ref-counting inside files.c. Jeremy.
2008-11-20s3-eventlog: move non rpc eventlog headers to own include file.Günther Deschner3-23/+42
Guenther
2008-11-19s3-ntsvcs: remove old hand-marshalling for ntsvcs getdevregprop.Günther Deschner2-26/+0
Guenther
2008-11-18Added ability to remove id mappings in wbinfo and libwbclient.Steven Danneman1-0/+1
The idmap_tdb backend already provides an interface to remove existing id mappings. This commit plumbs that ability up through, winbindd, libwbclient, and wbinfo. Added new winbindd command: WINBINDD_REMOVE_MAPPING Added new libwbclient interfaces: wbcRemoveUidMapping() and wbcRemoveGidMapping() Added new wbinfo options: --remove-uid-mapping --remove-gid-mapping Increased libwbclient version to 0.2 Increased winbind interface version to 20
2008-11-18Fix extended DN parse error when AD object does not have a SID.Steven Danneman1-4/+4
Some AD objects, like Exchange Public Folders, can be members of Security Groups but do not have a SID attribute. This patch adds more granular return errors to ads_get_sid_from_extended_dn(). Callers can now determine if a parse error occured because of bad input, or the DN was valid but contained no SID. I updated all callers to ignore SIDless objects when appropriate. Also did some cleanup to the out paths of lookup_usergroups_memberof()
2008-11-17Fix bug #5900 reported by monyo@samba.gr.jp - vfs_readonly.so does not work.Jeremy Allison1-1/+2
Jeremy.
2008-11-17svcctl: fill in SERVICE_CONTROL from s3.Günther Deschner1-8/+0
Guenther
2008-11-13i18n/l10n pam_winbindBo Yang1-0/+6
Signed-off-by: Günther Deschner <gd@samba.org>
2008-11-08Make "construct_reply_common" staticVolker Lendecke1-1/+0
2008-11-08change CHECK_READ to use smb_request instead of inbufVolker Lendecke1-2/+2
2008-11-08Converting notify.c to store a request, not an inbufVolker Lendecke1-2/+2
2008-11-06Add wrapper str_list_make_v3() to replace the old S3 behavior ofJeremy Allison1-0/+1
str_list_make(). From Dan Sledz <dan.sledz@isilon.com>: In samba 3.2 passing NULL or an empty string returned NULL. In master, it now returns a list of length 1 with the first string set to NULL (an empty list). Jeremy.
2008-11-06s3: rpc: let serverinfo_to_SamInfo3() work with no pipe_session_keyStefan Metzmacher1-1/+2
metze
2008-11-04Convert blocking.c to store a smb_request instead of just inbufVolker Lendecke1-1/+1
2008-11-04Add construct_reply_common_req wrapperVolker Lendecke1-0/+1
The goal is to remove the remaining direct calls to construct_reply_common.
2008-11-04Pass all of RAW-ACLS except for inheritence. Working on that next.Jeremy Allison1-0/+4
Jeremy.