ldbmodify without asking for password every time

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


Hi

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...

TIA
Steve


More information about the samba-technical mailing list