Difference between revisions of "Cluster: New BobSCEd LDAP Log"

From Earlham CS Department
Jump to navigation Jump to search
(Important Commands)
(LDAP Base)
Line 38: Line 38:
 
objectClass: posixGroup
 
objectClass: posixGroup
 
cn: users
 
cn: users
gidNumber: 1001
+
gidNumber: 115
 
memberUid: ...
 
memberUid: ...
 
</pre>
 
</pre>
Line 53: Line 53:
 
shadowWarning: 7
 
shadowWarning: 7
 
loginShell: /bin/bash
 
loginShell: /bin/bash
uidNumber: 1001
+
uidNumber: 1273
gidNumber: 1001
+
gidNumber: 1273
homeDirectory: /shared/home/kwanous
+
homeDirectory: /cluster/bobscednew/kwanous
 
gecos: kwanous,,
 
gecos: kwanous,,
 
</pre>
 
</pre>

Revision as of 09:37, 3 September 2009

LDAP

Important Commands

Commands always need to be run with -x.

  • -D are the credentials to bind with
  • -W means prompt for password
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: 115
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: 1273
gidNumber: 1273
homeDirectory: /cluster/bobscednew/kwanous
gecos: kwanous,,