Re: Is it possible to use Unix user-based authentication for LDAP?
Andrej <[email protected]> Thu, 18 Aug 2011 06:39:07 +1200
| Newsgroups | gmane.comp.lang.perl.modules.ldap |
|---|---|
| Message-ID | <CACMx3pMgdEh8CVzxkr_vi8CrUe5=XOq+H3JDKqomzU6gqEBLQg@mail.gmail.com> |
On 13 August 2011 02:30, Mehmet <[email protected]> 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. Cheers, Andrej