diff options
Diffstat (limited to 'source4/lib/samba3/share_info.c')
-rw-r--r-- | source4/lib/samba3/share_info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/samba3/share_info.c b/source4/lib/samba3/share_info.c index 098d6c552e..3479a7063c 100644 --- a/source4/lib/samba3/share_info.c +++ b/source4/lib/samba3/share_info.c @@ -66,7 +66,7 @@ NTSTATUS samba3_read_share_info(const char *fn, TALLOC_CTX *ctx, struct samba3 * name = talloc_strndup(ctx, kbuf.dptr+strlen("SECDESC/"), kbuf.dsize-strlen("SECDESC/")); - share = samba3_find_share(db, ctx, name); + share = samba3_find_add_share(db, ctx, name); vbuf = tdb_fetch(tdb, kbuf); blob.data = (uint8_t *)vbuf.dptr; |