Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5193 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi,

We have FM server 11 advanced installed on Windows 2008 Standard R2 server with IIS7. We want to access the FM database from PHP using external authentication. Here are setup we have done

1. Created groups and users on computer. Associated users and groups

2. Created accounts in fp7 file hosted on fmserver for group names created in step 1.

3. Enabled the FM server to allow client authentication by external accounts.

We can access the fp7 database from FM pro with external authentication (users created in step1). But when we run php page, which access same database with same user credentials, it gives error - 22: unknown error.

Are we missing any settings? What all configurations we should check?

Thanks in advance.

Posted

You will not get Single Sign On with this arrangement, but the Accounts should still authenticate. Is PHP calling a credentials entry box for you?

Let me make an inquiry here and see what I can discover.

Steven

Posted

Hi Steven,

PHP page is not calling credentials entry box. I am passing the login credentials (username/password) as parameters to database connection call using FM php API.

here is php code-

require_once("FileMaker.php");

$connection =& new FileMaker($database ="DBFilename");

$connection->setProperty('hostspec', 'localhost');

$connection->setProperty('username', 'test');

$connection->setProperty('password', 'test');

//Search the database .

$srch = $connection->newFindAllCommand('webConnection');

$result = $srch->execute();

if (FileMaker::isError($resultDeposit))

{

echo "error code ".$result->getCode();

echo "error ".$result->getErrorString();

}

else

{

$records = $result->getRecords();

$record = $records[0];

echo "".$record->getField('field1')."
";

}

here is reference link we followed (windows setup) - http://www.soliantconsulting.com/blog/2009/02/using-local-os-accounts-for-filemaker-external-authentication/

Thank you

This topic is 5193 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.