summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
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
2010-06-03s3-security: use shared SECINFO_GROUP define.Günther Deschner1-2/+1
Guenther
2010-06-03s3-security: use shared SECINFO_OWNER define.Günther Deschner1-2/+1
Guenther
2010-06-03s3-security: remove some more shared secdesc defines.Günther Deschner1-10/+0
Guenther
2010-06-03s3: remove unused librpc/ndr/sid.c.Günther Deschner1-4/+0
Guenther
2010-06-02s3: Allow previous password to be stored and use it to check ticketsMatthieu Patou2-0/+2
This patch is to fix bug 7099. It stores the current password in the previous password key when the password is changed. It also check the user ticket against previous password. Signed-off-by: Günther Deschner <gd@samba.org>
2010-06-01s3: remove unused prototype for lp_idmap_domains().Michael Adam1-1/+0
2010-06-01s3:idmap Use idmap.idl defined structures and constantsAndrew Bartlett1-24/+1
This allows these structures to be shared across all of Samba The additional name type ID_TYPE_BOTH is unused in source3 code at this time. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
2010-06-01s3:auth Rename wksta_name -> workstation_name in auth_usersupplied_infoAndrew Bartlett2-5/+5
2010-06-01s3:param Put 'server_role' functions in another file.Andrew Bartlett1-1/+5
Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-06-01s3:param Add helper function to get at Gobals.iDomainMasterAndrew Bartlett1-0/+1
This is needed for a future split out of the server_role code. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-31s3:smbd map_username() doesn't need sconn anymoreSimo Sorce1-1/+1
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-31s3:smbd user_in_list() doesn't need sconn anymoreSimo Sorce1-2/+1
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-31s3:smbd user_in_network() doesn't need sconn anymoreSimo Sorce1-2/+1
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-31s3-auth: add "system" bool flag to auth_serversupplied_info.Günther Deschner1-0/+1
Guenther
2010-05-31s3:ntlmssp Move ntlmssp_sign.c from source3 to common code.Andrew Bartlett1-23/+0
This needs a small re-arrangement of the supporting code. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-31s3:ntlmssp Use a TALLOC_CTX for ntlmssp_sign_packet() and ntlmssp_seal_packet()Andrew Bartlett1-0/+4
This ensures the results can't be easily left to leak. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-31ntlmssp: Make the ntlmssp.h from source3/ a common headerAndrew Bartlett1-139/+0
The code is not yet in common, but I hope to fix that soon. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-31s3:ntlmssp Add two unused variables to match the Samba4 ntlmssp.hAndrew Bartlett1-0/+4
Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-31s3:auth Remove AUTH_NTLMSSP_STATE typedef.Andrew Bartlett3-3/+2
typedefs are no longer preferred Samba style. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>