Join IIUG
 for   
 

Informix News
18 Nov 13 - ZDNet - Top 20 mobile skills in demand... Read
09 Sep 13 - telecompaper - Shaspa and Tatung have shown a new smart home platform at Ifa in Berlin. Powered by the IBM Informix software... Read
06 Sep 13 - IBM data magazine - Mission Accomplished - Miami, Florida will be the backdrop for the 2014 IIUG Informix Conference... Read
01 Feb 13 - IBM Data Magazine - Are your database backups safe? Lester Knutsen (IBM Champion) writes about database back up safety using "archecker"... Read
14 Nov 12 - IBM - IBM's Big Data For Smart Grid Goes Live In Texas... Read
3 Oct 12 - The Financial - IBM and TransWorks Collaborate to Help Louisiana-Pacific Corporation Achieve Supply Chain Efficiency... Read
28 Aug 12 - techCLOUD9 - Splunk kicks up a SaaS Storm... Read
10 Aug 12 - businessCLOUD9 - Is this the other half of Cloud monitoring?... Read
3 Aug 12 - IBM data management - Supercharging the data warehouse while keeping costs down IBM Informix Warehouse Accelerator (IWA) delivers superior performance for in-memory analytics processing... Read
2 Aug 12 - channelbiz - Oninit Group launches Pay Per Pulse cloud-based service... Read
28 May 12 - Bloor - David Norfolk on the recent Informix benchmark "pretty impressive results"... Read
23 May 12 - DBTA - Informix Genero: A Way to Modernize Informix 4GL Applications... Read
9 Apr 12 - Mastering Data Management - Upping the Informix Ante: Advanced Data Tools... Read
22 Mar 12 - developerWorks - Optimizing Informix database access... Read
14 Mar 12 - BernieSpang.com - International Informix User Group set to meet in San Diego... Read
1 Mar 12 - IBM Data Management - IIUG Heads West for 2012 - Get ready for sun and sand in San Diego... Read
1 Mar 12 - IBM Data Management - Running Informix on Solid-State Drives.Speed Up Database Access... Read
26 Feb 12 - BernieSpan.com - Better results, lower cost for a broad set of new IBM clients and partners... Read
24 Feb 12 - developerWorks - Informix Warehouse Accelerator: Continuous Acceleration during Data Refresh... Read
6 Feb 12 - PRLOG - Informix port delivers unlimited database scalability for popular SaaS application ... Read
2 Feb 12 - developerWorks - Loading data with the IBM Informix TimeSeries Plug-in for Data Studio... Read
1 Feb 12 - developerWorks - 100 Tech Tips, #47: Log-in to Fix Central... Read
13 Jan 12 - MC Press online - Informix Dynamic Server Entices New Users with Free Production Edition ... Read
11 Jan 12 - Computerworld - Ecologic Analytics and Landis+Gyr -- Suitors Decide to Tie the Knot... Read
9 Jan 12 - planetIDS.com - DNS impact on Informix / Impacto do DNS no Informix... Read
8 Sep 11 - TMCnet.com - IBM Offers Database Solution to Enable Smart Meter Data Capture... Read
1 Aug 11 - IBM Data Management Magazine - IIUG user view: Happy 10th anniversary to IBM and Informix... Read
8 Jul 11 - Database Trends and Applications - Managing Time Series Data with Informix... Read
31 May 11 - Smart Grid - The meter data management pitfall utilities are overlooking... Read
27 May 11 - IBM Data Management Magazine - IIUG user view: Big data, big time ( Series data, warehouse acceleration, and 4GLs )... Read
16 May 11 - Business Wire - HiT Software Announces DBMoto for Enterprise Integration, Adds Informix. Log-based Change Data Capture... Read
21 Mar 11 - Yahoo! Finance - IBM and Cable&Wireless Worldwide Announce UK Smart Energy Cloud... Read
14 Mar 11 - MarketWatch - Fuzzy Logix and IBM Unveil In-Database Analytics for IBM Informix... Read
11 Mar 11 - InvestorPlace - It's Time to Give IBM Props: How many tech stocks are up 53% since the dot-com boom?... Read
9 Mar 11 - DBTA - Database Administration and the Goal of Diminishing Downtime... Read
2 Feb 11 - DBTAs - Informix 11.7 Flexible Grid Provides a Different Way of Looking at Database Servers... Read
27 Jan 11 - exactsolutions - Exact to Add Informix Support to Database Replay, SQL Monitoring Solutions... Read
25 Jan 11 - PR Newswire - Bank of China in the UK Works With IBM to Become a Smarter, Greener Bank... Read
12 Oct 10 - Database Trends and Applications - Informix 11.7: The Beginning of the Next Decade of IBM Informix... Read
20 Sep 10 - planetIDS.com - ITG analyst paper: Cost/Benefit case for IBM Informix as compared to Microsoft SQL Server... Read
20 Jul 10 - IBM Announcements - IBM Informix Choice Edition V11.50 helps deploy low-cost scalable and reliable solutions for Apple Macintosh and Microsoft Windows... Read
20 Jul 10 - IBM Announcements - Software withdrawal: Elite Support for Informix Ultimate-C Edition... Read
24 May 10 - eWeek Europe - IBM Supplies Database Tech For EU Smart Grid... Read
23 May 10 - SiliconIndia - IBM's smart metering system allows wise use of energy... Read
21 May 10 - CNET - IBM to help people monitor energy use... Read
20 May 10 - ebiz - IBM Teams With Hildebrand To Bring Smart Metering To Homes Across Britain... Read
19 May 10 - The New Blog Times - Misurare il consumo energetico: DEHEMS è pronto... Read
19 May 10 - ZDNet - IBM software in your home? Pact enables five-city smart meter pilot in Europe... Read
17 March 10 - ZDNet (blog) David Morgenstern - TCO: New research finds Macs in the enterprise easier, cheaper to manage than... Read
17 March 2010 - Virtualization Review - ...key components of Big Blue's platform to the commercial cloud such as its WebSphere suite of application ser vers and its DB2 and Informix databases... Read
10 February 2010 - The Wall Street Journal - International Business Machines is expanding an initiative to win over students and professors on its products. How do they lure the college crowd?... Read


End of Support Dates

IIUG on Facebook IIUG on Twitter

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum

IDS - PAM AUTHENTICATION ANYONE WHO HAVE ACTUALLY MANAGED TO USE IT PLEASE???

Posted By: Stefan Sammut
Date: Thursday, 28 July 2005, at 7:14 a.m.

Hello People.

We've been trying to use the IDS PAM authentication module for the past 2
weeks, but we seem done only a little progresses.
We followed the release notes under $INFORMIXDIR/release/en_us/0333/pam.txt;
The sqlhosts file is set up as follows.

tadinda_tcp onsoctcp acilia 1525
s=4,pam_serv=(informix),pamauth=(challenge)

The informix file (pam_serv) under /etc/init.d reads as follows:
#%PAM-1.0
#auth optional pam_toledo.so /usr/informix tadinda_tcp
auth required pam_rps.so debug
account required pam_rps.so debug
password required pam_rps.so debug
session required pam_rps.so debug

We have tried many of the available services ( pam_unix_passwd,even our
own!) , but with this configuration (using the pam_rps service) we the
nearest since when running the esqlc pam_demo example prompts back with a
challenge. However it consistently returns the -1809 error!

We're running IDS 10.0.3 and seems pam documentation is rather misleading
and incomplete. We looked throughout the whole net but found nothing
helpful. We need to use PAM with PowerBuilder and so far we've managed to
get PowerBuilder 10 to talk to an esqlc generated DLL (already a big step).
The first person who manages to get the callback function example working,
we can update IIUG with new relevant PAM documentation including
PowerBuilder connectivity.

Many thanks for your help.

The esqlc pam_demo ($INFORMIXDIR/demo/esqlc/pam_demo.ec reads as follows:

#include <stdio.h>
#include <string.h>

#define PAM_PROMPT_ECHO_OFF 1
#define PAM_PROMPT_ECHO_ON 2
#define PAM_ERROR_MSG 3
#define PAM_TEXT_INFO 4
#define PAM_MAX_MSG_SIZE 512

EXEC SQL define FNAME_LEN 40;
EXEC SQL define LNAME_LEN 40;

int callback(char *challenge, char *response, int msg_style);

int main()
{
EXEC SQL BEGIN DECLARE SECTION;
char fname[ FNAME_LEN + 1 ];
char lname[ LNAME_LEN + 1 ];
char dbpass[20];
char dbuser[20];
char dbname[20];
EXEC SQL END DECLARE SECTION;

int retval = 0;

/* First register the callback. This needs to be done before establishing
the
* connection as done here.
*/

printf("Starting PAM demo \n");
EXEC SQL WHENEVER ERROR STOP;

retval = ifx_pam_callback(callback);

if (retval == -1)
{
printf("Error in registering callback\n");
return (-1);
}
else
{
printf("Callback Registered. Status=%d\n",retval);
strcpy(dbpass,"mibobva");
strcpy(dbuser,"acilia");
strcpy(dbname,"cell");
printf( "Callback function registered.\n");
/* EXEC SQL connect to :dbname user :dbuser using :dbpass; */
EXEC SQL database :dbname ;
printf ("SQLCODE ON CONNECT = %d\n", SQLCODE);

EXEC SQL declare pamcursor cursor for
select customer,name
into :fname, :lname
from slcustm;

EXEC SQL open pamcursor;
for (;;)
{
EXEC SQL fetch pamcursor;
if (strncmp(SQLSTATE, "00", 2) != 0) {
break; }

printf("%s %s\n",fname, lname);

}

if (strncmp(SQLSTATE, "02", 2) != 0)
printf("SQLSTATE after fetch is %s\n", SQLSTATE);

EXEC SQL close pamcursor;
EXEC SQL free pamcursor;

EXEC SQL disconnect current;
printf("\nPAM DEMO run completed successfully\n");
}
}

/* The callback function which will provide responses to the challenges. */

int callback(char *challenge, char *response, int msg_style)
{

printf("%s\n",challenge);
switch (msg_style){
case PAM_PROMPT_ECHO_OFF:
case PAM_PROMPT_ECHO_ON :
printf("%s: %d:\n",challenge, msg_style);
scanf("%s:",response);
break;

case PAM_ERROR_MSG:
case PAM_TEXT_INFO:
default:
printf("%s: %d\n",challenge, msg_style);
}
return 0;
}

Stefan Sammut
Software Engineer
Philip Toledo Limited
Computer & Communications Solutions
Notabile Road, Mriehel BKR01, Malta
Tel: (+356) 2144 5566
Fax: (+356) 2148 4316
Website : www.ptl.com.mt

The information contained in this email is confidential and may be
privileged. It is intended for the addressee only, if you are not the
intended recipient please notify the sender and delete the email
immediately. The contents of this e-mail must not be disclosed or copied
without the senders consent. We cannot accept any responsibility for
viruses. Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be the view of
Philip Toledo Limited


----- Original Message -----
From: "Colin Bull" <Colin.Bull@videonetworks.com>
To: <ids@iiug.org>
Sent: Wednesday, July 27, 2005 3:34 PM
Subject: RE: oninit error .. [5501]


> SANTOSH NIKUMBH wrote
>
> >One more update for this . I get the following in the log :-
> >16:12:29 listener-thread: err = -25572: oserr = 227: errstr = :
> Network driver cannot
> >bind a name to the port.
> > System error = 227.
>
> ------------------------------------------------------------------
> >Does it mean that my entry in the "services" file is NOT proper ?
>
> >I have made an entry in /etc/services file as :-
>
>
> >padbv2 3400/tcp #informix padbv2 instance
>
> What does 'grep padbv2 $INFORMIXDIR/etc/sqlhosts'
>
> output (assuming Unix platform)
>
> Colin Bull
>
> =======================================================================
> This email may contain confidential and privileged information and is
intended for the named or
> authorised recipients only. If you are not the named or authorised
recipient of this email,
> please note that any copying, distribution, disclosure or use of its
contents is strictly
> prohibited. If you have received this email in error please notify the
sender immediately and
> then destroy it. The views expressed in this email are not necessarily
those held by VNL, and VNL
> does not accept any liability for any action taken in reliance on the
contents of this message.
> VNL does not guarantee that the integrity of this email has been
maintained, nor that it is free
> of viruses, interceptions or interference.
>
> _______________________________________________________________________
> This email has been scanned for all known viruses by the MessageLabs Email
Security System.
> _______________________________________________________________________
>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.338 / Virus Database: 267.9.5/58 - Release Date: 25/07/05
>
>

Messages In This Thread

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum is maintained by Administrator with WebBBS 5.12.