Novell client for linux - scripted install and configure

the novell client is included in SLED11 SP1
the configuration files are in /etc/opt/novell/ncl (esp login.conf)
I want to script the configuration of the novell-client. Some of the things the interface yast - Novell client does, is:
modify /etc/pam.d/gdm
create /lib/security/pam_ncl_autologin.so
... and maybe more....?
according to Novell Documentation there should be a make_novell-client-conf_rpm Bash script but i cant find it in any of the recent clients (download) nor on the SLED installation.
I think just copying pam.d files and the .so file will work, but might cause troubles in the long run.
What should i do to create these by script?

Originally Posted by lowalcohol
assuming this will do the same as installing it from yast - software, the client is not configured (tree, context, slp) and lacks key files such as /lib/security/pam_ncl_autologin.so needed for integrated login.
/lib/security/pam_ncl_autologin.so is updated by the post processing inside the rpm's. We don't need to do anything. however there is much to do. i'll show what i do. You need to change the variables and entries to suit your env.
create a repo on a build server using the following in fstab
Code:
/srv/www/htdocs/iso/novell-client-2.0-sp2-p2-sle11-i586.iso /srv/www/htdocs/novcli2.sp2/i586 iso9660 user,auto,loop,uid=30,gid=8 0 0
/srv/www/htdocs/iso/novell-client-2.0-sp2-p2-sle11-x86_64.iso /srv/www/htdocs/novcli2.sp2/x86_64 iso9660 user,auto,loop,uid=30,gid=8 0 0
add a repo to the install
zypper -n ar --refresh http://build/novcli2.sp2/$PROC "Novell client 2"
add in bits for ldap
Code:
cd /tmp
wget $WEBPATH/ldap.tbz2
if [ -s ldap.tbz2 ]; then
cd /
tar xjvf /tmp/ldap.tbz2
cd /tmp
fi # if [ -s ldap.tbz2 ];
echo '+::::::' >>/etc/passwd
echo '+' >>/etc/shadow
echo '+:::' >>/etc/group
ldap.tbz2 contains the following after they been changed by 'yast ldap'.
\etc
\etc\ldap.conf
\etc\nsswitch.conf
\etc\openldap
\etc\pam.d
\etc\openldap\ldap.conf
\etc\pam.d\common-account-pc
\etc\pam.d\common-auth-pc
\etc\pam.d\common-password-pc
\etc\pam.d\common-session-pc
add in the client
Code:
zypper --no-refresh --no-gpg-checks -n in -l -t pattern novell-ncl
#lock the files to protect them from future 'zypper dup'
zypper al nici64 novell-client novell-client-script novell-konqueror-plugin novell-nautilus-plugin novell-nmasclient novell-novfsd novell-qtgui novell-ui-base novell-xplatlib novell-xtier-base novell-xtier-core novell-xtier-xplat yast2-novell-client
chkconfig micasad on
configure the client
[CODE]
sed -i s/";net.slp.useScopes.*"/"net.slp.useScopes = FRED, LARRY"/ /etc/slp.conf
sed -i s/";net.slp.DAAddresses.*"/"net.slp.DAAddresses = 10.251.1.99, 10.249.1.99"/ /etc/slp.conf
mkdir -p /etc/opt/novell/ncl
echo Allow_Integrated_Login=true >/etc/opt/novell/ncl/login.conf
echo Default_Tree=XXXXX >>/etc/opt/novell/ncl/login.conf
echo Default_Context=XXX.XXX.XXX >>/etc/opt/novell/ncl/login.conf
echo Default_Server=servername >>/etc/opt/novell/ncl/login.conf
echo DHCP_Tree=true >/etc/opt/novell/ncl/protocol.conf
echo DHCP_Server=true >>/etc/opt/novell/ncl/protocol.conf
[CODE]
(reboot)
These are files installed during build stage, but are used when the client logs in.
in /etc/skel/.novell/ncl, i have a copy of StartupLogin.conf as StartupLogin.conf.new
this file has information in it, but it will be wiped.
in /etc/skel/.kde4/Autostart/logon.sh, i have
Code:
if [ ! ~/.novell/ncl/StartupLogin.conf.new ]; then
mv ~/.novell/ncl/StartupLogin.conf.new ~/.novell/ncl/StartupLogin.conf
FDN=`ldapsearch -x -h 10.251.1.99 -b ou=its,o=fca | grep -i 'dn:' | grep -i $USER | grep -iv workstation`
CONTEXT=`echo $FDN | cut -d, -f2- | sed -e 's/ou=//ig' -e 's/o=//ig' -e 's/,/./ig'`
sed -i "s/UserName.*/UserName = $USER/" ~/.novell/ncl/StartupLogin.conf
sed -i "s/FDN.*/FDN = $FDN/" ~/.novell/ncl/StartupLogin.conf
sed -i "s/Context.*/Context = $CONTEXT/" ~/.novell/ncl/StartupLogin.conf
sudo /bin/update_login.conf.sh $CONTEXT
fi # if [ ! ~/.novell/ncl/StartupLogin.conf.new ];
/bin/update_login.conf.sh has the following and has '%users ALL=(root) NOPASSWD:/bin/update_login.conf.sh' added to /etc/sudoers
Code:
if [ ! -z "$1" ];then
sed -i "s/Default_Context=.*/Default_Context=$1/" /etc/opt/novell/ncl/login.conf
fi
So far this is working well.
The novell login needs to be run once, and on the advanced tab, have the session saved. This then auto runs afterwards for each logon.
as a troubleshooting tool, I :
Code:
cp /etc/etc.1
rsync -avP etc* my-pc:/tmp/
i can then use krusader to compare files (on my-pc), but most importantly, after doing something (eg yast ldap). rerun the rsync line and and it will tell exactly which file(s) changed, so you know which ones to check/keep/alter/etc
hope this helps.
ph

Similar Messages

  • Novell Client for Linux on OpenSUSE 12.1

    Hello everyone,
    I'm looking for some information on getting the last release (2.0 SP2) of the Novell Client for Linux to install and run on OpenSUSE 12.1. Has anybody been able to do this yet?
    Thanks

    Yep,
    However, openSUSE 12.1 comes with kernel 3.1.x . Come on guys, I would do it myself if I had the source code...
    Originally Posted by W_Prindl
    But it installs nice on SLED 11.2 , which also uses a 3.x (3.0.x)
    kernel.
    But the SLED 11.2 Novell Client version is 3.0.0-0.18.20.7 and this is
    not available as a seperate download.
    W. Prindl
    Simon Flood wrote:
    >On 16/03/2012 14:46, SylvainL wrote:
    >
    >>I'm looking for some information on getting the last release (2.0
    >>SP2) of the Novell Client for Linux to install and run on OpenSUSE
    >>12.1. Has anybody been able to do this yet?
    >
    >I believe the current Novell Client for Linux will not install on
    >openSUSE 12.1 because of the move to using kernel 3.x.
    >
    >I've asked my contacts at Novell but in the meantime you should be
    >able to install the ncpfs package and use ncpmount.
    >
    >HTH.

  • Novell Client for Linux 2 beta & VMWare - bridged only?

    OpenSUSE 11.1 with Novell Client for Linux 2.0 SP2 beta.
    OpenSUSE is installed as a VMWare Workstation guest using NAT. When attempting to use contextless login, the Novell Client hangs. If you disable contextless login and then browse to the right context, you can login OK.
    If you change the virtual NIC from NAT to Bridged, contextless login works fine. If at all possible, we need to use Bridged instead of NAT (long story).
    Any idea what could be the problem? From what I can tell, SLP, DA, etc are set correctly, but I could be wrong.
    Thanks.

    Originally Posted by Thorsten Kampe
    * mlazovjp (Mon, 14 Dec 2009 18:56:02 GMT)
    > OpenSUSE 11.1 with Novell Client for Linux 2.0 SP2 beta.
    >
    > OpenSUSE is installed as a VMWare Workstation guest using NAT. When
    > attempting to use contextless login, the Novell Client hangs. If you
    > disable contextless login and then browse to the right context, you can
    > login OK.
    >
    > If you change the virtual NIC from NAT to Bridged, contextless login
    > works fine. If at all possible, we need to use Bridged instead of NAT
    > (long story).
    >
    > Any idea what could be the problem? From what I can tell, SLP, DA, etc
    > are set correctly, but I could be wrong.
    Use NAT only if you need NAT - otherwise use bridged.
    Thorsten
    I was afraid that someone was goign to say something like that :)
    We use port security hardware on our network, which will disable a port on the switch if it detects multiple MAC addresses on the same port. A virtual machine's bridged networking sets port security off and disables the port, so we have had to resort to NAT for all virtual machines. We can ask for exceptions to be made for a subset of our lab computers, but that is not an ideal solution.
    Not only is that extra overhead for us to manage these exceptions, but we will not be able to realize our long-term goal of providing the virtual machine to our students to use on their personal notebooks since we cannot provide them port security exceptions.
    I am still having problems grasping the reason that a contextless lookup (via LDAP, I assume) would misbehave while coming from a NATted connection but a bridged connection works fine on the exact same virtual machine. Shouldn't the communication between the VM and the LDAP server work properly either way??

  • Novell Client for Linux

    Hello,
    i installed the novell client for linux on my SuSE 10.0.
    Now I can not login to our novell server.
    I get the following error messages:
    Error:NWCCScanConnRefs
    Code: 88FF
    Build:1.0.0
    File:ncpConnenctionRefScanner.cpp
    Repository Version: $ Revision 1231 $
    Can somebody help?
    Peter

    On Tue, 28 Feb 2006 07:29:09 +0000, peter wrote:
    >
    > Mark Robinson wrote:
    >> On Mon, 27 Feb 2006 07:41:06 +0000, peter wrote:
    >>
    >> >
    >> > Is this problem related to the KDE icons of the NCL?
    >>
    >> I think you might be using an outdated client. Please try version 1.1:
    >>
    >> http://download.novell.com/Download?...d=2RE4wvXCwqQ~
    >>
    >>
    >> --
    >> Mark Robinson
    >> Novell Volunteer SysOp
    >>
    >> One by one the penguins steal my sanity...
    >
    > No, I use the newest version 1.1!
    OK. It's supposed to have been fixed. Can you try uninstalling and
    reinstalling please before I try to get the bug reopened.
    Was this a fresh install of 1.1?
    Mark Robinson
    Novell Volunteer SysOp
    One by one the penguins steal my sanity...

  • Novell Client for Linux causes Excel/Crossover to lock on file open

    When using Microsoft Office with Crossover, if I access a mounted NetWare
    drive using Novell Client for Linux it causes the office Open dialog to lock.
    The same action with an NCPFS mount works ok.
    Of course I understand if having Office/Crossover working is not exactly a
    priority but my company will need it if we are to migrate to NLD

    Malt,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • How to verify if Database gateway for DRDA is installed and configured.

    Hi All,
    How can we verify if Database gateway for DRDA is installed and configured.
    Our OS is AIX 5L 64 bit OS.
    Rdbms : 11.2.0.3
    Regards,

    Duplicated
    How to verify if Database gateway for DRDA is installed and configured.
    +-- thread locked --+
    Nicolas.

  • Novell Client for Linux and openSuse 64bit

    Does anyone know what the timeline may be on a beta NCL that will work
    w/64-bit openSuse 10.2?
    I've tried the current versions w/the patches that Loki posted on the web
    and have not met w/success.
    Thanks.
    Glenn
    PS.Perhaps their new business partner in Redmond has persuaded Novell to
    drop support of NCL?

    On Thu, 01 Mar 2007 09:46:52 +0000, Barts wrote:
    > On 11 jan, 17:43, Joseph Marton <[email protected]> wrote:
    >> On Wed, 10 Jan 2007 06:10:49 +0000, temp1 wrote:
    >> > Does anyone know what the timeline may be on a beta NCL that will work
    >> > w/64-bit openSuse 10.2?
    >>
    >> I was a bit confused on my last post. The beta will only be for SLED 10
    >> SP1, but once the new client goes public there will also be a separate
    >> build for openSUSE 10.2. The new client should cover both 32- and
    >> 64-bit versions of both OSes.
    >>
    >> --
    >> Joe Marton
    >> Novell Support Forum SysOp
    >> Novell does not officially monitor these forums!
    >
    > Any new timeline known yet ?????
    Nothing yet. I had a look yesterday, and no joy so far. Sorry.
    Mark Robinson
    Novell Volunteer SysOp
    www.nds8.co.uk
    One by one the penguins steal my sanity...

  • SCCM query for taking report from all clients for a SW installed and its version

    Hi ,  I need to pull a report from all servers in my landscape to identify the servers where 'HP system management homepage' is installed and its version. I have SCCM 2007 R2 and need to run a query/report. Please help me how to do this. 
    I am a beginner in SCCM.
    Thanks in advance.
    Vivek Nambiar

    Hi Vivek,
    Try this SQL query and let us know if it helps. Use your SCCM SQL database or the 'Reports' feature on SCCM to run the same.
    SELECT
    dbo.v_R_System.Name0 as 'Host Name',
    dbo.v_R_System.User_Name0 as 'User Name',
    dbo.v_GS_OPERATING_SYSTEM.Caption0 AS 'Operating System',
    arp.DisplayName0 as 'Product Name',
    arp.Version0 as 'Product Version'
    FROM dbo.v_Add_Remove_Programs AS arp
    INNER JOIN dbo.v_R_System ON arp.ResourceID = dbo.v_R_System.ResourceID
    INNER JOIN dbo.v_GS_OPERATING_SYSTEM ON dbo.v_R_System.ResourceID = dbo.v_GS_OPERATING_SYSTEM.ResourceID
    WHERE arp.DisplayName0 LIKE 'HP system management homepage%' AND
    dbo.v_R_System.Operating_System_Name_and0 LIKE '%server%'
    ORDER BY arp.Version0, dbo.v_R_System.Name0
    ~ Rajeesh M | Blog: ScorpITs | Please remember to 'Mark as Answer' or 'Vote as Helpful' on the post that helps. It helps others reading the thread and
    recognizes useful contributions

  • Installing and Configuring OBIA with OBIEE, Informatica, DAC

    Hi
    Can anybody send me set up procedure for , how to install and configure OBIA with OBIEE, Informatica and DAC?
    mail Id : [email protected]
    Thnks In advance.

    Hi,
    the setup procedure depends on your Oracle BI Apps version.
    You can find all Oracle documentation to install and configure Oracle BI Apps from this URL :
    http://www.oracle.com/technetwork/middleware/bi-foundation/documentation/bi-apps-098545.html
    hope it helps,
    Benoit

  • Failed to install php-oci8 with instant Client for linux 64

    Hello,
    I have a 64-bits Linux box with RHEL4, and PHP version has been upgraded from 4.3.9 to 5.1.6. I try to make the connection to remote oracle server.
    I download instantclient-basic-linuxppc-10.2.0.2-20060327.zip , and follow the instruction to
    install it.
    But when i try to install php-oci8*.rpm, no matter which i use:
    php-oci8-5.1.6-1.el5.i386.rpm or php-oci8-4.3.9-2.2.el4.i386.rpm
    The installation always failed due to dependencies errors with oracle instant client.
    I also tried with some other packages like: php-oci8-4.3.9-3.el4.x86_64.rpm
    All my tries gave me dependency errors.
    sometime like:
    error: Failed dependencies:
    libclntsh.so.10.1 is needed by php-oci8-5.1.6-1.el5.i386
    oracle-instantclient = 10.2.0.3 is needed by
    php-oci8-5.1.6-1.el5.i386And I cannt find the right RPM for oracle instant client for linux 64 bits box, and php-oci8 5.1.6 64 bits.
    I have been trying on this problem for more than one week, and so frustrated. I will appreciate if I can be guide on this issue.
    Thanks in advance!

    See my followup to your duplicate post in the PHP forum

  • How to install and configure SNMP through a script(shell script/power shell/python)

    Hi all,
    I need a script  so that once it is run on windows 2012 server r2 ,snmp should be installed and configured automatically ,giving minimum user inputs.Things like snmp server ip,community string shouls be configured.
    SNMP services should be up and running with the script

    Hi,
    Please check if you can use
    Install-WindowsFeature PowerShell command to enable SNMP. Meanwhile, please also refer to following article and check if can help you.
    How
    to Install SNMP Remotely
    However, based on your description, the issue seems to be more related to script. I suggest that you should
    post it in
    Windows PowerShell forum or
    Official Scripting Guys forum. I believe we will get a better assistance there.
    Hope this helps.
    Best regards,
    Justin Gu
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to install and configure oracle secure backup(osb-10.4.0.3.0_linux.x64) in linux

    Hello,
    We are planning to install and configure Oracle Secure Backup Version 10.4 in Linux server. I had searched documents and i have not find any relevant steps to install and configure in OEL 6.2.
    Can anyone please suggest me how to install and configure OSB.
    Regards,
    Anil

    Hi
    Installing OSB on Oracle Linux is just the same as installing on any other supported linux and is described in Installation and Configuration guide. Just stick with the directories and procedure described in install guide and you should be fine.
    For media server choose a physical host due to performance considerations. I think it is mentioned in docs somewhere.
    Regards,
    Mitja

  • How to install and configure configure IGS for J2EE server 700

    Hi,
    Please help me in installing and configuring IGS for J2EE server700 as i need it to run Business Graphics for my Web DynPro application. Earlier i had installed J2EE server 640 and i didnt have to do any separate installation for IGS. I just had to configure the IGS URL from Visual Admin. But i can't find any igswd.exe running on my J2EE700 engine.
    Please let me know the procedure for this.
    Thanks an Regards,
    Smriti.

    Hi,
    Check the below link,
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/17/86c039c7811f11e10000000a114084/frameset.htm">About IGS Configuration and Adminisatration</a>
    Regards,
    Suresh.T

  • How to install and configure ASM on Red Hat Linux 6.4

    Hi Team,
    How do you install and configure ASM on Red Hat Linux 6.4?
    Thank you in advance.
    Bee

    Here is an article that you may find useful http://eriglen.blogspot.com/2013/01/step-by-step-configuring-automatic-storage-management-on-standalone-server-with-oracle-enterprise-linux-and-oracle-11g-R2-using-external-storage-managed-by-openfiler.html

  • Install and Configure Ops Center for monitoring

    Dear All,
    Any one used to Install and Configure Ops Center for monitoring all Servers?
    Please kindly give advice for this.
    Thanks and regards,
    Heng

    Dear All,
    Any one used to Install and Configure Ops Center for monitoring all Servers?
    Please kindly give advice for this.
    Thanks and regards,
    Heng

Maybe you are looking for