summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-02-09 10:24:27 +0000
committerGünther Deschner <gd@samba.org>2006-02-09 10:24:27 +0000
commite63b36242457b946727196fd15904f32d127627c (patch)
tree9be8854d73a5a88abb5ded8fa6886bc6f7a3fe3a
parent442819761eab4070380b97e2ab037e0933bbebc5 (diff)
downloadsamba-e63b36242457b946727196fd15904f32d127627c.tar.gz
samba-e63b36242457b946727196fd15904f32d127627c.tar.xz
samba-e63b36242457b946727196fd15904f32d127627c.zip
r13410: Dump a netbootGUID as a GUID.
Guenther
-rwxr-xr-xexamples/misc/adssearch.pl1
-rw-r--r--source/libads/ldap.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/misc/adssearch.pl b/examples/misc/adssearch.pl
index f9a7f949262..3651564ec22 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/source/libads/ldap.c b/source/libads/ldap.c
index 8444989bac3..6d2155fae08 100644
--- a/source/libads/ldap.c
+++ b/source/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},