Cluster: New BobSCEd LDAP Log

From Earlham Cluster Department

(Difference between revisions)
Jump to: navigation, search
(Important Commands)
Line 14: Line 14:
* -W means prompt for password
* -W means prompt for password
-
* Getting into ldapmodify:
+
* Getting into ldapmodify:= (see [http://docs.sun.com/source/816-6400-10/lmodify.html Sun's docs on ldapmodify])
:<code>ldapmodify -x -D "cn=admin,dc=bobsced,dc=loc" -W</code>
:<code>ldapmodify -x -D "cn=admin,dc=bobsced,dc=loc" -W</code>

Revision as of 14:24, 3 September 2009

LDAP

Important Commands

Commands always need to be run with -x.

ldapmodify -x -D "cn=admin,dc=bobsced,dc=loc" -W

LDAP Base

dn: ou=people,dc=bobsced,dc=loc
ou: people
objectClass: top
objectClass: organizationalUnit

dn: ou=group,dc=bobsced,dc=loc
ou: group
objectClass: top
objectClass: organizationalUnit

dn: cn=admins,ou=group,dc=bobsced,dc=loc
objectClass: posixGroup
cn: admins
gidNumber: 1000
memberUid: ...

dn: cn=users,ou=group,dc=bobsced,dc=loc
objectClass: posixGroup
cn: users
gidNumber: 1001
memberUid: ...

A user looks like this:

dn: uid=kwanous,ou=people,dc=bobsced,dc=loc
uid: kwanous
cn: kwanous
objectClass: account
objectClass: posixAccount
objectClass: shadowAccount
shadowMax: 99999
shadowWarning: 7
loginShell: /bin/bash
uidNumber: 1001
gidNumber: 1001
homeDirectory: /shared/home/kwanous
gecos: kwanous,,
Personal tools
Namespaces
Variants
Actions
websites
wiki
this semester
Toolbox