s3:auth Whitespace fixes after auth merge
authorAndrew Bartlett <abartlet@samba.org>
Tue, 1 Jun 2010 11:53:42 +0000 (21:53 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 10 Aug 2010 22:42:43 +0000 (08:42 +1000)
source3/auth/auth.c
source3/auth/auth_domain.c
source3/auth/auth_netlogond.c

index 5c50bb88265f081edb5fd717dcbf01a1122fcf98..ed8888ff93e24d5335ba4bdc7a84d1802d0afe2e 100644 (file)
@@ -248,7 +248,7 @@ static NTSTATUS check_ntlm_password(const struct auth_context *auth_context,
                NTSTATUS result;
 
                mem_ctx = talloc_init("%s authentication for user %s\\%s", auth_method->name,
-                                           user_info->mapped.domain_name, user_info->client.account_name);
+                                     user_info->mapped.domain_name, user_info->client.account_name);
 
                result = auth_method->auth(auth_context, auth_method->private_data, mem_ctx, user_info, server_info);
 
index 824618c63dfa09c4a180a9866664489690b5ca61..445aff51bb7d52c5cdf95a087832b9bb562c4dd3 100644 (file)
@@ -307,15 +307,15 @@ static NTSTATUS domain_client_validate(TALLOC_CTX *mem_ctx,
 
        nt_status = rpccli_netlogon_sam_network_logon(netlogon_pipe,
                                                      mem_ctx,
-                                                     user_info->logon_parameters,/* flags such as 'allow workstation logon' */ 
-                                                     dc_name,                    /* server name */
-                                                     user_info->client.account_name,        /* user name logging on. */
-                                                     user_info->client.domain_name,   /* domain name */
-                                                     user_info->workstation_name,/* workstation name */
-                                                     chal,                       /* 8 byte challenge. */
+                                                     user_info->logon_parameters,         /* flags such as 'allow workstation logon' */
+                                                     dc_name,                             /* server name */
+                                                     user_info->client.account_name,      /* user name logging on. */
+                                                     user_info->client.domain_name,       /* domain name */
+                                                     user_info->workstation_name,         /* workstation name */
+                                                     chal,                                /* 8 byte challenge. */
                                                      user_info->password.response.lanman, /* lanman 24 byte response */
                                                      user_info->password.response.nt,     /* nt 24 byte response */
-                                                     &info3);                    /* info3 out */
+                                                     &info3);                             /* info3 out */
 
        /* Let go as soon as possible so we avoid any potential deadlocks
           with winbind lookup up users or groups. */
@@ -335,10 +335,10 @@ static NTSTATUS domain_client_validate(TALLOC_CTX *mem_ctx,
                }
        } else {
                nt_status = make_server_info_info3(mem_ctx,
-                                               user_info->client.account_name,
-                                               domain,
-                                               server_info,
-                                               info3);
+                                                  user_info->client.account_name,
+                                                  domain,
+                                                  server_info,
+                                                  info3);
 
                if (NT_STATUS_IS_OK(nt_status)) {
                        (*server_info)->nss_token |= user_info->was_mapped;
@@ -522,12 +522,12 @@ static NTSTATUS check_trustdomain_security(const struct auth_context *auth_conte
        }
 
        nt_status = domain_client_validate(mem_ctx,
-                                       user_info,
-                                       user_info->mapped.domain_name,
-                                       (uchar *)auth_context->challenge.data,
-                                       server_info,
-                                       dc_name,
-                                       &dc_ss);
+                                          user_info,
+                                          user_info->mapped.domain_name,
+                                          (uchar *)auth_context->challenge.data,
+                                          server_info,
+                                          dc_name,
+                                          &dc_ss);
 
        return nt_status;
 }
index 446b9e2ee4e7d0050c0570e5cb46432a4c7a3818..889371c7229dc3d6fa94fdafbe22383f500f0565 100644 (file)
@@ -84,8 +84,8 @@ static NTSTATUS netlogond_validate(TALLOC_CTX *mem_ctx,
                user_info->logon_parameters,           /* flags such as 'allow
                                                        * workstation logon' */
                global_myname(),                       /* server name */
-               user_info->client.account_name,                   /* user name logging on. */
-               user_info->client.domain_name,              /* domain name */
+               user_info->client.account_name,        /* user name logging on. */
+               user_info->client.domain_name,         /* domain name */
                user_info->workstation_name,           /* workstation name */
                (uchar *)auth_context->challenge.data, /* 8 byte challenge. */
                user_info->password.response.lanman,   /* lanman 24 byte response */