ldbmodify without asking for password every time

steve steve at steve-ss.com
Fri Apr 20 05:54:06 MDT 2012


I have a script which has this:
ldbmodify -H ldap:// -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...


More information about the samba-technical mailing list