Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-07-20 | s3-auth Use the common auth_session_info | Andrew Bartlett | 2 | -11/+11 | |
This patch finally has the same structure being used to describe the authorization data of a user across the whole codebase. This will allow of our session handling to be accomplished with common code. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-20 | s3-auth Use struct auth3_session_info outside the auth subsystem | Andrew Bartlett | 2 | -11/+11 | |
This seperation between the structure used inside the auth modules and in the wider codebase allows for a gradual migration from struct auth_serversupplied_info -> struct auth_session_info (from auth.idl) The idea here is that we keep a clear seperation between the structure before and after the local groups, local user lookup and the session key modifications have been processed, as the lack of this seperation has caused issues in the past. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-02 | param: Finish conversion from lp_wins_support() -> lp_we_are_a_wins_server() | Andrew Bartlett | 1 | -1/+1 | |
Jermey started this in 1997 with 0aa493cc0303aa4177f289b9e4c797c8fa180672 (avoiding the duplicate function makes it easier to generate the struct loadparm_globals). Andrew Bartlett | |||||
2011-03-30 | s3-auth: rpc_server needs auth.h | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2011-03-26 | s3: Fix an uninitialized variable read | Volker Lendecke | 1 | -1/+2 | |
The "is_valid_policy_handle" in the exit path reads uninitialized data Lets see if this fixes Coverity ID 2172 which complains about h being dereferenced in the dcerpc_winreg_CloseKey. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Mar 26 14:24:28 CET 2011 on sn-devel-104 | |||||
2011-03-15 | s3: Fix Coverity ID 2287: Uninitialized read | Volker Lendecke | 1 | -1/+1 | |
We passed the structure including the uninitialized elements to dcerpc_winreg_CreateKey. | |||||
2011-02-22 | s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_info | Andrew Bartlett | 2 | -15/+15 | |
These variables, of type struct auth_serversupplied_info were poorly named when added into 2001, and in good consistant practice, this has extended all over the codebase in the years since. The structure is also not ideal for it's current purpose. Originally intended to convey the results of the authentication modules, it really describes all the essential attributes of a session. This rename will reduce the volume of a future patch to replaced these with a struct auth_session_info, with auth_serversupplied_info confined to the lower levels of the auth subsystem, and then eliminated. (The new structure will be the output of create_local_token(), and the change in struct definition will ensure that this is always run, populating local groups and privileges). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-02-07 | s3-services: Remove obsolete services_db.c. | Andreas Schneider | 1 | -726/+0 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-02-07 | s3-rpc_server: Added a svcctl shutdown function. | Andreas Schneider | 1 | -8/+8 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-02-07 | s3-services: Migrated svcctl registry functions to winreg. | Andreas Schneider | 2 | -0/+421 | |
This is a bigger commit. It moves the relevant function to svc_winreg_glue. We need to use them in the same commit else we have problems with prototypes in proto.h. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-01-08 | s3: Avoid a ton of registry writes at startup | Volker Lendecke | 1 | -0/+18 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jan 8 12:39:09 CET 2011 on sn-devel-104 | |||||
2010-10-12 | libcli/security Provide a common, top level libcli/security/security.h | Andrew Bartlett | 1 | -0/+1 | |
This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104 | |||||
2010-09-21 | s3:registry: move the reg_api prototypes to their own header. | Michael Adam | 1 | -0/+1 | |
2010-09-21 | s3:services_db: convert get_common_service_dispname() to talloc | Michael Adam | 1 | -8/+8 | |
2010-09-21 | s3:services_db: does not need legacy registry code any more. | Michael Adam | 1 | -3/+0 | |
2010-09-21 | s3:services_db: rewrite svcctl_init_keys() to use reg_api calls instead of ↵ | Michael Adam | 1 | -135/+131 | |
legacy | |||||
2010-09-21 | s3:services_db: extract core of svcctl_set_secdesc to _internal version | Michael Adam | 1 | -20/+36 | |
The internal version operates on an already opened key. | |||||
2010-09-21 | s3:services_db: create the "Security" subkey if it does not exist in ↵ | Michael Adam | 1 | -4/+12 | |
svcctl_set_secdesc() Windows behaves like this. - Tests will follow. | |||||
2010-09-21 | s3:services_db: remove bogus comments | Michael Adam | 1 | -4/+0 | |
(from copy and paste probably...) | |||||
2010-09-21 | s3:services_db: remove unused legacy function svcctl_fetch_regvalues(). | Michael Adam | 1 | -37/+0 | |
2010-09-21 | s3:services_db: publish svcctl_get_string_value() | Michael Adam | 1 | -3/+3 | |
2010-09-21 | s3:services_db: factor out common code of lookup_dispname and lookup_description | Michael Adam | 1 | -52/+31 | |
into a new function svcctl_get_string_value() | |||||
2010-09-21 | s3:services_db: change svcctl_lookup_description() to use reg_api functions | Michael Adam | 1 | -18/+16 | |
2010-09-21 | s3:services_db: rewrite svcctl_lookup_description() to use a tmp talloc ctx | Michael Adam | 1 | -16/+15 | |
Also remove a possible memory by tallocing the result string also in a default case, where a string constant was returned before. | |||||
2010-09-21 | s3:services_db: change svcctl_lookup_dispname() to use reg_api functions | Michael Adam | 1 | -16/+13 | |
2010-09-21 | s3:services_db: make svcctl_lookup_dispname() use a temp talloc ctx | Michael Adam | 1 | -13/+11 | |
2010-09-21 | s3:services_db: change svcctl_get_secdesc() to use reg_api functions | Michael Adam | 1 | -22/+11 | |
2010-09-21 | s3:services_db: use temp talloc ctx in svcctl_get_secdesc() | Michael Adam | 1 | -6/+8 | |
2010-09-21 | s3:services_db: remove the TALLOC_CTX argument from svcctl_set_secdesc | Michael Adam | 1 | -1/+2 | |
2010-09-21 | s3:services_db: fix a debug message | Michael Adam | 1 | -2/+2 | |
2010-09-21 | s3:services_db: rewrite svcctl_set_secdesc to use tmp talloc ctx | Michael Adam | 1 | -15/+15 | |
and add a common exit point | |||||
2010-09-21 | s3:services_db: rewrite svcctl_set_secdesc() using reg_api calls instead of ↵ | Michael Adam | 1 | -15/+16 | |
legacy | |||||
2010-09-21 | s3:services_db: untanlge assignments from check in read_init_file(). | Michael Adam | 1 | -4/+9 | |
2010-09-21 | s3:services_db: untangle assignments from check in construct_service_sd(). | Michael Adam | 1 | -4/+8 | |
2010-09-11 | s3:auth Remove NT_USER_TOKEN | Andrew Bartlett | 1 | -5/+5 | |
The all UPPER case typedef is no longer the preferred Samba style and this makes it easier to see that this is the IDL-derivied structure Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-08-06 | s3-services: include svcctl.h where needed. | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2010-05-25 | s3:registry: move reg_objects.h to registry/ and use it only where needed | Michael Adam | 1 | -0/+1 | |
Every place outside of registry/ where this is used, should probably be changed to use pure reg_api.c code. | |||||
2010-05-25 | s3:services_db: use regval_ctr_init() instead of direct allocation | Michael Adam | 1 | -7/+14 | |
2010-05-25 | s3:registry: extraxt the reg_dispatcher prototypes into their own header. | Michael Adam | 1 | -0/+1 | |
And use them only where needed. | |||||
2010-05-25 | s3:registry: adapt callers of regval_ctr_addvalue to uint8 * instead of char * | Michael Adam | 1 | -5/+5 | |
2010-05-25 | s3:registry: extract the reg_util_legacy prototypes into their own header. | Michael Adam | 1 | -0/+1 | |
And use them only where necessary. | |||||
2010-05-20 | s3-services: move services.h closer to services implementation. | Günther Deschner | 7 | -6/+58 | |
Guenther | |||||
2010-05-18 | s3-secdesc: remove "typedef struct security_descriptor SEC_DESC". | Günther Deschner | 1 | -6/+6 | |
Guenther | |||||
2010-05-18 | s3-secdesc: remove "typedef struct security_acl SEC_ACL". | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-05-18 | s3-secdesc: remove "typedef struct security_ace SEC_ACE". | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-05-18 | s3: Remove use of iconv_convenience. | Jelmer Vernooij | 1 | -2/+2 | |
2010-05-18 | s3-registry: only include registry headers when really needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-05-18 | s3-services: move services.h to where it is actually used. | Günther Deschner | 6 | -0/+6 | |
Guenther | |||||
2010-04-09 | s3: add iconv_convenience handle to pull/push sz helpers. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2009-10-01 | s3-registry: use pull_reg_sz() where appropriate. | Günther Deschner | 1 | -4/+10 | |
(and move away from rpcstr_pull and rpcstr_pull_talloc). Guenther |