summaryrefslogtreecommitdiff
path: root/source3/passdb/sampassdb.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-03-03 20:48:48 +0000
committerLuke Leighton <lkcl@samba.org>1999-03-03 20:48:48 +0000
commit00d86ccb1cceda0381383420bdbfd452456c7545 (patch)
tree758e736573f21b3a9882ffcbf3335800f29a120b /source3/passdb/sampassdb.c
parent81f866db3ab86a27dc93148676da6c96b6e56cbf (diff)
downloadsamba-00d86ccb1cceda0381383420bdbfd452456c7545.tar.gz
samba-00d86ccb1cceda0381383420bdbfd452456c7545.tar.bz2
samba-00d86ccb1cceda0381383420bdbfd452456c7545.zip
Benjamin Kuit's latest mysql mods. issue with "make proto" needs to be
resolved. (This used to be commit d59a2e669aed7ee33fdca8b8ec126b1c0a984981)
Diffstat (limited to 'source3/passdb/sampassdb.c')
-rw-r--r--source3/passdb/sampassdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/sampassdb.c b/source3/passdb/sampassdb.c
index a4c981b160..e80d157ec0 100644
--- a/source3/passdb/sampassdb.c
+++ b/source3/passdb/sampassdb.c
@@ -70,7 +70,7 @@ BOOL initialise_sam_password_db(void)
pwdb_ops = nisplus_initialise_sam_password_db();
#elif defined(WITH_LDAP)
pwdb_ops = ldap_initialise_sam_password_db();
-#elif defined(WITH_MYSQLSAM)
+#elif defined(HAVE_MYSQL_H) && defined(WITH_MYSQLSAM)
pwdb_ops = mysql_initialise_sam_password_db();
#elif defined(USE_SMBPASS_DB)
pwdb_ops = file_initialise_sam_password_db();