|
|
FAQ
Search
Memberlist
Usergroups
Register
Profile
Private messages
Log in
|
|
| Author |
Message |
Guest
|
Posted: Mon May 15, 2006 3:17 pm Post subject: Change the mode of the domain on Windows server 2003 sp1 |
|
|
I used a script to changed the mode of the domain which is on the
windows server 2003 sp1.
the script is:
const DS_DOMAINMODE_NATIVE = 0
set objdefaultNamingContextContainer =
GetObject("LDAP://dc=miti,dc=com")
objdefaultNamingContextContainer.Put
"nTMixedDomain",DS_DOMAINMODE_NATIVE
objdefaultNamingContextContainer.SetInfo
The server returns a message : "The server is unwilling to process the
request!"
(The script is founded on the book "Active Directory
Cookbook,O'Reilly")
Please do me a favour to tell me what's wrong with the script !
thank you very much!!! |
|
| Back to top |
|
 |
|
|
Laura E. Hunter [MVP] Guest
|
Posted: Mon May 15, 2006 6:17 pm Post subject: Re: Change the mode of the domain on Windows server 2003 sp1 |
|
|
What domain functional level is your domain currently at? Verify that it's
not already sitting at native mode, which would produce the error you're
reporting.
HTH
--
--
Laura E. Hunter: MVP Windows Server - Networking
All replies to newsgroup, please
Post provided as-is, no warranties expressed or implied
<chufall@gmail.com> wrote in message
news:1147691853.542174.227770@g10g2000cwb.googlegroups.com...
| Quote: | I used a script to changed the mode of the domain which is on the
windows server 2003 sp1.
the script is:
const DS_DOMAINMODE_NATIVE = 0
set objdefaultNamingContextContainer =
GetObject("LDAP://dc=miti,dc=com")
objdefaultNamingContextContainer.Put
"nTMixedDomain",DS_DOMAINMODE_NATIVE
objdefaultNamingContextContainer.SetInfo
The server returns a message : "The server is unwilling to process the
request!"
(The script is founded on the book "Active Directory
Cookbook,O'Reilly")
Please do me a favour to tell me what's wrong with the script !
thank you very much!!!
|
|
|
| Back to top |
|
 |
Laura E. Hunter [MVP] Guest
|
Posted: Mon May 15, 2006 6:19 pm Post subject: Re: Change the mode of the domain on Windows server 2003 sp1 |
|
|
You might also want to try the following code from the book's website:
http://rallenhome.com/books/adcookbook/src/02.09-change_domain_mode.vbs.txt
HTH
--
--
Laura E. Hunter: MVP Windows Server - Networking
All replies to newsgroup, please
Post provided as-is, no warranties expressed or implied
<chufall@gmail.com> wrote in message
news:1147691853.542174.227770@g10g2000cwb.googlegroups.com...
| Quote: | I used a script to changed the mode of the domain which is on the
windows server 2003 sp1.
the script is:
const DS_DOMAINMODE_NATIVE = 0
set objdefaultNamingContextContainer =
GetObject("LDAP://dc=miti,dc=com")
objdefaultNamingContextContainer.Put
"nTMixedDomain",DS_DOMAINMODE_NATIVE
objdefaultNamingContextContainer.SetInfo
The server returns a message : "The server is unwilling to process the
request!"
(The script is founded on the book "Active Directory
Cookbook,O'Reilly")
Please do me a favour to tell me what's wrong with the script !
thank you very much!!!
|
|
|
| Back to top |
|
 |
Joe Richards [MVP] Guest
|
Posted: Mon May 15, 2006 8:54 pm Post subject: Re: Change the mode of the domain on Windows server 2003 sp1 |
|
|
Try to use admod to make the modification, make sure you use -exterr switch as
it will kick out a better error than scripts will. Post the error. At a guess,
you haven't matched the req's for going into native mode or don't have proper
permissions.
The command would be
admod -b dc=miti,dc=com ntmixeddomain::0 -exterr
Get it here
http://www.joeware.net/win/free/tools/admod.htm
--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net
---O'Reilly Active Directory Third Edition now available---
http://www.joeware.net/win/ad3e.htm
chufall@gmail.com wrote:
| Quote: | I used a script to changed the mode of the domain which is on the
windows server 2003 sp1.
the script is:
const DS_DOMAINMODE_NATIVE = 0
set objdefaultNamingContextContainer =
GetObject("LDAP://dc=miti,dc=com")
objdefaultNamingContextContainer.Put
"nTMixedDomain",DS_DOMAINMODE_NATIVE
objdefaultNamingContextContainer.SetInfo
The server returns a message : "The server is unwilling to process the
request!"
(The script is founded on the book "Active Directory
Cookbook,O'Reilly")
Please do me a favour to tell me what's wrong with the script !
thank you very much!!!
|
|
|
| Back to top |
|
 |
Guest
|
Posted: Tue May 16, 2006 6:37 am Post subject: Re: Change the mode of the domain on Windows server 2003 sp1 |
|
|
I cannot access the site :
http://www.joeware.net/win/free/tools/admod.htm !
Can you send this tool to my gmail:chufall@gmail.com ?
Thank you very much! |
|
| Back to top |
|
 |
Guest
|
Posted: Tue May 16, 2006 6:44 am Post subject: Re: Change the mode of the domain on Windows server 2003 sp1 |
|
|
Thank you for your message!
But I cannot access the url you given to me:
http://www.joeware.net/win/free/tools/admod.htm
Can you send the admod tool to my gmail:chufall@gmail.com
Thank you very much
Joe Richards [MVP] wrote:
| Quote: | Try to use admod to make the modification, make sure you use -exterr switch as
it will kick out a better error than scripts will. Post the error. At a guess,
you haven't matched the req's for going into native mode or don't have proper
permissions.
The command would be
admod -b dc=miti,dc=com ntmixeddomain::0 -exterr
Get it here
http://www.joeware.net/win/free/tools/admod.htm
--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net
---O'Reilly Active Directory Third Edition now available---
http://www.joeware.net/win/ad3e.htm
chufall@gmail.com wrote:
I used a script to changed the mode of the domain which is on the
windows server 2003 sp1.
the script is:
const DS_DOMAINMODE_NATIVE = 0
set objdefaultNamingContextContainer =
GetObject("LDAP://dc=miti,dc=com")
objdefaultNamingContextContainer.Put
"nTMixedDomain",DS_DOMAINMODE_NATIVE
objdefaultNamingContextContainer.SetInfo
The server returns a message : "The server is unwilling to process the
request!"
(The script is founded on the book "Active Directory
Cookbook,O'Reilly")
Please do me a favour to tell me what's wrong with the script !
thank you very much!!!
|
|
|
| Back to top |
|
 |
Guest
|
Posted: Tue May 16, 2006 7:07 am Post subject: Re: Change the mode of the domain on Windows server 2003 sp1 |
|
|
I have downloaded this tool through my firends!!!
I run this tools , but it successfully!
Why my script is failed?
Joe Richards [MVP] wrote:
| Quote: | Try to use admod to make the modification, make sure you use -exterr switch as
it will kick out a better error than scripts will. Post the error. At a guess,
you haven't matched the req's for going into native mode or don't have proper
permissions.
The command would be
admod -b dc=miti,dc=com ntmixeddomain::0 -exterr
Get it here
http://www.joeware.net/win/free/tools/admod.htm
--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net
---O'Reilly Active Directory Third Edition now available---
http://www.joeware.net/win/ad3e.htm
chufall@gmail.com wrote:
I used a script to changed the mode of the domain which is on the
windows server 2003 sp1.
the script is:
const DS_DOMAINMODE_NATIVE = 0
set objdefaultNamingContextContainer =
GetObject("LDAP://dc=miti,dc=com")
objdefaultNamingContextContainer.Put
"nTMixedDomain",DS_DOMAINMODE_NATIVE
objdefaultNamingContextContainer.SetInfo
The server returns a message : "The server is unwilling to process the
request!"
(The script is founded on the book "Active Directory
Cookbook,O'Reilly")
Please do me a favour to tell me what's wrong with the script !
thank you very much!!!
|
|
|
| Back to top |
|
 |
|
|
Joe Richards [MVP] Guest
|
Posted: Tue May 16, 2006 8:57 am Post subject: Re: Change the mode of the domain on Windows server 2003 sp1 |
|
|
Not sure, it looks like it should have, but without a network trace, no way to
be sure because you can't get at the good error messages through script.
--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net
---O'Reilly Active Directory Third Edition now available---
http://www.joeware.net/win/ad3e.htm
chufall@gmail.com wrote:
| Quote: | I have downloaded this tool through my firends!!!
I run this tools , but it successfully!
Why my script is failed?
Joe Richards [MVP] wrote:
Try to use admod to make the modification, make sure you use -exterr switch as
it will kick out a better error than scripts will. Post the error. At a guess,
you haven't matched the req's for going into native mode or don't have proper
permissions.
The command would be
admod -b dc=miti,dc=com ntmixeddomain::0 -exterr
Get it here
http://www.joeware.net/win/free/tools/admod.htm
--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net
---O'Reilly Active Directory Third Edition now available---
http://www.joeware.net/win/ad3e.htm
chufall@gmail.com wrote:
I used a script to changed the mode of the domain which is on the
windows server 2003 sp1.
the script is:
const DS_DOMAINMODE_NATIVE = 0
set objdefaultNamingContextContainer =
GetObject("LDAP://dc=miti,dc=com")
objdefaultNamingContextContainer.Put
"nTMixedDomain",DS_DOMAINMODE_NATIVE
objdefaultNamingContextContainer.SetInfo
The server returns a message : "The server is unwilling to process the
request!"
(The script is founded on the book "Active Directory
Cookbook,O'Reilly")
Please do me a favour to tell me what's wrong with the script !
thank you very much!!!
|
|
|
| Back to top |
|
 |
|
|