diff options
| author | Günther Deschner <gd@samba.org> | 2014-10-23 14:04:35 +0200 |
|---|---|---|
| committer | Günther Deschner <gd@samba.org> | 2014-10-24 11:30:05 +0200 |
| commit | 4c88897471c94cbe923e290a742d5beb9caa2e1b (patch) | |
| tree | b7b195911033df6baf451092052e788fa092ea85 /source3/utils | |
| parent | 59f09e619d2669fe19ca8d3b8ffe4e9489242987 (diff) | |
| download | samba-4c88897471c94cbe923e290a742d5beb9caa2e1b.tar.gz samba-4c88897471c94cbe923e290a742d5beb9caa2e1b.tar.xz samba-4c88897471c94cbe923e290a742d5beb9caa2e1b.zip | |
nbt-cli: display all known NBT_SERVER flags.
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/utils')
| -rw-r--r-- | source3/utils/net_ads.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index e96377f8fa..7f3d74d782 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -99,7 +99,9 @@ static int net_ads_cldap_netlogon(struct net_context *c, ADS_STRUCT *ads) "\tHas a hardware clock: %s\n" "\tIs a non-domain NC serviced by LDAP server: %s\n" "\tIs NT6 DC that has some secrets: %s\n" - "\tIs NT6 DC that has all secrets: %s\n"), + "\tIs NT6 DC that has all secrets: %s\n" + "\tRuns Active Directory Web Services: %s\n" + "\tRuns on Windows 2012 or later: %s\n"), (reply.server_type & NBT_SERVER_PDC) ? _("yes") : _("no"), (reply.server_type & NBT_SERVER_GC) ? _("yes") : _("no"), (reply.server_type & NBT_SERVER_LDAP) ? _("yes") : _("no"), @@ -111,7 +113,9 @@ static int net_ads_cldap_netlogon(struct net_context *c, ADS_STRUCT *ads) (reply.server_type & NBT_SERVER_GOOD_TIMESERV) ? _("yes") : _("no"), (reply.server_type & NBT_SERVER_NDNC) ? _("yes") : _("no"), (reply.server_type & NBT_SERVER_SELECT_SECRET_DOMAIN_6) ? _("yes") : _("no"), - (reply.server_type & NBT_SERVER_FULL_SECRET_DOMAIN_6) ? _("yes") : _("no")); + (reply.server_type & NBT_SERVER_FULL_SECRET_DOMAIN_6) ? _("yes") : _("no"), + (reply.server_type & NBT_SERVER_ADS_WEB_SERVICE) ? _("yes") : _("no"), + (reply.server_type & NBT_SERVER_DS_8) ? _("yes") : _("no")); printf(_("Forest:\t\t\t%s\n"), reply.forest); |
