[Samba] security = share and smbclient
Jay Fenlason
fenlason at redhat.com
Thu Sep 11 14:51:23 GMT 2003
Using the following config file, the command
smbclient //share/name -U user
returns an error code of instead of working
tree connect failed: SUCCESS - 0
-----------------------------------------------------------------------------
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2003/09/10 17:54:56
# Global parameters
[global]
workgroup = MYGROUP
server string = Samba Server
security = SHARE
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
unix password sync = Yes
client lanman auth = No
client plaintext auth = No
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
preferred master = Yes
domain master = Yes
dns proxy = No
printing = cups
[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[stylus]
path = /var/spool/samba
read only = No
printable = Yes
printer name = stylus
browseable = No
oplocks = No
[deskjet-duplex]
path = /var/spool/samba
read only = No
guest ok = Yes
printable = Yes
printer name = deskjet-duplex
oplocks = No
More information about the samba
mailing list