mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
parent
7ca6192c1a
commit
e14f26f22b
@ -483,6 +483,9 @@ static const char *automount_server(const char *user_name)
|
||||
return "";
|
||||
}
|
||||
srv = talloc_strdup(ctx, automount_value);
|
||||
if (!srv) {
|
||||
return "";
|
||||
}
|
||||
p = strchr_m(srv, ':');
|
||||
if (!p) {
|
||||
return "";
|
||||
@ -494,9 +497,6 @@ static const char *automount_server(const char *user_name)
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!server_name) {
|
||||
server_name = "";
|
||||
}
|
||||
DEBUG(4,("Home server: %s\n", server_name));
|
||||
return server_name;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user