summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-01-04 21:09:42 +0000
committerJelmer Vernooij <jelmer@samba.org>2004-01-04 21:09:42 +0000
commit65ad2c02fd2bf36d535c279ad290ab81e39f6816 (patch)
tree93efe3d431f4f44789e7f751b3822fd338635b91 /source/include
parent3ce6c9f27368cfb278007fe660a0e44a84d67f8f (diff)
downloadsamba-65ad2c02fd2bf36d535c279ad290ab81e39f6816.tar.gz
samba-65ad2c02fd2bf36d535c279ad290ab81e39f6816.tar.xz
samba-65ad2c02fd2bf36d535c279ad290ab81e39f6816.zip
- Put functions for generating SQL queries in pdb_sql.c
- Add pgSQL backend (based on patch by Hamish Friedlander) - Use query generate functions from pdb_mysql and pdb_pgsql - Only pdb_pgsql.c needs to be changed whenever the fields in SAM_ACCOUNT change
Diffstat (limited to 'source/include')
-rw-r--r--source/include/passdb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/include/passdb.h b/source/include/passdb.h
index 3e9036aef77..355d1286fd5 100644
--- a/source/include/passdb.h
+++ b/source/include/passdb.h
@@ -300,4 +300,6 @@ struct pdb_init_function_entry {
struct pdb_init_function_entry *prev, *next;
};
+enum sql_search_field { SQL_SEARCH_NONE = 0, SQL_SEARCH_USER_SID = 1, SQL_SEARCH_USER_NAME = 2};
+
#endif /* _PASSDB_H */