From 430f9abd5f1d2537eab17c7c51a9e9b09f415989 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 4 Jan 2004 21:09:42 +0000 Subject: - 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 (This used to be commit 65ad2c02fd2bf36d535c279ad290ab81e39f6816) --- source3/include/passdb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/include/passdb.h') diff --git a/source3/include/passdb.h b/source3/include/passdb.h index 3e9036aef7..355d1286fd 100644 --- a/source3/include/passdb.h +++ b/source3/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 */ -- cgit