Solved

Samba Questions

Posted on 2000-04-06
3
214 Views
Last Modified: 2010-03-18
I am fairly new to using Linux and have endeavored to try and get my Linux box visble on my lan. I have edited the smb.conf file multiple times with no success. There seems to be no PDS on the network, and I'm am not entirely sure how it is set up. Any suggestions as to how I can set up Samba so that others can see my files.

dhirst
0
Comment
Question by:dhirst040600
  • 2
3 Comments
 
LVL 7

Expert Comment

by:lewisg
Comment Utility
1. Be sure the machines can ping each other.

2. Replace you smb.conf file with this as a test. Do a samba stop and samba start after replacing the file.

[global]
workgroup = WORKGROUP
server string = test
encrypt passwords = yes
smb passwd file = /etc/smbpasswd

[homes]
browseable = no
writable = yes

3. Be sure your windows machine is in the WORKGROUP workgroup.

At this point you should be able to see the linux machine in network neighborhood.

To be able to access the share in homes you need to set up a linux and smbuser with the same name and password as you use when logging into windows.

Always run testparm after you edit your smb.conf file
0
 
LVL 2

Accepted Solution

by:
pheur earned 100 total points
Comment Utility
First, make ure that windoze stations have TCPIP installed, and they are configured to accept NetBios over TCPIP.
Second, make sure windozes and Linux are on the same IP subnet.
Third, try the following config file (working version here - works for NT workstations). The server announces itself as NT Workstations (to real NT Workstations) and prefers to be domain master.

# Global parameters
        workgroup = WORKGROUP
        netbios name = SERVERNAME
        server string = Samba Server
        security = SHARE
        encrypt passwords = Yes
        update encrypted = no
        log file = /var/log/samba/log.%m
        smb passwd file = /etc/smbpasswd
        nt smb support = No
        nt pipe support = No
        announce version = 4.1
        announce as = NT Workstation
        max open files = 100
        socket options = TCP_NODELAY
        load printers = No
        os level = 64
        preferred master = Yes
        domain master = Yes
        create mask = 0644
[homes]
        comment = Home Directories
        read only = No
[printers]
        comment = All Printers
        path = /var/spool/samba
        print ok = Yes
        browseable = No
[ftp]
        comment = FTP Archive
        path = /home/ftp/pub
        guest only = Yes
        guest ok = Yes
0
 
LVL 7

Expert Comment

by:lewisg
Comment Utility
pheur - Is there any substantial difference between your proposed answer and my comment?
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now