Error running the List Security Permissions for a User Accou
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Error running the List Security Permissions for a User Accou

 
Post new topic   Reply to topic    Windows Server Forum Index -> Programming
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 Reply with quote

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 Reply with quote

"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 Reply with quote

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 Reply with quote

"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
 
Post new topic   Reply to topic    Windows Server Forum Index -> Programming All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB