27.12.2012 Views

The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM

The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM

The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

178 <strong>The</strong> <strong>Virtualization</strong> <strong>Cookbook</strong> <strong>for</strong> RHEL 6<br />

¦ ¦<br />

¦ [ ] Use TLS ¦<br />

¦ Server: ldap://9.60.18.225______________________ ¦<br />

¦ Base DN: dc=my-domain,dc=com_____________________ ¦<br />

¦ ¦<br />

¦ -------- ------ ¦<br />

¦ ¦ Back ¦ ¦ Ok ¦ ¦<br />

¦ -------- ------ ¦<br />

¦ ¦<br />

¦ ¦<br />

----------------------------------------------------¦<br />

Your LDAP client should now be pointing to the LDAP server. Test it with the id ldapuser1<br />

command:<br />

# id ldapuser1<br />

uid=500(ldapuser1) gid=500(ldapuser1) groups=500(ldapuser1)<br />

context=root:system_r:unconfined_t:s0-s0:c0.c<strong>10</strong>23<br />

In RHEL 6, you can no longer authenticate over SSH without using TLS. This section has not<br />

described how to set up TLS. To do that, you would need a signed certificate that<br />

corresponds to your enterprise’s DNS domain name. <strong>The</strong>re is some in<strong>for</strong>mation at the<br />

OpenLDAP Web site.<br />

http://www.openldap.org/pub/ksoper/OpenLDAP_TLS.html<br />

More details on the cn=config/ directory repalcing the /etc/openldap/slapd.conf file is on<br />

the following Red Hat Web site (you need a subscription to get to it):<br />

https://access.redhat.com/kb/docs/DOC-3637<br />

11.3 Creating a virtual file and print server<br />

Samba allows Windows clients to map Linux file systems as shared drives. Samba can also<br />

act as a middle-man between Windows clients and a Linux print server. <strong>The</strong> recommended<br />

Linux print server is CUPS - the Common UNIX Printing System. This section does not<br />

describe the configuration of CUPS but it does describe how the necessary RPMs are<br />

installed.<br />

<strong>The</strong> steps in this section are as follow:<br />

► “Cloning a Linux virtual server” on page 178<br />

► “Installing necessary RPMs” on page 179<br />

► “Configuring Samba configuration file” on page 179<br />

► “Adding a Samba user” on page 180<br />

► “Starting Samba at boot time” on page 180<br />

► “Testing your changes” on page 180<br />

11.3.1 Cloning a Linux virtual server<br />

To clone a newLinux server, per<strong>for</strong>m the following steps:<br />

► Start an SSH session as root to the cloner.<br />

► Copy a Linux cloning configuration file and modifying the IP address and host name<br />

variables:<br />

# cd /etc/clone<br />

# cp linux01.conf linux03.conf

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

Saved successfully!

Ooh no, something went wrong!