Bug #1820

userdefaults are not set properly

Added by Anonymous almost 3 years ago. Updated over 2 years ago.

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


Target version:MDS 2.5.0


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 Magnifier - 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 over 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

Fixes #1820


#1 Updated by Jean-Philippe Braun over 2 years ago

  • Target version set to MDS 2.5.0

#2 Updated by Jean-Philippe Braun over 2 years ago

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

Also available in: Atom PDF