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

r3650: Allow to call spoolss-server as "localhost".

Guenther
(This used to be commit 14a0292250)
This commit is contained in:
Günther Deschner 2004-11-10 02:13:36 +00:00 committed by Gerald (Jerry) Carter
parent 784832d2e0
commit 92e05b34ae

View File

@ -1747,7 +1747,12 @@ BOOL is_myname_or_ipaddr(const char *s)
if (is_myname(servername))
return True;
/* check for loopback */
if (strequal(servername, "localhost"))
return True;
/* maybe it's my dns name */
if ( get_mydnsfullname( dnsname ) )