Displaying 2 results from an estimated 2 matches for "secret_pass".
2009 Nov 30
1
Dovecot 1.2.x masteruser proxy problem
...ail
group = vmail
}
client {
path = /var/spool/postfix/dovecot-auth
mode = 0660
user = postfix
group = postfix
}
}
}
### dovecot-ldap.conf
hosts = ldap.example.com
ldap_version = 3
auth_bind = yes
dn = cn=vmail,dc=example,dc=com
dnpass = secret_pass
base = ou=Users,domainName=%d,o=domains,dc=example,dc=com
scope = subtree
deref = never
user_filter =
(&(mail=%u)(objectClass=mailUser)(accountStatus=active)(enabledService=mail)(enabledService=%Ls))
user_attrs =
storageBaseDirectory=home,mailHost=host,=p...
2007 Jan 10
1
passing rsyncd password in a script (no ssh) - how?
...credentials to access files on the rsyncd server, so I thought
using "expect" to pass a password in a script is the obvious choice:
/usr/bin/expect <<!
set timeout -1
spawn rsync --partial -a rsync://username@server/share/dir /local/copy
expect "Password: "
send "secret_password\n"
expect
!
However, this has a drawback that I loose the exit code produced by
rsync (I'm no expect guru, so maybe perhaps there is a workaround to that).
What is the recommended way to copy files from a (password-protected)
rsyncd server in a script?
--
Tomasz Chmielewski