e-mail   
 Menu
  Home
  Download
  Top 10 Downloads
  Last 15 New Files
  Web Links
  Tips
  Last 15 New Tips
  NLM Programming
  Admins Club





Installation and Administration






Polish Forum SUSE




Novell Connection Magazine


 
Who's Online

 There are currently,
5 guest(s)
that is (are) online.
 


Technical Information

Back to List of Categories

Technical Information about
  A Little YaST Magic
  A Slideshow for Your KDE Wallpaper
  Add Novell Support to Your Firefox Search Engine
  Adding To The Panels In Gnome.
  Akregator - RSS News Reader
  An Introduction to WBEM and OpenWBEM in SUSE LINUX
  Authenticating SUSE LINUX to eDirectory via LDAP
  Basic Mounting Differences between Windows and Linux
  Beginner's Guide to Using Novell SUSE LINUX's Build Utility
  Browsing Files
  Card Readers on SUSE LINUX 9.2 Professional?
  Changing the Default Browser in Gnome
  Developing Perl CGI scripts on SUSE LINUX
  Do I Have Permission?
  Double SYNC -- Using RSYNC Simultaneously With and Without Branch Office for Data Backup
  Dumb Question: Mounting Linux CDs
  Easy Command-Line Introduction
  Easy Way to Debug SSL Connections
  Enabling an Interactive Startup in Novell/SUSE LINUX
  Exploring MySQL 4.1 and PHP 5 on SUSE LINUX
  Extend Your Panels Using Gnome Drawers.
  Firefox Speed Tip
  Fix Java Errors With ConsoleOne On Linux
  Fix Your Mouse Wheel...
  Gimp -- Closing In on Photoshop...
  Gimp Tips Part 1: Resizing Images
  Gimp Tips Part 2: Rounding Corners
  Gimp Tips Part 3: Fading Photography Edges
  Gimp Tips Part 4: Selective Colorization
  Gimp Tips Part 5: Plugins a Plenty - Adding Light
  Gimp Tips Part 6: Using The Clone Tool
  Google Auto-fill Replica for Linux
  How a Corrupted USB Drive Was Saved by GNU/Linux
  How to Implement Login Scripts into a Pure Linux Environment
  How to install and connect an External Modem on a Linux PC
  How to Install the Novell Client for Linux on SUSE Linux 10.0
  How to launch applications at login in Gnome
  How to Remote Control Linux
  How to setup a Linux application to automatically startup when you login.
  How to share Files and Printers Between Linux and MS Windows with Samba
  How to uninstall the Novell Client for Linux
  How to upgrade the Novell Client for Linux
  How to use SMB without turning off the firewall
  How's the Weather?
  HTML Development Tools in Linux
  Informative Bash Prompt
  Install and Use QEMU on SUSE 9.2
  Install Linux Frequently, Without the Hassle
  Installing Apache, PHP, and MySQL on SUSE LINUX Professional
  Installing RPM Files
  Integrating Novell Linux Desktop into a Novell NetWare network
  Introduction to Oracle 10g R1 (10.1.0.3) on SUSE LINUX Professional 9.3
  iPrint Printers on Novell Linux Desktop
  Linux Scheduling Priorities Explained
  Make a Misbehaving Program Quit
  Manually Mounting a USB Flash Drive in Linux
  Migrating To Linux, Advantages Over Windows 9.x And XP
  Minimize Your Maximizing with Multiple Desktops
  Mounting NetWare Volumes On NLD Illustrated
  Move Your /home to Another Computer
  Mozilla Mail Review
  Need a Backup?
  Novell Client Settings with Windows Terminal Server
  Novell Linux Desktop Equivalents of Windows Software - New and Improved
  Novell Linux Desktop System Upgrade How-To
  Partitioning Hard Drive for Linux Install
  Perform Remote SuSE Installations With Virtual Network Computing
  Quick Intro to Klipper
  Quick Shortcuts in The Gimp
  Reset Your Lost Root Password
  Resizing Your Gnome / KDE Panels
  Runlevels in SUSE LINUX
  Running Existing Win32 Applications on SUSE LINUX
  Service Command in /etc/init.d/
  Setting Shortcut Keys
  Setting up a Linux NFS Install Source for Your LAN
  Should I choose Novell Linux Desktop or SUSE LINUX Professional as my desktop?
  Starting Services From the Command Line On SuSE LINUX
  Sticky Notes for Gnome
  SUSE LINUX 9.3 Professional Review
  Sync Up The Taskbar and the Desktop in Gnome
  System Upgrade How-To
  Taking Screenshots in Linux
  The Basics of Messaging in the Cross-Platform GroupWise Client
  The Novell Client for Linux (beta).
  Transparent Panels in Gnome
  Trick Out Your KDE Desktop
  Understanding the YAST Software Module Options
  Updating Your Software with Red Carpet
  Using dsbk on Linux and Unix
  Using iFolder to Synchronize Firefox Bookmarks
  Using Multiple Swap Partitions In 2.4
  Using openSSH to Securely Access Remote Systems
  What FTP client should I use on Linux?
  What Is Logical Volume Management?
  What is so great about Firefox?
  Which Graphic Formats For What?
  Windows Shortcuts for Firefox Tabs on Linux
  Windows to Linux: A Beginner's Guide
  Windows Users Can Feel at Home Exploring Files in Linux
  WLAN interface as the Default
  Work With User Selection Icons In KDM
  YAST Online Update De-Mystified

Technical Information
 Integrating Novell Linux Desktop into a Novell NetWare network

Printer-friendly version

Posted: 15 Jun 2005

As I researched the use of Novell Linux Desktop (NLD) in a NetWare 6.5 Network, I became frustrated with the lack of documentation concerning using NLD as a client to a NetWare server. I started out by scouring the Novell site for Documentation TIDS and Cool Solutions. This search turned up very little. I decided that I needed to figure out a path through NetWare's NFAP and LDAP tools to create what I thought would be some crude connectivity. After working for a little while on LDAP authentication I was guided by a fellow Forum reader who had figured out how to get LDAP authentication working by using the directions for authenticating to eDirectory on Linux. Here are those instructions:

1. First go in to ConsoleOne

You need to create an LDAP Proxy User and give it the relevant permissions.

  1. In the Organizational Unit where the LDAP Server and LDAP Group objects are, create a new user called ldapproxy, don't give it a home directory and leave the password blank.
  2. View the properties of the new user. Across the top, click on the restrictions tab.
  3. In the password restrictions uncheck 'Allow user to change password' and 'Require a password.'
  4. Apply the changes and close the user.
  5. Right click the tree root and choose 'Trustees of this object.'
  6. Click Add trustee. Now traverse down the tree and find the LDAP proxy user you just created, select the user and click OK.
  7. Now you will have a box titled 'Rights assigned to selected objects' and two Properties in the box already '[Entry rights]' and '[All Attribute Rights]'. Click 'Add Property.'
  8. You will see a list of properties; the ones we need are not in the list by default. You need to check the box 'Show all properties,' click on 'CN' and press OK. You will see CN added to the list of properties.
  9. Repeat this process with the following attributes:
    • Description
    • O
    • OU
    • Object Class
    • dc
    • gecos
    • gidNumber
    • homeDirectory
    • loginShell
    • memberUid
    • uidNumber
    • uniqueID
  10. Once they are added to the properties, click OK and the LDAP proxy user will be added to the trustees list.
  11. Now find your 'LDAP Group' object and view the properties. You will see an empty box titled 'Proxy user name. Put the LDAP proxy user you have just created here (ensure you specify the full context).
  12. Click Apply and close out.
  13. Finally view the properties on the 'LDAP Server' object and the click the 'Refresh NLDAP Server Now' button.

2. Now you must configure your NDS user account for Linux Logon

  1. Find your user account in ConsoleOne and view the properties.
  2. The fourth tab across is titled 'UNIX Profile.' Click this tab. In the User ID box you must specify a unique number for all your users. I have the following in the fields:
    User Id: 10001 Note: Must be unique for every user
    Primary Group: 100 Note: This is the standard linux users group.
    Login Shell: Bash /bin/bash
    Home Directory: /home/*Username*
  3. Click Apply and Close. Repeat for any other users you need to authenticate.

3. In NLD Administration Settings

  1. From Network Services, Choose LDAP client.
  2. Click the 'Use LDAP' radio button.
  3. In the 'LDAP Base DN' field I have: ou=Users,ou=Bedwas,o=Peters. Enter your own context here.
  4. In the 'Addresses of LDAP Servers' box put the IP Address of your NetWare server.
  5. Check the 'LDAP TLS/SSL' box.
  6. In the Advanced Configuration screen have 'Enable LDAP Users to Log In' checked, and nothing else.
  7. Click Next and you will return to LDAP Client Configuration screen. Click Finish.

4. Automatic home directory creation

The final step is to enable automatic home directory creation.

  1. Open the file '/etc/pam.d/login' in text editor and add the following line above the first line beginning 'session':

    session required /lib/security/pam_mkhomedir.so skel=/etc/skel umask=0022

  2. Now open the file '/etc/pam.d/xdm' in text editor and add the following line above the first line beginning 'session':

    session required /lib/security/pam_mkhomedir.so skel=/etc/skel umask=0022

  3. Now open the file '/etc/pam.d/gdm' (if you are using kde the file will be called kdm) in text editor and add the following line above the first line beginning 'session':

    session required /lib/security/pam_mkhomedir.so skel=/etc/skel umask=0022

This all worked perfectly!

Next I wanted to create and use home directories on the server.

I went to NFSAdmin in ConsoleOne and shared the root of the users' home directory structure. I then went to YAST / NFS Client and figured out that in order to mount an NFS share I needed to create a local folder to *import* the NFS share into, so I created a folder called *NET_Users* on the local drive and imported the NFS share. This, however, did not work. So back to the forums and docs.

I soon stumbled onto the fact that you need to set NFS shares to specific client(physical box) or use an *** to set the share to *all*. This allowed NLD to import the directory structure at boot without error. However NLD kept creating the users home directory in the */Home* folder on the local drive ignoring the network path. I soon realized that the *Unix Profile* home directory path needed to point to the imported share mounted as *NET_Users* on the NLD box. i.e. /NET_Users/Username.

Now with some minor mods to any Linux install you can authenticate and use an eDirectory user and its home directory.






Portal posiada akceptację firmy Novell Polska
Wszystkie materiały dotyczące produktów firmy Novell umieszczono za zgodą Novell Polska
Portal has been accepted by the Novell Polska
All materials concerning products of Novell firm are placed with Novell Polska consent.
NetWare is a registered trademark of Novell Inc. in the United States and other countries.
Windows is a trademark or a registered trademark of Microsoft Corporation in the United States and other countries.
Sybase is a registered trademark of Sybase Inc. in the United States of America.
Other company and product names are trademarks or registered trademarks of their respective owners.