The branch, master has been updated
       via  32e7d76 s4:auth/ntlm/auth_sam.c - fix call to 
"get_server_info_principal"
      from  77f8b00 s3: Avoid some calls to cli_errstr

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 32e7d7654f6e446d85da4b81b14e7989b8d030d5
Author: Matthias Dieter Wallnöfer <[email protected]>
Date:   Sat Jan 15 16:54:23 2011 +0100

    s4:auth/ntlm/auth_sam.c - fix call to "get_server_info_principal"
    
    This should obviously point to the wrapper not the call itself.
    
    Found out by Tru64 host build warning.
    
    Autobuild-User: Matthias Dieter Wallnöfer <[email protected]>
    Autobuild-Date: Sat Jan 15 18:05:59 CET 2011 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 source4/auth/ntlm/auth_sam.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/auth/ntlm/auth_sam.c b/source4/auth/ntlm/auth_sam.c
index 6457132..d9aec66 100644
--- a/source4/auth/ntlm/auth_sam.c
+++ b/source4/auth/ntlm/auth_sam.c
@@ -354,11 +354,11 @@ static NTSTATUS authsam_want_check(struct 
auth_method_context *ctx,
 
                                   
 /* Wrapper for the auth subsystem pointer */
-NTSTATUS authsam_get_server_info_principal_wrapper(TALLOC_CTX *mem_ctx,
-                                                  struct auth_context 
*auth_context,
-                                                  const char *principal,
-                                                  struct ldb_dn *user_dn,
-                                                  struct 
auth_serversupplied_info **server_info)
+static NTSTATUS authsam_get_server_info_principal_wrapper(TALLOC_CTX *mem_ctx,
+                                                         struct auth_context 
*auth_context,
+                                                         const char *principal,
+                                                         struct ldb_dn 
*user_dn,
+                                                         struct 
auth_serversupplied_info **server_info)
 {
        return authsam_get_server_info_principal(mem_ctx, auth_context->lp_ctx, 
auth_context->sam_ctx,
                                                 principal, user_dn, 
server_info);
@@ -368,7 +368,7 @@ static const struct auth_operations sam_ignoredomain_ops = {
        .get_challenge             = auth_get_challenge_not_implemented,
        .want_check                = authsam_ignoredomain_want_check,
        .check_password            = authsam_check_password_internals,
-       .get_server_info_principal = authsam_get_server_info_principal
+       .get_server_info_principal = authsam_get_server_info_principal_wrapper
 };
 
 static const struct auth_operations sam_ops = {
@@ -376,7 +376,7 @@ static const struct auth_operations sam_ops = {
        .get_challenge             = auth_get_challenge_not_implemented,
        .want_check                = authsam_want_check,
        .check_password            = authsam_check_password_internals,
-       .get_server_info_principal = authsam_get_server_info_principal
+       .get_server_info_principal = authsam_get_server_info_principal_wrapper
 };
 
 _PUBLIC_ NTSTATUS auth_sam_init(void)


-- 
Samba Shared Repository

Reply via email to