/*
- * VFS module to alter the algorithm to calculate
- * the struct file_id used as key for the share mode
- * and byte range locking db's.
+ * VFS module to retrieve DFS referrals from AD
*
* Copyright (C) 2007, Stefan Metzmacher
*
static void dfs_samba4_disconnect(struct vfs_handle_struct *handle)
{
+ const struct loadparm_substitution *lp_sub =
+ loadparm_s3_global_substitution();
+
DEBUG(10,("dfs_samba4_disconnect() connect to service[%s].\n",
- lp_servicename(talloc_tos(), SNUM(handle->conn))));
+ lp_servicename(talloc_tos(), lp_sub, SNUM(handle->conn))));
SMB_VFS_NEXT_DISCONNECT(handle);
}