summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2012-08-27 17:26:57 +0200
committerMartin Kosek <mkosek@redhat.com>2012-09-06 09:24:59 +0200
commitdbd4cb51d316bd7c1b00629ff622859149cdc4a7 (patch)
tree098bb0b3b0a3ca9af13744dfdc1815619cc48839
parentaf02b9e0a91448e0fbcac73b2a5cd108303e1c72 (diff)
downloadfreeipa-dbd4cb51d316bd7c1b00629ff622859149cdc4a7.tar.gz
freeipa-dbd4cb51d316bd7c1b00629ff622859149cdc4a7.tar.xz
freeipa-dbd4cb51d316bd7c1b00629ff622859149cdc4a7.zip
ipasam: Replace global_sid_Builtin
-rw-r--r--daemons/ipa-sam/ipa_sam.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/daemons/ipa-sam/ipa_sam.c b/daemons/ipa-sam/ipa_sam.c
index 199c306a7..b3be5a679 100644
--- a/daemons/ipa-sam/ipa_sam.c
+++ b/daemons/ipa-sam/ipa_sam.c
@@ -90,7 +90,6 @@ char *sid_string_talloc(TALLOC_CTX *mem_ctx, const struct dom_sid *sid); /* avai
char *sid_string_dbg(const struct dom_sid *sid); /* available in libsmbconf.so */
bool trim_char(char *s,char cfront,char cback); /* available in libutil_str.so */
char *escape_ldap_string(TALLOC_CTX *mem_ctx, const char *s); /* available in libsmbconf.so */
-extern const struct dom_sid global_sid_Builtin; /* available in libsecurity.so */
bool secrets_store(const char *key, const void *data, size_t size); /* available in libpdb.so */
#define LDAP_PAGE_SIZE 1024
@@ -150,6 +149,9 @@ bool secrets_store(const char *key, const void *data, size_t size); /* available
#define HAS_POSIXGROUP (1<<8)
#define HAS_KRB_TICKET_POLICY_AUX (1<<9)
+const struct dom_sid global_sid_Builtin = { 1, 1, {0,0,0,0,0,5},
+ {32,0,0,0,0,0,0,0,0,0,0,0,0,0,0}};
+
struct ipasam_privates {
char *realm;
char *base_dn;