#166 creating users ignores profile with missing module

v4.4
closed-works-for-me
nobody
None
5
2014-03-08
2014-02-26
qMax
No

Created user profile with samba module disabled ('do not automatically add')
It is saved as:

profname: agents
ldap_suffix: ou=Agents,ou=People,dc=ms
ldap_rdn: uid
inetOrgPerson_st:
posixAccount_primaryGroup: users
posixAccount_homeDirectory: /dev/null
posixAccount_loginShell: /bin/false
sambaSamAccount_addExt: false
sambaSamAccount_sambaAcctFlagsN: false
sambaSamAccount_sambaAcctFlagsD: false
sambaSamAccount_sambaAcctFlagsX: false
sambaSamAccount_expire_day: 1
sambaSamAccount_expire_mon: 1
sambaSamAccount_expire_yea: 2030
sambaSamAccount_sambaHomeDrive: -
sambaSamAccount_profilePath:
sambaSamAccount_logonScript:
sambaSamAccount_userWorkstations:
sambaSamAccount_sambaDomainName: MS
sambaSamAccount_group: 513
sambaSamAccount_logonHours:

When creating user with this profile there still samba extension added, and saving is prohibited due to missing required attributes in samba module.
One have to click samba tab and press 'remove samba 3 extension'

Discussion

  • Roland Gruber
    Roland Gruber
    2014-02-26

    I guess your profile called "default" has set the checkbox activated to auto-add Samba.
    Since the default profile is always loaded for new accounts it adds the extension. Loading a second profile later will not remove the extension.

    Solution would be to deselect auto-add Samba in profile default.

     
  • Roland Gruber
    Roland Gruber
    2014-03-08

    • status: open --> closed-works-for-me