Displaying 2 results from an estimated 2 matches for "tp4690180p4690327".
Did you mean:
tp4690180p4690271
2015 Aug 27
0
Import USER and PASSWORD Samba3+OpenLadp TO Samba4
...ith only User and Password looked like this:
cat export_novo.csv | awk -F ";" '{system("samba-tool user add "$4"
"pass$4"")}';
--
View this message in context: http://samba.2283325.n4.nabble.com/Import-USER-and-PASSWORD-Samba3-OpenLadp-TO-Samba4-tp4690180p4690327.html
Sent from the Samba - General mailing list archive at Nabble.com.
2015 Aug 26
3
Import USER and PASSWORD Samba3+OpenLadp TO Samba4
Hai,
just make a CSV file and import your users.
this is the script i used.
#!/bin/bash
## example
## display naam in AD wil be : Louis van Belle (
cat /home/samba/backup/users.csv | awk -F ";" '{system("/usr/bin/samba-tool user add "$5" --mail-address="$7" \
--given-name="$4" --surname=\""$3"\"