[Samba] NT_STATUS_ACCESS_DENIED error. Pls help

Yifei Li yifli82 at gmail.com
Fri Apr 20 15:30:52 GMT 2007


I'm running samba3.0.23 on a fedora core 4 box. I successfully joined the
samba server into an AD and shared home directories on the fc4 box.
(Actually, the home directories on that fc4 box are mounted from a NFS
server)
I can access the top level of my home directory without any problems because
the permission is set as 755.
But I can't access directores with permissions like 700.
So I guess my account from AD is not properly mapped to my linux account.
(BTW, we're running NIS )

I'm new to samba, could anyone help me out. Thanks

My smb.conf is as follows:
[global]
        workgroup = HCIsmb: \> cd Desktop
smb: \Desktop\> dir
NT_STATUS_ACCESS_DENIED listing \Desktop\*

                50738 blocks of size 2097152. 28366 blocks available

        realm = HCI.CS.MTU.EDU
        server string = Samba Server
        security = ADS
        password server = HCI.CS.MTU.EDU
        log file = /var/log/samba/%m.log
        max log size = 50
        server signing = auto
        client use spnego = No
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        printcap name = /etc/printcap
        dns proxy = No
        idmap uid = 16777216-33554431
        idmap gid = 16777216-33554431
        template shell = /bin/bash
        winbind use default domain = Yes
        cups options = raw

[homes]
        comment = Home Directories
        path=/home/grad/%S
        valid users = %S
        force user = %S
        read only = No
        browseable = No

Here's what I did to access my home directory:
[yifli at astra ~]$ smbclient //wingate/yifli
Password:
Domain=[HCI] OS=[Unix] Server=[Samba 3.0.23a-1.fc4.1]
smb: \>ls
 .                                   D        0  Fri Apr 20 11:06:50 2007
  ..                                 D        0  Fri Jan 12 14:21:35 2007
  .AbiSuite                   DH        0  Fri Nov 19 16:49:13 2004
  _J4JXS~F                   H       57  Mon Aug 28 11:11:43 2006
  _0VF0B~F                   H       52  Thu Feb 17 10:54:09 2005
  .Mathematica             DH        0  Fri Sep  3 09:34:03 2004
  .Trash                        DH        0  Thu Apr 19 11:43:54 2007
  .WWW                      DH        0  Mon Aug 29 19:23:06 1994
........

smb: \> cd Desktop
smb: \Desktop\> dir
NT_STATUS_ACCESS_DENIED listing \Desktop\*

                50738 blocks of size 2097152. 28366 blocks available


More information about the samba mailing list