Adding a new member to the ldap: Difference between revisions

From NURDspace
m (Clarified homedir creation)
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
This howto describes how to add a new member to the [[LDAP]]. This can only be done by users with sufficient rights in FusionDirectory (ie: users in group "admins").
This howto describes how to add a new member to the [[LDAP]] but is stil WiP


* Log in to FusionDirectory (https://ldap.nurdspace.nl) with your LDAP credentials.
= phpldapadmin method =
* In the left menu ("Administration") click on "Users".
* Log in to phpldapadmin (https://ldap.nurdspace.nl) with admin user (pre filled)
* Above the users list click on "Actions" -> "Create" -> "User"
* Copy a exsiting user
* Fill in "Last name", "First name", "Login" and any other properties you can/want to.
* Edit fields that are specific for a person
** Be sure to only use lower case for the login as mediawiki doesn't like caps in usernames!
* Let user change ''Password'' and ''sambaNTPassword'' Last one is needed for [[Spacenet]] to work.
* Click on the "Unix" tab
* Now create the user's homedir
* Click on "Add Unix settings"
= script method =
* Fill in "Home directory" (absolute path, so: /home/henk. This dir will be created on the NFS exported homedirs upon saving the user.)
* Go to /root/gwens_ldap_scripts on [[NURDServices]]
* In the right column ("Group membership") click on "Add" and check the boxes for "members", "spacenet", "wikiusers". If applicable also check "keyholders", "sudo" or "dialout".
* execute following:
* Click on "Add" at the bottom of the groups list.
<code>./make_new_user.py -f <first name> -l <last name>] -u <username -m <email address> -p <password></code>
* Click on the tab "Samba".
* Click on "Add Samba settings".
* Do not fill in anything, just click on "Ok" at the right bottom
* It will ask you to create a password. Just make it "Changeme" or something similar. The new user will have to log in to change his/her password him-/herself via https://ldap.nurdspace.nl to ensure the NTPassword field gets set to the same value as the LDAP password. This is needed for [[Spacenet]] to work.

Latest revision as of 21:27, 30 November 2018

This howto describes how to add a new member to the LDAP but is stil WiP

phpldapadmin method

  • Log in to phpldapadmin (https://ldap.nurdspace.nl) with admin user (pre filled)
  • Copy a exsiting user
  • Edit fields that are specific for a person
  • Let user change Password and sambaNTPassword Last one is needed for Spacenet to work.
  • Now create the user's homedir

script method

  • Go to /root/gwens_ldap_scripts on NURDServices
  • execute following:

./make_new_user.py -f <first name> -l <last name>] -u <username -m <email address> -p <password>