rejetto forum

can change password

r][m · 29 · 16538

0 Members and 1 Guest are viewing this topic.

Offline r][m

  • Tireless poster
  • ****
    • Posts: 347
    • View Profile
I've noticed something strange, not only in this test version, but in
all the more recent versions.
I delete the group "can change password" because I don't need it.
Then I save options to file and save vfs.
When I restart HFS it comes back. Also when I add user I get
an error message and cant name user anything but "new user".
If I go back to 240 every thing works as expected.
I can add a new user by web page however.

Not sure if this is really something in HFS or Wine/Ubuntu, but it is odd
that an older build works.

Access violation at address 004E0238 in module 'hfs-rim.exe'. Read of address 00000004
HFS 2.3 beta (276)
----------------------------------------------------------------
System   : Windows XP Professional, Version: 5.1, Build: A28, "Service Pack 3"
Processor: AMD, AMD Athlon(tm) 64 Processor 3800+, 1000 MHz MMX
Display  : 1280x1024 pixels, 32 bpp
----------------------------------------------------------------
----------------------------------------------------------------
Product Versions

hfs-rim.exe:2.3.0 Build: 0 3/22/2011 12:12:54 AM
hfs240.exe: Build: 0 1/9/2011 4:53:26 AM
« Last Edit: March 22, 2011, 05:35:59 PM by r][m »


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
Hi r][m! :)

I delete the group "can change password" because I don't need it.
Then I save options to file and save vfs.
When I restart HFS it comes back.

This is normal, the command to create the account "can change password" is included in the default template.

Code: [Select]
[special:import]
{.new account|can change password|enabled=1|is group=1|notes=accounts members of this group will be allowed to change their password.}

It is created (if it does not already exist) when the template is loaded.

If you don't need it, better is not to touch it.

If you use a personal template, without this command to create this group, normally this group is no longer created when deleted.

Also when I add user I get
an error message and cant name user anything but "new user".
......
I can add a new user by web page however.
......
Not sure if this is really something in HFS or Wine/Ubuntu, but it is odd
that an older build works.

These are bugs that I also noticed with Wine / Linux Mint (also based on Ubuntu).

These bugs do not seem to exist on Windows OS.

On Windows, HFS sometime crashes when you delete multiple accounts.

http://www.rejetto.com/forum/index.php/topic,9484.msg1053577.html#msg1053577
« Last Edit: March 23, 2011, 01:15:48 AM by SilentPliz »


Offline r][m

  • Tireless poster
  • ****
    • Posts: 347
    • View Profile
Hi SilentPliz
Thanks for the reply.
I do use my own template, so I shouldn't see "can change password" again, but I do.
I had wondered if the error on adding user was a Ubuntu/Wine thing, but its still
strange that build 240 doesn't do it?


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
I had wondered if the error on adding user was a Ubuntu/Wine thing, but its still
strange that build 240 doesn't do it?


There have been changes in "accountsbox" since the version 240 ... that's probably that.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
build #240 is so far from #276, please give me a narrower range.

Quote
I do use my own template, so I shouldn't see "can change password" again, but I do.

are you sure there's no such group in your template?


Offline r][m

  • Tireless poster
  • ****
    • Posts: 347
    • View Profile
are you sure there's no such group in your template?
Searched template and all hfs.diff.tpl. No "can change password" found.
Did find "change password" and changed it, and  "Password Change", also
several "password".
Ever time I restart HFS it comes back, as far back as build 240.

The add user error/problem starts with build 269. Build 267 and back don't do it.
Don't think there was a 268?


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
Hi! :)

I did some tests under Wine / Linux Mint:

The only way for the group "can change password" not to be recreated is renaming your own template as: "default.tpl" and reload it into HFS, then save the options.

If the template is named differently, it works, but at the opening of HFS, the group "can change password" is still recreated. hfs.ini file is correct however.

It is as if, on some points, the internal HFS template (named default.tpl) had priority.

So, in short, for this to work normally at this time ... you must rename your own template "default.tpl" when using Wine / Linux.
« Last Edit: March 24, 2011, 10:56:50 AM by SilentPliz »


Offline r][m

  • Tireless poster
  • ****
    • Posts: 347
    • View Profile
@ SilentPliz
Do you have the error message with Wine / Linux Mint when adding new user,
as I do from build 269 forward?


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile

Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
...

I can not say since which version, I do not often used HFS with Linux. But all recent beta that I used produced the same bug.
You have to be right when you speak to the 269 version ... it's probably from there which it started.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
ok, i tried to fix the bug, but i need some pre-testing because i fear side-effects.
but don't be scared, they would be harm-less, like not loading a template.
i just can't give it to 10k people without a little testing.
Please redownload the same url, and give me a feedback
http://www.dovedove.it/hfs-rim.exe


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
I tested under Wine / Linux mint.

- The bug seems fixed:

Tested with a personal template (without can change password group):
The group "can change password" is not recreated after deletion.
Whatever is the name of the template; saved in the registry or in hfs.ini file

- The same good result was also obtained with only the default template.

Nota: my computer did not explode, and no deaths occurred (human or animal) during the experiment. ;)

Bravo ! 8)
« Last Edit: March 24, 2011, 09:03:59 PM by SilentPliz »


Offline r][m

  • Tireless poster
  • ****
    • Posts: 347
    • View Profile
@ Rejetto
The "can change password" is gone.

I don't know if this test build was to also fix the add user error from 269,
but I still have it here?
 
I click the add button I get the error message, then account " new user" is
created, then when I try to rename it I get the error again.
The good news is I can delete it  ;D

So far nothing exploded or died here either, so I'll stay on this build
over the next days.
« Last Edit: March 25, 2011, 06:22:29 AM by r][m »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
don't you get a longer form of the error report with the last build i gave you?
i need it
« Last Edit: March 25, 2011, 11:39:24 AM by rejetto »


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile