s3: smbd: Use ucf_flags variable instead of passing as parameter.