HP HP-UX Common Internet File System Setup and Install

Setting Up CIFS Server (Samba) in an LDAP Environment
Setting up CIFS Server (Samba) in an LDAP
Environment
Don McCall
Hewlett-Packard WTEC
Printed in: U.S.A.
©Copyright 2000 Hewlett-Packard Company
1
Setting Up CIFS Server (Samba) in an LDAP Environment
Legal Notices
The information in this document is subject to change without notice. Hewlett-Packard makes no warranty of any kind with regard to this manual, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Hewlett-Packard shall not be held liable for errors contained herein or direct, indirect, special, incidental or consequential damages in connection with the furnishing, performance, or use of this material.
Warranty. A copy of the specific warranty terms applicable to your Hewlett-Packard product and replacement parts can be obtained from your local Sales and Service Office.
Restricted Rights Legend. Use, duplication or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 for DOD agencies, and subparagraphs (c) (1) and (c) (2) of the Commercial Computer Software Restricted Rights clause at FAR 52.227-19 for other agencies.
Hewlett-Packard Company 19420 Homestead Road Cupertino, California 95014 U.S.A.
Use of this manual and flexible disk(s) or tape cartridge(s) supplied for this pack is restricted to this product only. Additional copies of the programs may be made for security and back-up purposes only. Resale of the programs in their present form or with alterations, is expressly prohibited.
Copyright Notices
©copyright 1983-2000 Hewlett-Packard Company, all rights reserved. Reproduction, adaptation, or translation of this document without prior written
permission is prohibited, except as allowed under the copyright laws. ©copyright 1979, 1980, 1983, 1985-96, 2000 Regents of the University of California.
This software is based in part on the Fourth Berkeley Software Distribution under license from the regents of the University of California.
2
Setting Up CIFS Server (Samba) in an LDAP Environment
Contents
Setting up CIFS Server (Samba) in an LDAP Environment........................................1
Legal Notices..........................................................................................................1
Legal Notices..........................................................................................................2
Introduction.............................................................................................................. 5
Part one: Setting up a simple Netscape DS server. ................................................... 6
Install Netscape Directory Server V6 for HP-UX: J4258CA.................................... 6
Configure your Netscape Directory Server............................................................. 6
A Note on Startconsole versus Netscape Console 6.1............................................. 7
Part two: Setting up ldapux client............................................................................. 8
Install J4269AA LDAP-UX Integration product on the server you will be using
CIFS Server on.......................................................................................................8
Configure you ldapux client:.................................................................................. 8
Migrate all your data stores to the Netscape directory server: ............................... 9
Part Three: Extending the schema for CIFS Server................................................. 10
Install a version of CIFS Server with LDAP enabled............................................. 10
Extend the schema with the sambaAccount subschema..................................... 10
Verify the schema update.................................................................................... 11
Part four: Modifying smbldap tools and configuration files..................................... 11
Modifying the smb.conf file.................................................................................. 11
Modifying the smbldap_conf.pm file ....................................................................11
Sourcing select parameters from smb.conf instead of smbldap_conf.pm............. 12
Part Five: Installing your CIFS Server users in the directory .................................. 12
Storing your CIFS Server LDAP credentials......................................................... 12
Adding your CIFS Server users to the LDAP directory......................................... 13
Setting passwords for your new users................................................................. 14
Part Six: Start CIFS Server and test........................................................................ 14
Starting CIFS Server............................................................................................ 14
Verifying CIFS Server LDAP user and password authentication.......................... 14
Recommended Reading........................................................................................... 15
CIFS Server ......................................................................................................... 15
Netscape Directory Server and LDAP-UX Client Services..................................... 15
3
Setting Up CIFS Server (Samba) in an LDAP Environment
4
Setting Up CIFS Server (Samba) in an LDAP Environment
Introduction
CIFS Server A.01.11 and later offer the ability to store and access CIFS Server user information in an LDAP directory store; specifically the Netscape Directory Server product shipped with HP-UX 11.0 and later. This paper will describe, step by step, the procedure to set up a simple Netscape DS server on HP-UX, the LDAP-UX client needed to access posix account information that the CIFS Server user accounts in the LDAP directory depend on, and configuring CIFS Server and the perl scripts shipped with it to access and manage your CIFS Server user account information.
5
Loading...
+ 11 hidden pages