75 |
## currently the password in the secrets.ldb is set to machine.secret only on provision host, so we need to look it up from the secrets.ldb |
75 |
## currently the password in the secrets.ldb is set to machine.secret only on provision host, so we need to look it up from the secrets.ldb |
77 |
sampassword=$(ldbsearch -H /var/lib/samba/private/secrets.ldb samAccountName="${hostname}\$" secret | sed -n 's/secret: \(.*\)/\1/p') |
77 |
sampassword=$(ldbsearch -H /var/lib/samba/private/secrets.ldb samAccountName="${hostname}\$" secret | ldapsearch-wrapper | sed -n 's/secret: \(.*\)/\1/p') |