i have installed the LDAP module or application on 2 different servers , all successfully installed and the application shows up on Desk and under settings fine, without a problem.
I have entered the LDAP settings from our environment and also tried with a Test LDAP account, it allows me to save everything under the LDAP settings, but on the login screen i still don’t see or get the LDAP Login option.
Am i missing something here or does this app need further programming for it to work or show up as the alternative method of login.
Again, i have installed this module on 2 different environments, have tried with different LDAP settings, and still don’t see the login screen…
i have already installed and enabled the LDAP application, i have entered my LDAP server settings, and saved.
I don’t see the same window as you do, i only get the normal login window , not login via LDAP option.
Do i have to enable this anywhere else or how? So far, i have installed the App on both servers and it lets me enter the LDAP server details, but does not show on login screen.
If you are referring to some other service or activating this some other way then please let me know as not aware of this…
I have another setup which does not have the LDAP V.0.0.1 , and i cannot see LDAP as a service anywhere??
I have uninstalled LDAP V.0.0.1 from another server instance that i have setup and i still do not see the LDAP service or to be able to search for Integration Service, nothing comes up from search bar…?
I am running Production environment, not sure if that makes a difference for this app?
@saurabh6790 Can you please tell me / help me on how to uninstall or remove the previous manual installation of LDAP?? Now that i have updated to version 7.1.3 , the LDAP app is breaking my login screen / portal
see below error please
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py”, line 32, in render
data = render_page_by_language(path)
File “/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py”, line 101, in render_page_by_language
return render_page(path)
File “/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py”, line 117, in render_page
return build(path)
File “/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py”, line 124, in build
return build_page(path)
File “/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py”, line 140, in build_page
html = frappe.render_template(context.source, context)
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/jinja.py”, line 50, in render_template
return get_jenv().from_string(template).render(context)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/environment.py”, line 989, in render
return self.environment.handle_exception(exc_info, True)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/environment.py”, line 754, in handle_exception
reraise(exc_type, exc_value, tb)
File “”, line 78, in top-level template code
File “”, line 78, in block “script_lib”
File “/home/frappe/frappe-bench/apps/frappe/frappe/./templates/includes/login/login.js”, line 58, in top-level template code
args.cmd = “{{ ldap_settings.method }}”;
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/environment.py”, line 408, in getattr
return getattr(obj, attribute)
UndefinedError: ‘ldap_settings’ is undefined
Sorry, No, this is not about enabling LDAP, i know how to do that. I had LDAP installed as a separate Application, “before” it was part of the 7.1 version.
if you had LDAP enabled before the latest release then you get the above errors, meaning should uninstall the app that i installed manually in the first place, and this is what i am asking help for, how to uninstall, not how to add.
thank you, but i still get the below
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py”, line 32, in render
data = render_page_by_language(path)
File “/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py”, line 101, in render_page_by_language
return render_page(path)
File “/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py”, line 117, in render_page
return build(path)
File “/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py”, line 124, in build
return build_page(path)
File “/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py”, line 140, in build_page
html = frappe.render_template(context.source, context)
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/jinja.py”, line 50, in render_template
return get_jenv().from_string(template).render(context)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/environment.py”, line 989, in render
return self.environment.handle_exception(exc_info, True)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/environment.py”, line 754, in handle_exception
reraise(exc_type, exc_value, tb)
File “”, line 78, in top-level template code
File “”, line 78, in block “script_lib”
File “/home/frappe/frappe-bench/apps/frappe/frappe/./templates/includes/login/login.js”, line 58, in top-level template code
args.cmd = “{{ ldap_settings.method }}”;
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/environment.py”, line 408, in getattr
return getattr(obj, attribute)
UndefinedError: ‘ldap_settings’ is undefined
I think I did well in preparing the LDAP setup on windows server side, and also I have tried my best to insert all details the right way in LDAP settings on ERPNext side.
Now LDAP is enabled in the system BUT once I try to sign in with LDAP using one of AD users credentials the system seems like it’s not recognizing the AD users yet.