If I remember right NeST worked in 10.3
but not 10.4 or 10.5
I build a Java string like the one below
and pass it to the command line. It will create an OpenDirectory password.
String addUserPassword = "dscl
-u " + dirAdminUsername + " -P "+ dirAdminPassword + "
/LDAPv3/127.0.0.1 -passwd /Users/" + username + " " + userPassword;
The variables dirAdminUsername , dirAdminPassword
, username and userPassword need to be set or you could replace them
with hardcoded values.
Group memberships can also be added
I built a Java application/ SIF agent
that creates users using JDBC LDAP and then uses the command line to set
the password, password policies and group membership. The SIF environment
is only used by K12 schools but I am working on a version that queries
a SQL table to get a list of users to create, update or disable. If you
are going to be maintaining a changing population of users this might be
the ticket for you. Are you interested in beta testing it? If you are send
me an email off list.
I tried NeST -convertuser admin <clear_password> <admin_password>
in commandline. It created a new slot in password DB but could not
authenticate with this user/password. I am on Mac OS 10.4.10 Server.
Thanks and Regards
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden