summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-02-09 10:24:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:09:59 -0500
commitc1ffb8d9bcad9053f3d97dc89c3ff3b023401157 (patch)
treecfb6910111750838e66d9ad20009d1c3007ecebe
parent2d743ac8f15977fd936c78574c54227fc9fed3b9 (diff)
downloadsamba-c1ffb8d9bcad9053f3d97dc89c3ff3b023401157.tar.gz
samba-c1ffb8d9bcad9053f3d97dc89c3ff3b023401157.tar.bz2
samba-c1ffb8d9bcad9053f3d97dc89c3ff3b023401157.zip
r13410: Dump a netbootGUID as a GUID.
Guenther (This used to be commit 9b19a68456c7b576750aaf64c178ba5323d9a95e)
-rwxr-xr-xexamples/misc/adssearch.pl1
-rw-r--r--source3/libads/ldap.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/misc/adssearch.pl b/examples/misc/adssearch.pl
index f9a7f94926..3651564ec2 100755
--- a/examples/misc/adssearch.pl
+++ b/examples/misc/adssearch.pl
@@ -438,6 +438,7 @@ my %attr_handler = (
"msDS-User-Account-Control-Computed" => \&dump_uacc,
# "msRADIUSFramedIPAddress" => \&dump_ipaddr,
# "msRASSavedFramedIPAddress" => \&dump_ipaddr,
+ "netbootGUID" => \&dump_guid,
"nTMixedDomain" => \&dump_mixed_domain,
"nTSecurityDescriptor" => \&dump_secdesc,
"objectGUID" => \&dump_guid,
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index 8444989bac..6d2155fae0 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -1684,6 +1684,7 @@ static BOOL ads_dump_field(char *field, void **values, void *data_area)
void (*handler)(const char *, struct berval **);
} handlers[] = {
{"objectGUID", False, dump_guid},
+ {"netbootGUID", False, dump_guid},
{"nTSecurityDescriptor", False, dump_sd},
{"dnsRecord", False, dump_binary},
{"objectSid", False, dump_sid},