I followed samba setup per thread Samba and Suse: HowTo Set up an openSUSE-Windows Home Office LAN/Network. Versions 11.x and then upgraded my samba from the special repository per advice at Samba broken after latest security update 11.2 - openSUSE Forums
I can now see all my boxes on the network from either an XP or linux box and I can access my linux shares from any XP box but I can’t access any XP share from my linux box (openSUSE 11.2). I get an error that reads “The file or folder smb://SharedDocs does not exist”
I can see the SharedDocs folder under the XP box in samba shares though. And it really does exist on the XP box.
I’d sure appreciate some help on this.
On Fri June 18 2010 08:26 pm, mikeinsantarosa wrote:
>
> I followed samba setup per thread ‘Samba and Suse: HowTo Set up an
> openSUSE-Windows Home Office LAN/Network. Versions 11.x’
> (http://opensuse.swerdna.org/suselanprimer.html#lmb) and then upgraded
> my samba from the special repository per advice at ‘Samba broken after
> latest security update 11.2 - openSUSE Forums’
> (http://tinyurl.com/22ssw9f)
>
> I can now see all my boxes on the network from either an XP or linux
> box and I can access my linux shares from any XP box but I can’t access
> any XP share from my linux box (openSUSE 11.2). I get an error that
> reads “The file or folder smb://SharedDocs does not exist”
>
> I can see the SharedDocs folder under the XP box in samba shares
> though. And it really does exist on the XP box.
>
> I’d sure appreciate some help on this.
>
>
mikeinsantarosa;
Try:
smb://<Netbiosname-or-IP-of-XP>/SharedDocs
If Samba3 is properly configured it should resolve using the Netbios name, but
if it does not try using the IP.
P. V.
“We’re all in this together, I’m pulling for you.” Red Green
On Fri June 18 2010 10:35 pm, PV wrote:
> On Fri June 18 2010 08:26 pm, mikeinsantarosa wrote:
>
<snip>
>>
>>
> mikeinsantarosa;
> Try:
>
> smb://<Netbiosname-or-IP-of-XP>/SharedDocs
>
>
> If Samba3 is properly configured it should resolve using the Netbios name,
but
> if it does not try using the IP.
Addenda:
I assumed “SharedDocs” is the share name of a folder on XP.
P. V.
“We’re all in this together, I’m pulling for you.” Red Green
Well, SharedDocs is the “Share” name The physical folder name is close to that.
I have a “shortcut” on my desktop with this as the URL “smb:⁄⁄mshome”
All the XP boxes are off right now and I can try the suhhestioooon tomorrow morning.
II followed a bunch of threads regarding samba on this site and others and one of them ( Samba SMB file sharing in openSUSE 11.2 - openSUSE Forums ) indicated winbind needed to be enabled. And it is.
This same thread said to use SWAT and I have that connected as well per the directions. SWAT doesn’t seem to be able to set all the key=value pairs necessary that appear to be required in the sverdna tutorial.
Is winbind supposed to be enabled? It wasn’t when I started trying to get samba configured…
Another thread said there had been a problem with samba 3.4.3 and I needed to install 3.5.3 from a special repo (this thread - Fixing “Authorization Dialog” bug in Samba for 11.2 - openSUSE Forums
What version of samba should I be using?
Maybe it’s the 3.5.3 I have installed that’s the problem?
I have 3.4.3
You don’t need to enable winbind.
This same thread said to use SWAT and I have that connected as well per the directions. SWAT doesn’t seem to be able to set all the key=value pairs necessary that appear to be required in the sverdna tutorial.
I suggest you run this command:
cat /etc/samba/smb.conf
and post the results here because the use of SWAT might have changed things for the worse. We can tell you what to fix after we see it.
Is winbind supposed to be enabled? It wasn’t when I started trying to get samba configured…
no
Another thread said there had been a problem with samba 3.4.3 and I needed to install 3.5.3 from a special repo (this thread - Fixing “Authorization Dialog” bug in Samba for 11.2 - openSUSE Forums
Not any more. That thread states that the bug is fixed and changes don’t need to be made IIRC. So run these commands and report the results so we can see whether you have anything to worry about in your versions:
rpm -qa | grep samba
What version of samba should I be using?
Maybe it’s the 3.5.3 I have installed that’s the problem?
I have 3.4.3
WE can tell you after we see the above stuff.
smb.conf:
Samba config file created using SWAT
from UNKNOWN (127.0.0.1)
Date: 2010/06/18 16:15:05
[global]
workgroup = MSHOME
netbios name = OPENSUSEWS01
name resolve order = bcast host lmhosts wins
passdb backend = tdbsam
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
#logon path = \\%L\profiles\.msprofile
#logon home = \\%L\%U\.9xprofile
#logon drive = P:
usershare allow guests = Yes
wins server =
wins support = No
local master = yes
preferred master = no
os level = 33
[homes]
comment = Home Directories
valid users = %S, %D%w%S
read only = No
inherit acls = Yes
browseable = No
[profiles]
comment = Network Profiles Service
path = %H
read only = No
create mask = 0600
directory mask = 0700
store dos attributes = Yes
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin, root
force group = ntadmin
create mask = 0664
directory mask = 0775
#eof - mike
**winbind has been stopped
output of rpm:
amba-3.5.3-3.1.i586
samba-client-3.5.3-3.1.i586
samba-winbind-3.5.3-3.1.i586
yast2-samba-server-2.18.2-2.1.noarch
yast2-samba-client-2.18.3-2.2.noarch
samba-doc-3.5.3-3.1.noarch
I suggest you take out the line “wins support =” and that you change “preferred master” to yes (assuming you have only the one Linux box on the LAN). Reboot everyone twice to force them to talk and wait ten min for the elections to be over, then browse.
I can’t respond any more until next week, on a course, good luck.
PS edit the file direct one of these:
- kdesu kwrite /etc/samba/smb.conf (for KDE users)
or
- gnomesu gedit /etc/samba/smb.conf (for gnome users)
Out of town right now but will be back at it later this evening.
I have 2 linux boxes on LAN. 1 openSUSE 11.2 and one mepis 8.5 I believe.
I neglected to post this for [rpm -qa | grep samba]:
samba-3.5.3-3.1.i586
samba-client-3.5.3-3.1.i586
samba-winbind-3.5.3-3.1.i586
yast2-samba-server-2.18.2-2.1.noarch
yast2-samba-client-2.18.3-2.2.noarch
samba-doc-3.5.3-3.1.noarch
In swerdna’s link Samba and Suse: HowTo Set up an openSUSE-Windows Home Office LAN/Network. Versions 11.x there’s a line:
Permission to Access Suse/openSUSE Default Shares: All of the shares discussed here require that the file server where they reside has users added to the Samba user database. You can only add users into the Samba user database if they already exist as Linux users on the server.
I tried adding users but the request/command failed from su smbpasswd -a [username].
What “server” are we talking about here? I’m on a home office network with a couple of 11.2 boxes and some XP boxes with a wireless router to a DSL modem. I have no servers.
mikeinsantarosa it looks like you are still having problems. I am the one that wrote the thread below:
Samba SMB file sharing in openSUSE 11.2 - openSUSE Forums
Now in one of your posts it looks like you changed the “local Master = yes” which was one suggestion. Further, I do add the same Linux users in openSUSE to each Windows machine I want to share, but I make no changes to Samba users per say. If I had six different Linux users wanting to use a single Windows XP machine, I would add everyone of them using the same username and password on Linux to my copy of Windows XP.
Finally, no matter what you might hear about the Samba version, I had all sorts odd issues with the various updated Samba’s. Until such time as you load openSUSE 11.3, I suggest you stay with and downgrade to Samba “3.4.2-1.1.3.1-2229-SUSE-SL11.2”. In Software Manager I have loaded 16 Samba files that use 3.4.2 from openSUSE-11.2-Oss (64 and 32 bit files on a 64 bit machine). Time and time again I have tried the updated Samba files and the result was that Samba would not work for me. If you need more details on the exact files to downgrade, please let me know. After the downgrade, I went back and set each file to protected (shows a lock on each file) to prevent updates to these files. To find all of the Samba files in Yast / Software Management do a search on samba and check Names, Keywords, Summary & Description. On my computer this finds 24 files and only 16 of them use the 3.4.2 version from openSUSE 11.2-Oss repository.
I am happy to report that the shipping and newer version of Samba for openSUSE 11.3 did work just fine with my openSUSE 11.2 3.4.2 version, so we are good to go for the newest version of openSUSE.
Thank You,
Check the source again, it’s “sudo smbpasswd -a billybob”, not “su smbp… etc”.
What “server” are we talking about here? I’m on a home office network with a couple of 11.2 boxes and some XP boxes with a wireless router to a DSL modem. I have no servers.
We’re not talking Microsoft jargon here, like windows server 2008, we’re talking normal computer speak. So a “server” is any computer that shares a resource to other computers; e.g if Tania has some pics on an xp box and she shares them on a network, then Tania’s computer is a “server”.
Samba works just fine now. I have 2 XP Desktops, 1 XP Laptop and 2 openSuse 11.2 desktops. I did a fresh installed and ran updates and rebooted. Then I set up samba per Swerdnas LAN primer and it just works. And there’s really not much to it.
Being new to this OS I think I got a little pkg download crazy and unintentionally got things out of sync.
Thanks to all!
Mike
Good to hear – another success story, well done