Author Topic: Losing PDC password length, age, and history settings everytime I restart EBOX  (Read 3457 times)

benjoa

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Hello to all,
Where can be useful:
I have just finished installing e-box 1.2 with samba 1.2.1 update: same problem.
With the change in SambaLdapUser.pm work fine.
Thanks.

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Ok benjoa, thanks for your contribution!

We'll upload a ebox-samba 1.2.2 package as soon as we reproduce it and fix it.

Regards,

J. A. Calvo
Zentyal Server Lead Developer

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
I'm trying to fix it but I definitely can't find a way to reproduce this issue. It works for me.

What are exactly the steps that you are doing?

jaycool, when you say "restarted" do you mean you restart the machine or the samba service?

Regards,

J. A. Calvo
Zentyal Server Lead Developer

benjoa

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
In my case,
I shutdown server machine,
When turn on, my "pdc Fle sharing options" are reset.
Thanks.

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Quote
In my case,
I shutdown server machine,
When turn on, my "pdc Fle sharing options" are reset.

Please post the output of:

Code: [Select]
sudo apt-cache policy ebox-samba

benjoa

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
root@ebox:/home/sysop# apt-cache policy ebox-samba
ebox-samba:
  Installed: 1.2.1-0ubuntu1~ppa1~hardy1
  Candidate: 1.2.1-0ubuntu1~ppa1~hardy1
  Version table:
 *** 1.2.1-0ubuntu1~ppa1~hardy1 0
        500 cdrom://Ubuntu-Server 8.04.2 _Hardy Heron_ - Release i386 (20090121.1) hardy/extras Packages
        100 /var/lib/dpkg/status
     1.2.1-0ubuntu1~ppa1~hardy1 0
        500 http://ppa.launchpad.net hardy/main Packages
     0.11.99-0ubuntu3 0
        500 http://it.archive.ubuntu.com hardy/universe Packages

benjoa

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Edit SambaLdapUser.pm is The only fix ?
Many thanks.
 

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
If that works for you and don't cause you any other problem. Do it ;)

There is no other fix at the moment. We'll look it back when we have time.

Regards,

J. A.
Zentyal Server Lead Developer

jaycool

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Yes I miss typed the return line. Yes the fix does work, but like you said it causes the domain name change feature to stop working properly. Also, I did try installing ebox 1.2 on 2 different machines, but I keep getting the same error. So, what can I do next?

jaycool

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
And yes I am restarting the machine.

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
I'm afraid that we can't find a way to reproduce this. :(

We have tried to reboot the machine several times and PDC settings remain there.

If you want, you can join our IRC channel (#ebox at irc.freenode.net) and give us access to a virtual machine where you can reproduce the issue or something like that.

Regards,

J. A. Calvo
Zentyal Server Lead Developer

jaycool

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Sorry just one last question. I have only tried installing ebox using the 1.2 installer cd. How are you installing? Are you installing hardy first then ebox 1.2 or are you using the ebox 1.2 installer cd? Also, I downloaded the 1.2 installer cd the very first day it was available. Is it possible I could have gotten a bad release. Sorry, If these are stupid questions. But is it possible for any of the above to be the cause of my issues?

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
It doesn't matter if you use the installer or not. The only thing that matters is the version of the ebox-samba package, which are you using? (apt-cache policy ebox-samba)

The first installer had a buggy package, but it's supposed to be fixed now if you upgrade.

Regards,

J. A. Calvo
Zentyal Server Lead Developer

ian

  • Community Council Member
  • Zen Samurai
  • *****
  • Posts: 296
  • Karma: +10/-1
    • View Profile
    • Familie site
Hello,

I tried the solution given by J. A. Calvo on a brand new installation of eBox release 1.2, and it solves the problem of losing PDC password length age and history setting ( adding the return into the file SambaLdapUser.pm ).
Afther the file was modified, the setting are saved and stay that way even by a reboot of the server.
Best regards,
Ian