fusiondirectory-plugins issueshttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues2023-02-02T11:25:07Zhttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/6081Do not record empty memberUid within mixedgroups2023-02-02T11:25:07ZDanjean VincentDo not record empty memberUid within mixedgroups### Description
I'm using fusiondirectory 1.3 through Debian package (locally recompiled for buster).
I'm using the mixedgroups plugin.
When I create a mixedgroup with one user and several (sub-)groups, I got an error about duplicate (...### Description
I'm using fusiondirectory 1.3 through Debian package (locally recompiled for buster).
I'm using the mixedgroups plugin.
When I create a mixedgroup with one user and several (sub-)groups, I got an error about duplicate (empty) memberUid.
Indeed, this is due to the fact that the plugin gets a 'uid' attribute for all its entries, even for (sub-)groups that do not have 'uid' attribute.
I fixed this locally with this patch:
In ogroups/mixedgroups/class_mixedGroup.inc, in prepare_save(), I replace:
```php
foreach ($members as $dn) {
$ldap->cat($dn, array('uid'));
$attrs = $ldap->fetch();
$memberUid[] = $attrs['uid'][0];
}
```
by
```php
foreach ($members as $dn) {
$ldap->cat($dn, array('uid'));
$attrs = $ldap->fetch();
/* Some members (other groups) do not have uid
* Adding a empty uid is not a problem, but adding two or more is */
if ($attrs['uid'][0] != '') {
$memberUid[] = $attrs['uid'][0];
}
}
```
Note: it solve my problem but you might want to do other things, for example:
- allows empty uid but skip entries with no uid attribute (my patch does the same thing for both cases)
- check that there are no duplicate uid (empty or not). If there are:
- return an error
- cleanup the list to keep only unique values
- or ...
Regards
Vincent
PS: the code in gitlab seems to be the same in the 1.4 branch, so this bug does not seem already fixed.FusionDirectory 1.5dockx thibaultdockx thibault2022-04-13https://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/6055Add a basic kerberos plugin2022-12-07T10:34:10ZCôme ChillietAdd a basic kerberos pluginFor now, just show the fields as text fields, so that kerberos information on users is not lost by FD.
https://gitlab.opensides.be/telecomsudparis/Migration-FusionDirectory-OpenLDAP/-/issues/111For now, just show the fields as text fields, so that kerberos information on users is not lost by FD.
https://gitlab.opensides.be/telecomsudparis/Migration-FusionDirectory-OpenLDAP/-/issues/111FusionDirectory 1.5dockx thibaultdockx thibaulthttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/6051IMAP error when activating mail tab on group with dovecot plugin2022-12-07T10:43:27Zemmanuel thetasIMAP error when activating mail tab on group with dovecot plugin### Description
error message when I activate mail on a posix group :
... : Can not authenticate to IMAP server: [CLOSED] IMAP connection broken (authenticate)
### Distribution Name and Version
Centos7
### FusionDirectory Version
...### Description
error message when I activate mail on a posix group :
... : Can not authenticate to IMAP server: [CLOSED] IMAP connection broken (authenticate)
### Distribution Name and Version
Centos7
### FusionDirectory Version
1.3-fixes
### Plugin with the defect
dovecot
### PHP version used
7.1
### Origin of php packages
from https://integration.fusiondirectory.org/repos/fixes-releases/rpm/rhel/7/fusiondirectory-13-fixes/RPMS/
### Steps to Reproduce
1. configure dovecot services on mail server (in system settings)
2. activate mail on posix group with mail address and mail server
3. validate data
=> error!
**Expected behavior:**
<!-- What you expect to happen-->
nothing. I don't want an imap connexion with mail group, only for mail user
<!-- What actually happens -->
Imap connection, so error, for mail group
<!-- What percentage of the time does it reproduce?-->
100%
### Additional Information
I use dovecot module for user mail quota.FusionDirectory 1.5bmortierbmortierhttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/6023If mailbox creation failed at user creation, you get stuck2022-12-07T10:40:06ZJonathan SwaelensIf mailbox creation failed at user creation, you get stuck### Description
I was trying to create a user with a mailbox (on cyrus). The mailbox creation failed but when I wanted apply again FusionDirectory told me that an user with my uid already exist.
### Distribution Name and Version
Debia...### Description
I was trying to create a user with a mailbox (on cyrus). The mailbox creation failed but when I wanted apply again FusionDirectory told me that an user with my uid already exist.
### Distribution Name and Version
Debian Buster
### FusionDirectory Version
1.4
### Plugin with the defect
mail
### PHP version used
7
### Origin of php packages
Distribution
### Steps to Reproduce
1. Set fdMailAttribute on mail and disable cyrus unix style
2. Create an user with a mail on cyrus server
3. If you try to apply again after the mailbox creation error it will say the uid already exist
**Expected behavior:**
Not create the user if the mailbox creation fail
**Actual behavior:**
It create the user same if the mailbox creation fail
**Reproduces how often:**
100%FusionDirectory 1.5Jonathan SwaelensJonathan Swaelens2019-12-18https://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/1296FD and IPv62021-01-03T13:25:18ZamichonFD and IPv6Hello,
We plan to deploy IPv6 on our network in the next month. This ticket will be to follow the status of the support, experience we made, ... Somebody has some experience with FD and IPv6 ? How is the status of IPv6 in FD ?
Alexis
...Hello,
We plan to deploy IPv6 on our network in the next month. This ticket will be to follow the status of the support, experience we made, ... Somebody has some experience with FD and IPv6 ? How is the status of IPv6 in FD ?
Alexis
*(from redmine: issue id 1296, created on 2012-09-26)*
* Relations:
* relates #3265
* copied_to #4236
* Changesets:
* Revision da90acfbca2d99db18b573964da95aece179c3f5 by Côme Chilliet on 2015-10-20T12:15:20.000Z:
```
Fixes #1296 Using is_ipv4 where it makes sense
```
* Revision 5e449656aa94edec7c54f4f9bbc9f639054a9e3b by Côme Chilliet on 2015-10-20T12:16:25.000Z:
```
Fixes #1296 Using is_ipv4 where it makes sense
```
* Custom Fields:
* Bug in version: 1.0.8.5
* Support contract: NoneFusionDirectory 1.5Jonathan SwaelensJonathan Swaelens