summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xexamples/misc/adssearch.pl2
-rw-r--r--source3/libads/ldap.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/misc/adssearch.pl b/examples/misc/adssearch.pl
index 3651564ec2..a26bb3b6c4 100755
--- a/examples/misc/adssearch.pl
+++ b/examples/misc/adssearch.pl
@@ -436,6 +436,7 @@ my %attr_handler = (
"modifyTimeStamp" => \&dump_timestr,
"msDS-Behavior-Version" => \&dump_ds_func, #unsure
"msDS-User-Account-Control-Computed" => \&dump_uacc,
+ "mS-DS-CreatorSID" => \&dump_sid,
# "msRADIUSFramedIPAddress" => \&dump_ipaddr,
# "msRASSavedFramedIPAddress" => \&dump_ipaddr,
"netbootGUID" => \&dump_guid,
@@ -457,6 +458,7 @@ my %attr_handler = (
"systemFlags" => \&dump_systemflags,
"tokenGroups", => \&dump_sid,
"tokenGroupsGlobalAndUniversal" => \&dump_sid,
+ "tokenGroupsNoGCAcceptable" => \&dump_sid,
"trustAttributes" => \&dump_trustattr,
"trustDirection" => \&dump_trustdirection,
"trustType" => \&dump_trusttype,
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index c2ebf14d2f..81aa9051d7 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -1665,6 +1665,8 @@ static BOOL ads_dump_field(char *field, void **values, void *data_area)
{"dnsRecord", False, dump_binary},
{"objectSid", False, dump_sid},
{"tokenGroups", False, dump_sid},
+ {"tokenGroupsNoGCAcceptable", False, dump_sid},
+ {"tokengroupsGlobalandUniversal", False, dump_sid},
{NULL, True, NULL}
};
int i;