Author Topic: How to connect to Zentyall LDAP using external LDAP clients?  (Read 4496 times)

koval

  • Zen Apprentice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
How to connect to Zentyall LDAP using external LDAP clients?
« on: March 05, 2016, 10:06:46 pm »
Hello!
I've installed Zentyall 4.0

Trying to connect to OpenLDAP

Login:administrator
Password:administrator

LDAP information

Base DN
DC=zentyal-domain,DC=lan
Default Users DN
CN=Users,DC=zentyal-domain,DC=lan
Default Groups DN
CN=Users,DC=zentyal-domain,DC=lan

When I'm trying to connect from LdapAdmin to
DC=zentyal-domain,DC=lan

I've got error "Invalid credentionals"

What's my problem?


raleigh

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: How to connect to Zentyall LDAP using external LDAP clients?
« Reply #1 on: June 12, 2016, 03:47:30 pm »
Hello!
I've installed Zentyall 4.0

Trying to connect to OpenLDAP

Login:administrator
Password:administrator

LDAP information

Base DN
DC=zentyal-domain,DC=lan
Default Users DN
CN=Users,DC=zentyal-domain,DC=lan
Default Groups DN
CN=Users,DC=zentyal-domain,DC=lan

When I'm trying to connect from LdapAdmin to
DC=zentyal-domain,DC=lan

I've got error "Invalid credentionals"

What's my problem?

Hi there,

I'm also in that situation, were you able to connect to Zentyal LDAP with the likes of LDAPAdmin? Thanks in advance..

koval

  • Zen Apprentice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: How to connect to Zentyall LDAP using external LDAP clients?
« Reply #2 on: June 12, 2016, 10:47:43 pm »
Hey!

Try to use this credentials:

cn=name sourname,CN=Users,DC=zentyal-domain,DC=lan

where:
name is name of your Admin account,
sourname is sourname of your admin account,
Users leave as Users
DC=zentyal-domain,DC=lan is your local domain.

For me it helps.


trysomething

  • Zen Warrior
  • ***
  • Posts: 118
  • Karma: +5/-0
  • Founder of The Tiki Lab
    • View Profile
    • The Tiki Lab | Bridging the gap between technology and vision impairment!
Re: How to connect to Zentyall LDAP using external LDAP clients?
« Reply #4 on: June 15, 2016, 12:54:25 am »
1.  login to your Zentyal Web Admin Panel
2.  Navigate to Users and Computers > Manage
3.  Add a user named "ldapadmin" with the password "Ldapadmin" (or whatever you want it tobe)4.  Make this user part of the "Domain Administrators" Group
4.  Enjoy it!
Depending on how you've tweaked your Zentyal installation you may need to use "ldapadmin@zentyallocaldomain.lan (obviously change everything to fit your installation).
You will have to excuse my posts not having actual links in them.  I'm blind and can never find that insert hyperlink button LoL.  If you, or someone you know has vision problems check out The Tiki Lab.

danielpf

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: How to connect to Zentyall LDAP using external LDAP clients?
« Reply #5 on: June 15, 2016, 04:01:35 pm »
Hello I have same problem as you, then to solve it in Zentyal 4.2 you need to get the ADMIN USER AND PASSWORD;

1 - Go to your Zentyal-Console SSH, I use putty.
2 - Login with your user
3 - Type this command: ps -ef | grep ldap

Than you get like this:
proxy    12500  4099  0 08:01 ?        00:00:00 (basic_ldap_auth) -v3 -b DC=server,DC=com -f (&(samAccountName=%s)(objectclass=user)) -p 3268 -D CN=zentyal-squid-linux,CN=Users,DC=mercurio,DC=lan -w ujWt9tiP3s3SzXntW2EE -P
proxy    12501  4099  0 08:01 ?        00:00:00 (ext_ldap_group_acl) -v3 -b DC=server,DC=com -p 3268 -D CN=zentyal-squid-linux,CN=Users,DC=server,DC=com -w ujWt9tiP3s3SzXntW2EE -P -F (&(samAccountName=%s)(objectclass=user)) -f (&(samAccountName=%g)(objectclass=group)(member=%u))
root     14222 14209  0 10:53 pts/14   00:00:00 grep --color=auto ldap

Where: zentyal-squid-linux is the ADMIN USER and ujWt9tiP3s3SzXntW2EE is the PASSWORD.


You configuration will be:

LDAP BASE SERVER: DC=mercurio,DC=lan
ADMIN: CN=zentyal-squid-linux,CN=Users,DC=server,DC=com
PASS: ujWt9tiP3s3SzXntW2EE

Tell me if solve your problem, thanks.  8)
(Sorry my english)