]> git.ipfire.org Git - thirdparty/samba.git/commit
param: Add API to load registry without share info
authorVinit Agnihotri <vagnihot@redhat.com>
Tue, 3 Dec 2024 05:42:34 +0000 (11:12 +0530)
committerGünther Deschner <gd@samba.org>
Fri, 10 Jan 2025 09:46:32 +0000 (09:46 +0000)
commit2927dba0434b960e4c381329bdc9fe474fb930ce
tree0e6bf9346b28fdbe256aac175825a1c8cd493fde
parent04531e1b1d25d114c470922547bee769b07e5e60
param: Add API to load registry without share info

As number of shares increases loading entire registry configuration along with
share information becomes very costly operation.
Since we may not require share information all time, we can optimise
this by using API just loading configuration without any share info.

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/param/loadparm.c
source3/param/loadparm.h