ldbmodify without asking for password every time
abartlet at samba.org
Fri Apr 20 06:15:23 MDT 2012
On Fri, 2012-04-20 at 13:54 +0200, steve wrote:
> I have a script which has this:
> ldbmodify -H ldap://127.0.0.1 -UAdministrator /some/file
> Specifying a local url such as path/to/sam.ldb is not possible.
> Administrator has done kinit
> Is it possible to use kerberos?
> I've tried -k yes --krb5-ccache=/some/place
> but it still asks for a password. In a loop in a script, well...
Use ldap://hostname rather than an IP address or localhost, as we need a target hostname for kerberos to work.
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
More information about the samba-technical