1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

default server_name if NIS server is unavailable should be the local

machine, not a NULL string.
(This used to be commit 5b15b17fc6)
This commit is contained in:
Luke Leighton 1997-10-24 13:58:21 +00:00
parent be0f2e14b5
commit a60ad7bef3

View File

@ -3621,8 +3621,8 @@ char *automount_server(char *user_name)
char *nis_map = (char *)lp_nis_home_map_name();
int home_server_len;
/* set to default of no string */
server_name[0] = 0;
/* set to default of local machine */
pstrcpy(server_name, local_machine);
if ((nis_error = yp_get_default_domain(&nis_domain)) != 0)
{