diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-01-04 21:09:42 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2004-01-04 21:09:42 +0000 |
commit | 430f9abd5f1d2537eab17c7c51a9e9b09f415989 (patch) | |
tree | b0feef1b65e19c6f85303ab390e77b93671fda68 /source3/include | |
parent | fd35232584d34c3250094572393b3a64fc87cef9 (diff) | |
download | samba-430f9abd5f1d2537eab17c7c51a9e9b09f415989.tar.gz samba-430f9abd5f1d2537eab17c7c51a9e9b09f415989.tar.bz2 samba-430f9abd5f1d2537eab17c7c51a9e9b09f415989.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
(This used to be commit 65ad2c02fd2bf36d535c279ad290ab81e39f6816)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/passdb.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |