fusiondirectory issueshttps://gitlab.fusiondirectory.org/fusiondirectory/fd/-/issues2022-09-30T18:41:40Zhttps://gitlab.fusiondirectory.org/fusiondirectory/fd/-/issues/6063Partial entry created when error occurs in a tab2022-09-30T18:41:40ZbmortierPartial entry created when error occurs in a tab### Description
I created an entry and enabled the mail tab in the creation screen. My LDAP directory is configured with unique overlay on mail attribute. If the mail of the created entry is not unique, I got an error, but the entry is ...### Description
I created an entry and enabled the mail tab in the creation screen. My LDAP directory is configured with unique overlay on mail attribute. If the mail of the created entry is not unique, I got an error, but the entry is created without the mail tab.
### Distribution Name and Version
Debian stable
### FusionDirectory Version
1.4-2~jenkinsbuild570
### Steps to Reproduce
1. Create a new entry, enter required information
2. Enable mail tab, set a mail address which already exists
3. Enter OK
**Expected behavior:**
Error message because LDAP Directory has reject the mail attribute, and no entry created at all.
**Actual behavior:**
Error message because LDAP Directory has reject the mail attribute, but entry is created without the mail attribute.
**Reproduces how often:**
100%
### Additional Information
Configuration of OpenLDAP unique overlay:
```
dn: olcOverlay={2}unique,olcDatabase={1}mdb,cn=config
objectClass: olcUniqueConfig
objectClass: olcOverlayConfig
objectClass: olcConfig
objectClass: top
olcOverlay: {2}unique
olcUniqueURI: ldap:///?mail?sub
```FusionDirectory 1.5bmortierbmortierhttps://gitlab.fusiondirectory.org/fusiondirectory/fd/-/issues/5619Template creation workflow is a bit weird2022-02-21T21:43:18ZbmortierTemplate creation workflow is a bit weirdWhen creating a template an object is created and then turned into a template with setTemplate/setTemplateMode.
It would be better if the constructors knew right away the object is a template.When creating a template an object is created and then turned into a template with setTemplate/setTemplateMode.
It would be better if the constructors knew right away the object is a template.FusionDirectory 1.5bmortierbmortierhttps://gitlab.fusiondirectory.org/fusiondirectory/fd/-/issues/5530It would be useful for plugins to be able to declare triggers2022-09-30T18:43:26ZbmortierIt would be useful for plugins to be able to declare triggersA plugin should be able to ask to be called in any standard triggers event (pre-modify on users for instance).A plugin should be able to ask to be called in any standard triggers event (pre-modify on users for instance).FusionDirectory 1.5bmortierbmortierhttps://gitlab.fusiondirectory.org/fusiondirectory/fd/-/issues/3374Password change should be done using the LDAP Password Modify Extended Operation2022-02-21T21:31:23ZbmortierPassword change should be done using the LDAP Password Modify Extended Operationhttps://www.ietf.org/rfc/rfc3062.txt
This might help using ppolicy.
Also, all password change in FD should go through the change_password function as it takes care of things like samba sync or shadowAccount update.https://www.ietf.org/rfc/rfc3062.txt
This might help using ppolicy.
Also, all password change in FD should go through the change_password function as it takes care of things like samba sync or shadowAccount update.FusionDirectory 1.5bmortierbmortier