Displaying 4 results from an estimated 4 matches for "devsamba".
2017 Feb 03
1
LDAP problem
Hello Vinicius,
I did it and this was the answer:
ldapsearch -H "ldaps://devsamba.lucas.ufes.br:636" -w '*********' -D "cn=administrator,cn=users,dc=lucas,dc=ufes,dc=br" -x -b "dc=lucas,dc=ufes,dc=br" -d1
ldap_url_parse_ext(ldaps://devsamba.lucas.ufes.br:636)
ldap_create
ldap_url_parse_ext(ldaps://devsamba.lucas.ufes.br:636/??base)
ldap_sasl_bind...
2017 Feb 13
1
LDAP problem
Hello Brian,
Sorry to my late answer, I did what you suggest previously
This error suggests a problem with your certificate. If it used to work
previously, then check it hasn't expired.
openssl s_client -connect devsamba.lucas.ufes.br:636
copy-paste the certificate into a pem file, including begin/end lines
openssl x509 -in mycert.pem -noout -enddate
And check your root CA cert hasn't expired:
openssl x509 -in /usr/local/samba/private/tls/cert.pem -noout -enddate
I did the first command and I...
2017 Feb 03
2
LDAP problem
...dapsearch' and 'ldapadd' and I had no problem.
But one day, I don't know why, I couldn't use more ldapsearch or ldapadd. They return this:
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
I'm using the same command as always, like:
ldapsearch -H "ldaps://devsamba.lucas.ufes.br:636" -w '*******' -D "cn=administrator,cn=users,dc=lucas,dc=ufes,dc=br" -x -b "dc=lucas,dc=ufes,dc=br"
My /etc/openldap/ldap.conf is:
#
# LDAP Defaults
#
# See ldap.conf(5) for details
# This file should be world readable but not world writable....
2017 Feb 13
1
LDAP problem
...uot;Administrator at samdom.example.com" -b "cn=Users,dc=samdom,dc=example,dc=com" -H ldaps://dc1.samdom.example.com -W sAMAccountName=rowland
[I got the same thing ]
ldapsearch -D "administrator at lucas.ufes.br" -b "cn=users,cn=lucas,dc=ufes,dc=br" -H ldaps://devsamba.lucas.ufes.br -w 's3nh4.s3rv3r' sAMAccountName=administrator
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
Thank you for the help. I don't know if it is a server machine's problem. Probably I'll backup and restore it or just set the server from the beginning......