Viewing shares by IP address
Christopher R. Hertel
crh at ubiqx.mn.org
Fri Oct 18 22:14:01 GMT 2002
I get the same thing when using Konqueror, which uses libsmbclient for SMB
URL interpretation. It looks to be a bug in the URL parsing.
I don't have time to look at it now, but I'll see what can be done.
Chris -)-----
On Sat, Oct 19, 2002 at 12:59:43AM +0400, BoresExpress wrote:
> To view share list for some workstation I use the following code:
>
> int hDir=smbc_opendir("smb://WORK-PC/")
>
>
>
> smbc_dirent *pDirEnt=NULL;
>
> while ((pDirEnt=smbc_readdir(hDir)) != NULL)
>
> {
>
> //.
>
> }
>
>
>
> But when I try the same code with following samba-URL "smb://192.168.1.2/" I
> became an error "No such file or directory". What should I do to view shares
> of a remote workstation when I know only IP address?
>
--
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 samba-technical
mailing list