summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2010-06-28s3: Make some routines static in smbldapVolker Lendecke1-2/+0
2010-06-25Move UCS2 macros to common codeJelmer Vernooij1-21/+0
2010-06-25s3-registry: Added a db upgrade function to normalize the key delimiter.Andreas Schneider1-0/+1
This converts the key delimiter from a slash to a blackslash. We need to support keynames with a backslash. Signed-off-by: Michael Adam <obnox@samba.org>
2010-06-18Convert the prs_XXX struct and functions to use talloc instead of malloc. ↵Jeremy Allison1-1/+3
Passes valgrind and make tests for client and server. Second version of this patch after splitting up at Simo's request. Patch to follow will delete extraneous prs_mem_free() calls. Jeremy. Signed-off-by: Simo Sorce <idra@samba.org>
2010-06-16Remove two unused functions (prs_force_dynamic, prs_set_session_key).Jeremy Allison2-3/+0
Jeremy.
2010-06-16s3-spoolss: Provide a memory context for clean_up_driver_struct().Andreas Schneider1-1/+2
If we use a stack variable to setup spoolss_AddDriverInfoCtr this would segfault with a talloc bad magic value.
2010-06-15Remove unused function.Jeremy Allison1-1/+0
2010-06-13s3: Remove fsp_belongs_connVolker Lendecke1-2/+0
check_open_fsp does exactly the same
2010-06-13s3: Remove the pointless PRINTERNAME macroVolker Lendecke1-1/+0
2010-06-13s3: Remove the pointless SERVICE macroVolker Lendecke1-1/+0
2010-06-12s3: Explicitly pass sconn to process_blocking_lock_queueVolker Lendecke1-1/+1
2010-06-12s3: Explicitly pass sconn to blocking_lock_was_deferred_smb1Volker Lendecke1-1/+2
2010-06-12s3: Explicitly pass sconn to remove_pending_lock_requests_by_mid_smb1Volker Lendecke1-1/+2
2010-06-12s3: Explicitly pass sconn to the remove_pending_change_notify_request_by_midVolker Lendecke1-1/+2
2010-06-12s3: change_notify_reply() does not need its "conn" argumentVolker Lendecke1-4/+3
2010-06-12s3: Explicitly pass sconn to is_valid_writeX_bufferVolker Lendecke1-1/+2
2010-06-12s3: Pass sconn explicitly to reply_specialVolker Lendecke1-1/+1
2010-06-12s3: Add "smbd_server_connection" to smb_requestVolker Lendecke1-0/+1
2010-06-11s3:rpc improve handles memory hierarchy and use better name.Simo Sorce1-2/+1
While there also cleanup the code a bit. Signed-off-by: Günther Deschner <gd@samba.org>
2010-06-10s3:lib make server contexts genericSimo Sorce1-0/+6
Pair-programmed-with: Andreas Schneider <asn@samba.org>
2010-06-10Implement AIO in SMB2. Doesn't allow cancel calls yet (to be added).Jeremy Allison1-0/+12
Jeremy.
2010-06-08Revert "s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS"Volker Lendecke1-3/+2
This reverts commit edba46ce94c335411ab337eeb4ef6f88fb3aae80. Conflicts: source3/auth/auth_ntlmssp.c
2010-06-07s3:smbd add utility function to check if there are open pipesSimo Sorce1-0/+1
2010-06-07s3:rpc make num_pipe_handles get an actual pipe as argumentSimo Sorce1-2/+2
Let the function abstract out how handles are counted
2010-06-07s3:auth add hooks to indicate if signing or sealing is desired with NTLMSSPAndrew Bartlett1-0/+2
This allows the right hooks to be called in GENSEC when s3compat implements the auth_ntlmssp interface. Otherwise, we can't do the signing or sealing as we have not negoitated it's use. Andrew Bartlett
2010-06-07s3:auth Change auth_ntlmssp_server_info API to return NTSTATUSAndrew Bartlett1-2/+3
It's nicer to have an NTSTATUS return, and in s3compat there may be a reason other than 'no memory' why this can fail. Andrew Bartlett
2010-06-07s3:auth Rename user_info->domain -> user_info->mapped.domain_nameAndrew Bartlett1-1/+0
This is closer to the structure I want for a common struct auth_usersupplied_info. Andrew Bartlett
2010-06-07s3:auth Rename user_info->client_domain -> user_info->client.domain_nameAndrew Bartlett1-1/+1
This is closer to the structure I want for a common struct auth_usersupplied_info. Andrew Bartlett
2010-06-07s3:auth fix header comment for internal_username -> mapped.account_nameAndrew Bartlett1-1/+1
2010-06-07s3:auth Rename user_info->internal_username -> user_info->mapped.account_nameAndrew Bartlett1-1/+1
This is closer to the structure I want for a common struct auth_usersupplied_info. Andrew Bartlett
2010-06-07s3:auth Rename user_info->smb_name -> user_info->client.account_nameAndrew Bartlett1-1/+3
This is closer to the structure I want for a common struct auth_usersupplied_info. Andrew Bartlett
2010-06-07s3:passdb Export function to calculate the proper primary group sidSimo Sorce1-0/+4
Don't keep it buried in passdb, this function need to be available for use in places where we do not want to construct an artificial samu struct just to play tricks. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-07s3:auth remove unused structure memberSimo Sorce1-4/+0
sids are now completely handled using info3, remove dead code that fills server info sids and the structure members themselves Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-07s3:auth create nt token from info3 directlySimo Sorce1-0/+5
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-07s3:auth handle unix domain sids in samuSimo Sorce2-1/+14
When we generate a user out of thin air we may end up adding sids that are not part of the sam domain (unix domain sids). Handle the case and preserve these sids as extra sids. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-07s3-privileges: use LUID defines from lsa IDL.Günther Deschner2-15/+7
Guenther
2010-06-04Change smbd_aio_complete_mid() -> smbd_aio_complete_aio_ex(). SimplifiesJeremy Allison2-1/+4
the code and eliminates find_aio_ex(). Jeremy.
2010-06-04s3-rpc: Create a file with all functions for a internal named pipe.Andreas Schneider1-0/+4
This makes it possible to use the samr rpc server in winbind without linking in smbd. Reviewed-by: Simo Sorce <idra@samba.org>
2010-06-03s3: remove authdata.hGünther Deschner1-36/+0
Guenther
2010-06-03s3-build: only include generated spoolss headers (not ndr headers).Günther Deschner2-2/+1
Guenther
2010-06-03s3: remove rpc_secdes.h completely.Günther Deschner2-28/+0
Guenther
2010-06-03s3-security: use shared "Standard access rights.".Günther Deschner2-11/+1
Guenther
2010-06-03security: move generic_mapping and standard_mapping to security.idl.Günther Deschner1-17/+0
Guenther
2010-06-03s3-security: use shared "File Object specific access rights".Günther Deschner1-53/+0
Guenther
2010-06-03s3-security: use shared "Generic access rights".Günther Deschner1-7/+0
Guenther
2010-06-03s3-security: use shared Security Access Masks Rights.Günther Deschner1-7/+0
Guenther
2010-06-03s3-security: move ALL_SECURITY_INFORMATION to the only user.Günther Deschner1-7/+0
Guenther
2010-06-03s3-security: remove duplicate Extra W2K flags.Günther Deschner1-10/+4
Guenther
2010-06-03s3-security: use shared SECINFO_DACL define.Günther Deschner1-3/+1
Guenther
2010-06-03s3-security: use shared SECINFO_SACL define.Günther Deschner1-2/+1
Guenther