ibv / LDAP-Admin

LDAP Admin for Linux
119 stars 29 forks source link

connections are not saved #18

Open drlight17 opened 3 months ago

drlight17 commented 3 months ago

Hello! Thank you for this project! It works with Samba AD, but after application restart there is empty connections list in default private storage. File ~/.config/LdapAdmin/reg.xml is in the place and contains saved connections data, but seems like app can't read it... Did I miss something?

ibv commented 3 months ago

Hi, similar problem is fixed #17 and #6.

drlight17 commented 3 months ago

Hi, similar problem is fixed #17 and #6.

Oh, didn't see this... And this issue can not be fixed permanently (without manually editing files)?

ibv commented 3 months ago

LDAP-Admin is originally written for Windows, where registries are used to store user data, on Linux the behavior of registries is emulated using an xml file. How individual registry keys are accessed on Linux depends on the fpc compiler. I'll try to look into it.

drlight17 commented 3 months ago

Nice! Thank you for your work! Offtopic: any chance to compilte this port to work at Mac? I've tried but have access violation error when adding new ldap server and tried to fetch DN...

ibv commented 3 months ago

Access violation most often means access to memory that is not filled with data, e.g. the object is not created correctly. If the compilation from Lazarus works on MacOS, then the code must be stepped through the debugger, e.g. the ConnPropDlg.FetchDnBtnClick procedure in the ConProp.pas file o-78

drlight17 commented 3 months ago

Access violation most often means access to memory that is not filled with data, e.g. the object is not created correctly. If the compilation from Lazarus works on MacOS, then the code must be stepped through the debugger, e.g. the ConnPropDlg.FetchDnBtnClick procedure in the ConProp.pas file

Oh, sorry!.. Access violation is not in this project... But I'll try to debug soon, thanks.