The implementation that the catalog that is based on Linux operating system serves (2)
Tuesday, March 03, 2009 by rain
It is suffixal to Suffix that ? ? configures the key of the file to revise to this for the constituent form of this locality,Can according to the form of the domain name,OK also according to constituent mode.The root that among them Rootdn defined this locality catalog to cultivate,Rootpw is the administrator countersign that cultivates at this catalog relatively namely,Default is use proclaimed in writing is " Secret " .The address that among them Replica appoints backup catalog server,If be to back up the server does not need Replica,configure,Add Udpatedn= however advocate the address of catalog server,Appoint Referral to give priority to catalog server at the same time.At the same time,Default catalog data is with Ldbm form (in Linux actual Gdbm format) deposit in / in Usr/tmp catalog.The visit information that Access defined pair of catalog information,It is to be based on a purpose,Namely the data that him user can revise him through inputting his countersign,Its countersign deposits the countersign region in oneself (in Userpassword) .
The default that ? ? Ldap.conf is client of LDAP of this locality system is configured,The information that the client can use to carry software to use Ldap.conf after the Slapd that start regards default as information.According to our particular case,its long instead is as follows form:
BASE O=mccc of ? of ? ? ? ,C=US
HOST Sunshine.mccc.net of ? of ? ? ?
? ? 3. Generate catalog data
The method that ? ? makes data file:
? ? compiles LDIF document
The form that file of ? ? LDIF is text file,The message book that is Windows for example offers format of a catalog to be able to be following forms:
Dn of ? of ? ? ? : O=mccc, c=US
O of ? of ? ? ? : Mccc
Objectclass of ? of ? ? ? : Organization
Dn of ? of ? ? ? : Cn=test, o=mccc, c=US
Cn of ? of ? ? ? : Test
Cn of ? of ? ? ? : Test Chinese
Mail of ? of ? ? ? : Testmail@mccc.net
Othermailbox of ? of ? ? ? : Testmailother@mccc.com
Givenname of ? of ? ? ? : Givenname
Sn of ? of ? ? ? : Test Sn
Surname of ? of ? ? ? : Surname
St of ? of ? ? ? : St
C of ? of ? ? ? : China
Co of ? of ? ? ? : Co
O of ? of ? ? ? : Mccc
Ou of ? of ? ? ? : Ou
Url of ? of ? ? ? : Sunshine.mccc.net
Homephone of ? of ? ? ? : Homephone
Homepostaladdress of ? of ? ? ? : Homepostaladdress
Facsimiletelephonenumber of ? of ? ? ? : Facsimiletelephonenumber
Otherfacsimiletelephonenumber of ? of ? ? ? : Otherfacsimiletelephonenumber
Officefax of ? of ? ? ? : Officefax
Mobile of ? of ? ? ? : Mobile
Otherpager of ? of ? ? ? : Otherpager
Officepager of ? of ? ? ? : Officepager
Pager of ? of ? ? ? : Pager
Info of ? of ? ? ? : Info
Title of ? of ? ? ? : Title
Telephonenumber of ? of ? ? ? : Telephonenumber
L of ? of ? ? ? : Location
Postaladdress of ? of ? ? ? : Postaladdress
Streetaddress of ? of ? ? ? : Streetaddress
Department of ? of ? ? ? : Department
Comment of ? of ? ? ? : Comment
Postalcode of ? of ? ? ? : Postalcode
Physicaldeliveryofficename of ? of ? ? ? : Physicaldeliveryofficename
? of ? ? ? Initials: Initials
Conferenceinformation of ? of ? ? ? : Conferenceinformation
Labeleduri of ? of ? ? ? : Labeleduri
Manager of ? of ? ? ? : Manager
Reports of ? of ? ? ? : Reports
Objectclass of ? of ? ? ? : Organization
? ? among them: ?/P>