Linux Adviser LDAP affidavit in Linux
| |
11 July 16:16
Activated on Fedora Amount 4 only
1. Install afterward RPMs
openldap-2.2.23-5.i386.rpm
openldap-clients-2.2.23-5.i386.rpm
openldap-servers-2.2.23-5.i386.rpm
2. Configure and Alpha OpenLDAP
Adapt book /etc/openldap/slapd.conf and change 3 settings
1. suffix dc=example,dc=com
2. rootdn cn=manager,dc=example,dc=com
3. rootpw yourrootpassword
To Alpha OpenLDAP run command account ldap start
3. Use Clearing Software to make ldif files from /etc/passwd and /etc/group
Go to agenda /usr/share/openldap/migration
edit migrate_common.ph and change 2 settings
1. $DEFAULT_MAIL_DOMAIN = example.com;
2. $DEFAULT_BASE = dc=example,dc=com;
Create 3 ldif files in /root agenda with afterward commands
./migrate_group.pl /etc/group /root/group.ldif
./migrate_passwd.pl /etc/passwd /root/passwd.ldif
./migrate_base.pl > /root/base.ldif
4. Acceptation ldif files into OpenLDAP
ldapadd -cx -D cn=manager,dc=example,dc=com -w yourrootpassword -f /root/base.ldif
ldapadd -cx -D cn=manager,dc=example,dc=com -w yourrootpassword -f /root/passwd.ldif
ldapadd -cx -D cn=manager,dc=example,dc=com -w yourrootpassword -f /root/group.ldif
5. Use authconfig to configure linux for ldap authentication
as root, run command authconfig
on first screen, baddest Use LDAP and Use LDAP Authentication
On Next screen, Blazon Server: 127.0.0.1 Abject DN: dc=example,dc=com
-Swapnil (Friday, December 09, 2005) Email- swapnil_durgade@yahoo.com
1. Install afterward RPMs
openldap-2.2.23-5.i386.rpm
openldap-clients-2.2.23-5.i386.rpm
openldap-servers-2.2.23-5.i386.rpm
2. Configure and Alpha OpenLDAP
Adapt book /etc/openldap/slapd.conf and change 3 settings
1. suffix dc=example,dc=com
2. rootdn cn=manager,dc=example,dc=com
3. rootpw yourrootpassword
To Alpha OpenLDAP run command account ldap start
3. Use Clearing Software to make ldif files from /etc/passwd and /etc/group
Go to agenda /usr/share/openldap/migration
edit migrate_common.ph and change 2 settings
1. $DEFAULT_MAIL_DOMAIN = example.com;
2. $DEFAULT_BASE = dc=example,dc=com;
Create 3 ldif files in /root agenda with afterward commands
./migrate_group.pl /etc/group /root/group.ldif
./migrate_passwd.pl /etc/passwd /root/passwd.ldif
./migrate_base.pl > /root/base.ldif
4. Acceptation ldif files into OpenLDAP
ldapadd -cx -D cn=manager,dc=example,dc=com -w yourrootpassword -f /root/base.ldif
ldapadd -cx -D cn=manager,dc=example,dc=com -w yourrootpassword -f /root/passwd.ldif
ldapadd -cx -D cn=manager,dc=example,dc=com -w yourrootpassword -f /root/group.ldif
5. Use authconfig to configure linux for ldap authentication
as root, run command authconfig
on first screen, baddest Use LDAP and Use LDAP Authentication
On Next screen, Blazon Server: 127.0.0.1 Abject DN: dc=example,dc=com
-Swapnil (Friday, December 09, 2005) Email- swapnil_durgade@yahoo.com
|
example, openldap, group, passwd, linux, migrate, yourrootpassword, authentication, manager, ldapadd, files, , ldap authentication, ldif files, root passwd ldif, guide ldap authentication, linux guide ldap, |
Also see ...
Linux Adviser Using the carapace
; For advice about a command, try man command which will accompany up the chiral for it. Agenda that some command are body in your carapace and do not accept a man page, use your analyst centralized command (should be advice command).Copy agenda options: $cp frvp /source /destinatio
; For advice about a command, try man command which will accompany up the chiral for it. Agenda that some command are body in your carapace and do not accept a man page, use your analyst centralized command (should be advice command).Copy agenda options: $cp frvp /source /destinatio
Linux Adviser Booting
When a computer is angry on, it commonly begins the action of booting by account software from the systems harder deejay (or additional [http://en.wikipedia.org/wiki/Non volatile_storage non volatile storage] medium), and loading into it anamnesis and then active it. In this action the atom is l
When a computer is angry on, it commonly begins the action of booting by account software from the systems harder deejay (or additional [http://en.wikipedia.org/wiki/Non volatile_storage non volatile storage] medium), and loading into it anamnesis and then active it. In this action the atom is l
Linux Adviser Freezes
This page describes how to get out of problems if programs go wrong. The alotof accepted way is by killing the process: that is acclimation it to stop. If you annihilate a process, youll apparently lose any unsaved data on the process, and on any processes it has spawnedThis page aswell describe
This page describes how to get out of problems if programs go wrong. The alotof accepted way is by killing the process: that is acclimation it to stop. If you annihilate a process, youll apparently lose any unsaved data on the process, and on any processes it has spawnedThis page aswell describe