- Original Message -
From: Kun Shi (ofox) s...@vmware.com
To: General discussion for Windows Installer XML toolset.
wix-users@lists.sourceforge.net, phil wilson
phil.wil...@mvps.org
Sent: Sunday, November 11, 2012 3:39:12 PM
Subject: Re: [WiX-users] ldap_open/ldap_connect in Custom Action
Hi
Hi guys,
I need to access LDAP when running a msi on a Windows server 2008 , so I have
to call LDAP APIs using CA. I tried 2 approaches, but both failed with error
code 0x51 Cannot contact the LDAP server .
1. ldap_open((PWCHR)localhost, 389)
2. ldap_init( (PWCHR)127.0.01, 389 ), then
because presumably you run it with your user account.
Phil
-Original Message-
From: Kun Shi (ofox) [mailto:s...@vmware.com]
Sent: Saturday, November 10, 2012 5:05 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] ldap_open/ldap_connect in Custom Action
Importance: High
Hi
Assuming the code is C or similar ... I know nothing about these APIs, but the
way you're calling them doesn't make sense. If they expect to receive a pointer
to a wide character as their first parameter, then they presumably expect that
pointer to point to a wide character string - taking a
Sent: Sunday, November 11, 2012 2:01:16 AM
Subject: Re: [WiX-users] ldap_open/ldap_connect in Custom Action
Things like this are often related to the account that the CA is
running
with. If it's impersonation=no (and if that's the syntax) it's
running with
the system account and accessing
5 matches
Mail list logo