summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-04-25 20:13:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:16:30 -0500
commitb86c19795aadd45527694e6002cdd806e928cf38 (patch)
tree9bf1ac75318eb978301132c4705655f0ad3735e6
parent41a7ea369bfad52d7870cf97555d63810d40d3fc (diff)
downloadsamba-b86c19795aadd45527694e6002cdd806e928cf38.tar.gz
samba-b86c19795aadd45527694e6002cdd806e928cf38.tar.bz2
samba-b86c19795aadd45527694e6002cdd806e928cf38.zip
r15250: dump some more sids.
Guenther (This used to be commit 2922c7f5704e3cfcc80dc648bb3d6d9aa80aaf37)
-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;