From c0af06194e72117c09593fedadad3088100ab38b Mon Sep 17 00:00:00 2001 From: Fmstrat Date: Fri, 12 May 2023 14:41:17 -0400 Subject: [PATCH] fix jpegPhoto --- domain.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/domain.sh b/domain.sh index cfb5133..df2a3c3 100755 --- a/domain.sh +++ b/domain.sh @@ -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 ;; @@ -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 ;;