Revert "Use "localhost" to be ipv6 only friendly"
authorSimo Sorce <idra@samba.org>
Sat, 17 Mar 2018 18:50:49 +0000 (14:50 -0400)
committerSimo Sorce <idra@samba.org>
Mon, 19 Mar 2018 14:34:32 +0000 (15:34 +0100)
This reverts commit 54548f6dde3cf74f0e90ef577a55fd720dca6d93.

source3/librpc/rpc/dcerpc_ep.c
source3/rpc_client/cli_winreg_int.c
source3/rpc_server/netlogon/srv_netlog_nt.c
source3/rpc_server/rpc_ncacn_np.c
source3/rpc_server/spoolss/srv_spoolss_util.c
source3/winbindd/winbindd_pam.c

index 5bd55d93e6428212f5ccdb183e272b2a3e3f94b3..da26fab76ae987bef585a7c52dab60dd32cf26cf 100644 (file)
@@ -372,7 +372,7 @@ static NTSTATUS ep_register(TALLOC_CTX *mem_ctx,
 
                rc = tsocket_address_inet_from_strings(tmp_ctx,
                                                       "ip",
-                                                      "localhost",
+                                                      "127.0.0.1",
                                                       0,
                                                       &local);
                if (rc < 0) {
index 3e242dd742f72e72780146f3d4f5a1b4b965ba53..3ac8380bf7c22ac42a2fb75ad0893bec8960250f 100644 (file)
@@ -105,7 +105,7 @@ static NTSTATUS _winreg_int_openkey(TALLOC_CTX *mem_ctx,
 
        rc = tsocket_address_inet_from_strings(mem_ctx,
                                               "ip",
-                                              "localhost",
+                                              "127.0.0.1",
                                               0,
                                               &local);
        if (rc < 0) {
index 29cac01fde51783a9d578298da9148e0b61890ff..83e68417c767df6514c49893499bcedd3eb787d4 100644 (file)
@@ -694,7 +694,7 @@ static NTSTATUS get_md4pw(struct samr_Password *md4pw, const char *mach_acct,
 
        rc = tsocket_address_inet_from_strings(mem_ctx,
                                               "ip",
-                                              "localhost",
+                                              "127.0.0.1",
                                               0,
                                               &local);
        if (rc < 0) {
@@ -1188,7 +1188,7 @@ static NTSTATUS netr_set_machine_account_password(TALLOC_CTX *mem_ctx,
 
        rc = tsocket_address_inet_from_strings(mem_ctx,
                                               "ip",
-                                              "localhost",
+                                              "127.0.0.1",
                                               0,
                                               &local);
        if (rc < 0) {
index 5b78347ce2cdac74300b5fe19ba91114b3cb3c72..0728f54b092593679558ba89680e5834b226b9af 100644 (file)
@@ -623,7 +623,7 @@ NTSTATUS rpc_pipe_open_internal(TALLOC_CTX *mem_ctx,
 
                rc = tsocket_address_inet_from_strings(mem_ctx,
                                                       "ip",
-                                                      "localhost",
+                                                      "127.0.0.1",
                                                       0,
                                                       &local);
                if (rc < 0) {
index 7f8bc172300dc07da66345e6c83f47a3ba98601f..be3c8fcddd7225b7694f0fb7033a7b8e93db5b36 100644 (file)
@@ -38,7 +38,7 @@ WERROR winreg_printer_binding_handle(TALLOC_CTX *mem_ctx,
 
        rc = tsocket_address_inet_from_strings(mem_ctx,
                                               "ip",
-                                              "localhost",
+                                              "127.0.0.1",
                                               0,
                                               &local);
        if (rc < 0) {
index 02cc52db37916cdcb9d249a876245fa6814585a5..8403d7d57b67aeb8aab2e397ff4b0fda9ae2a6cb 100644 (file)
@@ -1332,7 +1332,7 @@ static NTSTATUS winbindd_dual_auth_passdb(TALLOC_CTX *mem_ctx,
 
        rc = tsocket_address_inet_from_strings(frame,
                                               "ip",
-                                              "localhost",
+                                              "127.0.0.1",
                                               0,
                                               &local);
        if (rc < 0) {