Print this page
1575 untangle libmlrpc ... pre1:
 Move srvsvc_timecheck where it belongs

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/smbsrv/libmlsvc/common/mlsvc_init.c
          +++ new/usr/src/lib/smbsrv/libmlsvc/common/mlsvc_init.c
↓ open down ↓ 103 lines elided ↑ open up ↑
 104  104                  if (smb_config_get_secmode() != SMB_SECMODE_DOMAIN)
 105  105                          continue;
 106  106  
 107  107                  /* Avoid interfering with DC discovery. */
 108  108                  if (smb_ddiscover_wait() != 0)
 109  109                          continue;
 110  110  
 111  111                  if (!smb_domain_getinfo(&di))
 112  112                          continue;
 113  113  
 114      -                ndr_srvsvc_timecheck(di.d_dci.dc_name,
      114 +                srvsvc_timecheck(di.d_dci.dc_name,
 115  115                      di.d_primary.di_nbname);
 116  116          }
 117  117  
 118  118          /*NOTREACHED*/
 119  119          return (NULL);
 120  120  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX