s3-param remove lp_domain_logons(), always use IS_DC
[ira/wip.git] / source3 / nmbd / nmbd_processlogon.c
index 43ffd726c677e166345b546d52e6a26ca3f5bfa7..4fe5d0ee876d2b421417f7fd334efc9ab444fc53 100644 (file)
@@ -329,7 +329,7 @@ void process_logon_packet(struct packet_struct *p, const char *buf,int len,
        }
        ip = ((const struct sockaddr_in *)pss)->sin_addr;
 
-       if (!lp_domain_logons()) {
+       if (!IS_DC) {
                DEBUG(5,("process_logon_packet: Logon packet received from IP %s and domain \
 logons are not enabled.\n", inet_ntoa(p->ip) ));
                return;