Skip to content

Commit

Permalink
fix jpegPhoto
Browse files Browse the repository at this point in the history
  • Loading branch information
Fmstrat committed May 12, 2023
1 parent fda13ac commit c0af061
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions domain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,13 @@ sshPublicKey: ${3}"
MOD="dn: ${DN}
changetype: modify
add: jpegPhoto
jpegPhoto: ${3}"
jpegPhoto::${3}"
echo "${MOD}" | ldbmodify -H /var/lib/samba/private/sam.ldb
else
MOD="dn: ${DN}
changetype: modify
replace: jpegPhoto
jpegPhoto: ${3}"
jpegPhoto::${3}"
echo "${MOD}" | ldbmodify -H /var/lib/samba/private/sam.ldb
fi
;;
Expand All @@ -169,13 +169,13 @@ jpegPhoto: ${3}"
MOD="dn: ${DN}
changetype: modify
add: jpegPhoto
jpegPhoto: ${B64}"
jpegPhoto::${B64}"
echo "${MOD}" | ldbmodify -H /var/lib/samba/private/sam.ldb
else
MOD="dn: ${DN}
changetype: modify
replace: jpegPhoto
jpegPhoto: ${B64}"
jpegPhoto::${B64}"
echo "${MOD}" | ldbmodify -H /var/lib/samba/private/sam.ldb
fi
;;
Expand Down

0 comments on commit c0af061

Please sign in to comment.