s3-param Remove special case for global_myname(), rename to lp_netbios_name()
[samba.git] / source3 / winbindd / winbindd_pam_auth_crap.c
index 186e510aa3e7abf3b758262d6140a3ecd064346e..2fb5111510c78bd8c82913fe084662ee7afa9dc6 100644 (file)
@@ -74,7 +74,7 @@ struct tevent_req *winbindd_pam_auth_crap_send(
        }
 
        if (request->data.auth_crap.workstation[0] == '\0') {
-               fstrcpy(request->data.auth_crap.workstation, global_myname());
+               fstrcpy(request->data.auth_crap.workstation, lp_netbios_name());
        }
 
        subreq = wb_domain_request_send(state, winbind_event_context(), domain,