mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
parent
361d126d01
commit
133d41d43d
@ -172,7 +172,7 @@ static WERROR spoolss_check_server_name(struct dcesrv_call_state *dce_call,
|
||||
/* DNS NAME is ok
|
||||
* TODO: we need to check if aliases are also ok
|
||||
*/
|
||||
if (lp_realm() != NULL) {
|
||||
if (lp_realm()) {
|
||||
str = talloc_asprintf(mem_ctx, "%s.%s",
|
||||
lp_netbios_name(),
|
||||
lp_realm());
|
||||
|
Loading…
Reference in New Issue
Block a user