Home - News - Products - Downloads - Manuals - Forum - (trial) License - PriceList - Disclaimer - About
Joomlaboard-Forum  


garnold
User

Fresh Boarder
Posts: 3
graphgraph
Karma: 0  
create users with csv file - 2008/08/21 23:02 I am newbie with using MassUser. All I am trying to do is create a users accounts with home directories. To do a test I used one of your sample csv and cfl to do a test load into the tree. But, every time I try to load may test csv I got the following error "Error: Invalid file-structure input-file". Here is my cfl and cvs.

CFLv1
csv=test.csv
title=1
seperator=,
quote="
!
user=1
userfl=1
contextfl=0
context=2
!
createhome=1
homefl=1
homedirectory=3

test.csv file

user,context,homedir
"sAdams","StudentS.HS.LCS","LCS1LCS1_USERSHSSTUDENTS"

Any suggestions? I need to get this going asap. Also can I use a novell template to set disk space restrictions?
  | | The administrator has disabled public write access.
garnold
User

Fresh Boarder
Posts: 3
graphgraph
Karma: 0  
Re:create users with csv file - 2008/08/22 14:26 Does anybody have a link were I could download an example cfl and csv that works? I desperatly need to get these user accounts done this weekend. Actually I am very confident that my problem is something real simple that I am over looking. I have used some of the examples on the forum and still get the format error? Does massuser support edir 8.8 sp2? Maybe that is my problem.


Thanks
-Glenn
  | | The administrator has disabled public write access.
admin
Admin

Admin
Posts: 322
graph
Karma: 0  
Re:create users with csv file - 2008/08/22 18:00 Hello,

sorry for the delay, has missed your post.
The CFL-file seems ok (did a copy and paste to a new text file).
Is there an empty line at to top of the file, the first line must contain the CFLv1 tag. That's the only thing I can think of in combination with the error you get.

Extra: you need to give the surname, the surname is mandatory in the eDirectory.
Hans Boone
  | | The administrator has disabled public write access.
admin
Admin

Admin
Posts: 322
graph
Karma: 0  
Re:create users with csv file - 2008/08/22 18:15 CFL-file samples

=======================================================
#Automatic generated file for Volume/Dirspace limits
CFLv1
!
csv=test.csv
Title=1
!
user=0
userfl=1
context=1
contexflt=0
!
createhome=0
!
userspacefl=1
userspace=5
!
dirquotafl=1
dirquota=7
=====================================================

other sample
=====================================================
CFLv1
csv=all.csv
title=0
seperator=,
quote=none
!
user=1
userfl=1
!
surname=2
!
context=3
contextfl=0
!
createhome=1
homefl=1
homedirectory=4
!
dirquotafl=1
dirquota=5
!
password=6
=====================================================
Hans Boone
  | | The administrator has disabled public write access.
garnold
User

Fresh Boarder
Posts: 3
graphgraph
Karma: 0  
Re:create users with csv file - 2008/08/23 18:09 Would you please post some example data that goes along with the example cfl fines. If possible I would like the download files, because I did not have a space missing in my test. I did have ! but still did not make a difference. I still get the Not a valid file structure Header!.

Thanks
-Glenn
  | | The administrator has disabled public write access.
Page created in: 0.25 seconds - © Copyright 2002-2009 HBware.com