Location: List Archives

List Archives

This forum is an archive of all posts to our mailing list over the past few years.  The forum is set read only therefore to contribute you will need to join our list community.  See more info about this here.

 

When subscribed to the list you should use your standard email client to send your posts to ActiveDir@mail.activedir.org.

List Archives

Subject: [ActiveDir] Not getting user info
Prev Next
You are not authorized to post a reply.

AuthorMessages
rajnet2User is Offline

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

RickSheikhUser is Offline

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
>

RussellJUdiljakUser is Offline

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





You are not authorized to post a reply.
Forums >ActiveDir Mail List Archive >List Archives > [ActiveDir] Not getting user info



ActiveForums 3.7
Friends

Friends

VisualClickButoton
Members

Members

MembershipMembership:
Latest New UserLatest:MrPTSai
New TodayNew Today:0
New YesterdayNew Yesterday:0
User CountOverall:5234

People OnlinePeople Online:
VisitorsVisitors:39
MembersMembers:0
TotalTotal:39

Online NowOnline Now:

Ads

Copyright 2009 ActiveDir.org
Terms Of Use