libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbol
[samba.git] / source4 / cldap_server / cldap_server.c
index 9370c59df275fee0c19d04a4e92a69e47bf6e5f7..d3e8b7fffa450c83a653dc31ffefa8c25a832312 100644 (file)
@@ -116,7 +116,7 @@ static NTSTATUS cldapd_add_socket(struct cldapd_server *cldapd, struct loadparm_
                                                lpcfg_cldap_port(lp_ctx),
                                                &socket_address);
        if (ret != 0) {
-               status = map_nt_error_from_unix(errno);
+               status = map_nt_error_from_unix_common(errno);
                DEBUG(0,("invalid address %s:%d - %s:%s\n",
                         address, lpcfg_cldap_port(lp_ctx),
                         gai_strerror(ret), nt_errstr(status)));