summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-07-30 15:34:10 +0000
committerAndrew Tridgell <tridge@samba.org>2002-07-30 15:34:10 +0000
commit55c978d85ea9b2fbd3eeb597d4b383399c5106a7 (patch)
tree978052f38d5a9b665c3950ddbd6a301325514051 /source3/utils
parent9edc1cd4cfd3c02cfb1b867f8450384c446e8b60 (diff)
downloadsamba-55c978d85ea9b2fbd3eeb597d4b383399c5106a7.tar.gz
samba-55c978d85ea9b2fbd3eeb597d4b383399c5106a7.tar.bz2
samba-55c978d85ea9b2fbd3eeb597d4b383399c5106a7.zip
net ads info now reports the IP of the LDAP server as well as its name - very useful in scripts
(This used to be commit fc0d5479b575c1f495b9251413eed18ec1e37e02)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_ads.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index fa3eac6bd3..a449395641 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -67,6 +67,7 @@ static int net_ads_info(int argc, const char **argv)
}
d_printf("LDAP server: %s\n", ads->ldap_server);
+ d_printf("LDAP server IP: %s\n", inet_ntoa(ads->ldap_ip));
d_printf("LDAP server name: %s\n", ads->ldap_server_name);
d_printf("Realm: %s\n", ads->realm);
d_printf("Bind Path: %s\n", ads->bind_path);