mirror of
https://github.com/samba-team/samba.git
synced 2025-11-26 04:23:49 +03:00
r8052: that looks nicer:-)
metze
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
dac526845e
commit
dad0371a9f
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user