bootstrap/config.py: Create the 'samba' group in containers
authorSamuel Cabrero <scabrero@suse.de>
Wed, 27 Mar 2019 17:00:09 +0000 (18:00 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 18 Apr 2019 12:09:33 +0000 (12:09 +0000)
Signed-off-by: Samuel Cabrero <scabrero@suse.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
bootstrap/config.py

index 2d5c366..e10da1b 100644 (file)
@@ -286,7 +286,7 @@ RUN /tmp/bootstrap.sh && /tmp/locale.sh
 RUN set -x; LD=$(which ld); LD_GOLD=$(which ld.gold); test -x $LD_GOLD && ln -sf $LD_GOLD $LD && test -x $LD && echo "$LD is now $LD_GOLD"
 
 # make test can not work with root, so we have to create a new user
-RUN useradd -m -s /bin/bash samba && \
+RUN useradd -m -U -s /bin/bash samba && \
     mkdir -p /etc/sudoers.d && \
     echo "samba ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/samba