Support for NetWkstaGetInfo()

Gerald (Jerry) Carter jerry at samba.org
Tue Sep 26 14:46:03 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

bash wrote:
> On Fri, 22 Sep 2006 21:53:48 -0700
> Volker Lendecke <Volker.Lendecke at SerNet.DE> wrote:
> 
>> On Sat, Sep 23, 2006 at 07:48:19AM +0400, bash wrote:
>>> Answer is very simple, I don't know any other methods to obtain
>>> work-group via 445 port.
>> Have you tried 'rpcclient <server> -c lsaquery' ?
>>
>> Volker
>>
> 
> Wow ) It's work )
> 
> So... My patch isn't important now. But if you add call to
> NetWkstaGetInfo () to rpcclient/net it will be great. Now Im need to
> obtain servername (because i have only ip) to execute rpcclient
> <server> -c 'lsaquery' -I <IP>, but with my patch im need only one
> command 'net rap wksinfo -I <IP>'

I agree with Volker, I'd rather see this based on RPC
than RAP.  Being able to deal with servers using the
IP address is a tool issue and can be hidden under the
covers for RPC requests just as easily as the RAP
implementation.







cheers, jerry
=====================================================================
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFGT0rIR7qMdg1EfYRAosvAJ9Wx7NDDJqyfG8qnGXEDyGRUgyNMQCgxagk
MRE6kSCeroEMyqhA0MizWvk=
=5xlk
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list