[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Extraño Comportamiendo de Samba



El 16/11/05, Carlos Miranda - <Mstaaravin /><debian@mstaaravin.com.ar> escribió:
> Pon tu smb.conf
#======================= Global Settings ======================

[global]
	log file = /var/log/samba/log.%m
	guest account = dchacon
	load printers = yes
	passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
	obey pam restrictions = yes
	socket options = TCP_NODELAY
	write list = @cijul
	encrypt passwords = true
	public = yes
	passdb backend = tdbsam guest
	passwd program = /usr/bin/passwd %u
	dns proxy = no
	netbios name = informatica
	printing = cups
	server string = %h server (Samba %v)
	invalid users = root
	default = printers
	workgroup = CIJUL
	os level = 20
	valid users = @cijul
	syslog = 0
	panic action = /usr/share/samba/panic-action %d
	max log size = 1000

[homes]
   comment = Home Directories
   browseable = no

# By default, the home directories are exported read-only. Change next
# parameter to 'yes' if you want to be able to write to them.
   writable = no

# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
   create mask = 0700

# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
   directory mask = 0700

# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
;   comment = Network Logon Service
;   path = /home/samba/netlogon
;   guest ok = yes
;   writable = no
;   share modes = no

[printers]
	printer = lp
	browseable = no
	writeable = yes
	printable = yes
	write list = @cijul
	path = /tmp
	comment = All Printers
	valid users = @cijul
	user = @cijul
	create mode = 0700
	use client driver = yes

[print$]
	comment = Printer Drivers
	valid users = @cijul
	delete readonly = yes
	user = @cijul
	path = /var/lib/samba/printers
	write list = @cijul	
	
[COMPARTIDOS]
	writeable = yes
	delete readonly = yes
	valid users = dchacon,roberto,roxana,@dchacon,@cijul
	user = @cijul
	write list = @dchacon,@roberto,@roxana,@cijul
	path = /home/dchacon/COMPARTIDOS



--
Diego Chacón Rojas
diego.chacon@gmail.com
San Jose Costa Rica

  .-.
  /v\    L   I   N   U   X
 // \\
/(   )\
 ^^-^^
"This is Unix-Land. In quiet nights, you can hear the Windows machines reboot"
USER    350910
MACHINE 244435.



Reply to: