I want to access SAMBA shares from a Windows Server 2003 domain controller without a password. But, I am receiving a permission error each time. I'm using RedHat 5.5.
# ls -l
total 96
-rw------- 1 root root 1611 Mar 25 18:45 anaconda-ks.cfg
drwxr-xr-x 2 root root 4096 Mar 25 16:57 Desktop
-rw-r--r-- 1 root root 55367 Mar 25 18:45 install.log
-rw-r--r-- 1 root root 4010 Mar 25 18:38 install.log.syslog
drwxrwxrwx 2 administrator root 4096 Jun 3 15:54 rpmler (shared folder)
# vi /etc/samba/smb.conf // ***I edited as below*** [global] ve [share]
[global]
workgroup = argela // the name of DC
security = user //
smb passwd file = /etc/samba/smbpasswd
load printers = no //
[share]
comment = file server
path = /root/rpmler // those folders that is want to share
valid users = administrator //
admin users = administrator
read only = no
public = yes
browseable = yes
# rpm -qa | grep samba
system-config-samba-1.2.41-5.el5
samba-common-3.0.33-3.28.el5
samba-client-3.0.33-3.28.el5
samba-3.0.33-3.28.el5