5
Private System Database Header
7
Copyright (C) Simo Sorce <ssorce@redhat.com> 2008
9
This program is free software; you can redistribute it and/or modify
10
it under the terms of the GNU General Public License as published by
11
the Free Software Foundation; either version 3 of the License, or
12
(at your option) any later version.
14
This program is distributed in the hope that it will be useful,
15
but WITHOUT ANY WARRANTY; without even the implied warranty of
16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
GNU General Public License for more details.
19
You should have received a copy of the GNU General Public License
20
along with this program. If not, see <http://www.gnu.org/licenses/>.
23
#ifndef __INT_SYS_DB_H__
24
#define __INT_SYS_DB_H__
26
#define SYSDB_VERSION_0_5 "0.5"
27
#define SYSDB_VERSION_0_4 "0.4"
28
#define SYSDB_VERSION_0_3 "0.3"
29
#define SYSDB_VERSION_0_2 "0.2"
30
#define SYSDB_VERSION_0_1 "0.1"
32
#define SYSDB_VERSION SYSDB_VERSION_0_5
34
#define SYSDB_BASE_LDIF \
36
"userPrincipalName: CASE_INSENSITIVE\n" \
37
"cn: CASE_INSENSITIVE\n" \
38
"dc: CASE_INSENSITIVE\n" \
39
"dn: CASE_INSENSITIVE\n" \
40
"objectclass: CASE_INSENSITIVE\n" \
44
"@IDXATTR: objectclass\n" \
45
"@IDXATTR: member\n" \
46
"@IDXATTR: memberof\n" \
48
"@IDXATTR: uidNumber\n" \
49
"@IDXATTR: gidNumber\n" \
50
"@IDXATTR: lastUpdate\n" \
51
"@IDXATTR: originalDN\n" \
54
"@LIST: asq,memberof\n" \
58
"version: " SYSDB_VERSION "\n" \
59
"description: base object\n" \
65
struct sss_domain_info *domain;
68
struct ldb_context *ldb;
72
struct sysdb_ctx_list {
73
struct sysdb_ctx **dbs;
79
#endif /* __INT_SYS_DB_H__ */