Skip to content
Snippets Groups Projects
Verified Commit 1eeb8f66 authored by David Beniamine's avatar David Beniamine
Browse files

Fix annoying ssh issues

parent 8c3d4157
Branches
No related tags found
No related merge requests found
......@@ -56,8 +56,9 @@ echo "Generating initial config"
safe_run gen_config
echo "Instanciating server"
safe_run ssh partage "net setlocalsid $(ldapsearch -x sambaDomainName=* | awk '/^sambaSID/{print $2}')"
safe_run instance
scp $DIR/sync_sid.sh partage:.
safe_run ssh partage bash ./sync_sid.sh
ssh partage rm sync_sid.sh
echo "Running diagnostic"
safe_run diagnose -L
#!/bin/bash
net setlocalsid $(ldapsearch -x sambaDomainName=* | awk '/^sambaSID/{print $2}')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment