diff options
author | Wilco Baan Hofman <wilco@baanhofman.nl> | 2009-03-01 16:25:57 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-04-20 23:16:16 +0200 |
commit | 248554370af30f485a4088d0d5de675e77b2aa7b (patch) | |
tree | dfae2c73ebff165845714a5566a29f257efcc9c4 /source3/libads | |
parent | c441b7dda8507b22a94146be0df77e54e623645a (diff) | |
download | samba-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.c | 5 |
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; +} |