fusiondirectory-plugins issueshttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues2018-09-26T19:39:26Zhttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5299When using FD in portal mode, avoid showing applications (which are not web a...2018-09-26T19:39:26ZCôme ChillietWhen using FD in portal mode, avoid showing applications (which are not web applications)When fdWebappsMenu is set to «allowed» and there are desktop applications listed in fdApplicationAllowed for a role, they will get shown in the menu, causing problems as they have different fields from Web applications.
*(from redmine: ...When fdWebappsMenu is set to «allowed» and there are desktop applications listed in fdApplicationAllowed for a role, they will get shown in the menu, causing problems as they have different fields from Web applications.
*(from redmine: issue id 5299, created on 2017-01-09, closed on 2017-01-11)*
* Relations:
* copied_to #5240
* Changesets:
* Revision 642a78dc5c514df0d2048a34408701f15e3aa128 by Côme Chilliet on 2017-01-10T10:47:50.000Z:
```
Fixes #5299 Do not show applications which are not web in the menu
```
* Revision c612715acf05839bb422c534a2467b7f2eabd21e by Côme Chilliet on 2017-01-10T10:53:00.000Z:
```
Fixes #5299 Do not show applications which are not web in the menu
```
* Custom Fields:
* Bug in version: 1.0.17FusionDirectory 1.0.18Côme ChillietCôme Chilliethttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5296Name dhcp object differently when we use migration-dhcp2018-09-26T19:38:34ZJonathan SwaelensName dhcp object differently when we use migration-dhcpHello,
For now if we migrate an old dhcp we see it with cn=dhcp.
I think it would be better to name it cn=dhcp-$system ($system is on which server was the dhcp service)
I think it's more clear and we avoid the possibility to have a conf...Hello,
For now if we migrate an old dhcp we see it with cn=dhcp.
I think it would be better to name it cn=dhcp-$system ($system is on which server was the dhcp service)
I think it's more clear and we avoid the possibility to have a conflict because we have the same cn.
Cheers.
*(from redmine: issue id 5296, created on 2017-01-02, closed on 2017-01-09)*FusionDirectory 1.0.18Côme ChillietCôme Chilliethttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5295Filter problem if dhcp object is in a department2018-09-26T19:38:02ZJonathan SwaelensFilter problem if dhcp object is in a departmentHello,
dhcp object only display if we tick "search in subtree".
I think that it is a filter problem.
Cheers
*(from redmine: issue id 5295, created on 2017-01-02, closed on 2017-01-09)*
* Relations:
* relates #5249Hello,
dhcp object only display if we tick "search in subtree".
I think that it is a filter problem.
Cheers
*(from redmine: issue id 5295, created on 2017-01-02, closed on 2017-01-09)*
* Relations:
* relates #5249FusionDirectory 1.0.18Côme ChillietCôme Chilliethttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5257Error in ldap when we will that FAI use all the remain space2018-09-26T19:30:55ZJonathan SwaelensError in ldap when we will that FAI use all the remain spaceHello,
When we create a partition that must use all the remain space FD create the next ldapdump.
<pre>
cn=disk2
FAIpartitionNr=1
cn disk21
FAIpartitionNr 1
FAIpartitionSize -
FAImountPoint /
FAIfsType ext4...Hello,
When we create a partition that must use all the remain space FD create the next ldapdump.
<pre>
cn=disk2
FAIpartitionNr=1
cn disk21
FAIpartitionNr 1
FAIpartitionSize -
FAImountPoint /
FAIfsType ext4
FAIpartitionType primary
objectClass top
objectClass FAIclass
objectClass FAIpartitionEntry
</pre>
FaipartitionSize must be 0- in place of -
Cheers.
*(from redmine: issue id 5257, created on 2016-11-26, closed on 2016-12-05)*
* Changesets:
* Revision 7412eb707a4d86bde90f1b2e5175545242a131d7 by Côme Chilliet on 2016-12-05T07:49:48.000Z:
```
Fixes #5257 FAI expect 0- instead of - for remaining space
```
* Revision 09a8140f6d3384345a860b20f33dc072fc2ec358 by Côme Chilliet on 2016-12-05T07:51:12.000Z:
```
Fixes #5257 FAI expect 0- instead of - for remaining space
```
* Custom Fields:
* Bug in version: 1.0.17FusionDirectory 1.0.18Côme ChillietCôme Chilliethttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5256We not need dhcpStatements host-name when we add a host2018-09-26T19:30:36ZJonathan SwaelensWe not need dhcpStatements host-name when we add a hostHello,
I do my test when I add a machine in a subnet in case it would be different.
The ldap dump look so for my machine test.
<pre>
cn=dhcp,ou=dhcp
cn=192.168.10.0
cn=test
objectClass dhcpHost
cn test
...Hello,
I do my test when I add a machine in a subnet in case it would be different.
The ldap dump look so for my machine test.
<pre>
cn=dhcp,ou=dhcp
cn=192.168.10.0
cn=test
objectClass dhcpHost
cn test
dhcpHWAddress ethernet 08:00:27:F9:CA:0E
dhcpStatements host-name test
dhcpStatements fixed-address 192.168.10.20
</pre>
To make it work with isc-dhcp-server and ldap configuration I must remove "dhcpStatements host-name test".
I think we don't need it because the dhcp know that the cn is the hostname.
We can see it here in host.ldif (https://mageconfig.blogspot.be/2014/10/configure-isc-dhcp-server-with-openldap.html)
Cheers.
*(from redmine: issue id 5256, created on 2016-11-26, closed on 2016-12-05)*
* Changesets:
* Revision f011cf6b618059a73f7fea74a4504c8418071da3 by Côme Chilliet on 2016-12-05T04:37:08.000Z:
```
Fixes #5256 Do not add host-name to dhcp host by default
```
* Revision 4bfe2efc9ac82dd89fe604f6d61b84efe753fc6d by Côme Chilliet on 2016-12-05T04:39:38.000Z:
```
Fixes #5256 Do not add host-name to dhcp host by default
```
* Revision 8783c356c0fb3b58e98891b94f6e323162488467 by Côme Chilliet on 2016-12-05T04:41:07.000Z:
```
Fixes #5256 Do not add host-name to dhcp host by default
```
* Revision 7b66efda8d1efaa94d178e4d219153a26c78f04f by Côme Chilliet on 2016-12-05T04:41:15.000Z:
```
Fixes #5256 Do not add host-name to dhcp host by default
```
* Custom Fields:
* Bug in version: 1.0.17FusionDirectory 1.0.18Côme ChillietCôme Chilliethttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5255Cannot add a workstation in a dhcp subnet2018-09-26T19:30:09ZJonathan SwaelensCannot add a workstation in a dhcp subnetHello, when I try to add a workstation in a dhcp subnet I have the next error.
But, my new client machine is well save.
<pre>
LDAP modify operation failed!
Object: cn=192.168.10.0,ou=dhcp,cn=dhcp,dc=labo,dc=opensides,dc=be
Error: Can...Hello, when I try to add a workstation in a dhcp subnet I have the next error.
But, my new client machine is well save.
<pre>
LDAP modify operation failed!
Object: cn=192.168.10.0,ou=dhcp,cn=dhcp,dc=labo,dc=opensides,dc=be
Error: Cannot modify object class (structural object class modification from 'dhcpSubnet' to 'dhcpService' not allowed, while operating on 'cn=192.168.10.0,ou=dhcp,cn=dhcp,dc=labo,dc=opensides,dc=be' using LDAP server 'ldap://192.168.10.200')
</pre>
<pre>
=== Error ===
PHP error: array_diff(): Argument #2 is not an array (/usr/share/fusiondirectory/include/functions.inc, line 2394)
=== /Error ===
=== Trace ===
Trace[1]:function array_diff
File : /usr/share/fusiondirectory/include/functions.inc
Line : 2394
Type : -
array("08:00:27:F9:DA:0E"),"08:00:27:F9:DA:0E"
Trace[2]:function array_differs
File : /usr/share/fusiondirectory/plugins/admin/systems/class_workstationGeneric.inc
Line : 66
Type : -
array("08:00:27:F9:DA:0E"),"08:00:27:F9:DA:0E"
Trace[3]:class systemSimplePluginGlue / function attributeHaveChanged
File : /usr/share/fusiondirectory/plugins/admin/systems/class_dhcpSystem.inc
Line : 300
Type : method
"macAddress"
Trace[4]:class dhcpSystem / function ldap_save
File : /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc
Line : 656
Type : method
-
Trace[5]:class simplePlugin / function save
File : /usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc
Line : 422
Type : method
-
Trace[6]:class simpleTabs / function save
File : /usr/share/fusiondirectory/include/class_management.inc
Line : 786
Type : method
-
Trace[7]:class management / function saveChanges
File : /usr/share/fusiondirectory/include/class_management.inc
Line : 461
Type : method
"save",array(),array("save",array())
Trace[8]:class management / function handleActions
File : /usr/share/fusiondirectory/include/class_management.inc
Line : 178
Type : method
array("save")
Trace[9]:class management / function execute
File : /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc
Line : 892
Type : method
-
Trace[10]:class simpleManagement / function mainInc
File : /usr/share/fusiondirectory/plugins/admin/systems/main.inc
Line : 21
Type : static
"systemManagement"
Trace[11]:function require
File : /usr/share/fusiondirectory/html/main.php
Line : 286
Type : -
"/usr/share/fusiondirectory/plugins/admin/systems/main.inc"
=== /Trace ====== Error ===
PHP error: Failed to parse cn=192.168.10.0,cn=dhcp,dc=labo,dc=opensides,dc=be to find DHCP configuration DN (/usr/share/fusiondirectory/plugins/admin/systems/class_dhcpSystem.inc, line 192)
=== /Error ===
=== Trace ===
Trace[1]:function trigger_error
File : /usr/share/fusiondirectory/plugins/admin/systems/class_dhcpSystem.inc
Line : 192
Type : -
"Failed to parse cn=192.168.10.0,cn=dhcp,dc=labo,dc=opensides,dc=be to find DHCP configuration DN"
Trace[2]:class DhcpHostsAttribute / function postLdapSave
File : /usr/share/fusiondirectory/plugins/admin/systems/class_dhcpSystem.inc
Line : 303
Type : method
CLASS: ldapMultiplexer,"","",array("192.168.10.50"),array("192.168.10.50"),"",array(array("08:00:27:F9:DA:0E")),array("08:00:27:F9:DA:0E")
Trace[3]:class dhcpSystem / function ldap_save
File : /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc
Line : 656
Type : method
-
Trace[4]:class simplePlugin / function save
File : /usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc
Line : 422
Type : method
-
Trace[5]:class simpleTabs / function save
File : /usr/share/fusiondirectory/include/class_management.inc
Line : 786
Type : method
-
Trace[6]:class management / function saveChanges
File : /usr/share/fusiondirectory/include/class_management.inc
Line : 461
Type : method
"save",array(),array("save",array())
Trace[7]:class management / function handleActions
File : /usr/share/fusiondirectory/include/class_management.inc
Line : 178
Type : method
array("save")
Trace[8]:class management / function execute
File : /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc
Line : 892
Type : method
-
Trace[9]:class simpleManagement / function mainInc
File : /usr/share/fusiondirectory/plugins/admin/systems/main.inc
Line : 21
Type : static
"systemManagement"
Trace[10]:function require
File : /usr/share/fusiondirectory/html/main.php
Line : 286
Type : -
"/usr/share/fusiondirectory/plugins/admin/systems/main.inc"
=== /Trace ====== Error ===
PHP error: Cannot return list of departments, no default base found in class dhcpConfiguration. (base is 'cn=dhcp,dc=labo,dc=opensides,dc=be') (/usr/share/fusiondirectory/include/class_plugin.inc, line 1696)
=== /Error ===
=== Trace ===
Trace[1]:function trigger_error
File : /usr/share/fusiondirectory/include/class_plugin.inc
Line : 1696
Type : -
"Cannot return list of departments, no default base found in class dhcpConfiguration. (base is 'cn=dhcp,dc=labo,dc=opensides,dc=be')"
Trace[2]:class plugin / function get_allowed_bases
File : /usr/share/fusiondirectory/include/simpleplugin/attributes/class_BaseSelectorAttribute.inc
Line : 69
Type : method
-
Trace[3]:class BaseSelectorAttribute / function setParent
File : /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc
Line : 208
Type : method
CLASS: dhcpConfiguration
Trace[4]:class simplePlugin / function loadAttributes
File : /usr/share/fusiondirectory/include/class_plugin.inc
Line : 188
Type : method
-
Trace[5]:class plugin / function __construct
File : /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc
Line : 122
Type : method
"cn=192.168.10.0,cn=dhcp,dc=labo,dc=opensides,dc=be",""
Trace[6]:class simplePlugin / function __construct
File : /usr/share/fusiondirectory/plugins/admin/dhcp/class_dhcpConfiguration.inc
Line : 530
Type : method
"cn=192.168.10.0,cn=dhcp,dc=labo,dc=opensides,dc=be","",CLASS: simpleTabs,"1"
Trace[7]:class dhcpConfiguration / function __construct
File : /usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc
Line : 106
Type : method
"cn=192.168.10.0,cn=dhcp,dc=labo,dc=opensides,dc=be","",CLASS: simpleTabs,"1"
Trace[8]:class simpleTabs / function __construct
File : /usr/share/fusiondirectory/include/class_objects.inc
Line : 154
Type : method
"dhcpConfiguration","cn=192.168.10.0,cn=dhcp,dc=labo,dc=opensides,dc=be"
Trace[9]:class objects / function open
File : /usr/share/fusiondirectory/plugins/admin/systems/class_dhcpSystem.inc
Line : 194
Type : static
"cn=192.168.10.0,cn=dhcp,dc=labo,dc=opensides,dc=be","dhcpConfiguration"
Trace[10]:class DhcpHostsAttribute / function postLdapSave
File : /usr/share/fusiondirectory/plugins/admin/systems/class_dhcpSystem.inc
Line : 303
Type : method
CLASS: ldapMultiplexer,"","",array("192.168.10.50"),array("192.168.10.50"),"",array(array("08:00:27:F9:DA:0E")),array("08:00:27:F9:DA:0E")
Trace[11]:class dhcpSystem / function ldap_save
File : /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc
Line : 656
Type : method
-
Trace[12]:class simplePlugin / function save
File : /usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc
Line : 422
Type : method
-
Trace[13]:class simpleTabs / function save
File : /usr/share/fusiondirectory/include/class_management.inc
Line : 786
Type : method
-
Trace[14]:class management / function saveChanges
File : /usr/share/fusiondirectory/include/class_management.inc
Line : 461
Type : method
"save",array(),array("save",array())
Trace[15]:class management / function handleActions
File : /usr/share/fusiondirectory/include/class_management.inc
Line : 178
Type : method
array("save")
Trace[16]:class management / function execute
File : /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc
Line : 892
Type : method
-
Trace[17]:class simpleManagement / function mainInc
File : /usr/share/fusiondirectory/plugins/admin/systems/main.inc
Line : 21
Type : static
"systemManagement"
Trace[18]:function require
File : /usr/share/fusiondirectory/html/main.php
Line : 286
Type : -
"/usr/share/fusiondirectory/plugins/admin/systems/main.inc"
=== /Trace ===
</pre>
*(from redmine: issue id 5255, created on 2016-11-25, closed on 2016-12-12)*FusionDirectory 1.0.18Côme ChillietCôme Chilliethttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5254Server inside Systems2018-09-26T19:29:12ZobspmServer inside SystemsHi
I go inside «Systems » and add a server (let's name it imap.somewhere.com) , tell this server is a IMAP/POP3 Generic server.
After that if I add those mail attribute to some user I can select the server imap.somewhare.com in the sel...Hi
I go inside «Systems » and add a server (let's name it imap.somewhere.com) , tell this server is a IMAP/POP3 Generic server.
After that if I add those mail attribute to some user I can select the server imap.somewhare.com in the select « server » menu-drop.
"problems"
1/ First I don't known if it's a real bug or just by design, anyway if I change the name of the server (let's name if imap-new.somewhere.com),
than
If some user DON'T have POSIX account objectclass then we get a error popup.
In any case the server name in the mail attribute don't change to the new.
2/ Second, and that's is a real problem, if after rename the server I got to a another user, inside the drop-menu I still can only see the old-server name, I can get the new server name.
To make the new server name inside the drop-menu I need to destroy the server inside systems and recreate it.
*(from redmine: issue id 5254, created on 2016-11-24, closed on 2016-12-31)*
* Changesets:
* Revision 289678d5812b9732bd5ac03dfe981b48db90c205 by Côme Chilliet on 2016-12-06T03:32:09.000Z:
```
Fixes #5254 Mail server cache was not reseted often enough
```
* Revision c198ca11ea959fd6663e324679af8f8698df0553 by Côme Chilliet on 2016-12-06T03:35:33.000Z:
```
Fixes #5254 Mail server cache was not reseted often enough
```
* Revision 859a538a8079b3f121e1c2ac223c407cd059eb10 by Benoit MORTIER on 2016-12-24T17:36:03.000Z:
```
Fixes: #5254 Server inside Systems
Removed no needed functions in cn check
Signed-off-by: Benoit Mortier <benoit.mortier@opensides.be>
```
* Revision 6bce5c3bedc4c6ed28da359eadfe5541798e88ec by Benoit MORTIER on 2016-12-31T11:26:23.000Z:
```
Fixes: #5254 Server inside Systems
Removed no needed functions in cn check
Signed-off-by: Benoit Mortier <benoit.mortier@opensides.be>
```
* Custom Fields:
* Bug in version: 1.0.17FusionDirectory 1.0.18bmortierbmortierhttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5249[DHCP] after migration from .16 to .17 there previous configurations are not ...2018-09-26T19:26:47ZPrethorian[DHCP] after migration from .16 to .17 there previous configurations are not migrated to new one automatically.After migration there is no any definitions in DHCP section which should point to previous DHCP configurations.
Also when I add manually new options in DHCP section, after browsing with Apache Directory Studio I saw that on baseDN are c...After migration there is no any definitions in DHCP section which should point to previous DHCP configurations.
Also when I add manually new options in DHCP section, after browsing with Apache Directory Studio I saw that on baseDN are created those options with DN = cn=optionname.
Is it better to be like for DNS plugin? For DNS plugi there is *ou=dns* and inside are all zones. For DHCP options also should be stored in for example *ou=dhcp* for better management.
Thanks,
Aleksandar
*(from redmine: issue id 5249, created on 2016-11-17, closed on 2017-01-02)*
* Relations:
* relates #5295
* Custom Fields:
* Bug in version: 1.0.17FusionDirectory 1.0.18bmortierbmortierhttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5179Terminal are missing fields2018-09-26T19:25:24ZCôme ChillietTerminal are missing fieldsWhen adding/editing a terminal, some fields are gone, which were there in 1.0.16.
*(from redmine: issue id 5179, created on 2016-10-06, closed on 2016-11-24)*
* Changesets:
* Revision 69f6ace5f84b7e06a38214af13d6fe8de4ec9953 by Côme ...When adding/editing a terminal, some fields are gone, which were there in 1.0.16.
*(from redmine: issue id 5179, created on 2016-10-06, closed on 2016-11-24)*
* Changesets:
* Revision 69f6ace5f84b7e06a38214af13d6fe8de4ec9953 by Côme Chilliet on 2016-10-06T12:21:13.000Z:
```
Fixes #5179 Reenabled terminal startup tab
```
* Revision f9e0ae8e68ccec622a93350e11760896ba0d7afb by Côme Chilliet on 2016-10-06T13:18:11.000Z:
```
Fixes #5179 Switched priority between startup and netgroups so that startup is the second tab of terminals
```
* Revision e831503ea77feba4fd7829808f56a740718977ac by Côme Chilliet on 2016-10-06T13:47:36.000Z:
```
Fixes #5179 Cleaned up Terminal server choice system
```
* Revision 73bed5ea50320ea739d2c9ad3fc3e76ad46667a2 by Côme Chilliet on 2016-10-06T14:02:04.000Z:
```
Fixes #5179 Fixed and cleaned NFS and NBD servers fetching
```
* Revision 35c6ca56ffe42538a6cf4446230d1deb75ff0c64 by Côme Chilliet on 2016-11-18T16:36:55.000Z:
```
Fixes #5179 Reenabled terminal startup tab
Conflicts:
systems/admin/systems/class_terminalStartup.inc
```
* Revision 3d80d21c0b051e8d5b65f9ad470638fad249be6d by Côme Chilliet on 2016-11-18T16:41:20.000Z:
```
Fixes #5179 Switched priority between startup and netgroups so that startup is the second tab of terminals
Conflicts:
systems/admin/systems/class_terminalStartup.inc
```
* Revision 91710d5f2b5120ff08b52488cf04e4f1049e453d by Côme Chilliet on 2016-11-18T16:44:11.000Z:
```
Fixes #5179 Cleaned up Terminal server choice system
Conflicts:
systems/admin/systems/class_terminalStartup.inc
```
* Revision 0fea163646d238126ba7db7e4382591fd0813ab5 by Côme Chilliet on 2016-11-18T16:45:17.000Z:
```
Fixes #5179 Fixed and cleaned NFS and NBD servers fetching
```
* Revision 5e95b9d601f1701357d8fb806a33ec778c82504d by Benoit MORTIER on 2016-11-24T17:52:20.000Z:
```
Fixes #5179 Cleaned up Terminal server choice system
removed old swap and root server selection code
Signed-off-by: Benoit Mortier <benoit.mortier@opensides.be>
```
* Uploads:
* ![fd_terminal_1.1](/uploads/640d10675796fea271ec256a3b12632b/fd_terminal_1.1.png) New terminal in 1.1
* ![fd_terminal_1.0.16](/uploads/8ea6e76ae9e8472df8e35b5fa040f3a4/fd_terminal_1.0.16.png) New terminal in 1.0.16FusionDirectory 1.0.18bmortierbmortierhttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/4888DNS record matching should be case insensitive2018-09-26T19:22:26ZbmortierDNS record matching should be case insensitiveHello,
one user asked for having uppercase domaine name in the dns plugin.
Not sure its a good idea but we should look what the rfc and bind say on this matter
*(from redmine: issue id 4888, created on 2016-06-16, closed on 2016-11-24...Hello,
one user asked for having uppercase domaine name in the dns plugin.
Not sure its a good idea but we should look what the rfc and bind say on this matter
*(from redmine: issue id 4888, created on 2016-06-16, closed on 2016-11-24)*
* Relations:
* copied_to #4884
* Changesets:
* Revision 630beb81c847d85b693f72e5d7205b30e4023cf2 by Côme Chilliet on 2016-09-14T09:30:36.000Z:
```
Fixes #4888 DNS record matching should be case insensitive
```
* Revision b5dca3a54d4a1351a59235583398618a547a7471 by Côme Chilliet on 2016-11-18T16:11:13.000Z:
```
Fixes #4888 DNS record matching should be case insensitive
```
* Custom Fields:
* Bug in version: 1.0.13FusionDirectory 1.0.18Côme ChillietCôme Chilliet