[Samba] Maping beteen UID and RID

Ryser Francois francois.ryser at manteia.com
Fri Dec 6 10:54:00 GMT 2002


I have problem with maping of the user in samba 2.2.7 

 

When I make 

 

rpcclient server_name  -c "querydispinfo"

 

I got this respond :

 

index: 0x3d RID: 0x57a acb: 0x210 Account: batch        Name: batch
Desc:

 

then I try 

 

rpcclient server_name -c "samlookuprids 0x57a"

 

I got this :

 

cmd = samlookuprids 0x57a

result was NT_STATUS_NONE_MAPPED

 

but if I make 

 

rpcclient server_name -c "queryuser 0x57a"

 

i got :

 

cmd = queryuser 0x57a

        User Name   :   batch

        Full Name   :   batch

        Home Drive  :   \\server_name\batch

        Dir Drive   :   u:

        Profile Path:

        Logon Script:   nt.bat

        Description :

        Workstations:

        Unknown Str :

        Remote Dial :

        Logon Time               :      Thu, 01 Jan 1970 01:00:00 GMT

        Logoff Time              :      Thu, 01 Jan 1970 01:00:00 GMT

        Kickoff Time             :      Thu, 01 Jan 1970 01:00:00 GMT

        Password last set Time   :      Thu, 01 Jan 1970 01:00:00 GMT

        Password can change Time :      Thu, 01 Jan 1970 01:00:00 GMT

        Password must change Time:      Fri, 27 Dec 2002 11:52:49 GMT

        unknown_2[0..31]...

        user_rid :  57a

        group_rid:  7d3

        acb_info :  0210

        unknown_3:  00ffffff

        logon_divs: 168

        unknown_5:  00000000

        padding1[0..7]...

        logon_hrs[0..21]...

 

Can some one help me to correct this?

 

 

 

Ryser Francois

Manteia S.A. Predictive Medicine

http://www.manteia.com

tel +41 22 354 58 22

fax +41 22 995 01 50

francois.ryser at manteia.com

Security and System Manager

 

-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba mailing list