That's what I was referring to in my original post - thanks for confirming :)

 

So just to be sure - there's no way to force back-sql to connect to a remote SQL server?

 

Thanks,

Jason.

 


----- Original Message -----
From: "alessio" <alessio@ifc.cnr.it>
To: openldap-software@openldap.org
Sent: Monday, 12 January, 2009 6:53:47 PM GMT +08:00 Perth
Subject: Re: OpenLDAP connecting to remote MySQL server with back-sql

Jason B wrote:

> However, obdc.ini (which has been separately tested) is configured to
> connect to the MySQL server on 192.168.1.34. My understanding is that
> the dbhost attribute in slapd.conf is ignored – we’ve set this anyway
> just to make sure.

In the man page of slapd-sql we can read:

dbhost <hostname>
dbpasswd <password>
dbuser <username>

The  three above options are generally unneeded, because this
information is taken from the datasource specified by the dbname
directive.  They allow to override datasource settings.  Also,
several  RDBMS€™  drivers  tend  to require  explicit  passing  of
user/password,  even if those are given in datasource (Note: dbhost is
currently ignored).



Bye
A




-------------------------------Safe Stamp-----------------------------------
Your Anti-virus Service scanned this email. It is safe from known viruses.
For more information regarding this service, please contact your service provider.


--


Jason Backshall
Information Systems Manager
Imaging the South Pty Ltd


South West Health Campus
Lot 800 Bussell Highway
Bunbury  WA  6230

P: +61 8 9726 6999
M: +61 (0) 420 945 202
E: jbackshall@imagingthesouth.com.au