RE: Lower case host names - Little Help?

"Boward, George F." <[email protected]> Thu, 10 Jun 2004 11:31:57 -0400
Newsgroups gmane.network.bb4.devel
Message-ID <[email protected]>
Sorry, let's try it without the pki signitures:

I opted to fix the clients rather than alter the server.  I figured that
the server's case-sensitive nature made more sense.

I found that if you go into the windows registry and fix the case of the
machine name, windows doesn't seem to object and the change takes effect
immediatly.  In regedit go to
hkey_local_machine\system\currentcontrolset\services\tcpip\parameters.
Where you see the name in upper case, change it to lower case.  This has
worked for me with windows nt and 2000.  You mileage may vary.  

Hope this helps,
Ted.

-----Original Message-----
From: [email protected]
[mailto:[email protected]]
Sent: Thursday, June 10, 2004 9:42 AM
To: [email protected]
Subject: RE: {bbd} Lower case host names - Little Help?


I'm just wanting to know where about I would insert the code.  Which
file in the server handles receiving the messages from clients?

Stewart

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of
Huddleston, John
Sent: Thursday, June 10, 2004 9:27 AM
To: [email protected]
Subject: RE: {bbd} Lower case host names - Little Help?

Here is some C code that you could use...

#include        <stdio.h>
#define         TRUE    1
#define         FALSE   0

int     ch;

int upper(), lowercase();

main()
{
        int iret;
        while( (ch = getc(stdin)) != EOF && ch != NULL )
        {
                if( (iret = lower()) )  lowercase();
                putc(ch,stdout);
        }
}
int lower()
{
        return( ( 65 <= ch && ch <= 90 ) ? TRUE:FALSE ); }

int lowercase()
{
        ch += 32;
}

John Huddleston P.E., PhD
Application Engineer
USDA NRCS ITC
2150A Centre Ave, T231
Fort Collins, CO   80526
970-295-5485
  

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of
[email protected]
Sent: Thursday, June 10, 2004 6:46 AM
To: [email protected]
Subject: RE: {bbd} Lower case host names - Little Help?

Does nobody have a clue as to how to do this? 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Larsen,
Stewart
Sent: Tuesday, June 08, 2004 12:38 PM
To: [email protected]
Subject: RE: {bbd} Lower case host names

I was looking for a server-based solution. I am familiar with aliases on
the clients.  Surely there is a way that I can have the server convert
the strings to lower case.  If someone could point me at the right file
to look at, I have a good deal of programming and scripting experience.

Stewart 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Richard
Warkent
Sent: Tuesday, June 08, 2004 12:12 PM
To: [email protected]
Subject: Re: {bbd} Lower case host names

At 07:19 AM 6/8/2004, you wrote:
><snipped>

>Is there an easy way that I can set up bbnet so that when it receives a

>report from a host, it makes the name lower case before it logs the 
>data and displays the results?
>
>Stewart


1) Make sure the host names in bb-hosts is lower case    (so network
tests
are reported to lower case name)
2a) in *nix systems for each client, use the bb syntax "alias" (or
aliasname, close  any way) to  have that client report in the way you
want.
2b) for windows clients, you are allowed to configure the hostname the
results are reported as.

You should be able to find the  exact format by searching the bb
documents for alias.


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list send e-mail to mailto:[email protected]
with unsubscribe bbd in the BODY of the message.


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list send e-mail to mailto:[email protected]
with unsubscribe bbd in the BODY of the message.


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list send e-mail to mailto:[email protected]
with unsubscribe bbd in the BODY of the message.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list send e-mail to mailto:[email protected]
with unsubscribe bbd in the BODY of the message.


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list send e-mail to mailto:[email protected]
with unsubscribe bbd in the BODY of the message.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list send e-mail to mailto:[email protected]
with unsubscribe bbd in the BODY of the message.