Networking Forums

Networking Forums > Computer Networking > Linux Networking > Help needed To connect W2K box To Linux

Reply
Thread Tools Display Modes

Help needed To connect W2K box To Linux

 
 
Snoopy :-))
Guest
Posts: n/a

 
      06-09-2006, 06:58 PM
I posted for help a couple of days ago but so far
NO solution
I've installed FC-5 and I configured samba
But I Can't semm to Connect from the Win2K box to My Linux Box

In my Network Places
I can see the Linux box and the "Share" In my /Home/Share
But when I click on the share I receive the following Error

\\Linux\Share is not accessible
The Network name cannot be found

Since I can see the Share Then Samba setup seem to be OK
I don't know what is wrong.

Also:
My other box is Running RH9 and I have No problem
seeing this Box and opening the share from the W2K box

The smb.conf files seem to be identical.
Is there some kind of bug in FC5 ??


I surely would appreciate some help
Charles
 
Reply With Quote
 
 
 
 
GL
Guest
Posts: n/a

 
      06-10-2006, 01:46 AM

"Snoopy :-))" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I posted for help a couple of days ago but so far
> NO solution
> I've installed FC-5 and I configured samba
> But I Can't semm to Connect from the Win2K box to My Linux Box


What does "Can't seem to connect" mean? what error messages are you getting
besides share not accessible, i.e. have you checked the samba log and
/var/log/messages? Do you get a user/password prompt, or is your username
and password the same on win box and linux box?

Did you create your share as root or the actual user that has access?
Permission issues have thrown me off a few times

firewall issues?

Describe _exactly_ what you are doing when you try to connect plus post the
lines from the samba log and I am quite sure that help will be forthcoming




//GML


>
> In my Network Places
> I can see the Linux box and the "Share" In my /Home/Share
> But when I click on the share I receive the following Error
>
> \\Linux\Share is not accessible
> The Network name cannot be found
>
> Since I can see the Share Then Samba setup seem to be OK
> I don't know what is wrong.
>
> Also:
> My other box is Running RH9 and I have No problem
> seeing this Box and opening the share from the W2K box
>
> The smb.conf files seem to be identical.
> Is there some kind of bug in FC5 ??
>
>
> I surely would appreciate some help
> Charles



 
Reply With Quote
 
horrorpainter
Guest
Posts: n/a

 
      06-10-2006, 02:21 AM
try \\ip address\sharename

 
Reply With Quote
 
Snoopy :-))
Guest
Posts: n/a

 
      06-10-2006, 03:10 PM
On Sat, 10 Jun 2006 01:46:45 GMT, "GL" <(E-Mail Removed)> wrote:

>
>"Snoopy :-))" <(E-Mail Removed)> wrote in message
>news:(E-Mail Removed).. .
>>I posted for help a couple of days ago but so far
>> NO solution
>> I've installed FC-5 and I configured samba
>> But I Can't semm to Connect from the Win2K box to My Linux Box

>
>What does "Can't seem to connect" mean? what error messages are you getting
>besides share not accessible,


I can see the Linux box and the "Share" In my /Home/Share
But when I click on the share I receive the following Error

\\Linux\Share is not accessible
The Network name cannot be found

>i.e. have you checked the samba log and
>/var/log/messages? Do you get a user/password prompt, or is your username


I just checked the log file

Yesterday I am getting error regarding the W2K box
'/home/charlie' does not exist or permission denied when connecting
to [charlie] Error was Permission denied.

I don't understand it
1 The /home/charlie exist
2. the permission "read, write" is for every body
3. charlie = charlie is in the smbusers
>and password the same on win box and linux box?
>
>Did you create your share as root or the actual user that has access?

I created the user as root

>Permission issues have thrown me off a few times

Should I recreate the smb user /home/charlie again in samba ?
What is the command for this ?

I have another box running RH9 and everything is OK on it
All the smb Files seem to be same on both boxes.
>

BTW: Thanks for the reply
Charles

 
Reply With Quote
 
Snoopy :-))
Guest
Posts: n/a

 
      06-10-2006, 03:13 PM
On 9 Jun 2006 19:21:47 -0700, "horrorpainter"
<(E-Mail Removed)> wrote:

>try \\ip address\sharename


I don't understand this?
I have a router and using DHCP
As such nothing is entered in HOSTS

Sorry but I am stiill new to this
charles

 
Reply With Quote
 
GL
Guest
Posts: n/a

 
      06-10-2006, 04:31 PM

"Snoopy :-))" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Sat, 10 Jun 2006 01:46:45 GMT, "GL" <(E-Mail Removed)> wrote:
>
>>
>>
>>Did you create your share as root or the actual user that has access?

> I created the user as root


I did not ask about who created user, but about _who_ created the _share_
(root or user)
Maybe you mean root created the share?

>
>>Permission issues have thrown me off a few times

> Should I recreate the smb user /home/charlie again in samba ?
> What is the command for this ?


change permission (and owner) on the share to the actual user:
(chmod, chown)

If several users use the share, create a new group and add users to that
group as needed then grant that group access to the share

I am working from memory here, but I don't think samba can access files
owned by root...

//GML


 
Reply With Quote
 
GL
Guest
Posts: n/a

 
      06-10-2006, 04:41 PM

"Snoopy :-))" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On 9 Jun 2006 19:21:47 -0700, "horrorpainter"
> <(E-Mail Removed)> wrote:
>
>>try \\ip address\sharename

>
> I don't understand this?
> I have a router and using DHCP
> As such nothing is entered in HOSTS
>
> Sorry but I am stiill new to this
> charles
>


Since you are new to this, we need to know what you are doing because we do
not know your level of understanding, therefore:
_give details about what your steps are_ so we can see if you do mistakes.

I suspect you have a permission issue, please copy and paste the permissions
of your Linux share:
#ls -l /home/charlie

//gml



 
Reply With Quote
 
Snoopy :-))
Guest
Posts: n/a

 
      06-10-2006, 06:50 PM
On Sat, 10 Jun 2006 16:41:14 GMT, "GL" <(E-Mail Removed)> wrote:

>
>"Snoopy :-))" <(E-Mail Removed)> wrote in message
>news:(E-Mail Removed).. .
>> On 9 Jun 2006 19:21:47 -0700, "horrorpainter"
>> <(E-Mail Removed)> wrote:
>>
>>>try \\ip address\sharename

>>
>> I don't understand this?
>> I have a router and using DHCP
>> As such nothing is entered in HOSTS
>>
>> Sorry but I am stiill new to this
>> charles
>>

>
>Since you are new to this, we need to know what you are doing because we do
>not know your level of understanding, therefore:
>_give details about what your steps are_ so we can see if you do mistakes.
>
>I suspect you have a permission issue, please copy and paste the permissions
>of your Linux share:
>#ls -l /home/charlie
>

Here are the outputs:
#ls -l /home
drwxr-xr-x 17 charlie users

#ls -l /home/charlie
drwxr-xr-x 2 charlie mygroup
NOTE:
in the "user Manager" "User Properties/Groups
Cheked for Members as:
mygroup; users;
BTY:
In My W2K box
I have the same user belonging to the "User Groups"
with the same password.


 
Reply With Quote
 
Snoopy :-))
Guest
Posts: n/a

 
      06-10-2006, 07:13 PM
On Sat, 10 Jun 2006 16:31:49 GMT, "GL" <(E-Mail Removed)> wrote:

>
>"Snoopy :-))" <(E-Mail Removed)> wrote in message
>news:(E-Mail Removed).. .
>> On Sat, 10 Jun 2006 01:46:45 GMT, "GL" <(E-Mail Removed)> wrote:
>>
>>>
>>>
>>>Did you create your share as root or the actual user that has access?

>> I created the user as root

>
>I did not ask about who created user, but about _who_ created the _share_
>(root or user)
>Maybe you mean root created the share?

originally root created the (user)share
The owner was root and the group was root

today as root Using the User Manager I chaged the ownership of
/home/charlie to charlie

>
>>
>>>Permission issues have thrown me off a few times

>> Should I recreate the smb user /home/charlie again in samba ?
>> What is the command for this ?

>
>change permission (and owner) on the share to the actual user:
>(chmod, chown)


I am still learning to use command mode so earlier I changed this
with th User Manager
>
>If several users use the share, create a new group and add users to that
>group as needed then grant that group access to the share

The share have read and execute permissions to everybody. Is this
what you mean?
>
>I am working from memory here, but I don't think samba can access files
>owned by root...
>
>//GML
>


 
Reply With Quote
 
JCOA
Guest
Posts: n/a

 
      06-22-2006, 01:53 AM
Your problem is with SELinux. You can change the behaviour of it with
the graphical tool under System --> Administration --> Security Level
and Firewall. Go to the SELinux tab and click on Modify SELinux Policy,
then select Samba and check off the Allow Samba to share users home
directory box.

Restart Samba service and voila!!!

I had the same issue and had to try everything. The reason why your RH9
box works and FC5 doesn't is because RH9 didn't have SELinux. If you
install FC5 with all the defaults it enables SELinux.


Snoopy :-)) wrote:
> On Sat, 10 Jun 2006 16:31:49 GMT, "GL" <(E-Mail Removed)> wrote:
>
> >
> >"Snoopy :-))" <(E-Mail Removed)> wrote in message
> >news:(E-Mail Removed).. .
> >> On Sat, 10 Jun 2006 01:46:45 GMT, "GL" <(E-Mail Removed)> wrote:
> >>
> >>>
> >>>
> >>>Did you create your share as root or the actual user that has access?
> >> I created the user as root

> >
> >I did not ask about who created user, but about _who_ created the _share_
> >(root or user)
> >Maybe you mean root created the share?

> originally root created the (user)share
> The owner was root and the group was root
>
> today as root Using the User Manager I chaged the ownership of
> /home/charlie to charlie
>
> >
> >>
> >>>Permission issues have thrown me off a few times
> >> Should I recreate the smb user /home/charlie again in samba ?
> >> What is the command for this ?

> >
> >change permission (and owner) on the share to the actual user:
> >(chmod, chown)

>
> I am still learning to use command mode so earlier I changed this
> with th User Manager
> >
> >If several users use the share, create a new group and add users to that
> >group as needed then grant that group access to the share

> The share have read and execute permissions to everybody. Is this
> what you mean?
> >
> >I am working from memory here, but I don't think samba can access files
> >owned by root...
> >
> >//GML
> >


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help needed making a linux router Big Daddy Linux Networking 0 03-17-2006 03:04 PM
is DNS support available in Linux? Urgently needed... zoltan Linux Networking 2 02-02-2006 06:12 PM
Linux manager needed Wim Hoogenraad Linux Networking 0 07-30-2005 08:39 AM
Netgear mr814 troubleshooting help needed; see network, but can't connect tom williams Wireless Internet 1 04-14-2004 08:02 PM
Roaming on Linux across subnet- Help Needed kishore Wireless Internet 4 08-11-2003 05:13 PM



1 2 3 4 5 6 7 8 9 10 11