15.01.2013 Views

Ubuntu kiszolgáló kézikönyve - Ubuntu dokumentáció - Ubuntu ...

Ubuntu kiszolgáló kézikönyve - Ubuntu dokumentáció - Ubuntu ...

Ubuntu kiszolgáló kézikönyve - Ubuntu dokumentáció - Ubuntu ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Hálózati hitelesítés<br />

SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth<br />

SASL SSF: 0<br />

modifying entry "olcDatabase={1}hdb,cn=config"<br />

A fájlt használó módszer nagy változtatások esetén hasznos.<br />

• További sémák felvétele a slapd démonba megköveteli a séma LDIF formátumúvá alakítását. Az<br />

1. Első lépésként hozza létre a schema_convert.conf konverziós fájlt a következő tartalommal:<br />

include /etc/ldap/schema/core.schema<br />

include /etc/ldap/schema/collective.schema<br />

include /etc/ldap/schema/corba.schema<br />

include /etc/ldap/schema/cosine.schema<br />

include /etc/ldap/schema/duaconf.schema<br />

include /etc/ldap/schema/dyngroup.schema<br />

include /etc/ldap/schema/inetorgperson.schema<br />

include /etc/ldap/schema/java.schema<br />

include /etc/ldap/schema/misc.schema<br />

include /etc/ldap/schema/nis.schema<br />

include /etc/ldap/schema/openldap.schema<br />

include /etc/ldap/schema/ppolicy.schema<br />

2. Ezután hozzon létre egy átmeneti könyvtárat a kimenet tárolásához:<br />

mkdir /tmp/ldif_output<br />

3. Most a slapcat segítségével konvertálja a sémafájlokat LDIF formátumúra:<br />

slapcat -f schema_convert.conf -F /tmp/ldif_output -n0 -s "cn={5}dyngroup,cn=schema,cn=config<br />

Adjust the configuration file name and temporary directory names if yours are different. It may<br />

be worthwhile to keep the ldif_output directory around in case you want to add additional<br />

schemas in the future.<br />

The "cn={5}" index number may change according to the configuration ordering. To<br />

find out the correct number execute the following:<br />

slapcat -f schema_convert.conf -F /tmp/ldif_output -n 0 | grep dyngroup<br />

Replace dyngroup with the appropriate schema name.<br />

4. Szerkessze a /tmp/cn\=dyngroup.ldif fájlt, módosítsa a következő attribútumokat:<br />

dn: cn=dyngroup,cn=schema,cn=config<br />

...<br />

cn: dyngroup<br />

Távolítsa el a következő sorokat a fájl aljáról:<br />

61

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!