[Samba-it] Accesso negato in scrittura

Giuseppe Arvati giuseppe.arvati at poste.it
Thu May 11 12:01:01 MDT 2006


Salve a tutti.
sto installando un samba PDC ho questo problema.
Non riesco a scrivere nella home dell'utente.

Server Prolinat ML 370 con controller SmartArray5i

ServerSO Debian Sarge kernel 2.6.8
Samba 3.0.22 da it.samba.org
Filesystem XFS
ClientSO WinXPpro sp1


L'utente di prova si e' correttamete agganciato al domino
e vedo il disco Q: con i file contenuti (creati per prova da linux).
I file contenuti nella home (Q:) sono in grado di aprirli ma non riesco
a creare un nuovo file (accesso negato).
Lo stesso utente da linux non ha nessun problema di creazione file

I log dell'utente sono:

  creating new dirptr 256 for path ./, expect_close = 1
[2006/05/11 11:48:04, 3] smbd/process.c:process_smb(1194)
  Transaction 839 of length 74
[2006/05/11 11:48:04, 3] smbd/process.c:switch_message(993)
  switch message SMBtrans2 (pid 3126) conn 0x843ab90
[2006/05/11 11:48:04, 3] smbd/trans2.c:call_trans2qfsinfo(2136)
  call_trans2qfsinfo: level = 1007
[2006/05/11 11:48:04, 3] lib/sysquotas.c:sys_get_quota(401)
  sys_get_xfs_quota() failed for mntpath[/dati] bdev[/dev/cciss/c0d0p7] 
qtype[2] id[1001]: Funzione non implementata.
[2006/05/11 11:48:04, 3] lib/sysquotas.c:sys_get_quota(401)
  sys_get_xfs_quota() failed for mntpath[/dati] bdev[/dev/cciss/c0d0p7] 
qtype[4] id[1000]: Funzione non implementata.
[2006/05/11 11:48:14, 3] smbd/process.c:process_smb(1194)
  Transaction 840 of length 110
[2006/05/11 11:48:14, 3] smbd/process.c:switch_message(993)
  switch message SMBntcreateX (pid 3126) conn 0x843ab90
[2006/05/11 11:48:14, 3] smbd/dosmode.c:unix_mode(121)
  unix_mode(prova.txt) returning 0700
[2006/05/11 11:48:14, 3] smbd/open.c:open_file(211)
  Permission denied opening prova.txt
[2006/05/11 11:48:14, 3] smbd/error.c:unix_error_packet(90)
  unix_error_packet: error string = Operation not permitted
[2006/05/11 11:48:14, 3] smbd/error.c:error_packet(146)
  error packet at smbd/trans2.c(2632) cmd=162 (SMBntcreateX) 
NT_STATUS_ACCESS_DENIED




Il file di configurazione

# Samba config file created using SWAT
# from 10.1.100.56 (10.1.100.56)
# Date: 2006/05/11 11:06:53

[global]
        workgroup = APAM
        server string = %h server (Samba %v)
        passdb backend = tdbsam, guest
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
*Retype\snew\sUNIX\spassword:* %n\n .
        log level = 3
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        load printers = No
        add machine script = /usr/sbin/useradd -g apampc -d /dev/null -s 
/bin/false %u
        logon path = \\%N\profiles\%U
        logon drive = Q:
        domain logons = Yes
        os level = 35
        preferred master = Yes
        domain master = Yes
        dns proxy = No
        ldap ssl = no
        panic action = /usr/share/samba/panic-action %d
        passdb expand explicit = No
        printing = cups
        print command =
        lpq command = %p
        lprm command =

[homes]
        comment = Home Directories
        path = /dati/utenti/%u
        create mask = 0700
        directory mask = 0700
        browseable = No

[netlogon]
        path = /dati/netlogon
        write list = ntadmin
        read only = No
        browseable = No

[profiles]
        path = /dati/profiles
        read only = No
        create mask = 0600
        directory security mask = 0700


Grazie a tutti per l'aiuto che vorrete darmi


giuseppe





More information about the samba-it mailing list