Quantcast

Maximum PC

It is currently Thu May 23, 2013 10:39 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: I'm baffled
PostPosted: Mon Aug 02, 2004 8:00 pm 
Professional Dork
Professional Dork
User avatar

Joined: Tue May 25, 2004 12:44 pm
Posts: 1246
Location: Cornhole County
Code:
[global]

workgroup = WOOD
netbios name = canvasback
server string = Samba Server
security = user
guest account = pcguest
map to guest = Bad User
map to guest = Bad Password


#============================ Share Definitions ==============================
;   idmap uid = 16777216-33554431
;   idmap gid = 16777216-33554431
;   template shell = /bin/false
;   winbind use default domain = no


[fah]
   comment = fah
   path = /fah
   guest ok = yes
   browseable = yes
   writable = yes


Yet for some reason when I try to access the share from Windows, I can't connect to it.

The network path \\canvasback\fah coiuld not be found

Help me.


Top
  Profile  
 
 Post subject: Re: I'm baffled
PostPosted: Mon Aug 02, 2004 10:49 pm 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Mon Jun 14, 2004 4:04 pm
Posts: 985
Location: Earth
Do you see the share under Network Neighborhood? Check the permissions over again, as well as the user/owner of the folder. Make sure that the user and owner of the folder is the user that's trying to access the share itself. That could be the problem.


Top
  Profile  
 
 Post subject:
PostPosted: Tue Aug 03, 2004 4:37 am 
Professional Dork
Professional Dork
User avatar

Joined: Tue May 25, 2004 12:44 pm
Posts: 1246
Location: Cornhole County
I see the system in Network Neighborhood, but not the share itself.

When I click on the system, I get

"\\Canvasback 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."


Top
  Profile  
 
 Post subject:
PostPosted: Tue Aug 03, 2004 6:37 am 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Wed Jun 16, 2004 5:29 pm
Posts: 6316
Location: Far away from you
My initial thought is pcguest does not have appropriate permisions applied throughout the entire share.

I beleive all you need to do is apply the right perms with chmod and it has to be applied to that directory and every directory under it.


Top
  Profile  
 
 Post subject:
PostPosted: Tue Aug 03, 2004 7:54 am 
iron colbinator
iron colbinator
User avatar

Joined: Tue May 25, 2004 2:25 pm
Posts: 2761
Location: Washington, the state
1. As furball said, check perms on /fah
2. If you haven't already, add pcguest to your samba users (smbpasswd -a -n pcguest) -- though I would expect to see bad username/password if this was the problem
3. Try the "guest only" option (although you do have guest ok, which should be sufficient, and is the same as my "public" option)
4. Check samba log (mine is /var/log/samba/log.smbd and log.nmbd) after attempting to visit share, see if it has any info

My incoming share has the following options:

Code:
[incoming]
comment = put files on me
read only = no
path = /usr/local/share/samba/in
public = yes
browseable = yes
writable = yes
guest only = yes   


Some of those are redundant, but you get the picture.

My /usr/local/share/samba/in directory is world writable.


Top
  Profile  
 
 Post subject:
PostPosted: Tue Aug 03, 2004 9:02 am 
Professional Dork
Professional Dork
User avatar

Joined: Tue May 25, 2004 12:44 pm
Posts: 1246
Location: Cornhole County
/fah is set to 777

I tried adding some redundent flags in my smb.conf

Still no workie

Code:
[root@canvasback samba]# cat smbusers
# Unix_name = SMB_name1 SMB_name2 ...
root = administrator admin
nobody = guest pcguest smbguest


The only thing in my log is:
Code:
[2004/08/03 11:58:41, 0] smbd/server.c:main(757)
  smbd version 3.0.3-5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2004


I have added a hosts file on my other workstation so it can find canvasback and I can ping by name to the machine.


Top
  Profile  
 
 Post subject:
PostPosted: Tue Aug 03, 2004 3:34 pm 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Wed Jun 16, 2004 5:29 pm
Posts: 6316
Location: Far away from you
Just because I've been burned by this before...Did you do that via a chmod or chmod -R

The first just sets the folder only. The later will set everything in /fah including the folder itself.


Top
  Profile  
 
 Post subject:
PostPosted: Wed Aug 04, 2004 4:37 am 
Professional Dork
Professional Dork
User avatar

Joined: Tue May 25, 2004 12:44 pm
Posts: 1246
Location: Cornhole County
furball146 wrote:
Just because I've been burned by this before...Did you do that via a chmod or chmod -R

The first just sets the folder only. The later will set everything in /fah including the folder itself.


Excellent question. I'm pretty sure it's 777 all the way down.

I'm starting to think it's a network issue, since the log file isn't even showing anything


Top
  Profile  
 
 Post subject:
PostPosted: Wed Aug 04, 2004 11:32 am 
Professional Dork
Professional Dork
User avatar

Joined: Tue May 25, 2004 12:44 pm
Posts: 1246
Location: Cornhole County
Would it help if I used

Security = share

???


Top
  Profile  
 
 Post subject:
PostPosted: Wed Aug 04, 2004 12:30 pm 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Wed Jun 16, 2004 5:29 pm
Posts: 6316
Location: Far away from you
I dunno.

Doesn't that point to groups that are setup on there??


Top
  Profile  
 
 Post subject:
PostPosted: Wed Aug 04, 2004 12:43 pm 
Professional Dork
Professional Dork
User avatar

Joined: Tue May 25, 2004 12:44 pm
Posts: 1246
Location: Cornhole County
We have one box at work that serves as a gateway between networks. People on a private LAN can see the share from \\Samba02, when all the files are on \\Samba01. Samba02 sees the share on Samba01 as an NFS share, and shares it to Windows.

When you create files from the private network, the file is created by "nobody".

Anyhow, I remembered that I had turned on the firewall when I installed. I turned it off, and it sorta works.

Now I can browse the share , I just can't map a drive to it.


Top
  Profile  
 
 Post subject:
PostPosted: Wed Aug 04, 2004 6:15 pm 
iron colbinator
iron colbinator
User avatar

Joined: Tue May 25, 2004 2:25 pm
Posts: 2761
Location: Washington, the state
HK-47 wrote:
Now I can browse the share , I just can't map a drive to it.


I think HK47 mentioned in chat that this is working now. :)


Top
  Profile  
 
 Post subject:
PostPosted: Thu Aug 05, 2004 4:36 am 
Professional Dork
Professional Dork
User avatar

Joined: Tue May 25, 2004 12:44 pm
Posts: 1246
Location: Cornhole County
colby wrote:
HK-47 wrote:
Now I can browse the share , I just can't map a drive to it.


I think HK47 mentioned in chat that this is working now. :)


Yeah, it didn't work at 4pm, and it did at 8pm. :wtf:


Top
  Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group