LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-01-2006, 01:15 PM   #1
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676
Blog Entries: 7

Rep: Reputation: 32
SAMBA again !! :S


HI
Ive got two XPs and one debian box on which I want to enable simple file sharing..I just want to create a directory that is accessible by all..Ive read half a dozen tutorials and everything seems clear to me
The problem is that i can see my debian box in the windows network neighbourhood but when I double click on it I get the following error message:

*****
\\server is not accessible you might not have permissions to acces..............

Network Path not found
*******



my smb.conf file is shown beneath :
[global]

workgroup = CYBER

server string = %h server (Samba %v)

dns proxy = no

log file = /var/log/samba/log.%m

max log size = 1000

syslog = 0

panic action = /usr/share/samba/panic-action %d

security = user

encrypt passwords = true

passdb backend = tdbsam guest

obey pam restrictions = yes

guest account = nobody

passwd program = /usr/bin/passwd %u

passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .

[files]
comment = Shared Files
path = /home/ftp
readonly = no
public = yes
guest ok = yes

And as for the dir /home/path I chmod it to 777


NOCCBOX-MoreTech:/home# ls -l ftp/
total 4
drw-r--rw- 2 root staff 4096 2006-01-04 04:17 public
 
Old 04-01-2006, 04:41 PM   #2
edcutis
Member
 
Registered: Jun 2003
Location: USA, Missouri
Distribution: mandriva , Kubuntu, MEPIS
Posts: 140

Rep: Reputation: 15
Someone correct me if I'm wrong, but using 'security=user', don't you need to create smb users on the linux box to get this to work? Then when the XP boxes swap authentication tokens with the server, the names match up and everything maps out? Or am I barking up the wrong tree...
 
Old 04-01-2006, 05:43 PM   #3
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676

Original Poster
Blog Entries: 7

Rep: Reputation: 32
Ive tried it with security = share...the prob is not about accessing the shares..I can see the debian box in the neighbourhood but I cant see the shares at all because when I double click on it I get the mentioned error...however I will try it again
 
Old 04-02-2006, 04:43 AM   #4
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676

Original Poster
Blog Entries: 7

Rep: Reputation: 32
Just in case some one stumbles over the same problem :

"My first suggestion is to try to access the share by ip address via map network drive.

In Windows Explorer: Tools - Map Network Drive

Folder = \\ip address\share

It should then as for a username and password

Also make sure that you have converted unix users to samba users. Samba does not directly access unix users. They must be added by smbpasswd -a username."


http://justlinux.com/forum/archive/i.../t-136020.html
 
  


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
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 02:33 AM
Reinstalling Samba doesn't recover the original /etc/samba/smb.conf Akhran Debian 2 11-11-2005 01:54 AM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 06:54 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 02:21 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 06:54 AM

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

All times are GMT -5. The time now is 06:25 AM.

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