You are not logged in.

#1 2011-06-05 20:05:17

rhadesan
Member
Registered: 2011-05-03
Posts: 11

Samba problems

Hello,
I have several problems managing samba:
1) When I start samba daemon, I can find these messages in log:

[2011/06/05 21:55:34.558647,  0] printing/print_cups.c:108(cups_connect)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2011/06/05 21:55:34.564372,  0] printing/print_cups.c:108(cups_connect)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2011/06/05 21:55:34.583181,  0] smbd/server.c:500(smbd_open_one_socket)
  smbd_open_once_socket: open_socket_in: Address already in use
[2011/06/05 21:55:34.584299,  0] smbd/server.c:500(smbd_open_one_socket)
  smbd_open_once_socket: open_socket_in: Address already in use

I don't want to use cups, however no instruction which I have found helps me :(
[I know that port 631 is not allowed by firewall]

2) I am able to download any file from samba share. However I am not able to upload files > ~100 MB into shared disk. It stops uploading and warn me that disk is protected against write.
  See log:

[2011/06/05 22:01:32.680794,  1] smbd/server.c:267(remove_child_pid)
  Scheduled cleanup of brl and lock database after unclean shutdown
[2011/06/05 22:01:52.687418,  1] smbd/server.c:240(cleanup_timeout_fn)
  Cleaning up brl and lock database after unclean shutdown

Samba configuration:

[global]
   workgroup = RADEK-TABLET
   server string = Samba Server at @ arch-desktop
   security = user

   lock directory = /var/cache/samba

# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
#   hosts allow = 192.168.1. 192.168.2. 127.

# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user "nobody" is used
;  guest account = pcguest
;guest account = smbguest
;map to guest = bad password

   log file = /var/log/samba/%m.log
   max log size = 50
load printers = no
show add printer wizard = no
disable spoolss = yes

#============================ Share Definitions ==============================
;[homes]
;   comment = Home Directories
;   browseable = no
;   writable = yes

# This one is useful for people to share files
[tmp]
   comment = Temporary file space
   path = /tmp
   read only = no
   public = yes
   browseable = yes
[oldsection]
   comment = Old public section
   path = /mnt/oldsection
   ;valid users = radek
   public = no
   writable = yes
   printable = no
   ;create mask = 0765

Offline

Board footer

Powered by FluxBB