Page 3 of 6

Re: Amahi 7 for Fedora 18 pre-alpha

Posted: Tue Jan 29, 2013 1:32 pm
by Azaron
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.

Re: Amahi 7 for Fedora 18 pre-alpha

Posted: Tue Jan 29, 2013 3:50 pm
by cpg
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 :-)

Re: Amahi 7 for Fedora 18 pre-alpha

Posted: Wed Jan 30, 2013 1:08 pm
by Azaron
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.

Re: Amahi 7 for Fedora 18 pre-alpha

Posted: Wed Jan 30, 2013 6:19 pm
by cpg
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!

Re: Amahi 7 for Fedora 18 pre-alpha

Posted: Wed Jan 30, 2013 6:44 pm
by cpg
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! :-)

Re: Amahi 7 for Fedora 18 pre-alpha

Posted: Wed Jan 30, 2013 8:05 pm
by cpg
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!

Re: Amahi 7 for Fedora 18 pre-alpha

Posted: Thu Jan 31, 2013 12:50 pm
by stern88
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.

Re: Amahi 7 for Fedora 18 pre-alpha

Posted: Thu Jan 31, 2013 8:59 pm
by cpg
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!

Re: Amahi 7 for Fedora 18 pre-alpha

Posted: Fri Feb 01, 2013 5:47 am
by bigfoot65
Awesome. I will start app testing and post in the wiki what works and what does not as we have done in the past.

Re: Amahi 7 for Fedora 18 pre-alpha

Posted: Fri Feb 01, 2013 3:07 pm
by Azaron
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 :)