On 15/03/13 06:45 PM, Paul E Condon wrote:
I think I have an OK understanding of the 'theory' of samba,
but something is not working in practice.

I have a small home LAN on which there are three Debian i386 boxes,
one Windows laptop running Windows7, and five Macs of various models.
All nine computers have access to the internet through a Netgear
router. The Windows laptop and four of the Macs use an Apple Airport
to get into the LAN via wireless, and then out to the Internet via
the Netgear box. This is non-optimal but has worked quite reliably
for family shared Internet access, but now there is a need for file
sharing all these types of computers Debian/Mac/Windows. For this
new (to me) function, I think making one of my Debian boxes a Samba
server is the easiest way to go. But I am having a problem, or maybe
several problems.

I know how to install Debian packages. I've been doing it for almost
a decade. But something is missing in my understanding of how to
configure Samba for service in this situation. I have choosen to try
to work on the connection of the Windows laptop first as I suppose
it has the most 'authentic' implementation of a smb client. My
problem is I think with smb passwords. I can't seem to get smbpassword
to create records in an smb password database. I think I am supposed
to run smbpassword as root on the Debian box that I want to be the
samba server. Or perhaps as a user of that Debian box.

When I attempt to set a root password I get:

Failed to find entry for user root.

And when I attempt to set a user password I get:

machine 127.0.0.1 rejected the negotiate protocol. Error was : 
NT_STATUS_INVALID_NETWORK_RESPONSE.

Also, when I restart samba after making changes to /etc/samba/smb.conf I get a 
notice that the daemon,
smbd, was not found. And when I check the status with /etc/init.d/samba status, 
I'm told that
smbd is running but nmbd is NOT running.

/etc/samba/smb.conf is:
snipped out
Ideas?
TIA

First off, take deep breath then wipe out your current samba installation (apt-get purge samba). Make sure you don't have any samba stuff left then reinstall the package.

The default setup works fairly well. Go to the Samba by example documents and follow the setup for a basic small office server (http://www.samba.org/samba/docs/man/Samba-Guide/small.html) but try not to change things too much. Just do the very least that it takes to get Windows 7 domain groups, etc. working. This is more important than smb.conf.

Windows 7 does not work with Samba by default. You need to google something like "Windows 7 samba registry" to get the two registry changes that Windows 7 requires.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5143df2f.8080...@rogers.com

Reply via email to