diff options
author | Simo Sorce <ssorce@redhat.com> | 2012-07-26 14:30:39 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2012-07-26 14:30:39 -0400 |
commit | 9d853483fe3366b8af28de6b8318720339bde89d (patch) | |
tree | ec4c54c4d7e9918ecd192473703c1ffbd4556525 /daemons/ipa-slapi-plugins/ipa-sidgen/ipa_sidgen.h | |
parent | cc466e98ffd67d8ced2d14734d654f331c477037 (diff) | |
download | freeipa-9d853483fe3366b8af28de6b8318720339bde89d.tar.gz freeipa-9d853483fe3366b8af28de6b8318720339bde89d.tar.xz freeipa-9d853483fe3366b8af28de6b8318720339bde89d.zip |
Do not check for DNA magic values
The DNA magic value can be arbitrarily changed by admins so we cannot use a
const value to check. And we relly do not need to check at all. If the DNA
plugin is broken and leaves magic values to reach the post-op stage we have
bigger problems. So just simply get rid of this check.
Diffstat (limited to 'daemons/ipa-slapi-plugins/ipa-sidgen/ipa_sidgen.h')
-rw-r--r-- | daemons/ipa-slapi-plugins/ipa-sidgen/ipa_sidgen.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-sidgen/ipa_sidgen.h b/daemons/ipa-slapi-plugins/ipa-sidgen/ipa_sidgen.h index cfb624bde..dec2a6524 100644 --- a/daemons/ipa-slapi-plugins/ipa-sidgen/ipa_sidgen.h +++ b/daemons/ipa-slapi-plugins/ipa-sidgen/ipa_sidgen.h @@ -54,8 +54,6 @@ #define IPANT_USER_ATTRS "ipantuserattrs" #define IPANT_GROUP_ATTRS "ipantgroupattrs" -#define IPA_DNA_MAGIC 999 - #define IPA_PLUGIN_NAME "ipa-sidgen-postop" #define IPA_SIDGEN_FEATURE_DESC "IPA SIDGEN postop plugin" #define IPA_SIDGEN_PLUGIN_DESC "Add a SID to newly added or modified " \ |