]> git.ipfire.org Git - thirdparty/samba.git/commit
sharesec: Add function to check existence of share from config
authorVinit Agnihotri <vagnihot@redhat.com>
Tue, 3 Dec 2024 05:49:09 +0000 (11:19 +0530)
committerGünther Deschner <gd@samba.org>
Fri, 10 Jan 2025 09:46:32 +0000 (09:46 +0000)
commit78eb293e1cdd3635de0bcf46ffb9d842f27bcc9f
tree81d883aab9ebd55bfc2d0ea48ba9c37917105c36
parent2927dba0434b960e4c381329bdc9fe474fb930ce
sharesec: Add function to check existence of share from config

Add function to detect if a share name exists in the registry or config file.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15780

Signed-off-by: Vinit Agnihotri <vagnihot@redhat.com>
Reviewed-by: John Mulligan <jmulligan@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source3/utils/sharesec.c