]> 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)
committerJule Anger <janger@samba.org>
Tue, 21 Jan 2025 07:38:18 +0000 (07:38 +0000)
commit017f90a03d0ab69641880d4fc2504c02259fa04e
tree24daeb28fff4c8c3dfbf397de7d589737dc27861
parent91410773497916f0cfcb453faafa1fea59e09eb6
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>
(cherry picked from commit 78eb293e1cdd3635de0bcf46ffb9d842f27bcc9f)
source3/utils/sharesec.c