| Author | Messages | |
rajnet2
Posts:56
 | | 02/12/2010 5:00 PM |
| Hi all,
When I am trying to run command *nltest /user:user01*, it gives me error:
*Cannot open SAM\SAM\Domains\Account\Users\Names\user01 Status = 2 0x2 ERROR_FILE_NOT_FOUND *
But when I run *nltest /user:administrator*, it gives me the all the required info.
Can anyone suggest why this is happening? If it is giving the info for one user than why don't for other users?
Thanks
Rajneesh kumar Ram
| | | |
| RickSheikh
Posts:373
 | | 02/12/2010 5:00 PM |
| Does the user "user01" exist in local SAM ? i.e is that a local account ?
On Thu, Feb 11, 2010 at 10:54 AM, rajneesh kumar <rajnet2@gmail.com> wrote:
> Hi all, > > When I am trying to run command *nltest /user:user01*, it gives me error: > > *Cannot open SAM\SAM\Domains\Account\Users\Names\user01 Status = 2 0x2 > ERROR_FILE_NOT_FOUND * > > But when I run *nltest /user:administrator*, it gives me the all the > required info. > > Can anyone suggest why this is happening? If it is giving the info for one > user than why don't for other users? > > > Thanks > > Rajneesh kumar Ram >
| | | |
| RussellJUdiljak
Posts:4
 | | 02/12/2010 5:02 PM |
| Rajneesh, Try this,
net user [userID] /domain
Whilst it doesn't give ALL info for a user it will provide a subset of user information taken from the current domain.
Regards RussellU
________________________________ From: activedir-owner@mail.activedir.org [mailto:activedir-owner@mail.activedir.org] On Behalf Of rajneesh kumar Sent: Friday, 12 February 2010 1:55 AM To: activedir@mail.activedir.org Subject: Re: [ActiveDir] Not getting user info
If i want to run against AD and want to know any info for any user in AD.
Rajneesh
On Thu, Feb 11, 2010 at 12:45 PM, Rick Sheikh <ricksheikh@gmail.com<mailto:ricksheikh@gmail.com>> wrote: >From the NLTEST help :
/USER:<UserName> Displays many of the attributes for the specified user account that are maintained in the user account database. i.e the local SAM.
On Thu, Feb 11, 2010 at 11:15 AM, rajneesh kumar <rajnet2@gmail.com<mailto:rajnet2@gmail.com>> wrote: No, this user exist in AD. I am running this command on DC itself.
Rajneesh
On Thu, Feb 11, 2010 at 12:01 PM, Rick Sheikh <ricksheikh@gmail.com<mailto:ricksheikh@gmail.com>> wrote: Does the user "user01" exist in local SAM ? i.e is that a local account ?
On Thu, Feb 11, 2010 at 10:54 AM, rajneesh kumar <rajnet2@gmail.com<mailto:rajnet2@gmail.com>> wrote: Hi all,
When I am trying to run command nltest /user:user01, it gives me error:
Cannot open SAM\SAM\Domains\Account\Users\Names\user01 Status = 2 0x2 ERROR_FILE_NOT_FOUND
But when I run nltest /user:administrator, it gives me the all the required info.
Can anyone suggest why this is happening? If it is giving the info for one user than why don't for other users?
Thanks
Rajneesh kumar Ram
| | | |
|
|