Samba user mode with out password
Hi I have configured samaba as my Primary Domain controller so security mode is user.
the problem is i want to share a specific directory to all with write permission with out entering any password so that even guest users can use this shared directory.
I can login to this directoy as an anonumous user using linux command
Quote:
smbclient //MYDOMAIN/public
|
But when I try to access this share from awindows machien it will ask for password.
my smb.conf is the following and server is centos 4 clients are WindowsXP service pack 2.
Quote:
[global]
workgroup = MYWORKGROUP
netbios name = MYDOMAIN
server string = Samba PDC
hosts allow = 192.168.1.
security = user
encrypt passwords = Yes
allow trusted domains = No
log level = 3
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = CUPS
local master = yes
domain logons = Yes
os level = 65
preferred master = True
domain master = True
dns proxy = No
printing = cups
null passwords = Yes
hide unreadable = yes
hide dot files = yes
domain logons = yes
logon Script = scripts\logon.bat
logon path = \\%L\profiles\%U
logon drive = X:
logon home = \\%L\home\%U
wins support = yes
name resolve order = wins lmhosts host bcast
dns proxy = no
time server = yes
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel - r %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u
add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u
passwd chat = "*New password:*" %n\r "*New pasword (again):*" %n\r "*passwor
d changed*"
unix charset = ISO8859-1
[homes]
comment = Home Directories
path = /home/%U
browseable = no
valid users = %S
guest ok = no
read only = No
browseable = No
inherit permissions = yes
[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
guest ok = no
read only = yes
browseable = No
locking = no
[profiles]
path = /home/samba/profiles
browseable = no
writeable = yes
default case = lower
preserve case = no
short preserve case = no
case sensitive = no
hide files = /desktop.ini/ntuser.ini/NTUSER.*/
write list = @users @root
create mask = 0600
directory mask = 0700
[public]
comment = Public Stuff
path = /home/samba/public
guest only = Yes
public = Yes
read only = Yes
browsable = Yes
|
If anybody know whats the configuration mistake please share the knowledge
thank you all
lhrt
|