Hi all,
Firstly this is my very first attempt at installing and using Samba and only have a basic grasp of how it works....
Earlier today I installed Samba 3.0.2 under Solaris 9 (Sun Ultra 60) for the purpose of sharing my home directory on the Sun with my PC. Following the instructions at
www.blastwave.org and using:
pkg-get install samba
I installed samba in /opt/csw/
I have only 2 computers on the "network" - the Sun Ultra 60 and a PC running Windows XP.
I configured the smb.conf file as follows:
<snip>
[global]
workgroup = myhome
netbios name = localhost
server string = Samba server on Sun Ultra 60/Solaris 9
logfile = /var/log/samba/%m.log
security = user
encrypt passwords = yes
smb passwd file = /opt/csw/etc/samba/private/smbpasswd
hosts deny = ALL EXCEPT 192.168.7.4 127.
[cdrom]
path = /mnt/cdrom
read only = yes
guest ok = yes
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
create mode = 0664
<snip>
I then added an account and password, and enabled it using:
smbpasswd -a dopey
Password: *****
Password again: *****
and then enabled the account using:
smbpasswd -e dopey
Now, I can see the share in Explorer on my PC, but when I enter the username and password, windows simply returns the user/pass dialogue box once more, as though I've entered the user or password incorrectly (which I have not!)
The log files that are in /var/log/samba are all empty, although there is a file there called
mypcsname.log
Can anyone advise what it is I might have done wrong?
Thanks in advance for any help!