diff options
author | Jeremy Allison <jra@samba.org> | 2010-03-26 17:09:58 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-03-26 17:09:58 -0700 |
commit | fac8ca52ade6e490eea3cf3d0fc98287da321c13 (patch) | |
tree | 879b1e4611f59a26a524162893d7a14604dbd2c4 /source3/include | |
parent | 203a661e01e1a138871aacb1cc329a3e3e79295a (diff) | |
download | samba-fac8ca52ade6e490eea3cf3d0fc98287da321c13.tar.gz samba-fac8ca52ade6e490eea3cf3d0fc98287da321c13.tar.bz2 samba-fac8ca52ade6e490eea3cf3d0fc98287da321c13.zip |
Fix bug #7240 - Net usershare is not case sensitive.
Updates usershare files in a backwards compatible way.
I don't intend to back port this fix to 3.5.x as it
depends on a version upgrade in the share_info.tdb share security database.
Jeremy.
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/include/smb.h | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index ecb29618ae..7cc211b05a 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4318,6 +4318,7 @@ enum usershare_err parse_usershare_file(TALLOC_CTX *ctx, int numlines, char **pp_sharepath, char **pp_comment, + char **pp_cp_share_name, SEC_DESC **ppsd, bool *pallow_guest); int load_usershare_service(const char *servicename); diff --git a/source3/include/smb.h b/source3/include/smb.h index 52b9843156..751f3a46a4 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1921,7 +1921,9 @@ enum usershare_err { USERSHARE_PATH_IS_DENIED, USERSHARE_PATH_NOT_ALLOWED, USERSHARE_PATH_NOT_DIRECTORY, - USERSHARE_POSIX_ERR + USERSHARE_POSIX_ERR, + USERSHARE_MALFORMED_SHARENAME_DEF, + USERSHARE_BAD_SHARENAME }; /* Different reasons for closing a file. */ |