Jump to content

Recommended Posts

Hello All,

I have a very old script (fmp 10?) that creates User Accounts and assigns Privilege Sets.  The users are then able to Login via WebDirect (primarily).  The Add Account function is used with the following parameters:

Add Account [ Account Name: _Parent Data::Parent1_Email_TrimAndRemoveReturns; Password: _Parent Data::
Parent1_WebPassword; Privilege Set: Web_User ]
[ Expire password ]

The Password is temporary (for first login only) that is randomly generated via Custom Function.   Users are required to change their password on first login.  

The account is created but for some reason the user cannot Login via Webdirect or Client (Invalid Account/Password).  I checked the privilege sets and they all check out.  I can manually change the password form the Security Console and require a new password - and everything works as expected.   Again this script worked for years - we typically only create accounts in the fall - so if there has been a major security update or some other new requirement  that would throw a wrench in the works - well, hoping you all can help me out.  

Thank you in advance!

Jim

Link to post
Share on other sites

Is an account actually created and enabled?

 

Is Access via FileMaker Network (fmapp) checked?

As for access via Webdirect...does the priv set you're assigning have this setting checked?

 

image.png

Link to post
Share on other sites
Quote
On 9/30/2020 at 4:17 PM, bcooney said:

Is an account actually created and enabled?

 

Yes - Account is created and enabled.  

 

On 9/30/2020 at 4:17 PM, bcooney said:

Is Access via FileMaker Network (fmapp) checked?

Permissions/Extended Privilege's sets are correctly enabled - again - if I reset the password for the newly created account - the user is able to login in both WebD and fmapp. 

Link to post
Share on other sites

In the Add Account Function  -> Password, I place a default, temporary (user has to reset pw on login), password of "camp1234" - notta - Still getting "authentication failed on database".  If I reset the password for the account (Security Console) everything works as expected.   

I added Reset Account Password  (with the Custom Function pw generator) immediately following Add Account function in my script -  everything works as expected.    While this is a temporary "fix" - something is really weird - I can't find anything on the web about this sort of behavior.   @bcooney I see you are a moderator - perhaps try moving me over to Security Concepts?   Not sure if anyone has had this issue.   Thanks for your efforts here!  Jim

Link to post
Share on other sites
  • 2 weeks later...

Mainers are really having a hard time with this social distancing thing - we are not use to being so close to so many people.  Had to take a break and head for the north woods for a couple of weeks.  I was hoping for some insight on this one.  Is this a bug?  Can anyone reproduce this behavior or is it just me?  Thanks in advance!

Link to post
Share on other sites

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
  • Similar Content

    • By BostonFM
      I am trying to script an import of three worksheets in the same Excel file. The 3 geographical regions worksheets are not structured the same, i.e. field name rows are not in the same place and are named differently.
      The script runs but stops to ask which worksheet to process.
      How do I create a variable/parameter in the script for it to proceed sequentially from worksheet 1-3 without stopping?
      Thanks
      DA
    • By HOnza
      This is a fresh story of me spending hours trying to fix a technical issue and accidentally revealing a gold nugget. A few days ago one of my nightly server-side scripts stopped working without any apparent reason. But when I tried to run the script in FileMaker Pro it worked just fine. I really needed a way to debug the script on the server.
      Read more here
    • By HOnza
      I noticed that one of the articles updated in the official FileMaker Knowledge Base on September 23, 2011 was explaining how to select a random set of records in a FileMaker database. I was wondering how fast the currently recommended technique is and whether Ican make it faster with the help of FM Bench. I tried to apply it to a set of 50,000 records of randomly generated data. Then I made it much faster…
      Read more in the original article
    • By HOnza
      This is the first example I was showing in my session Marvelous Optimizations at Pause On Error [x] London 2011. I already wrote about this optimization some time ago. It’s the one that led me to unveil the Marvelous Optimization Formula. You can find the original article here: FileMaker Script Execution Time Cut From 5 Hours To 6 Seconds
      I simply took the example and added FM Bench Detective into it to be able to exactly measure and examine what happens in the slow and the optimized script. Now you can watch the result in this video recorded at Pause On Error.
      Read more and download the sample file at honza.24uSoftware.com
    • By HOnza
      The second example I was showing in my session Marvelous Optimizations at Pause On Error [x] London 2011 was the script for selecting Random Set of Records. I found this example in the FileMaker Knowledge Base and optimized it to run at least 158 times faster when selecting 10 random records out of 50,000.
      This version of the example has FM Bench Detective script steps included to measure the original and the optimized script more precisely. Watch the video recorded at Pause On Error below to learn more details about this optimization.
      Read more and download the sample file at honza.24uSoftware.com
  • Who Viewed the Topic

    9 members have viewed this topic:
    Søren Dyhr  extreme  besfe  Fitch  bruceR  Ocean West  Steve Martino  comment  andypalmer 
×
×
  • Create New...

Important Information

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