LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-19-2013, 08:29 AM   #1
winstonian
LQ Newbie
 
Registered: Oct 2012
Posts: 4

Rep: Reputation: Disabled
Webmin can't anonymously browse for WinXP shares


Webmin doesn't seem to be able to browse for cifs shares on a WinXP box in disk and network filesystems using the cifs share mount dialog boxes in disk and network filesystems. The problem seem to be that Webmin uses anonymous browsing to discover the shares but XP won't return any results unless one uses a valid uname/passwd combo for an account on the XP box. The same result can be observed using command line smbclient.
There is no problem for Linux boxes or for Win7 boxes, they return a share list fine. It's not a problem either accessing the cifs share and mounting it in disk and network filesytems, I can enter the share name manually and mount the cifs share properly, only it can't browse for the share names. Webmin browses for shares with smb_share.cgi. The relevant line of code is;

&execute_command("$config{'smbclient_path'} -d 0 -L $in{'server'} -N", undef, \$out, \$out);

It's the -N switch that sets no password needed i.e. anonymous browse. I made sure there is a guest account enabled on the XP box with no password and added it to the shares permissions as read-only. This did not work.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Browse Windoze shares ceh383 Slackware 15 03-10-2012 10:35 AM
howto anonymously browse samba workgroup in konqueror? Ygrex Linux - Networking 3 04-02-2010 06:22 AM
Can't View List of Shares in Nautilus, but can browse shares directly anon111 Linux - Networking 3 12-11-2008 04:13 PM
LXer: How to Properly Setup Samba, Create Public Shares and Anonymously Browse Window LXer Syndicated Linux News 1 09-22-2008 01:58 AM
One WinXP PC can't browse Linux Shares. thekillerbean Linux - Networking 2 04-14-2006 04:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration