summaryrefslogtreecommitdiff
path: root/source3/libads/ldap_printer.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-07-16 11:08:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:38 -0500
commit809c9d4d3136cc46dc228107918ca19d5a008a0a (patch)
tree78d6ec07fcadd9f7f04d8de970948e99bba7ea20 /source3/libads/ldap_printer.c
parent2fc53c947b6c18f5e9761a26792f806ff588e239 (diff)
downloadsamba-809c9d4d3136cc46dc228107918ca19d5a008a0a.tar.gz
samba-809c9d4d3136cc46dc228107918ca19d5a008a0a.tar.bz2
samba-809c9d4d3136cc46dc228107918ca19d5a008a0a.zip
r23888: move elements belonging to the current ldap connection to a
substructure. metze (This used to be commit 00909194a6c1ed193dfdb296f50f58a53450583c)
Diffstat (limited to 'source3/libads/ldap_printer.c')
-rw-r--r--source3/libads/ldap_printer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/ldap_printer.c b/source3/libads/ldap_printer.c
index cfddd4cc8a..0c6a280c36 100644
--- a/source3/libads/ldap_printer.c
+++ b/source3/libads/ldap_printer.c
@@ -43,7 +43,7 @@
if (ads_count_replies(ads, *res) != 1) {
return ADS_ERROR(LDAP_NO_SUCH_OBJECT);
}
- srv_dn = ldap_get_dn(ads->ld, *res);
+ srv_dn = ldap_get_dn(ads->ldap.ld, *res);
if (srv_dn == NULL) {
return ADS_ERROR(LDAP_NO_MEMORY);
}