Comments (4)
Hey cmaliwat,
I think I had a similar issue when testing the script. I haven't thoroughly investigated it but I think it has to do with the passwords storing with a newline character on the end.
To confirm this can you please:
- Open the new modified plist file in a text editor
- Turn on the "view all symbols / characters" (something similar to that)
- Go down to where the password is stored and check if a newline is present.
I think the fixes for this issue are:
- Add an extra empty column to the csv import file
or - Modify the python script to remove newlines at the end of each line in the csv file.
Going back to your original post for a second. I don't think that the hashed/salted should affect the users ability to log in. I would, however, look to implement this in a future update of the script as it is good practice.
I currently don't have enough time to investigate this further at the moment, if you could report back to me on the above and I will see what I can do.
Thanks for reporting it.
from deploystudioimporter.
I've noted the behavior your mentioned in regards to the plist files. When viewing the plist in Text Wrangler, there is an additional random 'inverted question mark' symbol. In Atom, I see the return character for a line break.
I tested importing a plist with a blank column at the end of the csv file, simply by putting an extra ,
at the end of the line. The plist now does not have the random character in Text Wrangler nor the line break in Atom.
However, the user cannot login with the plain-text password in this field. It seems DeployStudio does indeed want a hashed password.
I am using DeployStudio 1.7.6
from deploystudioimporter.
Cool. Thanks for investigating.
You wouldn't by any chance happen to know how deploy studio hashes the passwords?
One of the core issues I had was working out what has it used and how/what it used to salt them. If it is just a basic known hashing algorithm then maybe I could quickly implement and test it for you tomorrow afternoon.
What sort of time frame would like the passwords feature to be working? (Is this a high priority for you, or just something you are playing around with?)
I would really like to get that part of the script working for you, as it is an important add on for adding user accounts to devices.
from deploystudioimporter.
I do not know how Deploy Studio hashes passwords. I'm sure contact with the developers would be necessary, but I don't know how responsive they are.
I've also asked in #deploystudio on the Mac Admins Slack channel, but haven't heard from anybody there regarding the hash method.
No time frame is necessary... It would be nice to get this working eventually though.
Thanks for this project, it's been helpful up to this point.
from deploystudioimporter.
Related Issues (2)
- Line 150 Invalid Syntax HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deploystudioimporter.