Displaying 2 results from an estimated 2 matches for "unixhomefolderpath".
2019 Apr 29
2
Difficulties retrieving randomly assigned password for newly created Samba user acounts
...i at ad1:~ $ sudo samba-tool user create "$USERNAME"
--given-name="$GIVENNAME" --surname="$SURNAME" --mail-address="$EMAIL"
--company="$COMPANY" --random-password --must-change-at-next-login
--nis-domain="$WIN_DOMAIN" --unix-home="$UNIXHOMEFOLDERPATH"
--home-drive="H" --home-directory="$WINDOWSHOMEFOLDERPATH"
--login-shell="/usr/bin/git-shell" --uid-number="$UIDNUMBER"
--gid-number=10000 -U "administrator%$SAMBA_ADMIN_PASSWORD"
User 'stephenellwood' created successfully
After en...
2019 Apr 29
0
Difficulties retrieving randomly assigned password for newly created Samba user acounts
...samba-tool user create "$USERNAME" --given-name="$GIVENNAME" --surname="$SURNAME" \
--mail-address="$EMAIL" --company="$COMPANY" --password="$USERPASS" --must-change-at-next-login \
--nis-domain="$WIN_DOMAIN" --unix-home="$UNIXHOMEFOLDERPATH" \
--home-drive="H" --home-directory="$WINDOWSHOMEFOLDERPATH" \
--login-shell="/usr/bin/git-shell" --uid-number="$UIDNUMBER" \
--gid-number=10000 -k
Echo "$USERNAME:${USERPASS}" >> new-users.txt
Something like that.
Greetz,
Lou...