diff options
-rw-r--r-- | libgpo/gpo_util.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libgpo/gpo_util.c b/libgpo/gpo_util.c index 7a23b5cbd3..fdf4c6d1af 100644 --- a/libgpo/gpo_util.c +++ b/libgpo/gpo_util.c @@ -321,10 +321,11 @@ void dump_gpo(ADS_STRUCT *ads, } dump_gp_ext(gp_ext, lvl); } + if (gpo->security_descriptor) { + DEBUGADD(lvl,("security descriptor:\n")); - DEBUGADD(lvl,("security descriptor:\n")); - - NDR_PRINT_DEBUG(security_descriptor, gpo->security_descriptor); + NDR_PRINT_DEBUG(security_descriptor, gpo->security_descriptor); + } } /**************************************************************** |