Gossamer Forum
Home : Products : DBMan : Customization :

Secure Password Lookup Mod......

Quote Reply
Secure Password Lookup Mod......
I just installed the Secure Password Lookup mod on a new copy of DBMan setup on Xitami server on my Win98 PC.

I downloaded my existing default.pass from my server and placed it on the Xitami server on my local PC. Now I cannot login anymore... I receive the following error:
"Oops, there was a problem logging into the system: invalid username/password." Is there a way to check the sendmail program for sending the new password from Xitami?
Quote Reply
Re: Secure Password Lookup Mod...... In reply to
Not that I know of. I think you'll have to install the script on your server in order to use sendmail.


------------------
JPD





Quote Reply
Re: Secure Password Lookup Mod...... In reply to
JPDeni - by the time I read this post - I had already installed the script on my server in a test directory. The secure password mod works great !

Thanks again !
---------------
donm
Quote Reply
Re: Secure Password Lookup Mod...... In reply to
Oooops - I spoke to soon. Everything works great as long as you are logged in as the "admin".

Whenever you log in as a regular user you do not receive the links at the bottom of the page for changing your password or email address.

You do receive the links as an admin. What needs to be changed? (BTW - I have added most of the mods on your site with only very minor problems - but the problems have been on my end - so for a novice using your mods and getting them to work you have done a great job in writing them!)

Thanks again
---------------
donm
Quote Reply
Re: Secure Password Lookup Mod...... In reply to
That's very odd. Unless you have placed the links within an "admin-only" if statement. I'd need to see your sub html_footer to know.


------------------
JPD





Quote Reply
Re: Secure Password Lookup Mod...... In reply to
JPD - LOL see? I told you that the problems were on my end. I had forgotten that I had changed the footer using the "Automatic View/Modify Search" mod - there are no links in this footer for the change password and email mod.

What would I need to change to get the Automatic View/Modify Search mod to include the change password and email links on the footer?

***Feeling like a bonehead now <g> *****

Thanks
-------------
donm
Quote Reply
Re: Secure Password Lookup Mod...... In reply to
    Smile It's okay. It did occur to me that you might have used that mod and put the links in the wrong place.

Here's the Autosearch mod, with the change password and change email links:

Code:
sub html_footer {
# --------------------------------------------------------
# Print the menu.
#
# We only print options that the user have permissions for.
#

print qq!<P align=center><$font>!;
print qq!| <A HREF="$db_script_link_url">Home</A> !;
print qq!| <A HREF="$db_script_link_url&add_form=1">Add</A> ! if ($per_add);
if (!$per_admin && $auth_view_own) {
print qq!| <A HREF="$db_script_link_url&view_records=1&db_key=*">View</A> ! if ($per_view);
}
else {
print qq!| <A HREF="$db_script_link_url&view_search=1">View</A> ! if ($per_view);
print qq!| <A HREF="$db_script_link_url&view_records=1&$db_key=*">List All</A> ! if ($per_view);
}
if (!$per_admin && $auth_modify_own) {
print qq!| <A HREF="$db_script_link_url&delete_form=1&db_key=*">Delete</A> ! if ($per_del);
print qq!| <A HREF="$db_script_link_url&modify_form=1&$db_key=*">Modify</A> ! if ($per_mod);
}
else {
print qq!| <A HREF="$db_script_link_url&delete_search=1">Delete</A> ! if ($per_del);
print qq!| <A HREF="$db_script_link_url&modify_search=1">Modify</A> ! if ($per_mod);
}
print qq!| <A HREF="$db_script_link_url&admin_display=1">Admin</A> ! if ($per_admin);
print qq!| <A HREF="$db_script_link_url&change_email_form=1">Change Email Address</A> !
unless ($db_userid eq "default");
print qq!| <A HREF="$db_script_link_url&change_password_form=1">Change Password</A> !
unless ($db_userid eq "default");


print qq!| <A HREF="$db_script_link_url&logoff=1">Log Off</A> !;
print qq!|</font></p>!;

# Print the Footer.
print qq!
<table border=0 width=100%>
<tr><td align=left><$font>Copyright 1998
<A HREF="http://www.gossamer-threads.com">Gossamer Threads Inc.</A></font></td>
<td align=right><a href="http://www.gossamer-threads.com/scripts/dbman/">
<img src="http://www.gossamer-threads.com/images/powered.gif" border=0 width=100
height=31 alt="Database Powered by Gossamer Threads Inc."></a></td></tr>
</table>
!;
}

------------------
JPD


[This message has been edited by JPDeni (edited August 16, 1999).]