Results 1 to 4 of 4

Thread: Logon to active directory or NT directory ......

  1. #1
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Belgium
    Posts
    252

    Logon to active directory or NT directory ......

    Any idea anyone on how to logon to such domain from knoppix ?

    Purpose is to have one authentification process which is used for every application which knoppix uses.
    For example terminal services client,citrix client,oracle client,acessing network printers,etc... .
    For windoze this must only done 1 time. At logon.. .
    For knoppix... ,for each application.... .
    Knoppix could indeed be used as a transition to a fully linux enviroment.
    Boot your pc with knoppix,when encountering a serious problem removed the cd and boot normally again. (or visa versa).
    Maybe an idea for a customized knoppix ?
    greetzzz,

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872

    Re: Logon to active directory or NT directory ......

    Quote Originally Posted by ktheking
    Any idea anyone on how to logon to such domain from knoppix ?

    Purpose is to have one authentification process which is used for every application which knoppix uses.
    For example terminal services client,citrix client,oracle client,acessing network printers,etc... .
    For windoze this must only done 1 time. At logon.. .
    For knoppix... ,for each application.... .
    Knoppix could indeed be used as a transition to a fully linux enviroment.
    Boot your pc with knoppix,when encountering a serious problem removed the cd and boot normally again. (or visa versa).
    Maybe an idea for a customized knoppix ?
    greetzzz,
    winbind and kerberos. However, I wonder if it can do all the things you mentioned. print and file sharing should have no problem, for the others it would be iffy.

  3. #3
    Junior Member
    Join Date
    Nov 2003
    Posts
    29
    This is a perl script I use (written by Keith Zimmerman) to log onto a win domain:

    #!/usr/bin/perl#my $shareName = 'netlogon';my $mountPoint = '//mnt/z';# variables for domain infomy $DOMAIN='';my $WORKGROUP='';my $SERVER='';# detecting domainmy @names = split( /\n/, `nmblookup -MS -- -` );for my $name (@names) { $SERVER = $1 if $name =~ /\s*(\w*)\s*<20>/i && $SERVER eq ''; $DOMAIN = $1 if $name =~ /\s*(\w*)\s*<1b>/i && $DOMAIN eq ''; $WORKGROUP = $1 if $name =~ /\s*(\w*)\s*<1d>/i && $WORKGROUP eq '';}$DOMAIN = $WORKGROUP if $DOMAIN eq '';my $chatter = '';while( 1 ){ $chatter = 'ERROR:\n$chatter\n' if $chatter ne ''; print $chatter; $usp = `Xdialog --separator '~' --wrap --left --stdout --title \'Mount User Directory\' --password --2inputsbox \'$chatter \nPlease enter
    your username and password for the $DOMAIN domain.\n\nI will attempt to use this information to mount //$SERVER/$shareName at $mountPoint\' 25 60 \'User Name:\' \'$ENV{'USER'}\' \'Password:\' \'\'`; if( $? == 0 ) { $usp =~ /(.*?)~(.*)/; $ENV{'USER'} = $1; $ENV{'PASSWD'} = $2; $chatter = `smbmount //$SERVER/$shareName $mountPoint 2>&1`; `grep -q \'//$SERVER/$shareName\' /proc/mounts`; if( !$? ) { `$mountPoint/login.sh` if -x '$mountPoint/login.sh'; exit; } } else { die 'user canceled'; }}

  4. #4
    Member registered user
    Join Date
    Sep 2003
    Location
    denver, co
    Posts
    72
    Tealeaf,
    Do you know where online you got that script? The reposting to the forum has messed up the formatting. I tried searching for it but couldn't find it.

Similar Threads

  1. home - directory on hdd
    By DieselDriver in forum General Support
    Replies: 1
    Last Post: 12-27-2004, 03:20 AM
  2. Set a CD directory like it was writeable
    By shanghai in forum Customising & Remastering
    Replies: 1
    Last Post: 12-17-2004, 09:34 PM
  3. SAMBA-Client & W2k-Active-Directory
    By ZMK in forum Networking
    Replies: 1
    Last Post: 08-04-2004, 03:57 AM
  4. What is directory /.qt
    By John Richards in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 12-08-2003, 03:53 PM
  5. Missing nls directory !
    By TheCyberDude in forum General Support
    Replies: 0
    Last Post: 06-26-2003, 01:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Intel Core i7-4790K SR219 4.00GHZ 4Th Gen Used Desktop Processor CPU FCLGA1150 picture

Intel Core i7-4790K SR219 4.00GHZ 4Th Gen Used Desktop Processor CPU FCLGA1150

$64.99



Intel Core i5-9500T 2.20Ghz SRF4D 6-Core LGA1151 Socket CPU Processor picture

Intel Core i5-9500T 2.20Ghz SRF4D 6-Core LGA1151 Socket CPU Processor

$49.99



Intel Core i5-8500 Six Core Desktop PC CPU Processor 3.00GHz LGA1151 SR3XE picture

Intel Core i5-8500 Six Core Desktop PC CPU Processor 3.00GHz LGA1151 SR3XE

$43.99



Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc... picture

Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...

$619.99



Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc... picture

Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc...

$444.99



Intel - Core i5-14600K 14th Gen 14-Core 20-Thread - 4.0GHz (5.3GHz Turbo) Soc... picture

Intel - Core i5-14600K 14th Gen 14-Core 20-Thread - 4.0GHz (5.3GHz Turbo) Soc...

$339.99



Intel Core i7 CPU Processors, I7 2600, i7 3770, i7 4770,  i7 4790 picture

Intel Core i7 CPU Processors, I7 2600, i7 3770, i7 4770, i7 4790

$28.99



Intel Core i3-6100 3.70 GHz LGA 1151 Desktop CPU Processor SR2HG picture

Intel Core i3-6100 3.70 GHz LGA 1151 Desktop CPU Processor SR2HG

$9.99



13th Gen Intel 14-Core i5-13500T Turbo Boost up to 4.6 GHz Processor  8K Support picture

13th Gen Intel 14-Core i5-13500T Turbo Boost up to 4.6 GHz Processor 8K Support

$169.00



Intel Core i5-8500 @ 3.00GHz - SR3XE CPU - Processor #95 picture

Intel Core i5-8500 @ 3.00GHz - SR3XE CPU - Processor #95

$42.99