summaryrefslogtreecommitdiffstats
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-03-22 15:57:31 -0700
committerJeremy Allison <jra@samba.org>2010-03-22 15:57:31 -0700
commit7509b56b5f59a7aeeb2ad1538ef71cbb8b459948 (patch)
tree89f23b2296826f6e1e807abf7841d8ddefc1ab0a /source3/include
parent31b45854891f194c46629185b4bb494691f06441 (diff)
downloadsamba-7509b56b5f59a7aeeb2ad1538ef71cbb8b459948.tar.gz
samba-7509b56b5f59a7aeeb2ad1538ef71cbb8b459948.tar.xz
samba-7509b56b5f59a7aeeb2ad1538ef71cbb8b459948.zip
share_info.tdb could use non-canonicalized sharenames.
Fix this by moving canonicalization into lib/sharesec.c. Update the db version to 3. Ensures we always find share names with security descriptors attached. Jeremy.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 346da39749..403b96ac8f 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4275,6 +4275,7 @@ unsigned long lp_parm_ulong(int snum, const char *type, const char *option, unsi
bool lp_parm_bool(int snum, const char *type, const char *option, bool def);
int lp_parm_enum(int snum, const char *type, const char *option,
const struct enum_list *_enum, int def);
+char *canonicalize_servicename(TALLOC_CTX *ctx, const char *src);
bool lp_add_home(const char *pszHomename, int iDefaultService,
const char *user, const char *pszHomedir);
int lp_add_service(const char *pszService, int iDefaultService);