sysdb_private.h revision 73120327cc136229d56d08f7f8c5e8df4129c1e3
16f816d3f3c32ae3351834253f52ddd0212bcbf3Timo Sirainen Private System Database Header
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen Copyright (C) Simo Sorce <ssorce@redhat.com> 2008
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen This program is free software; you can redistribute it and/or modify
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainen it under the terms of the GNU General Public License as published by
e54512a5189192fe72d1e2c53927c98c5ac920b4Timo Sirainen the Free Software Foundation; either version 3 of the License, or
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen (at your option) any later version.
645f258ea29afaf09b673fc65d1bd788dfec8db8Timo Sirainen This program is distributed in the hope that it will be useful,
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen but WITHOUT ANY WARRANTY; without even the implied warranty of
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen GNU General Public License for more details.
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen You should have received a copy of the GNU General Public License
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen along with this program. If not, see <http://www.gnu.org/licenses/>.
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen "dn: @ATTRIBUTES\n" \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen "userPrincipalName: CASE_INSENSITIVE\n" \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen "cn: CASE_INSENSITIVE\n" \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen "dc: CASE_INSENSITIVE\n" \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen "dn: CASE_INSENSITIVE\n" \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen "originalDN: CASE_INSENSITIVE\n" \
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo Sirainen "objectclass: CASE_INSENSITIVE\n" \
6ef7e31619edfaa17ed044b45861d106a86191efTimo Sirainen "dn: @INDEXLIST\n" \
8fb1e3e2349c9940732b5bb77a2a4053b8f72a4fTimo Sirainen "@IDXATTR: cn\n" \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen "@IDXATTR: objectclass\n" \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen "@IDXATTR: member\n" \
8d80659e504ffb34bb0c6a633184fece35751b18Timo Sirainen "@IDXATTR: memberof\n" \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen "@IDXATTR: name\n" \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen "@IDXATTR: uidNumber\n" \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen "@IDXATTR: gidNumber\n" \
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo Sirainen "@IDXATTR: lastUpdate\n" \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen "@IDXATTR: dataExpireTimestamp\n" \
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo Sirainen "@IDXATTR: originalDN\n" \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen "@IDXATTR: nameAlias\n" \
4b058f90f9e8a2c6b2eed275de4eb8cc5195a71dTimo Sirainen "@IDXATTR: servicePort\n" \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen "@IDXATTR: serviceProtocol\n" \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen "@IDXATTR: sudoUser\n" \
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo Sirainen "@IDXATTR: sshKnownHostsExpire\n" \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen "@IDXONE: 1\n" \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen "dn: @MODULES\n" \
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo Sirainen "@LIST: asq,memberof\n" \
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen "dn: cn=sysdb\n" \
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen "cn: sysdb\n" \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen "description: base object\n" \
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen "dn: cn=ranges,cn=sysdb\n" \
5cda0bfea032000c4a51134c748d9efe6614870bTimo Sirainen "cn: ranges\n" \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen struct sss_domain_info *domain; /* *DEPRECATED*, do not use! */
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen/* Internal utility functions */
5b1da062c037e9352ddf18ccfdf99248116f44d0Timo Sirainenerrno_t sysdb_ldb_connect(TALLOC_CTX *mem_ctx, const char *filename,
872b8fd8a8db97dc54067b7ab25bda96ec0aac0dTimo Sirainenint sysdb_domain_init_internal(TALLOC_CTX *mem_ctx,
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen/* Upgrade routines */
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainenint sysdb_upgrade_01(struct ldb_context *ldb, const char **ver);
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenint sysdb_check_upgrade_02(struct sss_domain_info *domains,
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo Sirainen const char *db_path);
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenint sysdb_upgrade_03(struct sysdb_ctx *sysdb, const char **ver);
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenint sysdb_upgrade_04(struct sysdb_ctx *sysdb, const char **ver);
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainenint sysdb_upgrade_05(struct sysdb_ctx *sysdb, const char **ver);
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenint sysdb_upgrade_06(struct sysdb_ctx *sysdb, const char **ver);
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenint sysdb_upgrade_07(struct sysdb_ctx *sysdb, const char **ver);
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenint sysdb_upgrade_08(struct sysdb_ctx *sysdb, const char **ver);
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenint sysdb_upgrade_09(struct sysdb_ctx *sysdb, const char **ver);
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenint sysdb_upgrade_10(struct sysdb_ctx *sysdb, const char **ver);
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainenint sysdb_upgrade_11(struct sysdb_ctx *sysdb, const char **ver);
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainenint sysdb_upgrade_12(struct sysdb_ctx *sysdb, const char **ver);
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenint sysdb_upgrade_13(struct sysdb_ctx *sysdb, const char **ver);
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenint sysdb_upgrade_14(struct sysdb_ctx *sysdb, const char **ver);
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenint add_string(struct ldb_message *msg, int flags,
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainenint add_ulong(struct ldb_message *msg, int flags,
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen#endif /* __INT_SYS_DB_H__ */