On 10/04/2013 02:39 PM, John R Pierce wrote:
On 10/4/2013 12:11 PM, Joseph Hesse wrote:
security = user
you'll need to run
smbpasswd -a admin
on the samba server, and give the 'admin' SMB user a password. Samba can't use the unix /etc/password|shadow combination as the hashes used by SMB aren't compatible.
I used "smbpasswd "to assign a Samba password to user "admin". My Win7 virtual machine still couldn't see the share. It is my impression that the smb.conf file in the book I am using allows passwordless access to the shares.
Also, if it helps, here is some more output.
[root@CentOS ~]# smbclient -L localhost -U Enter root's password: Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.9-151.el6_4.1]
Sharename Type Comment --------- ---- ------- homes Disk Home Directories IPC$ IPC IPC Service (CentOS) Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.9-151.el6_4.1]
Server Comment --------- ------- CENTOS CentOS WIN7VM
Workgroup Master --------- ------- WORKGROUP WIN7VM