Password issue: sync between Amahi dashboard, samba, and android app??

mcinroy
Posts: 35
Joined: Wed Feb 03, 2016 11:51 am

Password issue: sync between Amahi dashboard, samba, and android app??

Postby mcinroy » Sun Feb 14, 2016 10:01 am

Hello,

Background:
- initially setup the Amahi admin user with password1
- via the Amahi dashboard Users tab, changed that user's password to password2
- was unable to access Samba shares, so tried the instructions on the Reset Amahi Password wiki page -- no change
Note: I have avoided using the OS passwd command.

Current state:
- can login to the dashboard with password2 but must use password1 to access samba shares as that admin user
- can't login to the Amahi Android app at all any more, with any user (I suspect this is not related to the admin user password change... but the problem seemed to coincide...)

Possibly relevant info (??):
- I have configured Amahi/apache to redirect all http requests to https


It seems like the dashboard password change does not propagate to samba. Any suggestion how to fix that? Was there another approach I should have taken for changing the password?
Any suggestions how to troubleshoot the problem with the Android app? I already tried uninstalling and re-installing it.

Thanks.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Password issue: sync between Amahi dashboard, samba, and android app??

Postby bigfoot65 » Sun Feb 14, 2016 10:56 am

It seems like the dashboard password change does not propagate to samba. Any suggestion how to fix that?
This may be related to bug 1925

Also run this command and see if it reports correctly the first admin user:

Code: Select all

cd /var/hda/platform/html/script ./first-admin
Also have you tried restarting Samba?

Code: Select all

systemctl restart smb
I have configured Amahi/apache to redirect all http requests to https
This could be related to your issues. This is something we are considering for Amahi 9, but don't recommend the current manual process documented in the wiki. It could break things. Recommend you reverse this procedure and see if things return to normal.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

mcinroy
Posts: 35
Joined: Wed Feb 03, 2016 11:51 am

Re: Password issue: sync between Amahi dashboard, samba, and android app??

Postby mcinroy » Tue Feb 16, 2016 5:23 pm

This may be related to bug 1925
Interesting, yes. Is there a workaround? Change password again? Ensure password... conforms to a certain length?
Also run this command and see if it reports correctly the first admin user:

Code: Select all

cd /var/hda/platform/html/script ./first-admin
Also have you tried restarting Samba?

Code: Select all

systemctl restart smb
Done. And it did report correctly.
And restarted Samba manually, as you suggested (even though I had already rebooted the server), but no change.
This could be related to your issues. This is something we are considering for Amahi 9, but don't recommend the current manual process documented in the wiki. It could break things. Recommend you reverse this procedure and see if things return to normal.
Yes, understood. I had read the warning, but... was trying to be optimistic...? :)
So, I have removed the redirect.

Dashboard/samba passwords still out of sync (may be bug 1925).
Still unable to login to Android app (may also be related to bug 1925??).

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Password issue: sync between Amahi dashboard, samba, and android app??

Postby bigfoot65 » Tue Feb 16, 2016 6:03 pm

Recommend you update bug 1925 with your issue so the developer can look into it.

Also please provide the URL for the following in the bug:

Code: Select all

fpaste --sysinfo
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

mcinroy
Posts: 35
Joined: Wed Feb 03, 2016 11:51 am

Re: Password issue: sync between Amahi dashboard, samba, and android app??

Postby mcinroy » Wed Feb 17, 2016 9:11 am

Great idea. I'll do that.

Sorry,... OT, but... I'm assuming I login to the bug tracker using the same creds as the wiki?
How do I troubleshoot this?
Permission error
You do not have permission to edit your private information, for the following reason:

You are not allowed to execute the action you have requested.
(I did request an account a couple of weeks ago, and received notice that is was approved...)

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Password issue: sync between Amahi dashboard, samba, and android app??

Postby bigfoot65 » Wed Feb 17, 2016 10:42 am

Sorry, should have mentioned use the same credentials as amahi.org.

If you still cannot get in, please email support.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 62 guests