Access error writing to directory via Windows

Ardis, Adam (GE Trans, Non-GE) adam.ardis at ge.com
Fri Jul 8 15:25:44 GMT 2005


Hello all,

Maybe someone can help me with this one, I've searched around the google archive but can't find an answer.  I'm running HPUX 11.11 and samba 2.2.8, and I've got a couple of shares that I cannot write to via Windows that I previously could.  We authenticate users with an NT PDC, and I can write to a parent directory but when I go down to the deeper dir I get an access denied error.  

This is the smb.conf sections of note.  I can write to the [gen-docs] portion because the permissions on the dir are 777, but not to the [gen3-GDP-Pt-2s] part, which are 755, so I must be missing something in terms of user authentication.

[global]
        workgroup = AMER
        netbios name = ENG02
        server string = ENG02 Samba File Server
        security = SERVER
        encrypt passwords = Yes
        allow trusted domains = Yes
        password server = nyschc03, nyschc08
        username map = /export/opt/samba_2.2.8a/HP-UX.B.11.00/pa-risc2.0/lib/users.map
        log level = 4
        log file = /export/opt/samba_2.2.8a/HP-UX.B.11.00/pa-risc2.0/var/%m.log
        max log size = 50
        large readwrite = Yes

[gen-docs]
        comment = GENERATOR WEB DOCUMENTS
        path = /export/webdata/gentech/htdocs
        valid users = ardisad
        admin users =
        force user = genenglb
        read only = No
        create mask = 0765

[gen3-GDP-Pt-2s]
        comment = GENERATOR GenEng 3 Only documentation GDP_Pt_2s
        path = /export/webdata/gentech/htdocs/GenEng_3_only/documentation/GDP_Pt_2s
        valid users = ardisad
        force user = genenglb
        read only = No
        create mask = 0775
        guest ok = Yes

Here is the section of log when I attempt the write:

[2005/07/08 11:10:35, 3] smbd/trans2.c:(1698)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2005/07/08 11:10:35, 3] lib/util.c:(387)
  unix_clean_name [/GenEng_3_only/documentation/GDP_Pt_2s/New Text Document (2).txt]
[2005/07/08 11:10:35, 3] lib/util.c:(387)
  unix_clean_name [GenEng_3_only/documentation/GDP_Pt_2s/New Text Document (2).txt]
[2005/07/08 11:10:35, 3] smbd/trans2.c:(1719)
  call_trans2qfilepathinfo: vfs_stat of GenEng_3_only/documentation/GDP_Pt_2s/New Text Document (2).txt failed (No such file or directory)
[2005/07/08 11:10:35, 3] smbd/error.c:(94)
  error string = No such file or directory
[2005/07/08 11:10:35, 3] smbd/error.c:(109)
  error packet at smbd/trans2.c(1721) cmd=50 (SMBtrans2) NT_STATUS_OBJECT_NAME_NOT_FOUND

Can this a problem on the NT authentication side, or is it my samba config or permissions?  I'm forcing all users to be genenglb because that is what the HP permissions are on the server side, and there are a majority of users that do not have HPUX logins.  I checked those directory permissions, and they are all 755. 

drwxr-xr-x   5 genenglb   gen           4096 Nov 10  2003 GenEng_3_only

Does this map have a character limitation per line?  I tried breaking this up into genengl1 and genengl2 and then having genenglb = genengl1 genengl2 but that didn't work.  I also moved my userid to the wrong of genenglb, still got access denied:

eng02_# more users.map
genenglb = (cut 14 lines of user names)
...
ardisad 

Also here is the smbstatus for my user:

ROOT_eng02_# ../bin/smbstatus

Samba version 2.2.8a
Service      uid      gid      pid     machine
----------------------------------------------
gen-docs     genenglb gen      12924   ardisad  (x.x.x.x) Fri Jul  8 11:17:31 2005


Thanks in advance for any insight,

Adam


More information about the samba-technical mailing list