diff options
author | Günther Deschner <gd@samba.org> | 2008-02-12 22:05:39 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-12 22:05:39 +0100 |
commit | e2b3aad8174daede0248ce96df624e575867cfd8 (patch) | |
tree | 071c9c3f8ce3caddb6160d229f788a8f13bee4e5 /source3/utils | |
parent | befc71c942c044c9edc31d166f7b2ad6630fdb7c (diff) | |
download | samba-e2b3aad8174daede0248ce96df624e575867cfd8.tar.gz samba-e2b3aad8174daede0248ce96df624e575867cfd8.tar.bz2 samba-e2b3aad8174daede0248ce96df624e575867cfd8.zip |
Collect all init_lsa_string varients in one place.
Guenther
(This used to be commit f4581e9f4482566fba9436d5ae058b8d840fa394)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_domain.c | 5 | ||||
-rw-r--r-- | source3/utils/net_rpc.c | 5 | ||||
-rw-r--r-- | source3/utils/net_rpc_join.c | 6 | ||||
-rw-r--r-- | source3/utils/net_rpc_rights.c | 5 |
4 files changed, 0 insertions, 21 deletions
diff --git a/source3/utils/net_domain.c b/source3/utils/net_domain.c index 69994b53df..90d28b5e6e 100644 --- a/source3/utils/net_domain.c +++ b/source3/utils/net_domain.c @@ -37,11 +37,6 @@ goto done; \ } -static void init_lsa_String(struct lsa_String *name, const char *s) -{ - name->string = s; -} - /******************************************************************* Leave an AD domain. Windows XP disables the machine account. We'll try the same. The old code would do an LDAP delete. diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 968ae9d9b5..4967eb4cff 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -23,11 +23,6 @@ #include "includes.h" #include "utils/net.h" -static void init_lsa_String(struct lsa_String *name, const char *s) -{ - name->string = s; -} - static int net_mode_share; static bool sync_files(struct copy_clistate *cp_clistate, const char *mask); diff --git a/source3/utils/net_rpc_join.c b/source3/utils/net_rpc_join.c index a20dc9a0c4..f08dc66d3c 100644 --- a/source3/utils/net_rpc_join.c +++ b/source3/utils/net_rpc_join.c @@ -34,12 +34,6 @@ goto done; \ } -static void init_lsa_String(struct lsa_String *name, const char *s) -{ - name->string = s; -} - - /** * confirm that a domain join is still valid * diff --git a/source3/utils/net_rpc_rights.c b/source3/utils/net_rpc_rights.c index e110c412e0..de6e14ebad 100644 --- a/source3/utils/net_rpc_rights.c +++ b/source3/utils/net_rpc_rights.c @@ -19,11 +19,6 @@ #include "includes.h" #include "utils/net.h" -static void init_lsa_String(struct lsa_String *name, const char *s) -{ - name->string = s; -} - /******************************************************************** ********************************************************************/ |