summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2000-10-26 03:31:41 +0000
committerGerald Carter <jerry@samba.org>2000-10-26 03:31:41 +0000
commit01e0d3879ef5de24a6addd0ce00bf3d4de518f7f (patch)
tree0c15b9c661ee2a05bf812f84ce8b9acac3a934aa /source3/include
parentf3a20ba1f328d701749073c6595c3552fc6dc40c (diff)
downloadsamba-01e0d3879ef5de24a6addd0ce00bf3d4de518f7f.tar.gz
samba-01e0d3879ef5de24a6addd0ce00bf3d4de518f7f.tar.bz2
samba-01e0d3879ef5de24a6addd0ce00bf3d4de518f7f.zip
TDB password backend support written by Simo Sorce <simo.sorce@polimi.it>
Marked as an experimental compile time option (defaults to off) for now. jerry (This used to be commit 0435af4417b876c2ea1dd4591ae7647784c28e30)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/config.h.in1
-rw-r--r--source3/include/includes.h2
-rw-r--r--source3/include/proto.h5
3 files changed, 7 insertions, 1 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in
index 03c43199b6..83e7a25cac 100644
--- a/source3/include/config.h.in
+++ b/source3/include/config.h.in
@@ -122,6 +122,7 @@
#undef WITH_SSL
#undef WITH_LDAP
#undef WITH_NISPLUS
+#undef WITH_TDBPWD
#undef WITH_PAM
#undef WITH_NISPLUS_HOME
#undef WITH_AUTOMOUNT
diff --git a/source3/include/includes.h b/source3/include/includes.h
index da365ab953..605932dd21 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -730,7 +730,7 @@ enum nss_status {
#define MAP_FILE 0
#endif
-#if (!defined(WITH_NISPLUS) && !defined(WITH_LDAP))
+#if (!defined(WITH_NISPLUS) && !defined(WITH_LDAP) && !defined(WITH_TDBPWD))
#define USE_SMBPASS_DB 1
#endif
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 89ee6cbdc3..d99ec39d22 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1330,6 +1330,7 @@ void lp_talloc_free(void);
char *lp_logfile(void);
char *lp_smbrun(void);
char *lp_configfile(void);
+char *lp_tdb_passwd_file(void);
char *lp_smb_passwd_file(void);
char *lp_serverstring(void);
char *lp_printcapname(void);
@@ -1700,6 +1701,10 @@ BOOL pw_file_lock(int fd, int type, int secs, int *plock_depth);
BOOL pw_file_unlock(int fd, int *plock_depth);
BOOL trust_password_delete(char *domain);
+/*The following definitions come from passdb/tdbpass.c */
+
+struct passdb_ops *tdb_initialize_password_db(void);
+
/*The following definitions come from printing/load.c */
void add_all_printers(void);