Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-04-06 | s3-auth: Make server_info const in create_local_token() | Andrew Bartlett | 1 | -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 | |||||
2011-04-05 | s3-auth use create_local_token() to transform server_info -> session_info | Andrew Bartlett | 1 | -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 | |||||
2011-04-04 | s3-auth consolidate create_local_token() into make_server_info_krb5() | Andrew Bartlett | 1 | -2/+2 | |
This ensures that all callers don't need to each add builtin groups and privileges to the user's token Andrew Bartlett | |||||
2011-03-30 | s3-prototyes: user_in_netgroup and user_in_list moved to auth, out of smbd. | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2011-03-30 | s3-auth: move auth prototypes to auth/proto.h. | Günther Deschner | 1 | -0/+266 | |
Guenther |