Speaking of Suppressing Domain Logins...

Armand Welsh armand at welshhome.org
Wed Dec 27 17:46:50 GMT 2000


*This message was transferred with a trial version of CommuniGate(tm) Pro*
yeah, he explicitly asked not to have to select the option from a list.

I have only ever done it this way though.  If I needed something better, I
would install NT, and then the users could log into the domain, even when
the domain controllers aren't available.  Or they could just log into the
local workstation...
----- Original Message -----
From: "Nelson Garcia" <garcian002 at hawaii.rr.com>
To: <samba-ntdom at samba.org>
Sent: Tuesday, December 26, 2000 3:32 PM
Subject: RE: Speaking of Suppressing Domain Logins...


> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> I don't know if this is what you are looking for, but this is how they
> handle this where I work.
> Since our mobile users know when they will be connecting to the network,
we
> use boot options in windows and give them several options:
> 1. Standalone
> 2. Standalone w/ attached Zip drive
> 3. Docked
> 4. Docked w/ attached Zip drive
>
> If we pick the wrong option, we get the Domain Controller not found after
> the time-out. So after being inconvenienced a few times, we learn to look
> for the right option.
>
> I have done this manually before by editing the config.sys file in windows
> 9x machines, but not in NT.  I think POLEDIT.EXE will let you do it all
> graphically.  This link may be a start:
> http://www.microsoft.com/technet/winnt/profiles.asp
>
> Hope it helps.
> Nelson
>
> -----Original Message-----
> From: samba-ntdom-admin at lists.samba.org
> [mailto:samba-ntdom-admin at lists.samba.org]On Behalf Of Armand Welsh
> Sent: Tuesday, December 26, 2000 12:23 PM
> To: JBCurry; samba-ntdom at samba.org
> Subject: Re: Speaking of Suppressing Domain Logins...
>
>
> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> by the time the system will allow you to run a .reg file w/o call regedit
> from the command line, it's too late.  The decision about whether a domain
> exists or not, has already happened.  About the only way I can think of
> supporting this function, is to use perl and ping the pdc and grep the
> output for "Reply from", if it exists.
>
> ping -t 4 192.168.1.1 | find /C "Reply from" > c:\pingres.txt
>
> the pingres.txt file will contain the number of succesfull pings.  The -t
4,
> specifies to ping 4 times. Using a perl script, you can devide the value
> stored in c:\pingres.txt by the number of pings (4), to get a host
> availability ratio.  (multiply it by 100 for a percentage.)  then if the
> percentage, or ratio is above a certain number, then execute regedit with
> the appropriate file to be imported.  (from DOS only mode, i.e., windows
has
> not started yet, just type "regedit /?" for for a list of the command line
> options.)  then in the autoexec.bat file do the following:
>
> :autoexec.bat
> net start
> ping -t 4 mypdc | find /c "Reply from" > c:\pingres.txt
> perl c:\myscript\testpdc.pl
> net stop
>
> ----- Original Message -----
> From: "JBCurry" <jbcurry at hline.localhealth.net>
> To: <samba-ntdom at samba.org>
> Sent: Friday, December 22, 2000 11:02 AM
> Subject: RE: Speaking of Suppressing Domain Logins...
>
>
> > *This message was transferred with a trial version of CommuniGate(tm)
Pro*
> > O.K. - I'm a little bit farther along on my quest.  I discovered today
> that
> > the registry can be edited simply by running a <filename>.reg script
> > containing the appropriate syntax for the setting(s) you wish to apply.
> > That solves my problem of how to toggle a registry entry without using
> > REGEDIT.
> >
> > Now I only need to figure out:
> > 1. How can I determine TRUE:FALSE of whether a PCD exists on the network
> > 2. Can I determine this AND run a <filename>.reg before the domain login
> > dialogue pops up?
> >
> > Anybody got any ideas?
> >
> > Again, my overall goal is to suppress the Domain Login Dialogue in the
> event
> > that a PDC does not exist on the network.  This would be a convenience
for
> > our mobile users and during planned and unplanned network downtimes.
> >
> > > -----Original Message-----
> > > From: JBCurry
> > > Sent: Thursday, December 21, 2000 3:03 PM
> > >
> > <SNIP>
> > >
> > > Now back to my original quest, which is to find a way to:
> > > 1. Check for the presence of a PDC on the network
> > > 2. Toggle this value to 00 in the event that a PDC is not found
> > > 3. Toggle this value to 01 if a PDC is found
> > > 4. Do this BEFORE the windows domain login would come up.
> > >
> > > Anybody have any suggestions on an easy way to do this?
> > >
> >
> >
> >
>
>
>
>





More information about the samba-ntdom mailing list