tiredofit / docker-fusiondirectory

Dockerized web based LDAP manager
MIT License
48 stars 18 forks source link

Use FusionDirectory 1.4 #40

Open tomflenner opened 3 years ago

tomflenner commented 3 years ago

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.

tiredofit commented 3 years ago

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 commented 3 years ago

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

tomflenner commented 3 years ago

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

tiredofit commented 3 years ago

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.

tomflenner commented 3 years ago

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 ?

tiredofit commented 3 years ago

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

tomflenner commented 3 years ago

Hi,

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

tiredofit commented 3 years ago

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