TCL/Tk ncpfs graphical client for NDS

ndshome.tcl

Purpose:

  • Silently open a KDE2 explorer window in user's Netware home directory. If user is not yet authenticated, it will popup the ndslogin.tcl window.

    Requirements:

    Usage:

    Another way:

  • Here most users are authenticated by the PAM module and Netware home is locally mounted in /mnt/ncp/$USER/nwhome directory ( by using options -zA -l -mnwhome of the PAM module).
    So a simple way to access this home is to create a symbolic link to the mounting point in user's $HOME. We do it by the following lines inserted in /usr/local/bin/zenscript0.
    #!/bin/sh
    #zenscript0
    #run at session opening by pam_ncp_auth.so for a new acccount
    # standard heading
    #run with user permissions
    source $1/$2
    
    #create a link in user's home  to the real mount point of his Netware home (the mount point is the same on every workstation)
    
    [ ! -e $1/nwhome ] && ln -s $NDS_HOME_MNT_PNT $1/nwhome
    
    And on every new student Desktop we copy(from /etc/skel/Desktop) a icon (a big red N) and a link to a KDE application with the following command line:
    Exec=kfmclient openURL '$HOME/nwhome'
    

    Download:

    History:

    
    
     TODO:  


    Vous êtes notre Counter (Security) eme visiteur