Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: koval on March 05, 2016, 10:06:46 pm

Title: How to connect to Zentyall LDAP using external LDAP clients?
Post by: koval 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?

Title: Re: How to connect to Zentyall LDAP using external LDAP clients?
Post by: raleigh 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..
Title: Re: How to connect to Zentyall LDAP using external LDAP clients?
Post by: koval 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.
Title: Re: How to connect to Zentyall LDAP using external LDAP clients?
Post by: mmarable on June 13, 2016, 05:04:39 pm
This may help - https://oitibs.com/zentyal-4-1-ldap-authentication/ or https://oitibs.com/zentyal-3-2-ldap-authentication/
Title: Re: How to connect to Zentyall LDAP using external LDAP clients?
Post by: trysomething 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).
Title: Re: How to connect to Zentyall LDAP using external LDAP clients?
Post by: danielpf 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)