Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
SAMBA CLUSTER PUNJAB GOVT IFMS-IWDMS PROJECT
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Requirements == β’ openldap-servers (contains migration utilities used in this document) β’ 389-DS (the directory server should already be installed) β’ samba, samba-client, samba-common (samba server, also provides schema needed for storing samba information) β’ schema to ldif migration script (can be downloaded from here: [http://directory.fedoraproject.org/download/ol-schema-migrate.pl http://directory.fedoraproject.org/download/ol-schema-migrate.pl]) First off we need to provide 389-DS with a samba schema that it understands. Now lets break down how 389-DS implements extending schemas : β’ All schema files are in ldif format and loaded during server start . β’ <nowiki>All schema's are located in /opt/389-DS/slapd-<server>/config/schema, where <server> is 'ldap1' or 'ldap2', as the case may be.</nowiki> β’ Filenames are sequential and loaded in order and 99user.ldif is always the last schema to be loaded. For this document we are going to name our schema file 61samba.ldif. As stated above we need to provide 389-DS with a schema it understands which involves converting the provided /usr/share/doc/samba/LDAP/samba.schema to ldif format. Luckily, there is a utility provided 3rd party that will assist in doing this which can be found at [http://directory.fedoraproject.org/download/ol-schema-migrate.pl http://directory.fedoraproject.org/download/ol-schema-migrate.pl] We do this on the 389-DS server. Use of this script is straight forward : <nowiki># perl ol-schema-migrate.pl -b \</nowiki> /usr/share/doc/samba-*/LDAP/samba.schema \ <nowiki>> /etc/dirsrv/slapd-<server>/schema/61samba.ldif </nowiki> Once the ldif is in place restart the slapd service : <nowiki># service dirsrv restart </nowiki>
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)