Ldap: Difference between revisions

From Halfface
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/etc/auto.master
/home  ldap:ldap.halfface.se:ou=auto.home,dc=halfface,dc=se
Adding auto.home
Adding auto.home
  dn: ou=auto.home,dc=halfface,dc=se
  dn: ou=auto.home,dc=halfface,dc=se

Revision as of 08:10, 4 July 2007

/etc/auto.master /home ldap:ldap.halfface.se:ou=auto.home,dc=halfface,dc=se

Adding auto.home

dn: ou=auto.home,dc=halfface,dc=se
ou: auto.home
objectClass: top
objectClass: organizationalUnit 

dn: cn=bjorklun,ou=auto.home,dc=halfface,dc=se
cn: bjorklun
objectClass: automount
automountInformation: -rw,hard,-rsize=8192,wsize=8192,intr nfs.halfface.se:/disk/0/home/bjorklun

Adding passwd and group.

dn: ou=people,dc=halfface,dc=se
objectclass: organizationalUnit
ou: people

dn: ou=group,dc=halfface,dc=se
objectclass: organizationalUnit
ou: group

Organization Units.

dn: ou=Friends,dc=halfface,dc=se
ou: Friends
objectClass: top
objectClass: organizationalUnit
description: Members of Friends

dn: ou=Work,dc=halfface,dc=se
ou: Work
objectClass: top
objectClass: organizationalUnit
description: Members of Work

ldap attribute.

dn: dc=halfface,dc=se
dc: halfface
description: Root LDAP entry for halfface.se
objectClass: dcObject
objectClass: organizationalUnit
ou: rootobject
dn: ou=People, dc=halfface,dc=se

ou: People
description: All people in organisation
objectClass: organizationalUnit
dn: dc=halfface,dc=se
objectclass: dcObject
objectclass: organization
o: halfface
dc: halfface

dn: cn=Manager,dc=halfface,dc=se
objectclass: organizationalRole
cn: Manager
ldapadd -x -D "cn=Manager,dc=halfface,dc=se" -w secret -f /tmp/newentry -v
ldapsearch -x -b 'dc=halfface,dc=se' '(objectclass=*)'