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.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.Originally Posted by ktheking
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'; }}
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.
HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5" HARD DRIVE ZERO HOURS
$52.00
Western Digital WD140EDGZ 14 TB, Internal, 5400 RPM, 3.5 inch Hard Drive
$99.00
Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5" (Low Power) Hard Drive -PC, CCTV DVR
$24.99
Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5" Enterprise Hard Drive
$34.34
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$79.99
WD Ultrastar DC HC530 14TB SATA 6G 3.5" 7200RPM Enterprise HDD - WUH721414ALE604
$110.00
CISCO A03-D1TBSATA 1TB 7.2K 6G 2.5INCH SATA HDD
$9.00
Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$93.99
Western Digital DC HC320 Ultrastar 8TB 7200RPM SATA HD, HUS728T8TALE6L4, 0B36404
$99.00
Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5" Hard Drive
$24.11