ldapsearch -H <URL> -b <BASE> -s sub -D <USER> -x -w <PW>
works fine
kinit <USER>@<REALM>
ldapsearch -H <URL> -b <BASE> -s sub
fails with:
text: 000004DC: LdapErr: DSID-0C0906E8, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v1db1
kinit Administrator@<REALM>
ldapsearch -H <URL> -b <BASE> -s sub
works fine also
The usual googling hasn't revealed anything of interest. (There is the usual comments regarding time skew and using a userPrincipalName
vs component name for -D
, but that should be taken care of when using kinit
.)
Any ideas?