GIDForums  

Go Back   GIDForums > Computer Forums > Computer Software Forum - Linux
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 19-Apr-2005, 15:00
robby's Avatar
robby robby is offline
New Member
 
Join Date: Apr 2005
Location: Bologna, Italy
Posts: 16
robby is on a distinguished road

SaMBa problems


Hi

this time i'm trying to set up a file-sharing network. I followed the instruction i found on a web tutorial. Samba configuration seems not so hard...only some lines to write on /etc/samba/smb.conf, adding users and restarting samba server.
But it don't work
From winXP machine i can't see the samba server...and i don't know why. It don't show any error messages...it just work as the samba server doesn't exist.

Can anyone tell me how can i set this thing working right?

this is /etc/samba/smb.conf
Code:
# Global Parameters workgroup = HOME netbios name = RobbyNb encrypt passwords = yes [homes] read only = no browseable = no [documents] path = /home/robby/Documents read only = no browseable = yes guest ok = yes
__________________
-- Faith Has No Forgiveness For Those Who Dare Stand Against It --
  #2  
Old 28-Apr-2005, 09:44
dsmith's Avatar
dsmith dsmith is offline
Senior Member
 
Join Date: Jan 2004
Location: Utah, USA
Posts: 1,351
dsmith is a glorious beacon of lightdsmith is a glorious beacon of lightdsmith is a glorious beacon of lightdsmith is a glorious beacon of lightdsmith is a glorious beacon of light
Hello Robby. Sorry for the delay in the reply. Have you tried using smbclient from the server itself? This utility is ussually located under /usr/local/samba/bin depending on your installation.

Code:
/usr/local/samba/bin/smbclient -L <SERVER NAME>

Make sure you do this as a user that you have set up an smbclient password for. It should ask you for the password of that user. After that is should list a full listing of all of the available shares for that server. An example listing should look like:
Code:
Domain=[STEELER] OS=[Unix] Server=[Samba 3.0.4] Sharename Type Comment --------- ---- ------- data Disk PEPG data files draft Disk PEPG drafting files project Disk ACAD project files transfer Disk PEPG data files source Disk Programming source files games Disk Game files image Disk CD ROM images & Music programs Disk Network shareable programs mount Disk Administration mount for all Network files account Disk Accounting only drive cdrom Disk Shared cdrom drive ftp Disk Public FTP access loop Disk CDROM IMAGE db Disk DB Computer Services files IPC$ IPC IPC Service (Steeler) ADMIN$ IPC IPC Service (Steeler) darrin Disk Home Directories Domain=[STEELER] OS=[Unix] Server=[Samba 3.0.4] Server Comment --------- ------- Workgroup Master --------- ------- PEPG STEELER

If you don't get something like this than your server side is not set up properly.

Another very good test is to use testparm which should be located in the same location as smbclient. This takes no parameters and simply tests your smb.conf file for proper syntax.

Another comment is that your Global section seems rather sparse. Here is an example of mine:
Code:
[global] workgroup = PEPG server string = Steeler hosts allow = 192.168.192.0/255.255.255.0 printcommand = /usr/bin/lpr -b -r -P%p %s printing = bsd log file = /var/log/samba.%m max log size = 10 security = user encrypt passwords = yes #Socket options edited by Darrin socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_SNDBUF=8192 SO_RCVBUF=8192 read raw = yes write raw = yes log level = 1 oplocks = yes max xmit = 65535 dead time = 15 getwd cache = yes local master = yes domain master = yes preferred master = yes wins support = yes dns proxy = no #Added by Darrin default case = lower mangle case = yes preserve case = no

While you don't need all of these, I think that the hosts allow, the server string and security fields are crucial.
 
 

Recent GIDBlogAccepted for Ph.D. program by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error C2146: syntax error : missing ',' before identifier 'C4' mattchew008 C++ Forum 2 19-Dec-2004 07:06
Problems in Counting Lines in Text File wc3promet C++ Forum 2 22-Oct-2004 20:12
Geforce fx 5600 problems SyLuM Computer Hardware Forum 0 08-Aug-2004 21:41
Chaintech Geforce 5600 FX problems bartster74 Computer Hardware Forum 8 04-May-2004 14:16
Having problems displaying a line of variable length using winio. warny_maelstrom C Programming Language 8 15-Feb-2004 12:56

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 23:08.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.