Bug #1820

userdefaults are not set properly

Added by Anonymous over 2 years ago. Updated about 2 years ago.

Status:Closed Start date:08/11/2012
Priority:Normal Due date:
Assignee:Jean-Philippe Braun % Done:

100%

Category:module-samba
Target version:MDS 2.5.0
Difficulty:
Duration:

Description

some values like 'mail' are set fine
but other eg 'sambaHomeDrive', 'sambaProfilePath', etc - are not

i took last version of samba/__init__.py from debian squeeze and fixed it

changes are marked with 'extras hack'

maybe you find it useful

__init__.py - samba/__init__.py from debian squeeze (62.1 kB) Anonymous, 08/11/2012 07:55 pm

Associated revisions

Revision f8413468
Added by Jean-Philippe Braun about 2 years ago

samba: use correctly userdefault settings

userdefaults are correctly set in the addSmbAttr but overriden
by the changeSambaAttributes which is called just after.

We now detect in the changeSambaAttributes if the attribute has
been set on the add user page or not. If not, the default will be
used.

Fixes #1820

History

Updated by Jean-Philippe Braun about 2 years ago

  • Target version set to MDS 2.5.0

Updated by Jean-Philippe Braun about 2 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF