docker-fusiondirectory icon indicating copy to clipboard operation
docker-fusiondirectory copied to clipboard

Use FusionDirectory 1.4

Open tomflenner opened this issue 3 years ago • 8 comments

Hello,

Can we easily edit the dockerfile to make your image work with Fusion Directory 1.4 ?

I need to use Web service REST API which is a plugin in the 1.4 DEV version.

Thank you.

tomflenner avatar Apr 19 '21 08:04 tomflenner

I think there is a lot of work to be done to get it to work under 1.4 - I tried a while back and it blew up spectacularly. I've held off as I've wanted to see a final release to be able to reverse engineer on what they've done. Documentation right now is minimal.

tiredofit avatar Apr 19 '21 19:04 tiredofit

There will be a release that the 1.4 development branch available tomorrow. Look for tiredofit/fusiondirectory:1.4 and tiredofit/openldap-fusiondirectory:1.4

tiredofit avatar May 10 '21 22:05 tiredofit

You will do a tag for the 1.4 version ? :o

tomflenner avatar May 11 '21 08:05 tomflenner

Grab tiredofit/fusiondirectory:1.4-latest and tiredofit/openldap-fusiondirectory:1.4-latest and you should be good. Note, I haven't tested it on an existing system, just a new install and seems to work fine.

tiredofit avatar May 11 '21 17:05 tiredofit

After fresh install i have some trouble to login on FusionDirectory web interface :

Log from LDAP container

openldap-fusiondirectory-app    | 609af4c5 slap_global_control: unrecognized control: 1.3.6.1.4.1.42.2.27.8.5.1
openldap-fusiondirectory-app    | 609af4c5 conn=1008 op=0 BIND dn="cn=admin,dc=m1miaa,dc=fr" mech=SIMPLE ssf=0
openldap-fusiondirectory-app    | 609af4c5 conn=1008 op=0 RESULT tag=97 err=0 text=
openldap-fusiondirectory-app    | 609af4c5 conn=1008 op=1 SRCH base="cn=config,ou=fusiondirectory,dc=m1miaa,dc=fr" scope=0 deref=0 filter="(objectClass=*)"
openldap-fusiondirectory-app    | 609af4c5 conn=1008 op=1 SRCH attr=*
openldap-fusiondirectory-app    | 609af4c5 conn=1008 op=1 SEARCH RESULT tag=101 err=32 nentries=0 text=
openldap-fusiondirectory-app    | 609af4c5 conn=1008 op=2 SRCH base="ou=locks,ou=fusiondirectory,dc=m1miaa,dc=fr" scope=0 deref=0 filter="(objectClass=*)"
openldap-fusiondirectory-app    | 609af4c5 conn=1008 op=2 SRCH attr=dn
openldap-fusiondirectory-app    | 609af4c5 conn=1008 op=2 SEARCH RESULT tag=101 err=32 nentries=0 text=
openldap-fusiondirectory-app    | 609af4c5 conn=1008 op=3 SRCH base="ou=fusiondirectory,dc=m1miaa,dc=fr" scope=0 deref=0 filter="(objectClass=*)"
openldap-fusiondirectory-app    | 609af4c5 conn=1008 op=3 SRCH attr=objectClass
openldap-fusiondirectory-app    | 609af4c5 conn=1008 op=3 SEARCH RESULT tag=101 err=32 nentries=0 text=
openldap-fusiondirectory-app    | 609af4c5 conn=1008 op=4 ADD dn="ou=fusiondirectory,dc=m1miaa,dc=fr"
openldap-fusiondirectory-app    | 609af4c5 conn=1008 op=4 RESULT tag=105 err=32 text=
openldap-fusiondirectory-app    | 609af4c5 conn=1008 op=5 UNBIND
openldap-fusiondirectory-app    | 609af4c5 conn=1008 fd=13 closed

And screen of web interface : image

*EDIT : I found this log on fresh install :

openldap-fusiondirectory-app    | /assets/custom-scripts/001-install-fusiondirectory.sh: line 625: unexpected EOF while looking for matching `"'
openldap-fusiondirectory-app    | /assets/custom-scripts/001-install-fusiondirectory.sh: line 633: syntax error: unexpected end of file

Maybe the docker build contains something wrong with this script ?

tomflenner avatar May 11 '21 21:05 tomflenner

Let's do a fresh pull of the tiredofit/openldap-fusiondirectory container, there was a scripting error that was limiting ability to install schemas.

tiredofit avatar May 11 '21 22:05 tiredofit

Hi,

I saw that you updated the container's 1.4 tag but the issue seems to still be there :/

tomflenner avatar May 12 '21 08:05 tomflenner

I completely butchered that release, my apologies. A new one is available now without all the errors in parsing.

tiredofit avatar May 12 '21 15:05 tiredofit