| Author |
Message |
Mervyn.Roman
Guest
|
Posted:
Wed Dec 29, 2004 1:23 am Post subject:
Error running the List Security Permissions for a User Accou |
|
|
Getting the below error when running the above scipt i copied and modifed.
How do i fix the error to run the scriot and how do i run the script to place
the result in a text file. Thanks!
phonebank.vbs(3,1) There is no such object on the server. |
|
| Back to top |
|
 |
Al Dunbar [MS-MVP]
Guest
|
Posted:
Wed Dec 29, 2004 3:24 am Post subject:
Re: Error running the List Security Permissions for a User A |
|
|
"Mervyn.Roman" <Mervyn.Roman@discussions.microsoft.com> wrote in message
news:FDA17698-2638-4E22-9AA1-C5A0E2D16D2B@microsoft.com...
| Quote: | Getting the below error when running the above scipt
|
There is no script above, just the name of a script that you got from
somewhere...
| Quote: | i copied and modifed.
|
.... and now we have even less idea what is in your script...
| Quote: | How do i fix the error to run the scriot
|
....this is a very difficult question to answer without any knowledge
whatsoever of the actual script that is experiencing problems.
| Quote: | and how do i run the script to place
the result in a text file.
|
That depends to a large degree on the nature of the script...
| Quote: | Thanks!
phonebank.vbs(3,1) There is no such object on the server.
|
This tells you that the statement in line three of your (invisible to us)
script makes a reference to a non-existent object. This could be the result
of a typo, or you could be running a script that requires the installation
of a non-default object. Your solution is to either correct the typo or to
install the object.
/Al |
|
| Back to top |
|
 |
Mervyn.Roman
Guest
|
Posted:
Wed Dec 29, 2004 4:11 am Post subject:
Re: Error running the List Security Permissions for a User A |
|
|
Thanks for the reply, i copied the script from the Technet Script Center
(http://www.microsoft.com/technet/scriptcenter/scripts/ad/users/list/uslsvb11.mspx) and made the changes to match the domain.
Const SE_DACL_PROTECTED = &H1000
Set objUser = GetObject _
("LDAP://cn=phonebank02,ou=Users,dc=**,dc=**,dc=com")
"Al Dunbar [MS-MVP]" wrote:
| Quote: |
"Mervyn.Roman" <Mervyn.Roman@discussions.microsoft.com> wrote in message
news:FDA17698-2638-4E22-9AA1-C5A0E2D16D2B@microsoft.com...
Getting the below error when running the above scipt
There is no script above, just the name of a script that you got from
somewhere...
i copied and modifed.
.... and now we have even less idea what is in your script...
How do i fix the error to run the scriot
....this is a very difficult question to answer without any knowledge
whatsoever of the actual script that is experiencing problems.
and how do i run the script to place
the result in a text file.
That depends to a large degree on the nature of the script...
Thanks!
phonebank.vbs(3,1) There is no such object on the server.
This tells you that the statement in line three of your (invisible to us)
script makes a reference to a non-existent object. This could be the result
of a typo, or you could be running a script that requires the installation
of a non-default object. Your solution is to either correct the typo or to
install the object.
/Al
|
|
|
| Back to top |
|
 |
Al Dunbar [MS-MVP]
Guest
|
Posted:
Wed Dec 29, 2004 7:00 am Post subject:
Re: Error running the List Security Permissions for a User A |
|
|
"Mervyn.Roman" <MervynRoman@discussions.microsoft.com> wrote in message
news:9AE7177F-24BF-41DE-9950-76872F6DD2E6@microsoft.com...
| Quote: | Thanks for the reply, i copied the script from the Technet Script Center
(http://www.microsoft.com/technet/scriptcenter/scripts/ad/users/list/uslsvb1 |
1.mspx) and made the changes to match the domain.
| Quote: |
Const SE_DACL_PROTECTED = &H1000
Set objUser = GetObject _
("LDAP://cn=phonebank02,ou=Users,dc=**,dc=**,dc=com")
|
Thanks. I assume that the "**"'s represent components of your company domain
that you would rather not reveal here. Fair enough, but obviously these
things must be set to properly reflect your domain structure.
I assume then that you have a user account with a canonical name of
"phonebank02" located within a root-level OU called "Users". The error
message would tend to suggest otherwise, though. Is it possible that
phonebank02 is the sAMAccount name, and that the canonical name is something
different?
/Al
| Quote: | "Al Dunbar [MS-MVP]" wrote:
"Mervyn.Roman" <Mervyn.Roman@discussions.microsoft.com> wrote in message
news:FDA17698-2638-4E22-9AA1-C5A0E2D16D2B@microsoft.com...
Getting the below error when running the above scipt
There is no script above, just the name of a script that you got from
somewhere...
i copied and modifed.
.... and now we have even less idea what is in your script...
How do i fix the error to run the scriot
....this is a very difficult question to answer without any knowledge
whatsoever of the actual script that is experiencing problems.
and how do i run the script to place
the result in a text file.
That depends to a large degree on the nature of the script...
Thanks!
phonebank.vbs(3,1) There is no such object on the server.
This tells you that the statement in line three of your (invisible to
us)
script makes a reference to a non-existent object. This could be the
result
of a typo, or you could be running a script that requires the
installation
of a non-default object. Your solution is to either correct the typo or
to
install the object.
/Al
|
|
|
| Back to top |
|
 |
|
|
|
|