Best rpcclient code?

John M Trostel jtrostel at mindspring.com
Sat Jul 28 02:27:47 GMT 2001


thanks tim! Just needed a pointer in the right direction. I think this 
will foot the bill.

Tim Potter wrote:

> To: Gerald Carter <gcarter at valinux.com>
> Subject: Re: Best rpcclient code?
> From: Tim Potter <tpot at valinux.com>
> Date: Sat, 28 Jul 2001 08:56:19 +1000 (EST)
> 
> Gerald Carter writes:
> 
>> On Fri, 27 Jul 2001, John Trostel wrote:
>> 
>> > Any timeline on the enum_users and enum_groups?
>> >
>> > That was the part I needed to go to TNG for
>> 
>> We should have this in 2.2 now I would think (although I
>> should check) because it is needed for winbind, right Tim? :)
>> It just make not be coded into rpcclient yet.
> 
> fruitflan:~$ bin/rpcclient NPSD-PDC2 -U%
> 
> rpcclient $> enumdomgroups
> group:[Domain Admins] rid:[0x200]
> group:[Domain Guests] rid:[0x202]
> group:[Domain Users] rid:[0x201]
> group:[group1] rid:[0x408]
> group:[group2] rid:[0x409]
> group:[group3] rid:[0x40a]
> group:[Printer Admins] rid:[0x3f8]
> 
> rpcclient $> querydispinfo
> RID: 0x1f4 Account: Administrator       Name:   Desc: Built-in account 
> for administering the computer/domain
> RID: 0x1f5 Account: Guest       Name:   Desc: Built-in account for 
> guest access to the computer/domain
> RID: 0x3ea Account: test        Name:   Desc:
> RID: 0x403 Account: tpotter     Name:   Desc:
> RID: 0x3f3 Account: user0       Name:   Desc:
> RID: 0x3f4 Account: user1       Name:   Desc:
> RID: 0x3f5 Account: user2       Name:   Desc:
> RID: 0x3f6 Account: user3       Name:   Desc:
> RID: 0x3f7 Account: user4       Name:   Desc:
> RID: 0x82f Account: whoops-ptang        Name:   Desc:
> 
> 
> Tim.
--
John M Trostel	jtrostel at connex.com
Linux OS Engineer
Connex




More information about the samba-technical mailing list