OGRVRTDataSource and password
Frank Warmerdam
fwarmerdam at GMAIL.COM
Fri Jul 15 08:23:21 PDT 2005
On 7/14/05, Piero Cavalieri <piero.cavalieri at heidi.it> wrote:
> Hi all,
> I use VRT datasource to connect to a MSSQL Server.
> If password is set wrong I have output from MapServer:
>
> ...Unable to initialize ODBC connection to DSN for **/****@Archimp_STAGE...
>
> Where **/**** are userID/wrongPasswd. i suppose if there is somelse problem
> in OGRVRTDataSource settings, correct user/password are send to web page.
>
> How can I suppress errors ?
Piero,
I am not aware of a way to supress this currently, other than
preconfiguring the DSN to include the password so it is never
visible to OGR or MapServer.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the MapServer-users
mailing list