User Tools

Site Tools


ldap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ldap [2013/10/12 20:00] – Text replace - "^" to "<div style="width:55%;margin:0 auto;border:2px solid;border-left:20px solid;border-color:#d9534f;text-align:center;padding:5px;font-weight:bold;">This page is out of date and needs rewriting.<br /> _haydenldap [2026/09/27 02:11] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-{{OODNotice}} 
-Tardis quite likes LDAP. 
- 
-{{:LDAP Authentication}} 
- 
- 
-====== 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 
- 
- 
-To search for a specific user in LDAP (this seemed to work): 
- 
-<code> 
-ldapsearch -D 'cn=admin,dc=tardis,dc=ed,dc=ac,dc=uk' -b 'dc=tardis,dc=ed,dc=ac,dc=uk' -W "(uid=username)" 
-</code> 
- 
-(You can also ask me for the LDAP password --Hayden 24/02/13) 
- 
- 
  
ldap.1381608046.txt.gz · Last modified: (external edit)