On 08/17/2011 02:39 PM, Andrej wrote: > On 13 August 2011 02:30, Mehmet <mbel...@gmail.com> wrote: >> Is there a way to use methods that require write access (add, delete, etc) >> without providing a password? I want my script run as a cronjob and I do not >> want to keep the password in a file or the code itself. In particular, I >> would like to give LDAP-write access to a unix user, say "ldap". I was >> wondering if it is possible to tell ldap server that 'ldap' user is the >> Manager? If not, is there a good way to hide the password in Perl? > > I wonder whether you really need to involve LDAP at all; > you're not very specific about the use-case, but to me it > rings like a classical case of "use passwordless ssh" > to achieve what you're after.
Andrej, He wants to make changes to LDAP, not files, so SSH isn't relevant.