Author Topic: LDAP address book on Zentyal 3  (Read 7181 times)

reano

  • Zen Monk
  • **
  • Posts: 61
  • Karma: +0/-0
    • View Profile
Re: LDAP address book on Zentyal 3
« Reply #15 on: October 31, 2012, 12:15:02 pm »
Sorry Christian, but I have no idea where to set that log level. The closest I came to a LDAP config file is /usr/share/zentyal/stubs/users/ldap.conf.mas - and that's not the right one. Can you tell me where/how to change the log level please? And when it logs, will it be in /var/log/syslog ?

christian

  • Guest
Re: LDAP address book on Zentyal 3
« Reply #16 on: October 31, 2012, 03:19:56 pm »
You can do it either with command line or using GUI.
I would not recommend command line if you are not used to work with LDAP. Not that this is complex but risk is pretty high.
GUI, although risk is high too, permits better control. However, take care not to change any value you do not clearly understand !

LDAP GUI choice:
Google is your friend here. There is a lot of different LDAP admin tools. This is mainly matter of choice.
You can also have a look here.

One not in this list but very easy to use (although no more published but you may still find it somewhere: java based ldap admin tool from ...
Apache Directory is quite good too. Jxplorer is ok... well, a lot of choice.

Once you have installed interface of your choice, then connect to cn=config (based DN) on port 390 (using cedential you will find in Users& Groups section/ ldap setttings, and look at attribute "olcloglevel". Change default value ("0") to "256" and look at result in /var/.log/syslog.
As this is very verbose, keep in mind to revert back to "0"

I hope this helps.

reano

  • Zen Monk
  • **
  • Posts: 61
  • Karma: +0/-0
    • View Profile
Re: LDAP address book on Zentyal 3
« Reply #17 on: October 31, 2012, 03:46:13 pm »
I used Jexplorer, with port 390 I get a connection timeout when trying to connect to LDAP, but here's the strange thing, with port 389 I get:

Error opening connection:
[LDAP: error code 49 - Simple Bind Failed: NT_STATUS_LOGON_FAILURE]

As Base DN I used: cn=config
User DN: cn=zentyal,dc=domainname,dc=local
Password: The password supplied by Zentyal in the LDAP settings section (in the web admin).

I'm using LDAPv2 protocol.


christian

  • Guest
Re: LDAP address book on Zentyal 3
« Reply #18 on: October 31, 2012, 04:11:56 pm »
I'm using LDAPv2 protocol.

You should rather use LDAP V3

I'll try with Jxplorer too on my side.

reano

  • Zen Monk
  • **
  • Posts: 61
  • Karma: +0/-0
    • View Profile
Re: LDAP address book on Zentyal 3
« Reply #19 on: October 31, 2012, 10:56:16 pm »
Tried with both, and no luck. Very strange.

ichat

  • Zen Hero
  • *****
  • Posts: 795
  • Karma: +28/-16
  • RTFM!
    • View Profile
Re: LDAP address book on Zentyal 3
« Reply #20 on: November 01, 2012, 02:46:29 pm »
check your firewall...  it may be blocking your  ldap 390 port from lan to zentyal...   
All tips hints and advices are based on my personal experience.
As I try my best to be as accurate as possible, following my advice is always at your own risk,
I claim absolutely NO responsibility in any way!

reano

  • Zen Monk
  • **
  • Posts: 61
  • Karma: +0/-0
    • View Profile
Re: LDAP address book on Zentyal 3
« Reply #21 on: November 01, 2012, 02:51:52 pm »
Got bigger problems than LDAP right now :( Tried to install Zentyal's updates, which it did - but then samba refused to install, and now both samba and squid are gone. When I try to manually install samba (apt-get install samba4) it errors out, etc. Squid just AWOL's for no apparent reason. No idea why a normal update would cause this drama.
Tempted to just wipe the disks and reinstall.