You are on page 1of 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: robe@nur.com 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: student@nur.com 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: bob@nur.com 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