[jcifs] Group name queries.
Christopher R. Hertel
crh at ubiqx.mn.org
Wed Jan 21 02:59:59 GMT 2004
I think we've had this discussion before, but I'm going to whine about it
again... (Just like me, isn't it. Geez. ;)
I'm trying to whip up a quick little name query utility and I'm not getting
the results I expect.
If I send a query for a unique name I should get back one answer (in the
form of an NbtAddress object, yes/no?). If I query for a group name, I
expect several responses, so the method I use should return an array (which,
in the case of a unique name would have one entry).
I'm currently using getAllByAddress(), but this always reacts to the first
name query response it receives by sending a node status query. I don't
want to know the other names that one node has registered, I want to know
the IPs of all of the nodes that have registered a given name.
I'm either missing something or the code I actually want is not exposed. I
just want to send a query and get the list of associated IPs back.
Let me know if I'm just missing something.
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)----- crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/ -)----- crh at ubiqx.org
More information about the jcifs