Hi
Thanks for the response. I have cross check but its not working.
Below is my configuration files. Please let me know is anything missing.
cat /etc/guacamole/guacamole.properties
# Hostname and port of guacamole proxy
guacd-hostname: localhost
guacd-port: 4822
api-session-timeout: 5
auth-provider:
net.sourceforge.guacamole.net.auth.ldap.LDAPAuthenticationProvider
ldap-hostname: PreProdDC01.AETC.INTERNAL
ldap-port: 389
ldap-encryption-method: none
ldap-user-base-dn: ou=AETC,ou=Users,ou=Admins,dc=AETC,dc=INTERNAL
#ldap-user-base-dn: ou=AETC,dc=AETC,dc=INTERNAL
#ldap-search-bind-dn: CN=PreProd DC
Admin,OU=Admins,OU=Users,OU=AETC,DC=AETC,DC=INTERNAL
#ldap-search-bind-password: Community4rceCloudDC1
ldap-username-attribute: sAMAccountName
# MySQL properties
mysql-hostname: localhost
mysql-port: 3306
mysql-database: cfadmin123
mysql-username: cfadmin123
mysql-password: cfadmin123
mysql-default-max-connections-per-user: 0
mysql-default-max-group-connections-per-user: 0
and
below is my ldif conf file in /var/lib/guacamole/extensions/schema
cat preproddc01LDAPCONNECTION.ldif
dn: cn=PreProd DC Admin,OU=Admins,OU=Users,OU=AETC,DC=AETC,DC=INTERNAL
objectClass: guacConfigGroup
objectClass: groupOfNames
cn: PreProd DC Admin
guacConfigProtocol: rdp
guacConfigParameter: hostname=192.165.10.4
guacConfigParameter: port=3389
guacConfigParameter: password=Community4rceCloudDC1
member: cn=w.haq,ou=AETC,ou=Users,ou=Admins,dc=AETC,dc=INTERNAL
member: cn=i.khawaja,ou=AETC,ou=Users,ou=Admins,dc=AETC,dc=INTERNAL
member: cn=ppadmin,ou=AETC,ou=Users,ou=Admins,dc=AETC,dc=INTERNAL
member: cn=s.frederick,ou=AETC,ou=Users,ou=Admins,dc=AETC,dc=INTERNAL
ldapadd -x -D cn=ppadmindc,ou=AETC,ou=Users,ou=Admins,dc=AETC,dc=INTERNAL
-W -f preproddc01LDAPCONNECTION.ldif
Getting invalid credentials.
Thanks & Regards
Jaya Chandra B
On Wed, May 16, 2018 at 11:14 PM, Nick Couchman wrote:
>
> On Wed, May 16, 2018 at 11:05 jaya wrote:
>
>> Hi
>>
>> Iam getting below error while connecting to ldapadd.
>>
>> ldap_bind: Invalid credentials (49)
>
>
> It is exactly as it is telling you - you're using incorrect credentials.
> Check to make sure they are correct - both the ones you're using to log in
> and the credential for searching of you've entered that.
>
> -Nick
>