Jump to content
Server Maintenance This Week. ×

External Authentication IIS7


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

Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This topic is 4963 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.