mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
r8052: that looks nicer:-)
metze
This commit is contained in:
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());
|
||||
|
Loading…
Reference in New Issue
Block a user