summaryrefslogtreecommitdiffstats
path: root/source/printing/nt_printing.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
commit00909194a6c1ed193dfdb296f50f58a53450583c (patch)
tree05aaf83bc0c4c556ec0198f56c223824c84e5444 /source/printing/nt_printing.c
parentba70737b7043cae89dd90f8668a24881212ac6fb (diff)
downloadsamba-00909194a6c1ed193dfdb296f50f58a53450583c.tar.gz
samba-00909194a6c1ed193dfdb296f50f58a53450583c.tar.xz
samba-00909194a6c1ed193dfdb296f50f58a53450583c.zip
r23888: move elements belonging to the current ldap connection to a
substructure. metze
Diffstat (limited to 'source/printing/nt_printing.c')
-rw-r--r--source/printing/nt_printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/printing/nt_printing.c b/source/printing/nt_printing.c
index e28f0f0b02e..944b695a9dd 100644
--- a/source/printing/nt_printing.c
+++ b/source/printing/nt_printing.c
@@ -3040,7 +3040,7 @@ static WERROR nt_printer_publish_ads(ADS_STRUCT *ads,
/* We use ldap_get_dn here as we need the answer
* in utf8 to call ldap_explode_dn(). JRA. */
- srv_dn_utf8 = ldap_get_dn((LDAP *)ads->ld, (LDAPMessage *)res);
+ srv_dn_utf8 = ldap_get_dn((LDAP *)ads->ldap.ld, (LDAPMessage *)res);
if (!srv_dn_utf8) {
ads_destroy(&ads);
return WERR_SERVER_UNAVAILABLE;