summaryrefslogtreecommitdiffstats
path: root/source3/auth/proto.h
Commit message (Collapse)AuthorAgeFilesLines
* s3-auth: Pass the remote_address down to user_info.Andreas Schneider2011-07-041-2/+14
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-auth: Added remote_address to ntlmssp server.Andreas Schneider2011-07-041-1/+2
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3:auth/proto.h: add _AUTH_PROTO_H_ guardMichael Adam2011-05-311-0/+5
|
* s3:auth/proto.h: add GPL/Copyright headerMichael Adam2011-05-311-0/+31
|
* s3-auth: Make server_info const in create_local_token()Andrew Bartlett2011-04-061-1/+1
| | | | | | | | | | | Andreas Schneider <asn@samba.org> correctly points out that this input parameter should now be const, and that found a bug where I used then used it incorrectly as a talloc context. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 6 00:33:31 CEST 2011 on sn-devel-104
* s3-auth use create_local_token() to transform server_info -> session_infoAndrew Bartlett2011-04-051-8/+12
| | | | | | | | | | | | | | | | | | Before a auth_serversupplied_info struct can be used for authorization, the local groups and privileges must be calculated. create_local_token() now copies the server_info, and then sets the calulated token and unix groups. Soon, it will also transform the result into an expanded struct auth_session_info. Until then, the variable name (server_info vs session_info provides a clue to the developer about what information has been entered in the structure). By moving the calls to create_local_token within the codebase, we remove duplication, and ensure that the session key (where modified) is consistently copied into the new structure. Andrew Bartlett
* s3-auth consolidate create_local_token() into make_server_info_krb5()Andrew Bartlett2011-04-041-2/+2
| | | | | | | This ensures that all callers don't need to each add builtin groups and privileges to the user's token Andrew Bartlett
* s3-prototyes: user_in_netgroup and user_in_list moved to auth, out of smbd.Günther Deschner2011-03-301-0/+2
| | | | Guenther
* s3-auth: move auth prototypes to auth/proto.h.Günther Deschner2011-03-301-0/+266
Guenther