|
Lines 325-338
joinscript_remove_credentialfiles () {
Link Here
|
| 325 |
test -e /var/run/univention-join/binddn && rm /var/run/univention-join/binddn |
325 |
test -e /var/run/univention-join/binddn && rm /var/run/univention-join/binddn |
| 326 |
} |
326 |
} |
| 327 |
|
327 |
|
| 328 |
# join script can be called with --bindpwdfile |
|
|
| 329 |
joinscript_check_api_bindpwdfile () { |
| 330 |
if grep -q '^## joinscript api: bindpwdfile$' "$1"; then |
| 331 |
return 0 |
| 332 |
fi |
| 333 |
return 1 |
| 334 |
} |
| 335 |
|
| 336 |
# join script does not require domain credentials to be passed |
328 |
# join script does not require domain credentials to be passed |
| 337 |
joinscript_check_api_nocredentials () { |
329 |
joinscript_check_api_nocredentials () { |
| 338 |
if grep -q '^## joinscript api: nocredentials$' "$1"; then |
330 |
if grep -q '^## joinscript api: nocredentials$' "$1"; then |