-----Mensaje original----- De: Mike Jumper <mjum...@apache.org> Enviado: Lun 22-10-2018 17:49 Asunto: Re: ldap question Para: user@guacamole.apache.org; > On Mon, Oct 22, 2018 at 8:04 AM Angel Elena <cr...@craem.net > <mailto:cr...@craem.net> > wrote: > -----Mensaje original----- > De: Mike Jumper <mjum...@apache.org <mailto:mjum...@apache.org> > > Enviado: Lun 22-10-2018 16:59 > Asunto: Re: ldap question > Para: user@guacamole.apache.org <mailto:user@guacamole.apache.org> ; > > On Mon, Oct 22, 2018, 07:57 Angel Elena <cr...@craem.net > <mailto:cr...@craem.net> > > <mailto:cr...@craem.net <mailto:cr...@craem.net> > > wrote: > > Hi Mike, thanks for the info. > > > > I removed the config lines and local auth works now and the openLdap auth > works > > also, but when i logging with the username angel (ldap), no servers > > displayed. > > > > > > Where are your connections stored? In LDAP? In a database? > > > > - Mike > > > > > > The connections are stored in ldap server: > > root@asterisk:~# ldapsearch -h localhost -p 389 -x -b "dc=craem,dc=net" > > . > . > . > . > > # zeus, craem.net <http://craem.net> > dn: cn=zeus,dc=craem,dc=net > objectClass: guacConfigGroup > objectClass: groupOfNames > cn: zeus server > cn: zeus > guacConfigProtocol: ssh > guacConfigParameter: hostname=zeus > guacConfigParameter: port=22 > member: cn=angel,ou=zarafa-users,dc=craem,dc=net > > > > According to what you've posted, the DN of this user is "cn=Angel > Elena,cn=zarafa-users,dc=craem,dc=net", not "cn=angel,ou=...". The DN > specified > in the member attribute here will not match. > > - Mike > >
Ok, I try with another user: root@asterisk:~# ldapsearch -h localhost -p 389 -x -b "dc=craem,dc=net" # convidat, zarafa-users, craem.net dn: cn=convidat,cn=zarafa-users,dc=craem,dc=net givenName: convidat sn: guifi cn: convidat uid: convidat uidNumber: 1027 gidNumber: 500 homeDirectory: /home/users/convidat objectClass: inetOrgPerson objectClass: posixAccount objectClass: top objectClass: radiusprofile dialupAccess: 1 # zeus, craem.net dn: cn=zeus,dc=craem,dc=net objectClass: guacConfigGroup objectClass: groupOfNames cn: zeus server cn: zeus guacConfigProtocol: ssh guacConfigParameter: hostname=zeus guacConfigParameter: port=22 member: cn=convidat,cn=zarafa-users,dc=craem,dc=net member: cn=Angel Elena,cn=zarafa-users,dc=craem,dc=net With the same result.... no servers displayed, but i can login. dn (distinguised name) = convidat I think that all data is correct. Thanks