1 Reply Latest reply on Jun 15, 2014 10:18 AM by Dude!

    Samba NT_STATUS_ACCESS_DENIED

    428f2fbe-9490-41cc-9842-8037be0e0454


      Hello,


      I installed a Oracle Linux (oracle Linux server 6.5)to run a Oracle database. Unfortunately I must have a Windows share. I installed samba 3.6 and I join this server to my EMEA domain. Server appear in active directory.


      Now with this smb.conf I would like to share a test folder but I get a error message


      smbclient -L swchchxsebd01 -U jim@emea
      tree connect failed: NT_STATUS_ACCESS_DENIED


      wbinfo -a username%password

      plaintext password authentication succeeded


      I use Kerberos and winbind. Selinux is disabled. I don't understand because  the same config file works fine withe a Debian 7 on the same network and domain.


      Have you some ideas ?


      [global]
              workgroup = EMEA
              realm = EMEA
              server string = %h server
              security = ADS
              map to guest = Bad User
              obey pam restrictions = Yes
              password server = 10.100.0.20
              pam password change = Yes
              passwd program = /usr/bin/passwd %u

              passwd chat = Enter\snew\s\spassword:* %n\n Retype\snew\s\spassword:* %n\n password\supdated\ssuccessfully .
              unix password sync = Yes
              restrict anonymous = 2
              lanman auth = Yes
              client NTLMv2 auth = No
              client lanman auth = Yes
              syslog = 0
              log file = /var/log/samba/log.%m
              max log size = 1000
              min receivefile size = 16384
              socket options = SO_RCVBUF=131072 SO_SNDBUF=131072 TCP_NODELAY
              local master = No
              usershare allow guests = Yes
              panic action = /usr/share/samba/panic-action %d
              template shell = /bin/bash
              winbind enum users = Yes
              winbind enum groups = Yes
              winbind use default domain = Yes
              winbind refresh tickets = Yes
              idmap config * : range = 10000-20000
              idmap config * : backend = tdb
              aio read size = 16384
              aio write size = 16384
              use sendfile = Yes

      [test]
              comment = test
              path = /tmp/test
              read only = No
              create mask = 0777
              directory mask = 0777