s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
[bbaumbach/samba-autobuild/.git] / source4 / smb_server / smb / signing.c
index 0b5cf56fdb87689f14a7f44a01bfc5686833f15b..94ea74681ca914baee802ceb9b4851d452383b83 100644 (file)
@@ -82,7 +82,7 @@ bool smbsrv_init_signing(struct smbsrv_connection *smb_conn)
                return false;
        }
        
-       switch (lp_server_signing(smb_conn->lp_ctx)) {
+       switch (lpcfg_server_signing(smb_conn->lp_ctx)) {
        case SMB_SIGNING_OFF:
                smb_conn->signing.allow_smb_signing = false;
                break;
@@ -99,7 +99,7 @@ bool smbsrv_init_signing(struct smbsrv_connection *smb_conn)
                 * attacks on communications between us and the
                 * clients */
 
-               if (lp_server_role(smb_conn->lp_ctx) == ROLE_DOMAIN_CONTROLLER) {
+               if (lpcfg_server_role(smb_conn->lp_ctx) == ROLE_DOMAIN_CONTROLLER) {
                        smb_conn->signing.allow_smb_signing = true;
                        smb_conn->signing.mandatory_signing = true;
                } else {