diff options
author | Jeremy Allison <jra@samba.org> | 2006-02-01 04:14:07 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:06:20 -0500 |
commit | 86c9bac4c31df1606e3758ec42672506dde26cc6 (patch) | |
tree | 1b0c707e273f3d44adb2ea3c4e87090d1cc99313 /source3/libsmb | |
parent | 0e551cd5a2f468ad297f1bfbccbc9f91579dc794 (diff) | |
download | samba-86c9bac4c31df1606e3758ec42672506dde26cc6.tar.gz samba-86c9bac4c31df1606e3758ec42672506dde26cc6.tar.bz2 samba-86c9bac4c31df1606e3758ec42672506dde26cc6.zip |
r13274: Fix for bug #3467. Not a show stopper.
jason qian <jason@infrant.com> was a *fantastic*
help in tracking this down.
Jeremy.
(This used to be commit 9f4a9c70fa232047868e5d8a3f132a2dd6bfee82)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/smb_share_modes.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libsmb/smb_share_modes.c b/source3/libsmb/smb_share_modes.c index 43f25cd378..86071ee2e9 100644 --- a/source3/libsmb/smb_share_modes.c +++ b/source3/libsmb/smb_share_modes.c @@ -123,6 +123,7 @@ struct locking_data { struct { int num_share_mode_entries; BOOL delete_on_close; + BOOL initial_delete_on_close; } s; struct share_mode_entry dummy; /* Needed for alignment. */ } u; @@ -282,6 +283,7 @@ int smb_create_share_mode_entry_ex(struct smbdb_ctx *db_ctx, ld = (struct locking_data *)db_data.dptr; ld->u.s.num_share_mode_entries = 1; ld->u.s.delete_on_close = 0; + ld->u.s.initial_delete_on_close = 0; shares = (struct share_mode_entry *)(db_data.dptr + sizeof(struct share_mode_entry)); create_share_mode_entry(shares, new_entry); |