1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

Make cn=aggregate output less pretty, by more like Win2008.

I'm not sure if this fixes bug #5713, as this is not consistantly
reproducably on my equipment.

Andrew Bartlett
(This used to be commit 02d6645efc84179efd652dd29ab32f62ae310147)
This commit is contained in:
Andrew Bartlett 2008-09-11 12:36:58 +10:00
parent 0cbfc686c4
commit d30caa011c

View File

@ -221,7 +221,7 @@ char *schema_class_description(TALLOC_CTX *mem_ctx,
if (must) {
schema_entry = talloc_asprintf_append(schema_entry,
"MUST ( ");
"MUST (%s", target == TARGET_AD_SCHEMA_SUBENTRY ? "" : " ");
IF_NULL_FAIL_RET(schema_entry);
APPEND_ATTRS(must);
@ -233,7 +233,7 @@ char *schema_class_description(TALLOC_CTX *mem_ctx,
if (may) {
schema_entry = talloc_asprintf_append(schema_entry,
"MAY ( ");
"MAY (%s", target == TARGET_AD_SCHEMA_SUBENTRY ? "" : " ");
IF_NULL_FAIL_RET(schema_entry);
APPEND_ATTRS(may);