LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-05-2007, 09:07 PM   #1
Ken V
LQ Newbie
 
Registered: Feb 2007
Posts: 13

Rep: Reputation: 0
smb://linux-old1/d does not exist


I have had two window boxes networked together & sharing the Internet via a D-Link router for many years (his & hers). As boxes have died we have upgraded. Most of this time the OS have been 98se, but now we have a newer box with XP. I had been thinking about Linux for quite some time and have installed two hard drives in each computer. The first hard drives has a primary partition with win98 or XP installed. in the extended partition on the old 98 box I have installed SUSE 10.2 . the extended partition on the XP box is empty (future install of SuSe). The 2nd hard drive on both machines are formatted with Fat32 so Linux can read & wright. I have also kept My Documents folder and any files I wanted to keep, saved on the 2nd drive.

I had never really intended to have servers running where I could run a program installed on one box from another. All I have ever needed at home is the ability for both boxes to access the Internet and have access to files on either box whether they were generated by my wife or myself. Network neighbor hood has always worked well for my purposes.

I have been able it install SuSe 10.2, update the files via YaST. From YaST I have ran Samba Server & Windows Domain Membership. I can print form the XP box to the printer plugged into the 98SE/SUSE10.2 box. I can access the Internet from all 3 OS'es.

NOW the Problem:
From KDE window heading “remote:/-Konqueror”
>SMB Shares

I can see both boxes as well as the shares/folders. I can access the XP box, folders and files. However when I attempt to open any shares on the SuSe box via SMB window I get:
The file or folder smb://linux-old1/d does not exist.

From Windows Explorer I can also see both Boxes but when I try to access a Folder on the SuSe box I get a the message :
\\Linux-old1\d is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. The network path was not found.

I can access with no problem from anywhere on SuSe except through SMB. As you can see I am only trying to access the 2nd drive where my old files are.

Quote:
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2007-02-08
[global]
workgroup = Home
printcap name = cups
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:
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain master = No
security = user
restrict anonymous = no
max protocol = NT
acl compatibility = winnt
ldap ssl = No
server signing = Auto
null passwords = yes
domain logons = No

## Share disabled by YaST
# [homes]
# comment = Home Directories
# valid users = %S,%D%w%S
# inherit acls = yes
# case sensitive = no
# strict locking = no
# msdfs proxy = no

## Share disabled by YaST
# [profiles]
# comment = Network Profiles Service
# path = %H
# create mask = 0600
# directory mask = 0700
# case sensitive = no
# strict locking = no
# msdfs proxy = no

## Share disabled by YaST
# [users]
# comment = All users
# path = /home/
# inherit acls = yes
# veto files = /aquota.user/groups/shares/
# case sensitive = no
# strict locking = no
# msdfs proxy = no

## Share disabled by YaST
# [groups]
# comment = All groups
# path = /home/groups
# inherit acls = yes
# case sensitive = no
# strict locking = no
# msdfs proxy = no

[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No

[d]
path = /windows/D
guest ok = yes
read only = no
case sensitive = no
strict locking = no
msdfs proxy = no

[windows]
path = /windows/
case sensitive = no
strict locking = no
msdfs proxy = no

## Share disabled by YaST
# [netlogon]
I need help solving this issue.
Thank you
Ken
 
Old 04-05-2007, 09:28 PM   #2
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
You need to create the user account in your SUSE, just like you have an account in Windows. Run 'smbpasswd <yourusername>'. If you don't have password for your Windows account then run 'smbpasswd -n' or 'smbpasswd -n Administrator'.
 
Old 04-05-2007, 09:30 PM   #3
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
You may be treading in the same circle I tread in. I don't use samba from XP much, but I believe that in order to go through the login process I had to run a command of the form "net use X: \\where\what".

Here's the link I used to help get me going:
http://us4.samba.org/samba/docs/man/....html#id289517

This is helpful, too:

http://www.comms.scitech.susx.ac.uk/...pdc-howto.html

Also, make sure nmbd and smbd are running on your Linux machine.
 
Old 04-07-2007, 12:28 PM   #4
Ken V
LQ Newbie
 
Registered: Feb 2007
Posts: 13

Original Poster
Rep: Reputation: 0
I Figured out how to create the smbpasswd from root. The smb.conf does not appear to have changed.

From the SuSe box via SMB window I get:
The file or folder smb://linux-old1/d does not exist.

This is the change:
Form the XP box > Windows Explorer, when I click/select the Linux box I am challenged for the password. I enter the password information, click ok, and the two folders appear in the left panel under the Linux box. when I click on “d” or “windows” I get the same message as before:

\\Linux-old1\d is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. The network path was not found.

I get the same message if I click on the /windows folder.

Since I don't want to use a password from my home XP box I have to figure out how to put the old information back into the smpasswd file (yes, I forgot to back it up)


I am sure that something simple just needs to be changed.
I can see/open/edit/save files on the XP box from the SMB window as well as any other application on the Linux box.

I can see the “d” & “windows” folders on the Linux box from XP as well as print from the XP box to the printer on the Linux box.

I can not access the “d” or “windows” via SMB on my Linux box. I CAN access these folders/file on any other application on my Linux box just not via the SMB window.

I tried to access these folders from an application on the XP box, I got as far as seeing the folders. when I clicked to open one I got the same message that it does not exist. However, I was not challenged with the password prompt from the application when I clicked the Linux box.


nmbd and smbd are running. I did read some info on the "net use X: \\where\what" you mentioned but really don't get it yet. the first link you listed the instructions says that “winbindd” needs to be running as well as the nmbd & smbd. I could not figure out how to start it. I actually thought that Windows Domain Membership application in YaST was winbindd but apparently it is not.

the links you gave me I have to study more. One test was to ping the computers. I am able to ping XP from the Linux box but not Linux from the XP box

Reading my post it is not clear. . . the Issue with "d" and "windows" are that the folders/files are on the Linux box. SMB can not access folders on the SAME Linux computer that SMP runs on.

I can snatch what ever I want from XP to Linux. From SMB/Linux as well as XP I can see the "d""windows" but as far as SMB and XP are concerned they don't exist.
Thanks for your help.

Ken
 
Old 04-07-2007, 01:55 PM   #5
Ken V
LQ Newbie
 
Registered: Feb 2007
Posts: 13

Original Poster
Rep: Reputation: 0
I went into YaST > Network Services > Samba Server > Shares : and Enabled - groups, homes, ken, profiles, users, netlogon.

not only did I restart /etc/init.d/smb & /etc/init.d/nmb I restarted both computers.

Quote:
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2007-02-08
[global]
workgroup = Home
printcap name = cups
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:
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain master = No
security = user
restrict anonymous = no
max protocol = NT
acl compatibility = winnt
ldap ssl = No
server signing = Auto
null passwords = yes
domain logons = No
usershare allow guests = No

[homes]
comment = Home Directories
valid users = %S,%D%w%S
inherit acls = yes
case sensitive = no
strict locking = no
msdfs proxy = no

[profiles]
comment = Network Profiles Service
path = %H
create mask = 0600
directory mask = 0700
case sensitive = no
strict locking = no
msdfs proxy = no

[users]
comment = All users
path = /home/
inherit acls = yes
veto files = /aquota.user/groups/shares/
case sensitive = no
strict locking = no
msdfs proxy = no

[groups]
comment = All groups
path = /home/groups
inherit acls = yes
case sensitive = no
strict locking = no
msdfs proxy = no

[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No

[d]
path = /windows/D
guest ok = yes
read only = no
case sensitive = no
strict locking = no
msdfs proxy = no

[windows]
path = /windows/
case sensitive = no
strict locking = no
msdfs proxy = no

[netlogon]
Now from the XP box > Windows Explorer > clicking on Linux I get the password challenge, entering the password information, I am presented with the following under Linux:

d
groups
homes
ken
profiles
users
windows
printers and faxes
I can actually open and access files in the homes and ken on the Linux box from XP (I think ken may be in homes? the smb.conf doe not have a listing for ken, just homes).

Side Note: From the SMB window on the Linux box, not all the share have shown up and the one that do still don't exist as far as the SMB. The SMB window shows the shares but when you click them it says they don't exist.

Now all I have to do is figure out what is different that makes it possible to access ken & homes but not “d” or “windows”.

Thanks
Ken
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
SMB share "does not exist" ??? litlmary Linux - Networking 3 01-02-2007 06:33 PM
Samba in Debian, smb.conf: smb passwd file = ?????????? henrnorl Linux - Software 1 10-06-2006 09:43 AM
Creating a SSL connection from smb clients to a smb server scottpioso General 0 11-17-2003 02:33 PM
making smb shares viewable from smb client via web browser scottpioso General 3 11-10-2003 04:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:47 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