• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 288
  • Last Modified:

Login the same database

In my server settings.. the authentication is session based, login will use a custom based form, a default database is specified as home database.. so if the user enters http://servername then the custom form authenticates the user.

But I want to provide access to a database inside the server from IIS server... If the user clicks the URL from IIS's webpage (for eg http://servername/dbname.nsf?Login).. it opens the custom login form and if the user enters the username and password correctly it opens the database... BUT if the username/password is incorrect then the URL automatically changed to the Names database of the server (like http://servername/names.nsf?login)...

We do not want to change the HOME page settings of our server.

How can I maintain the authentication resides on the same database till the user authenticates succesfully ?

Regards,
Kumar
0
mkumaran
Asked:
mkumaran
  • 4
  • 2
1 Solution
 
zvonkoCommented:
Hello Kumar,

is not your customized $$LoginUserForm form in the database domcfg.nsf ?

When in this domcfg.nsf you can create two config documents:
Mapping a Login Form
Mapping Error Messages

I tested for this "Mapping Error Messages" to place the database and form for "Authentication Failure", but I got allways the form dedicated for:
Login Form/Target Database file name:/Target Form name:

This is also the behaviour when you do not create one of this config documents but simple create the domcfg.nsf from the template domcfg.ntf
Therin you simply adapt the allready present form: $$LoginUserForm

But still your question: How to make disapear: /names.nsf?Login
is not solved. My assumption is, that is hardcoded.

Try this all on your servers instalation. Be warned that "tell http restart" is not enough. Best choice is to stop and start the srever (not simply: restart server).

Good luck,
zvonko
0
 
mkumaranAuthor Commented:
Hi zvonko,

Thanks for your quciker response.
I've checked the domcfg.nsf... the it has two documents already created.. one for mapping the custom login form.. which is pointing to DCLF.nsf (from Lotus Sandbox) and the other is created with default values.. so the "Error Message and Response Mapping" form contains the default entries only.. which is same as the database name "Domcfg.nsf".

Since we are using DCLF.nsf we didn't change anything in $$LoginUserForm.
Names.nsf is no where hardcoded (even I checked the server document).. Server document's default home page is a different notes application and not Names.nsf

Do we need to remove the default Domcfg.nsf from the error message form ?

Regards,
Kumar
0
 
zvonkoCommented:
Sorry, my fault (:-)),

I assumed hardcoded not in any of your definitions, but hardcoded in LotusDomino behaviour.

So now I have better picture how you customized your login form,
but still I do not understand why it is a problem for you to see in the URL:
http://servername/names.nsf?Login

when you still below this URL see the form from:
http://servername/DCLF.nsf/CustomLoginForm

By the way; I tried to do the same and sow the content from CustomLoginForm and in the URL this .../names.nsf?Login
I gived up because today is Sunday  (the seventh day) but I think it could be something wrong with the ACL (Anonymous has to have: ReadAccess) even if the form has the field "$PublicAccess" with the content "1".
Check also this in your forms (on Monday)...

Regards,
zvonko
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
mkumaranAuthor Commented:
Hi Zvonko,

I found that the DCLF's custom form's action tag includes "Names.nsf?login"... which gives the problem...

Anyhow thanks a lot for your valuable suggestions.

Regards,
Suresh
0
 
zvonkoCommented:
Hello Suresh,

tahnk you for the feedback ;-)
but wath about my points <|;-)

Regards,
zvonko
0
 
zvonkoCommented:
Sorry :-)

thank you for the points.

Regards,
zvonko
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now