Difference between revisions of "LDAP"

From Tardis
Jump to: navigation, search
m
Line 29: Line 29:
  
  
[[Category:Admin_Documents]]
+
[[Category:Services]]

Revision as of 18:53, 10 July 2007

Tardis quite likes LDAP.

Miscellaneous Commands

To add someone to a group in LDAP:

bung@gallifrey:/$ ldapvi -D 'cn=admin,dc=tardis,dc=ed,dc=ac,dc=uk' -b 'ou=Group,dc=tardis,dc=ed,dc=ac,dc=uk' '(cn=admin)'

(Ask me about the password. --Bung 15:05, 3 January 2006 (GMT))

Add the new entry appropriately, e.g.

memberUid: bob

Quit the editor, say 'y' to the prompt, and you've volunteered a whole new era of Tardis adminning!

In the case of admin, you'll want to change their default group from student to assistant:

bung@gallifrey:/$ ldapvi -D 'cn=admin,dc=tardis,dc=ed,dc=ac,dc=uk' -b '(uid=bob)'

And change

gidNumber: 1005

to

gidNumber: 1001