Expose smbd_check_access_rights() to other modules.
[mat/samba.git] / source3 / smbd / open.c
index b77f661cee7cb1875e8cfc95891b234f3de41d43..bd022ecd59966e9b33f2fa323a03dbf4b0abbaf1 100644 (file)
@@ -60,7 +60,7 @@ static bool parent_override_delete(connection_struct *conn,
  Check if we have open rights.
 ****************************************************************************/
 
-static NTSTATUS smbd_check_access_rights(struct connection_struct *conn,
+NTSTATUS smbd_check_access_rights(struct connection_struct *conn,
                                struct smb_filename *smb_fname,
                                uint32_t access_mask)
 {