| Author | Messages | |
AD000001415
Posts:0
 | | 03/28/2006 11:55 AM |
| Hello list,
I am currently having a problem with a Windows 2003 server inside a
Windows 2003 server-based Active Directory domain. The problem is that
when I run the "hostname" command, it is empty:
C:\>hostname
C:\>
I suspect this happened after doing a clone of the VM machine and, by
error, starting it and changing its name in the same network of the
original one (this should have happened in an off-line network).
I have tried to take it out from the domain and register it again in
it, but his will not help. There is no conflict between the DNS and
the local hosts file on the server. The server is registered in both
the direct and inverse DNS lookup zones.
If I look in System > Properties > Computer Name, everything looks
fine: hostname and domain are correctly configured.
Any help will more than welcome.
Thanks in advance and best regards,
Rodrigo.
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ | | | |
| FreddyHARTONO
Posts:19
 | | 03/28/2006 1:45 AM |
| Since you mention it's a vm clone - is the computersid duplicated? Thank you and have a splendid day!
Kind Regards,
Freddy Hartono
Group Support Engineer
InternationalSOS Pte Ltd
mail: freddy.hartono@xxxxxxxxxxxxxxxxxxxx
phone: (+65) 6330-9785
-----Original Message-----
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Rodrigo Blanco
Sent: Tuesday, March 28, 2006 7:54 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: [ActiveDir] Empty hostname for a Win 2003 server belonging to an AD
domain
Hello list,
I am currently having a problem with a Windows 2003 server inside a Windows
2003 server-based Active Directory domain. The problem is that when I run
the "hostname" command, it is empty:
C:\>hostname
C:\>
I suspect this happened after doing a clone of the VM machine and, by error,
starting it and changing its name in the same network of the original one
(this should have happened in an off-line network).
I have tried to take it out from the domain and register it again in it, but
his will not help. There is no conflict between the DNS and the local hosts
file on the server. The server is registered in both the direct and inverse
DNS lookup zones.
If I look in System > Properties > Computer Name, everything looks
fine: hostname and domain are correctly configured.
Any help will more than welcome.
Thanks in advance and best regards,
Rodrigo.
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ | | | |
| listmail
Posts:463
 | | 04/02/2006 9:07 AM |
| I believe that tool is using the gethostname WINSOCK API call, I expect you
are hitting an error and it isn't handling it gracefully.
Is TCP/IP working properly on that machine? Are all of the TCP/IP settings
correct?
If everything looks ok, I would recommend running regmon on a known good
machine and then do the same on the troublesome machine and see what the
differences are in the requests, you might get a hint there.
joe --
O'Reilly Active Directory Third Edition -
http://www.joeware.net/win/ad3e.htm
-----Original Message-----
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Rodrigo Blanco
Sent: Tuesday, March 28, 2006 6:54 AM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: [ActiveDir] Empty hostname for a Win 2003 server belonging to an AD
domain
Hello list,
I am currently having a problem with a Windows 2003 server inside a Windows
2003 server-based Active Directory domain. The problem is that when I run
the "hostname" command, it is empty:
C:\>hostname
C:\>
I suspect this happened after doing a clone of the VM machine and, by error,
starting it and changing its name in the same network of the original one
(this should have happened in an off-line network).
I have tried to take it out from the domain and register it again in it, but
his will not help. There is no conflict between the DNS and the local hosts
file on the server. The server is registered in both the direct and inverse
DNS lookup zones.
If I look in System > Properties > Computer Name, everything looks
fine: hostname and domain are correctly configured.
Any help will more than welcome.
Thanks in advance and best regards,
Rodrigo.
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ | | | |
| AD000001415
Posts:0
 | | 04/02/2006 9:25 AM |
| Freddy,
is there any stadard way (tools included in the W2K3 OS) to verify the
SID of a machine? I am not allowed to install or use any external
software, such as sysinternals, for instance.
Joe,
I believe that the application is using the wINSOCK API too. TCP/IP is
working fine and the setting are just are they should be... :-/ So I
will do a regmon on a good machine and extract the differences with
mine.
Thank you very much,
Best regards,
Rodrigo.
On 02/04/06, joe wrote:
> I believe that tool is using the gethostname WINSOCK API call, I expect you
> are hitting an error and it isn't handling it gracefully.
> > Is TCP/IP working properly on that machine? Are all of the TCP/IP settings
> correct?
> > If everything looks ok, I would recommend running regmon on a known good
> machine and then do the same on the troublesome machine and see what the
> differences are in the requests, you might get a hint there.
> > joe
> > > --
> O'Reilly Active Directory Third Edition -
> http://www.joeware.net/win/ad3e.htm
> > > -----Original Message-----
> From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
> [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Rodrigo Blanco
> Sent: Tuesday, March 28, 2006 6:54 AM
> To: ActiveDir@xxxxxxxxxxxxxxxxxx
> Subject: [ActiveDir] Empty hostname for a Win 2003 server belonging to an AD
> domain
> > Hello list,
> > I am currently having a problem with a Windows 2003 server inside a Windows
> 2003 server-based Active Directory domain. The problem is that when I run
> the "hostname" command, it is empty:
> > C:\>hostname
> > C:\> > > I suspect this happened after doing a clone of the VM machine and, by error,
> starting it and changing its name in the same network of the original one
> (this should have happened in an off-line network).
> > I have tried to take it out from the domain and register it again in it, but
> his will not help. There is no conflict between the DNS and the local hosts
> file on the server. The server is registered in both the direct and inverse
> DNS lookup zones.
> > If I look in System > Properties > Computer Name, everything looks
> fine: hostname and domain are correctly configured.
> > Any help will more than welcome.
> > Thanks in advance and best regards,
> Rodrigo.
> List info : http://www.activedir.org/List.aspx
> List FAQ : http://www.activedir.org/ListFAQ.aspx
> List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
> > List info : http://www.activedir.org/List.aspx
> List FAQ : http://www.activedir.org/ListFAQ.aspx
> List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
> List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ | | | |
| godasa@xxxx.yyy
 | | 04/04/2006 2:55 AM |
| | Message body was not found. | | | |
| FreddyHARTONO
Posts:19
 | | 04/04/2006 3:35 AM |
| if getsid doesnt work (if i remember correctly this is only
for user accounts not comp) - try psgetsid or
newsid.exe
Thank you and have a splendid
day!
Kind Regards,
Freddy Hartono
Group Support
Engineer
InternationalSOS Pte Ltd
mail:
freddy.hartono@xxxxxxxxxxxxxxxxxxxx
phone: (+65)
6330-9785
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of matheesha
weerasingheSent: Tuesday, April 04, 2006 10:40 PMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: Re: [ActiveDir] Empty hostname
for a Win 2003 server belonging to an AD domain
Use getsid.exe of the support tools.
How come you are using regmon. I thought sysinternals was a no no
:0)M@
On 02/04/06, Rodrigo
Blanco rodrigo.blanco.r@xxxxxxxxx> wrote:
Freddy,is
there any stadard way (tools included in the W2K3 OS) to verify theSID of
a machine? I am not allowed to install or use any external software, such
as sysinternals, for instance.Joe,I believe that the
application is using the wINSOCK API too. TCP/IP isworking fine and the
setting are just are they should be... :-/ So Iwill do a regmon on a good
machine and extract the differences with mine.Thank you very
much,Best regards,Rodrigo.On 02/04/06, joe listmail@xxxxxxxxxxx> wrote:> I believe that tool is using the gethostname WINSOCK API call, I expect you
> are hitting an error and it isn't handling it
gracefully.>> Is TCP/IP working properly on that machine? Are
all of the TCP/IP settings> correct?>> If everything
looks ok, I would recommend running regmon on a known good > machine
and then do the same on the troublesome machine and see what the> differences are in the requests, you might get a hint
there.>> joe>>> --> O'Reilly Active Directory Third Edition - > http://www.joeware.net/win/ad3e.htm>>> -----Original Message-----> From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
> [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]
On Behalf Of Rodrigo Blanco> Sent: Tuesday, March 28, 2006 6:54
AM> To: ActiveDir@xxxxxxxxxxxxxxxxxx> Subject: [ActiveDir] Empty hostname for a Win 2003 server belonging to an
AD> domain>> Hello list,>> I am currently
having a problem with a Windows 2003 server inside a Windows > 2003
server-based Active Directory domain. The problem is that when I run> the "hostname" command, it is empty:>> C:\>hostname>> C:\>>> I suspect this
happened after doing a clone of the VM machine and, by error, > starting it and changing its name in the same network of the original
one> (this should have happened in an off-line
network).>> I have tried to take it out from the domain and
register it again in it, but > his will not help. There is no conflict
between the DNS and the local hosts> file on the server. The server is
registered in both the direct and inverse> DNS lookup
zones.>> If I look in System > Properties > Computer Name,
everything looks > fine: hostname and domain are correctly
configured.>> Any help will more than welcome.>> Thanks in advance and best regards,> Rodrigo.> List
info : http://www.activedir.org/List.aspx> List FAQ : http://www.activedir.org/ListFAQ.aspx> List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/>> List info : http://www.activedir.org/List.aspx> List FAQ : http://www.activedir.org/ListFAQ.aspx> List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/>List
info : http://www.activedir.org/List.aspxList
FAQ : http://www.activedir.org/ListFAQ.aspxList
archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ | | | |
| godasa@xxxx.yyy
 | | 04/04/2006 4:30 AM |
| if getsid doesnt work (if i remember correctly this is only for user accounts not comp) - try psgetsid or newsid.exe
Thank you and have a splendid day!
Kind Regards,
Freddy Hartono
Group Support Engineer
InternationalSOS Pte Ltd
mail:
freddy.hartono@xxxxxxxxxxxxxxxxxxxx
phone: (+65) 6330-9785
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of matheesha weerasingheSent: Tuesday, April 04, 2006 10:40 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: Re: [ActiveDir] Empty hostname for a Win 2003 server belonging to an AD domain Use getsid.exe of the support tools.
How come you are using regmon. I thought sysinternals was a no no :0)M@
On 02/04/06, Rodrigo Blanco wrote:
Freddy,is there any stadard way (tools included in the W2K3 OS) to verify theSID of a machine? I am not allowed to install or use any external
software, such as sysinternals, for instance.Joe,I believe that the application is using the wINSOCK API too. TCP/IP isworking fine and the setting are just are they should be... :-/ So Iwill do a regmon on a good machine and extract the differences with
mine.Thank you very much,Best regards,Rodrigo.On 02/04/06, joe wrote:> I believe that tool is using the gethostname WINSOCK API call, I expect you > are hitting an error and it isn't handling it gracefully.>> Is TCP/IP working properly on that machine? Are all of the TCP/IP settings
> correct?>> If everything looks ok, I would recommend running regmon on a known good > machine and then do the same on the troublesome machine and see what the> differences are in the requests, you might get a hint there.
>> joe>>> --> O'Reilly Active Directory Third Edition - > http://www.joeware.net/win/ad3e.htm>>> -----Original Message-----> From:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx > [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Rodrigo Blanco
> Sent: Tuesday, March 28, 2006 6:54 AM> To: ActiveDir@xxxxxxxxxxxxxxxxxx> Subject: [ActiveDir] Empty hostname for a Win 2003 server belonging to an AD
> domain>> Hello list,>> I am currently having a problem with a Windows 2003 server inside a Windows > 2003 server-based Active Directory domain. The problem is that when I run
> the "hostname" command, it is empty:>> C:\>hostname>> C:\>>> I suspect this happened after doing a clone of the VM machine and, by error, > starting it and changing its name in the same network of the original one
> (this should have happened in an off-line network).>> I have tried to take it out from the domain and register it again in it, but > his will not help. There is no conflict between the DNS and the local hosts
> file on the server. The server is registered in both the direct and inverse> DNS lookup zones.>> If I look in System > Properties > Computer Name, everything looks > fine: hostname and domain are correctly configured.
>> Any help will more than welcome.>> Thanks in advance and best regards,> Rodrigo.> List info :
http://www.activedir.org/List.aspx> List FAQ : http://www.activedir.org/ListFAQ.aspx
> List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
>> List info : http://www.activedir.org/List.aspx> List FAQ :
http://www.activedir.org/ListFAQ.aspx> List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
>List info : http://www.activedir.org/List.aspxList FAQ :
http://www.activedir.org/ListFAQ.aspxList archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ | | | |
| MThommes
Posts:76
 | | 04/04/2006 5:01 AM |
| How about:
dsquery computer -samid
| dsget computer “sid
Mike Thommes
From:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of matheesha weerasinghe
Sent: Tuesday, April 04, 2006
10:56 AM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: Re: [ActiveDir] Empty
hostname for a Win 2003 server belonging to an AD domain
No it works fine as computer$. He wanted MS tools only remember? ;-)
M@
On 04/04/06, Freddy
HARTONO
wrote:
if getsid doesnt work (if i remember
correctly this is only for user accounts not comp) - try psgetsid or
newsid.exe
Thank
you and have a splendid day!
Kind
Regards,
Freddy
Hartono
Group
Support Engineer
InternationalSOS
Pte Ltd
mail:
freddy.hartono@xxxxxxxxxxxxxxxxxxxx
phone:
(+65) 6330-9785
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On
Behalf Of matheesha weerasinghe
Sent: Tuesday, April 04, 2006
10:40 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: Re:
[ActiveDir] Empty hostname for a Win 2003 server belonging to an AD domain
Use getsid.exe of the support tools.
How come you are using regmon. I thought sysinternals was a no no :0)
M@
On 02/04/06, Rodrigo
Blanco rodrigo.blanco.r@xxxxxxxxx > wrote: Freddy,
is there any stadard way (tools included in the W2K3 OS) to verify the
SID of a machine? I am not allowed to install or use any external
software, such as sysinternals, for instance.
Joe,
I believe that the application is using the wINSOCK API too. TCP/IP is
working fine and the setting are just are they should be... :-/ So I
will do a regmon on a good machine and extract the differences with
mine.
Thank you very much,
Best regards,
Rodrigo.
On 02/04/06, joe wrote:
> I believe that tool is using the gethostname WINSOCK API call, I expect
you
> are hitting an error and it isn't handling it gracefully.
> > Is TCP/IP working properly on that machine? Are all of the TCP/IP settings
> correct?
> > If everything looks ok, I would recommend running regmon on a known good
> machine and then do the same on the troublesome machine and see what the
> differences are in the requests, you might get a hint there.
> > joe
> > > --
> O'Reilly Active Directory Third Edition -
> http://www.joeware.net/win/ad3e.htm
> > > -----Original Message-----
> From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
> [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]
On Behalf Of Rodrigo Blanco
> Sent: Tuesday, March 28, 2006 6:54 AM
> To: ActiveDir@xxxxxxxxxxxxxxxxxx
> Subject: [ActiveDir] Empty hostname for a Win 2003 server belonging to an
AD
> domain
> > Hello list,
> > I am currently having a problem with a Windows 2003 server inside a
Windows
> 2003 server-based Active Directory domain. The problem is that when I run
> the "hostname" command, it is empty:
> > C:\>hostname
> > C:\> > > I suspect this happened after doing a clone of the VM machine and, by
error,
> starting it and changing its name in the same network of the original one
> (this should have happened in an off-line network).
> > I have tried to take it out from the domain and register it again in it,
but
> his will not help. There is no conflict between the DNS and the local
hosts
> file on the server. The server is registered in both the direct and
inverse
> DNS lookup zones.
> > If I look in System > Properties > Computer Name, everything looks
> fine: hostname and domain are correctly configured.
> > Any help will more than welcome.
> > Thanks in advance and best regards,
> Rodrigo.
> List info : http://www.activedir.org/List.aspx
> List FAQ : http://www.activedir.org/ListFAQ.aspx
> List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
> > List info : http://www.activedir.org/List.aspx
> List FAQ : http://www.activedir.org/ListFAQ.aspx
> List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
> List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ | | | |
| lists1
Posts:4
 | | 04/04/2006 7:09 AM |
| How about
dsquery * domainroot -Filter
(&(objectCategory=Computer)(sAMAccountName=)) -attr
objectSID
Gruesse - Sincerely,
Ulf B. Simon-Weidner
MVP-Book "Windows XP - Die Expertentipps":
http://tinyurl.com/44zcz Weblog:
http://msmvps.org/UlfBSimonWeidner Website: http://www.windowsserverfaq.org Profile: http://mvp.support.microsoft.com/profile="">
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Thommes,
Michael M.Sent: Tuesday, April 04, 2006 6:45 PMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: RE: [ActiveDir] Empty hostname
for a Win 2003 server belonging to an AD domain
How
about:
dsquery computer
-samid | dsget computer
“sid
Mike
Thommes
From:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]
On Behalf Of matheesha
weerasingheSent: Tuesday,
April 04, 2006 10:56 AMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: Re: [ActiveDir] Empty hostname
for a Win 2003 server belonging to an AD domain
No it works fine as computer$. He wanted MS tools only
remember? ;-)
M@
On 04/04/06, Freddy HARTONO Freddy.HARTONO@xxxxxxxxxxxxxxxxxxxx> wrote:
if getsid doesnt work
(if i remember correctly this is only for user accounts not comp) - try
psgetsid or newsid.exe
Thank you and have a splendid
day!
Kind Regards,
Freddy Hartono
Group Support
Engineer
InternationalSOS Pte
Ltd
mail: freddy.hartono@xxxxxxxxxxxxxxxxxxxx
phone: (+65)
6330-9785
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On
Behalf Of matheesha weerasingheSent: Tuesday, April 04, 2006 10:40
PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: Re:
[ActiveDir] Empty hostname for a Win 2003 server belonging to an AD
domain
Use getsid.exe of the support
tools.
How come you are using regmon. I thought sysinternals
was a no no :0)M@
On 02/04/06, Rodrigo Blanco rodrigo.blanco.r@xxxxxxxxx > wrote:
Freddy,is there any stadard way (tools
included in the W2K3 OS) to verify theSID of a machine? I am not allowed
to install or use any external software, such as sysinternals, for
instance.Joe,I believe that the application is using the
wINSOCK API too. TCP/IP isworking fine and the setting are just are they
should be... :-/ So Iwill do a regmon on a good machine and extract the
differences with mine.Thank you very much,Best
regards,Rodrigo.On 02/04/06, joe listmail@xxxxxxxxxxx > wrote:> I believe that tool is using the gethostname WINSOCK API call,
I expect you > are hitting an error and it isn't handling it
gracefully.>> Is TCP/IP working properly on that machine? Are
all of the TCP/IP settings > correct?>> If everything
looks ok, I would recommend running regmon on a known good > machine
and then do the same on the troublesome machine and see what the> differences are in the requests, you might get a hint there.
>> joe>>> --> O'Reilly Active Directory Third Edition - > http://www.joeware.net/win/ad3e.htm>>> -----Original Message-----> From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx > [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Rodrigo
Blanco > Sent: Tuesday, March 28, 2006 6:54 AM> To: ActiveDir@xxxxxxxxxxxxxxxxxx> Subject: [ActiveDir]
Empty hostname for a Win 2003 server belonging to an AD > domain>> Hello list,>> I am currently having a
problem with a Windows 2003 server inside a Windows > 2003 server-based
Active Directory domain. The problem is that when I run> the "hostname"
command, it is empty:>> C:\>hostname>> C:\>>> I suspect this happened after doing a clone of the VM
machine and, by error, > starting it and changing its name in the same
network of the original one > (this should have happened in an off-line
network).>> I have tried to take it out from the domain and
register it again in it, but > his will not help. There is no conflict
between the DNS and the local hosts > file on the server. The server is
registered in both the direct and inverse> DNS lookup
zones.>> If I look in System > Properties > Computer Name,
everything looks > fine: hostname and domain are correctly configured.
>> Any help will more than welcome.>> Thanks in
advance and best regards,> Rodrigo.> List info : http://www.activedir.org/List.aspx> List
FAQ : http://www.activedir.org/ListFAQ.aspx > List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
>> List info : http://www.activedir.org/List.aspx> List
FAQ : http://www.activedir.org/ListFAQ.aspx> List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
>List info : http://www.activedir.org/List.aspxList
FAQ : http://www.activedir.org/ListFAQ.aspxList archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ | | | |
| listmail
Posts:463
 | | 04/04/2006 7:55 AM |
| We seem to be drifting considerably here...
We went from how come hostname.exe doesn't work to how to
get the objectsid of a computer object.
I
could be wrong but I don't see the relevance of the SID, the computer's nor the
computer object's, on the ability of hostname.exe to function.
But
good posts nonetheless. :o)
--
O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Ulf B.
Simon-WeidnerSent: Tuesday, April 04, 2006 3:03 PMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: RE: [ActiveDir] Empty hostname
for a Win 2003 server belonging to an AD domain
How about
dsquery * domainroot -Filter
(&(objectCategory=Computer)(sAMAccountName=)) -attr
objectSID
Gruesse - Sincerely,
Ulf B. Simon-Weidner
MVP-Book "Windows XP - Die Expertentipps":
http://tinyurl.com/44zcz Weblog:
http://msmvps.org/UlfBSimonWeidner Website: http://www.windowsserverfaq.org Profile: http://mvp.support.microsoft.com/profile="">
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Thommes,
Michael M.Sent: Tuesday, April 04, 2006 6:45 PMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: RE: [ActiveDir] Empty hostname
for a Win 2003 server belonging to an AD domain
How
about:
dsquery computer
-samid | dsget computer
“sid
Mike
Thommes
From:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]
On Behalf Of matheesha
weerasingheSent: Tuesday,
April 04, 2006 10:56 AMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: Re: [ActiveDir] Empty hostname
for a Win 2003 server belonging to an AD domain
No it works fine as computer$. He wanted MS tools only
remember? ;-)
M@
On 04/04/06, Freddy HARTONO Freddy.HARTONO@xxxxxxxxxxxxxxxxxxxx> wrote:
if getsid doesnt work
(if i remember correctly this is only for user accounts not comp) - try
psgetsid or newsid.exe
Thank you and have a splendid
day!
Kind Regards,
Freddy Hartono
Group Support
Engineer
InternationalSOS Pte
Ltd
mail: freddy.hartono@xxxxxxxxxxxxxxxxxxxx
phone: (+65)
6330-9785
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On
Behalf Of matheesha weerasingheSent: Tuesday, April 04, 2006 10:40
PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: Re:
[ActiveDir] Empty hostname for a Win 2003 server belonging to an AD
domain
Use getsid.exe of the support
tools.
How come you are using regmon. I thought sysinternals
was a no no :0)M@
On 02/04/06, Rodrigo Blanco rodrigo.blanco.r@xxxxxxxxx > wrote:
Freddy,is there any stadard way (tools
included in the W2K3 OS) to verify theSID of a machine? I am not allowed
to install or use any external software, such as sysinternals, for
instance.Joe,I believe that the application is using the
wINSOCK API too. TCP/IP isworking fine and the setting are just are they
should be... :-/ So Iwill do a regmon on a good machine and extract the
differences with mine.Thank you very much,Best
regards,Rodrigo.On 02/04/06, joe listmail@xxxxxxxxxxx > wrote:> I believe that tool is using the gethostname WINSOCK API call,
I expect you > are hitting an error and it isn't handling it
gracefully.>> Is TCP/IP working properly on that machine? Are
all of the TCP/IP settings > correct?>> If everything
looks ok, I would recommend running regmon on a known good > machine
and then do the same on the troublesome machine and see what the> differences are in the requests, you might get a hint there.
>> joe>>> --> O'Reilly Active Directory Third Edition - > http://www.joeware.net/win/ad3e.htm>>> -----Original Message-----> From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx > [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Rodrigo
Blanco > Sent: Tuesday, March 28, 2006 6:54 AM> To: ActiveDir@xxxxxxxxxxxxxxxxxx> Subject: [ActiveDir]
Empty hostname for a Win 2003 server belonging to an AD > domain>> Hello list,>> I am currently having a
problem with a Windows 2003 server inside a Windows > 2003 server-based
Active Directory domain. The problem is that when I run> the "hostname"
command, it is empty:>> C:\>hostname>> C:\>>> I suspect this happened after doing a clone of the VM
machine and, by error, > starting it and changing its name in the same
network of the original one > (this should have happened in an off-line
network).>> I have tried to take it out from the domain and
register it again in it, but > his will not help. There is no conflict
between the DNS and the local hosts > file on the server. The server is
registered in both the direct and inverse> DNS lookup
zones.>> If I look in System > Properties > Computer Name,
everything looks > fine: hostname and domain are correctly configured.
>> Any help will more than welcome.>> Thanks in
advance and best regards,> Rodrigo.> List info : http://www.activedir.org/List.aspx> List
FAQ : http://www.activedir.org/ListFAQ.aspx > List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
>> List info : http://www.activedir.org/List.aspx> List
FAQ : http://www.activedir.org/ListFAQ.aspx> List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
>List info : http://www.activedir.org/List.aspxList
FAQ : http://www.activedir.org/ListFAQ.aspxList archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ | | | |
|
|