[Samba] Import USER and PASSWORD Samba3+OpenLadp TO Samba4
vinifa
vinicius at riodasostras.rj.gov.br
Tue Sep 1 04:40:16 UTC 2015
Thank Rowland Penny-6 and L.P.H. Van Belle for all the help I could not do
that users were exported from script, but I got a "trigger" to matter the
bills ... was ugly to look at, but for me it worked. I exported the CSV,
then edited, made a statement block where each line I gave the samba-tool
user add, edit in Excel and Notepad ++ to find and replace ... it took me 10
minutes to do 300 users ... LOL
Anyway, I am very grateful for your help, thank you!
###########################################################
#/bin/bash
samba-tool user add user1 pass --given-name=User --surname="Test"
--description=departament --userou=ou=SMB3 --must-change-at-next-login;
samba-tool user add user2 pass --given-name=User2 --surname="Test"
--description=departament --userou=ou=SMB3 --must-change-at-next-login;
###########################################################
--
View this message in context: http://samba.2283325.n4.nabble.com/Import-USER-and-PASSWORD-Samba3-OpenLadp-TO-Samba4-tp4690180p4690606.html
Sent from the Samba - General mailing list archive at Nabble.com.
More information about the samba
mailing list