Amahi 7 for Fedora 18 pre-alpha

Azaron
Posts: 18
Joined: Sat Aug 27, 2011 9:18 am

Re: Amahi 7 for Fedora 18 pre-alpha

Postby Azaron » Tue Jan 29, 2013 1:32 pm

I checked my samba logs and assume most of the errors have their origin at samba4 vs. samba3.
I mean compatibility issues between the preinstalled samba4 on fedora18 and the scripts amahi is using to configure samba which are made and tested for samba3, right?

Anyone able to point me to the hda scripts that configure samba? Then I would have a look and try finding out what needs to get changed for samba4.

User avatar
cpg
Administrator
Posts: 2605
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Amahi 7 for Fedora 18 pre-alpha

Postby cpg » Tue Jan 29, 2013 3:50 pm

Amahi is using direct output to configure the samba settings, and it's put into /etc/samba/smb.conf
(and nmb.conf).

If you can get to a version that works, we can quickly incorporate them into the platform.
Here is the conf generation in the platform code. Starts around line 307. Heck you can also submit a patch or a pull request :-)
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Azaron
Posts: 18
Joined: Sat Aug 27, 2011 9:18 am

Re: Amahi 7 for Fedora 18 pre-alpha

Postby Azaron » Wed Jan 30, 2013 1:08 pm

Thanks for the infos.
I've had a look into smb.conf yesterday and today for a few minutes only. Busy days @ work :-/

However, I already see that these parameters need to reworked/removed:
"display charset" got removed
"printer admin" got removed
see here: https://wiki.samba.org/index.php/Samba4 ... s/4.0.0rc6

I also get errors for the "links = yes" parameter.

But I have no time today to investigate further, I hopefully find more time for this the next days as I want samba4 to work on my hda.

User avatar
cpg
Administrator
Posts: 2605
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Amahi 7 for Fedora 18 pre-alpha

Postby cpg » Wed Jan 30, 2013 6:19 pm

thanks for the research @Azaron. changes committed in the repo

https://github.com/amahi/platform/commi ... 05937e590e

and a new release has been made (without increasing the version number of the platform, so one has to clear the yum caches or reinstall from scratch).

i should note that smbd does not refuse to start due to these, it just continues on, so any problems in using the shares may not be related to these settings. i.e. there may be more issues to get things going!
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

User avatar
cpg
Administrator
Posts: 2605
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Amahi 7 for Fedora 18 pre-alpha

Postby cpg » Wed Jan 30, 2013 6:44 pm

I gave it a quick shot and I turned on debugging info in samba with

Code: Select all

log level = 4
then i restarted smb and tried to access my share (cpg) and i get asked for a password.
i typed a valid password and I get:

Code: Select all

check_ntlm_password: Authentication for user [cpg] -> [cpg] FAILED with error NT_STATUS_NO_SUCH_USER
i also tried to verify that the usermap script works and it does:

Code: Select all

[root@localhost]# /usr/share/hda-platform/hda-usermap cpg cpg
I checked on the #samba irc channel and there apparently was no obvious answer at the time i checked.

i will let you lead the debug on samba and focus on the platform! :-)
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

User avatar
cpg
Administrator
Posts: 2605
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Amahi 7 for Fedora 18 pre-alpha

Postby cpg » Wed Jan 30, 2013 8:05 pm

update. samba should be working now!

we tracked the issues with samba with a missing package (whatever has smbpasswd today). however, we found a good alternative that uses less code (called pdbedit) and we have issued a fix to the repo.

testing indicates that samba seems to work fine now. we threw in a couple of optimizations/cleaning to the conf file!

please reinstall and report how it works for you!
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

stern88
Posts: 134
Joined: Thu Oct 13, 2011 8:03 am

Re: Amahi 7 for Fedora 18 pre-alpha

Postby stern88 » Thu Jan 31, 2013 12:50 pm

Why dont I know there is already a test release for f18??
please reinstall and report how it works for you!
I can access my smb-shares and write/read to them. But I cant create new shares.

The dashboard has just "Users", "shares" and "apps" index tabs.

User avatar
cpg
Administrator
Posts: 2605
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Amahi 7 for Fedora 18 pre-alpha

Postby cpg » Thu Jan 31, 2013 8:59 pm

We have released an update to the repo (without updating the package versions!). With this version, user and share creation/deletion should work!

App installs should also work!

Here are the areas we need help with:
  • Usability and general improvements on how the user interface works (this has been re-done completely)
  • Network settings
  • General settings
  • Greyhole integration
  • Creating an interesting plugin (or two!)
  • App install/uninstall automation and QA
... and anything you see fit to make it a solid release! Get involved!
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

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

Re: Amahi 7 for Fedora 18 pre-alpha

Postby bigfoot65 » Fri Feb 01, 2013 5:47 am

Awesome. I will start app testing and post in the wiki what works and what does not as we have done in the past.
ßîgƒσστ65
Applications Manager

Azaron
Posts: 18
Joined: Sat Aug 27, 2011 9:18 am

Re: Amahi 7 for Fedora 18 pre-alpha

Postby Azaron » Fri Feb 01, 2013 3:07 pm

Great work!

I'll start testing again the next days - will be on a trip this weekend...
I'm very enthusiastic about this new amahi version on fed18 :)

Who is online

Users browsing this forum: No registered users and 5 guests