[Samba] smbclient help

Rowland penny rpenny at samba.org
Thu Jan 14 11:58:08 UTC 2021


On 14/01/2021 08:31, jmpatagonia via samba wrote:
> Hello Rowland, when using ldbsearch I have this
>
> ldbsearch -H ldaps://midominio:636 -b
> "cn=jcbatman3,cn=Users,dc=prueba,dc=ar" -s sub
> '(&(sAMAccountName=jcbatman3)(memberOf=*))' memberOf -k yes
>
> TLS failed to missing cafile /var/lib/samba/private/tls/ca.pem - with 'tls
> verify peer = as_strict_as_possible'
> Failed to connect to ldap URL 'ldaps://midominio:636' - LDAP client
> internal error: NT_STATUS_INVALID_PARAMETER_MIX
> Failed to connect to 'ldaps://midominio:636' with backend 'ldaps': (null)
> Failed to connect to ldaps://midominio:636 - (null)
>
Believe it or not, you do not need to use ldaps, kerberos by itself is 
more secure, so just lose the 's' in ldaps.

Rowland





More information about the samba mailing list