LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-20-2004, 01:13 PM   #1
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
Need help configuring samba server


Hi! Need help configuring samba server. Linux is SuSE 9.1, win is winXP. Both connected via crossover cable, no hub.

SuSE can see win shares, browse dirs and upload/download files. Win can't see SuSE, dirs or anything.

smb.conf goes below. I have samba-3.0.4-1.12, and libsmbclient-3.0.4-1.12, webmin-1.130-42

Do you guys see anything wrong in this file?





# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2004/07/20 13:50:52

# Global parameters
[global]
workgroup = LINUX
server string = frank
interfaces = 127.0.0.1, eth0
bind interfaces only = Yes
map to guest = Bad User
load printers = No
local master = No
domain master = No
ldap suffix = dc=example,dc=com
printer admin = @ntadmin, root, administrator

[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No

[users]
comment = All users
path = /home
read only = No
inherit permissions = Yes
veto files = /aquota.user/groups/shares/

[groups]
comment = All groups
path = /home/groups
read only = No
inherit permissions = Yes

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin, root
force group = ntadmin
create mask = 0664
directory mask = 0775

[teste]
path = /home/bruno/Documents
read only = No
guest ok = Yes
 
Old 07-20-2004, 02:21 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
Hi,
i think there are a couple of things to work on

first on the xp box under advanced TCP/IP settings
on the WINS tab
make yourself a file called lmhosts
it's like /etc/hosts in linux
the syntax is like this
127.16.1.1 box1
127.16.1.2 box2
like that
check enable LMHOST lookup
and feed in your lmhost file with "import LMHOST" button
also sellect "Enable NetBIOS over TCP/IP"
and set the WINS server as the Linux box
now in the global section of smb.conf
put
wins support = true
encrypt passwords = yes
for me i use the same username on both machines
and run the command
smbpasswd -a username
to set it up

to test the password settup use
(on the samba machine)
smbclient '//servername/homes' -U username
it will ask for password
if the pasword works it goes to
smb: \>
q to quit
and you know the login works
 
Old 07-20-2004, 03:19 PM   #3
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Original Poster
Rep: Reputation: 46
the syntax is like this
127.16.1.1 box1
127.16.1.2 box2
like that

box1 and box2 are the names of the computers?
 
  


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
Configuring Mac OS X clients with Samba Server maelstrom209 Linux - Networking 3 07-28-2009 02:01 PM
Configuring Samba alexr186 Suse/Novell 1 10-18-2005 10:19 AM
configuring the samba server ultrasonic_shock Linux - Software 2 08-08-2005 05:43 PM
Configuring Samba sibtay Linux - Networking 3 10-04-2004 01:21 PM
configuring Samba Ice Dragon Linux - Networking 4 08-26-2002 01:07 PM


All times are GMT -5. The time now is 10:12 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration