DaemonForums  

Go Back   DaemonForums > Miscellaneous > General software and network

General software and network General OS-independent software and network questions, X11, MTA, routing, etc.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 17th July 2008
Weaseal's Avatar
Weaseal Weaseal is offline
Package Pilot
 
Join Date: May 2008
Location: East Coast, US
Posts: 177
Default Samba global share

Hi,
I want to use Samba to create a network share that is accessible to all Windows machines on the network, without the need for a password. Just one big folder that people can easily dump things in and retrieve them anywhere.

Whenever I execute /usr/local/etc/rc.d/samba start, it seems to go okay, but then in actuality there is no smbd or nmbd. Here is my config file:
Code:
[global]

   workgroup = HOME
   server string = Samba Server
   security = user
   hosts allow = 192.168.1. 192.168.2. 127.
   load printers = no
   log file = /var/log/samba/log.%m
   max log size = 50
   interfaces = 192.168.1.1/24
   domain master = yes
   preferred master = yes
   wins support = yes
   wins proxy = yes
   dns proxy = no

[public]
   comment = Public Stuff
   path = /usr/home/ecorazeni/Share
   public = yes
   writable = yes
   printable = no
Code:
$ sudo /usr/local/etc/rc.d/samba start
Removing stale Samba tdb files:  done
$ ps ax | grep smbd
$
$ ps ax | grep nmbd
$
The directory specified there, /usr/home/ecorazeni/Share, is chmod 777. Any ideas?
__________________
FreeBSD addict since 4.2-RELEASE.
My FreeBSD wiki.

Last edited by Weaseal; 17th July 2008 at 10:46 AM.
Reply With Quote
  #2   (View Single Post)  
Old 17th July 2008
Weaseal's Avatar
Weaseal Weaseal is offline
Package Pilot
 
Join Date: May 2008
Location: East Coast, US
Posts: 177
Default

Oops, I forgot the rcvars in rc.conf. The server is up and running now. However, no other machines on the network can access it. I tried entering \\192.168.1.16 in the run window of a Windows, but there it asks for a password. How do I make it not ask for a password?

Edit: From the local machine:
Code:
$ smbclient -L //192.168.1.16/public
Password:
session setup failed: NT_STATUS_LOGON_FAILURE
It should not be asking for a password; this is a public share.

Update: Okay so now it is up and running, I had to add "only guest = yes" to the share.

Now the share still does not show under "Show network computers" in Windows. Does anyone know how to make this appear? I tried adding "netbios name=freebsd" to the [general] section but still no dice.
__________________
FreeBSD addict since 4.2-RELEASE.
My FreeBSD wiki.

Last edited by Weaseal; 17th July 2008 at 11:53 AM.
Reply With Quote
Reply

Tags
samba

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting samba share as normal user rex FreeBSD General 4 27th October 2008 05:17 PM
pkg inside non-global zone? nacredata Solaris 2 30th September 2008 11:50 PM
pf Share problem! jleal OpenBSD Security 6 25th August 2008 04:08 AM
Funny things in /usr/share/misc ivanatora FreeBSD General 4 10th August 2008 02:13 PM
Non-root user editing automatically mounted smb share tad1214 FreeBSD General 8 8th July 2008 02:28 AM


All times are GMT. The time now is 07:40 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick