Solved

Samba Questions

Posted on 2000-04-06
3
215 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
ID: 2692066
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
ID: 2693007
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
ID: 2693205
pheur - Is there any substantial difference between your proposed answer and my comment?
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
deny acl with basic authentication user on squid 7 74
Help with Ubuntu 14.04 LTS 10 132
linux service nerwork restart throwing eth1 not dound? 5 75
Issue to mail 11 67
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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

930 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

14 Experts available now in Live!

Get 1:1 Help Now