Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-08-22 | s3: Turn two macros into functions | Volker Lendecke | 1 | -6/+24 | |
2010-08-22 | s3: Pass the rhost through smb_pam_accountcheck | Volker Lendecke | 2 | -4/+7 | |
2010-08-22 | s3: Rename auth.c:backends to auth_backends | Volker Lendecke | 1 | -4/+4 | |
2010-08-22 | s3: Fix some nonemtpy blank lines | Volker Lendecke | 1 | -10/+9 | |
2010-08-20 | Fix const warning. | Jeremy Allison | 1 | -1/+1 | |
2010-08-19 | s3: Remove smb_pam_accountcheck from the auth modules | Volker Lendecke | 3 | -32/+4 | |
We go through the same check in auth/auth.c line 287 after the module has done its job. So we don't have to do that check twice. | |||||
2010-08-18 | s3: Lift smbd_server_fd from reload_services() | Volker Lendecke | 1 | -1/+1 | |
2010-08-16 | s3: Remove get_client_fd() | Volker Lendecke | 1 | -2/+3 | |
2010-08-16 | s3-auth: Remove obsolete 'update encrypted' option. | Andreas Schneider | 2 | -66/+5 | |
2010-08-14 | s3:auth Add error paths for invalid password_state values | Andrew Bartlett | 3 | -2/+10 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-08-14 | s3:auth Change winbindd -> auth interface to more standard structures | Andrew Bartlett | 1 | -0/+37 | |
This removes conversions to and from the source3 varient of the server_info structure when replaced in s3compat, and presents a tidier interface to winbindd in any case. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-08-14 | s3:auth Change 'make_user_info' to be talloc based | Andrew Bartlett | 1 | -72/+58 | |
This is an ideal candidate, as it already uses a free function. It now uses talloc destructors to clear the passwords if required. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-08-14 | s3:auth Whitespace fixes after auth merge | Andrew Bartlett | 3 | -20/+20 | |
2010-08-14 | s3:auth Make Samba3 use the new common struct auth_usersupplied_info | Andrew Bartlett | 14 | -152/+191 | |
This common structure will make it much easier to produce an auth module for s3compat that calls Samba4's auth subsystem. In order the make the link work properly (and not map twice), we mark both that we did try and map the user, as well as if we changed the user during the mapping. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-08-08 | s3: Lift the smbd_messaging_context from reload_services | Volker Lendecke | 1 | -1/+1 | |
2010-08-06 | s3-netlogon: remove global include of netlogon.h. | Günther Deschner | 3 | -0/+4 | |
This reduces precompiled headers by another 4 MB and also slightly speeds up the build. Guenther | |||||
2010-08-06 | s3: remove global include of samr.h | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-05 | s3-secrets: only include secrets.h when needed. | Günther Deschner | 3 | -0/+3 | |
Guenther | |||||
2010-07-28 | s3-auth: Remove unimplemented functions | Simo Sorce | 1 | -10/+0 | |
2010-07-24 | s3: Fix a typo (missing space) | Volker Lendecke | 1 | -1/+1 | |
2010-07-20 | s3-dcerpc: Unifiy cli_pipe_auth_data and pipe_auth_data | Simo Sorce | 1 | -2/+2 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-20 | s3-auth: Move auth_ntlmssp wrappers in their own file | Simo Sorce | 1 | -77/+1 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-20 | s3-auth: Refactor and rename auth_ntlmssp_server_info() | Simo Sorce | 1 | -11/+13 | |
Rename it to auth_ntlmssp_steal_server_info() to make it clear that the server_info struct is stolen from the auth_ntlmssp_state structure. Use talloc_move instead of manual steal&clear Add comments to explain what is going on. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s3-auth: Remove unused variable. | Simo Sorce | 1 | -2/+0 | |
It was a spurious remnant after a rebase. | |||||
2010-07-19 | s3-auth: Use talloc hierarchies to properly free auth_ntlmssp_state contexts | Simo Sorce | 1 | -6/+12 | |
Turn auth_ntlmssp_end into a destructor and attach it to auth_ntlmssp_state. Remote auth_ntlmssp_end and use TALLOC_FREE in the callers. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s3-auth: auth_make ntlmssp_state the parent context | Simo Sorce | 1 | -29/+12 | |
There is no need for a separate mem_ctx member. Also make the ntlmssp_state a children of auth_ntlmssp_state Also cleanup auth_ntlmssp_end to free only what is not automatically freed Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s3-auth: Simplify how we free the auth_context | Simo Sorce | 3 | -18/+20 | |
Turn the freeing function into a destructor and attach it to the auth_context. Make all callers TALLOC_FREE() the auth_context instead of calling the free function. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s3-auth: Cleanup and readability fixes | Simo Sorce | 1 | -21/+23 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s3-ntlmssp: Remove ntlmssp_end and let the talloc hierarchy handle it. | Simo Sorce | 1 | -1/+1 | |
All the members are children of ntlmssp_state anyway. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-14 | s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS | Andrew Bartlett | 1 | -4/+7 | |
This fixes a bug where register_existing_vuid() could be called with a NULL server_info if the alloction failed. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-07-11 | s3: [ug]id_to_unix_... can not fail | Volker Lendecke | 2 | -14/+5 | |
Remove some silly failure checks | |||||
2010-07-08 | s3: Slightly simplify make_server_info_pw | Volker Lendecke | 1 | -3/+1 | |
2010-06-25 | s3: In make_server_info_info3, check the result of copy_netr_SamInfo3 | Volker Lendecke | 1 | -0/+4 | |
2010-06-25 | s3: In copy_netr_SamInfo3 copy all of the sids array | Volker Lendecke | 1 | -0/+3 | |
2010-06-16 | s3-auth: in make_user_info_for_reply_enc make sure to check length and data | Günther Deschner | 1 | -2/+2 | |
pointer of nt and lm hash. This fixes kernel cifs client with sec=ntlmv2. Guenther | |||||
2010-06-16 | s3-auth: fix debug message in check_winbind_security(). | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-06-16 | Revert "s4-smbtorture: only pull info when status code indicates success in ↵ | Günther Deschner | 1 | -11/+3 | |
smbcli_rap_netprintqgetinfo()." This reverts commit 1f1c04010a55e67d8dc2110276eed4cf2a8a0afa. | |||||
2010-06-16 | s4-smbtorture: only pull info when status code indicates success in ↵ | Günther Deschner | 1 | -3/+11 | |
smbcli_rap_netprintqgetinfo(). Guenther | |||||
2010-06-11 | s3-auth: Fix valgrind warning (unitialized var) in samu_to_SamInfo3(). | Günther Deschner | 1 | -5/+7 | |
Guenther s3:auth do not fail if there are 0 group sids Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-06-11 | s3:auth fix samu->info3 conversion | Simo Sorce | 1 | -0/+3 | |
Some pdb_get_ functions where missing because of previous mis-patching | |||||
2010-06-10 | s3:misc make use of server_[event/messaging]_context directly | Andreas Schneider | 1 | -1/+1 | |
Untangle these functions from smbd specific dependencies so they can be freely used in multiple servers. | |||||
2010-06-08 | Revert "s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS" | Volker Lendecke | 1 | -6/+4 | |
This reverts commit edba46ce94c335411ab337eeb4ef6f88fb3aae80. Conflicts: source3/auth/auth_ntlmssp.c | |||||
2010-06-07 | s3:auth add hooks to indicate if signing or sealing is desired with NTLMSSP | Andrew Bartlett | 1 | -0/+10 | |
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-07 | s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS | Andrew Bartlett | 1 | -4/+6 | |
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-07 | s3:auth Rename user_info->domain -> user_info->mapped.domain_name | Andrew Bartlett | 9 | -37/+37 | |
This is closer to the structure I want for a common struct auth_usersupplied_info. Andrew Bartlett | |||||
2010-06-07 | s3:auth Rename user_info->client_domain -> user_info->client.domain_name | Andrew Bartlett | 5 | -8/+8 | |
This is closer to the structure I want for a common struct auth_usersupplied_info. Andrew Bartlett | |||||
2010-06-07 | s3:auth Rename user_info->internal_username -> user_info->mapped.account_name | Andrew Bartlett | 11 | -30/+30 | |
This is closer to the structure I want for a common struct auth_usersupplied_info. Andrew Bartlett | |||||
2010-06-07 | s3:auth Rename user_info->smb_name -> user_info->client.account_name | Andrew Bartlett | 10 | -29/+29 | |
This is closer to the structure I want for a common struct auth_usersupplied_info. Andrew Bartlett | |||||
2010-06-07 | s3:auth make sure the primary group sid is usable | Simo Sorce | 1 | -13/+30 | |
This function was previously performed under the cover by converting back and forth from info3 to samu and then later from samu to info3. Since we now shortcircuit that in some cases, check explicitly using get_primary_group_sid() Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-06-07 | s3:auth return the full passwd struct from check_account | Simo Sorce | 1 | -12/+6 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> |