s4:ldap_server: Remove trailing whitespace
authorJo Sutton <josutton@catalyst.net.nz>
Tue, 16 Apr 2024 02:17:02 +0000 (14:17 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 16 Apr 2024 03:58:31 +0000 (03:58 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15634

Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/ldap_server/ldap_server.c
source4/ldap_server/ldap_server.h

index 9c34c3e5712239e2944f8d0f3f1047892838834e..4aa8250c9210e068a932a0f29bed71ad4ce5a1d5 100644 (file)
@@ -1,4 +1,4 @@
-/* 
+/*
    Unix SMB/CIFS implementation.
 
    LDAP server
@@ -302,7 +302,7 @@ static void ldapsrv_accept(struct stream_connection *c,
                           struct auth_session_info *session_info,
                           bool is_privileged)
 {
-       struct ldapsrv_service *ldapsrv_service = 
+       struct ldapsrv_service *ldapsrv_service =
                talloc_get_type(c->private_data, struct ldapsrv_service);
        struct ldapsrv_connection *conn;
        struct cli_credentials *server_credentials;
@@ -389,7 +389,7 @@ static void ldapsrv_accept(struct stream_connection *c,
        /* load limits from the conf partition */
        ldapsrv_load_limits(conn); /* should we fail on error ? */
 
-       /* register the server */       
+       /* register the server */
        irpc_add_name(c->msg_ctx, "ldap_server");
 
        DLIST_ADD_END(ldapsrv_service->connections, conn);
@@ -1364,7 +1364,7 @@ static void ldap_reload_certs(struct imessaging_context *msg_ctx,
   open the ldap server sockets
 */
 static NTSTATUS ldapsrv_task_init(struct task_server *task)
-{      
+{
        char *ldapi_path;
 #ifdef WITH_LDAPI_PRIV_SOCKET
        char *priv_dir;
@@ -1374,11 +1374,11 @@ static NTSTATUS ldapsrv_task_init(struct task_server *task)
 
        switch (lpcfg_server_role(task->lp_ctx)) {
        case ROLE_STANDALONE:
-               task_server_terminate(task, "ldap_server: no LDAP server required in standalone configuration", 
+               task_server_terminate(task, "ldap_server: no LDAP server required in standalone configuration",
                                      false);
                return NT_STATUS_INVALID_DOMAIN_ROLE;
        case ROLE_DOMAIN_MEMBER:
-               task_server_terminate(task, "ldap_server: no LDAP server required in member server configuration", 
+               task_server_terminate(task, "ldap_server: no LDAP server required in member server configuration",
                                      false);
                return NT_STATUS_INVALID_DOMAIN_ROLE;
        case ROLE_ACTIVE_DIRECTORY_DC:
@@ -1438,7 +1438,7 @@ static NTSTATUS ldapsrv_task_init(struct task_server *task)
                load_interface_list(task, task->lp_ctx, &ifaces);
                num_interfaces = iface_list_count(ifaces);
 
-               /* We have been given an interfaces line, and been 
+               /* We have been given an interfaces line, and been
                   told to only bind to those interfaces. Create a
                   socket per interface and bind to only these.
                */
@@ -1480,7 +1480,7 @@ static NTSTATUS ldapsrv_task_init(struct task_server *task)
 
        status = stream_setup_socket(task, task->event_ctx, task->lp_ctx,
                                     task->model_ops, &ldap_stream_nonpriv_ops,
-                                    "unix", ldapi_path, NULL, 
+                                    "unix", ldapi_path, NULL,
                                     lpcfg_socket_options(task->lp_ctx),
                                     ldap_service, task->process_context);
        talloc_free(ldapi_path);
index a56aa8f8c4a15821413db4dacf9d65a4f46caff6..b53be2703200d16e1bc878836f9db2e2925320bc 100644 (file)
@@ -1,19 +1,19 @@
-/* 
+/*
    Unix SMB/CIFS implementation.
    LDAP server
    Copyright (C) Volker Lendecke 2004
    Copyright (C) Stefan Metzmacher 2004
-   
+
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
-   
+
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
-   
+
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */