summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorWilco Baan Hofman <wilco@baanhofman.nl>2009-03-01 16:25:57 +0100
committerGünther Deschner <gd@samba.org>2009-04-20 23:16:16 +0200
commit248554370af30f485a4088d0d5de675e77b2aa7b (patch)
treedfae2c73ebff165845714a5566a29f257efcc9c4 /source3/libads
parentc441b7dda8507b22a94146be0df77e54e623645a (diff)
downloadsamba-248554370af30f485a4088d0d5de675e77b2aa7b.tar.gz
samba-248554370af30f485a4088d0d5de675e77b2aa7b.tar.bz2
samba-248554370af30f485a4088d0d5de675e77b2aa7b.zip
Make gpo_ldap.c compatible with samba 4. Add ads_get_ldap_server_name() function to samba 3. Move prototypes to root libgpo where appropriate.
gpo_ldap.c now compiles for both samba 3 and 4. Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/ads_utils.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/libads/ads_utils.c b/source3/libads/ads_utils.c
index 68efd69db9..fc2ea9d9fd 100644
--- a/source3/libads/ads_utils.c
+++ b/source3/libads/ads_utils.c
@@ -148,3 +148,8 @@ enum lsa_SidType ads_atype_map(uint32 atype)
}
return SID_NAME_UNKNOWN;
}
+
+const char *ads_get_ldap_server_name(ADS_STRUCT *ads)
+{
+ return ads->config.ldap_server_name;
+}