0% found this document useful (0 votes)
157 views4 pages

How To Set Up Open Ldap On Ubuntu 11

The document provides instructions for setting up OpenLDAP on Ubuntu 11.04. It describes running installation and configuration commands to install slapd and ldap-utils, configure the LDAP directory with questions about the base DN and organization name, and create an LDIF file with the LDAP data structure and entries for groups, people, and their attributes. It then provides a command to add the LDIF data to the LDAP directory. The second part provides instructions for installing Wine and then Photoshop on Ubuntu by downloading the file, extracting it, and running the installer with Wine. It also gives a command to enable user directories in Apache.

Uploaded by

Sebudandi Robert
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
157 views4 pages

How To Set Up Open Ldap On Ubuntu 11

The document provides instructions for setting up OpenLDAP on Ubuntu 11.04. It describes running installation and configuration commands to install slapd and ldap-utils, configure the LDAP directory with questions about the base DN and organization name, and create an LDIF file with the LDAP data structure and entries for groups, people, and their attributes. It then provides a command to add the LDIF data to the LDAP directory. The second part provides instructions for installing Wine and then Photoshop on Ubuntu by downloading the file, extracting it, and running the installer with Wine. It also gives a command to enable user directories in Apache.

Uploaded by

Sebudandi Robert
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 4

HOW TO SET UP OPEN LDAP ON UBUNTU 11.

04 o run installation you should simply run command below: sudo apt-get install slapd ldap-utils During installation you will be asked for administrator password. For purpose of this document this password will be asdfgh. After installation ends, you should run configuration program: sudo dpkg-reconfigure slapd You will then need to answer few questions: a) If you enable this option, no initial configuration or database will be created for you. Omit OpenLDAP server configuration? Choose: No b) The DNS domain name is used to construct the base DN of the LDAP directory. For example, foo.example.org will create the directory with dc=foo, dc=example, dc=org as base DN. You need to enter name base DN, which normally is just simply the DNS domain name. For it.mycompany.com DN would be dc=it,dc=mycompany,dc=com c) Please enter the name of the organization to use in the base DN of your LDAP directory. Simply your organisation name. Can be anything. d) The HDB backend is recommended. HDB and BDB use similar storage formats, but HDB adds support for subtree enames. Both support the same configuration options. In either case, you should review the resulting database configuration for your needs. See/usr/share/doc/slapd/README.DB_CONFIG.gz for more details. Choose: No e) Do you want the database to be removed when slapd is purged? Choose: No f) Please enter the password for the admin entry in your LDAP directory. Any, for this document its asdfgh g) The obsolete LDAPv2 protocol is disabled by default in slapd. Programs and users should upgrade to LDAPv3. If you have old programs which cant use LDAPv3, you should select this option and olcAllows: bind_v2 will be added to your cn=config directory. Choose: No Now to create simple structure that holds users and their groups, NAME IT ldap_data_nur.ldif dn: ou=groups,dc=nur,dc=com objectClass: organizationalUnit objectClass: top description: grupy ou: groups dn: ou=people,dc=nur,dc=com objectClass: organizationalUnit

objectClass: top ou: people dn: cn=admins,ou=groups,dc=nur,dc=com objectClass: extensibleObject objectClass: groupOfNames objectClass: top cn: admins description: admins group member: uid=robe,ou=people,dc=nur,dc=com dn: cn=students,ou=groups,dc=nur,dc=com objectClass: extensibleObject objectClass: groupOfNames objectClass: top cn: students description: programisci hudsona member: uid=student,ou=people,dc=nur,dc=com member: uid=bob,ou=people,dc=nur,dc=com dn: uid=robe,ou=people,dc=nur,dc=com objectClass: account objectClass: extensibleObject objectClass: uidObject objectClass: userSecurityInformation objectClass: top email: [email protected] member: cn=admins,ou=groups,dc=nur,dc=com name: robe sn: Robe uid: robe userPassword: {MD5}ICy5YqxZB1uWSwcVLSNLcA== dn: uid=student,ou=people,dc=nur,dc=com objectClass: account objectClass: extensibleObject objectClass: uidObject objectClass: userSecurityInformation objectClass: top email: [email protected] member: cn=students,ou=groups,dc=nur,dc=com

name: student sn: Student uid: student userPassword: {MD5}ICy5YqxZB1uWSwcVLSNLcA== dn: uid=bob,ou=people,dc=nur,dc=com objectClass: account objectClass: extensibleObject objectClass: uidObject objectClass: userSecurityInformation objectClass: top email: [email protected] member: cn=students,ou=groups,dc=nur,dc=com name: bob sn: Bob uid: bob userPassword: {MD5}ICy5YqxZB1uWSwcVLSNLcA==

THEN ENTER THIS COMMAND ldapadd -x -D cn=admin,dc=nur,dc=com -W -f ldap_data_nur.ldif

HOW TO INSTALL PHOTOSHOP ON UBUNTU -WE FIRST INSTALL WINE -Open terminal -type in sudo add -apt-repository ppa:ubutu-wine/ppa -press enter it will ask for you password type it in then hit enter -the type in sudo apt-get update -hit enter (it start updating this will take some time) -when it says done type in sudo apt-get install wine1.3 hit enter then shift Y enter (it will take some time) -after that it will bring up a page with the end user license agreement go ahead and hit an arrow key and -hit enter the accept the licence agreement hit yes it will continue -once it is all done it will say 0 errors go ahead and type exit -go to applications and check out wine you can configure and so much more

-you can now use an windows soft photoshop dreamweaver etc NOW TO INSTALL PHOTOSHOP -Download Adobe Photoshop cs5 extended.zip put it on the Desktop -Extract -Open the extracted file -the right click the Adobe Photoshop CS5 Extended.exe open withe wine windows program loader -follow the screen -a short cut will be created on your desktop the you are good to go starting apache /etc/init.d/apache2 start apache2 failled to start type this in terminal a2enmod userdir /etc/init.d/apache2 start

You might also like