search for: export_novo

Displaying 2 results from an estimated 2 matches for "export_novo".

2015 Aug 27
0
Import USER and PASSWORD Samba3+OpenLadp TO Samba4
...SAT, it does not. I also noticed something when I give getent passwd returns me the user a little different. Looks like was: DOMAIN\user1:*:3000345:100: User1 Test: /home/DOMAIN/user1:/bin/false :/bin/false100::/home/DOMAIN/user2 This problem happened to you? That's my CSV server:/tmp# cat export_novo.csv COMPANY; User1; Test; user1 The simple command, with 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....
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"\"