• [deleted]

I am getting "access denied" when I type in the username on the normal account on the sign-in page however when I input the users email it works

The files and folders have the correct permissions too

  • [deleted]

  • Edited

I also did a completely fresh install with a new database and still the same thing.

Unless a person registers for an account (ie is not a guest) then they do not have a "username".

Is this a registered user?
Are you running the Authentication::LDAP and AD plugin?

    • [deleted]

    ntozier Yes it is a registered user and they enter their username

    i also am running the plugin

    this is the default signup page

    So when someone signs up for an account it sends them a email confirmation. Have they clicked on the link in the email and confirmed their email? If you go to Agent Panel -> Users are they Active (Registered) or Guest?

    Have you enabled the plugin for Users? Admin panel -> Manage -> Plugins
    Click on the Plugin name, scroll to the bottom.
    Is "Client Authentication" checked?

      • [deleted]

      • Edited

      ntozier

      I have the extension installed and enabled

      It seems that your PHP disagrees with your statement.

      To install php-ldap in Ubuntu you would open a command prompt and run:
      apt-get install php7.0-ldap
      note: if you are using PHP 7.1, 7.2, or 7.3 you would likely have to change the command and change the 0 in the above to the correct subversion that you are running.

      Then you would restart Apache.
      service apache2 restart

      You can check if PHP thinks ldap is enabled by creating a testldap.php file in your webserver site and put this in it
      <?php phpinfo(); ?>

      Then browse to the site\testldap.php. It will output all your PHP configuration to the screen.
      Make sure that you delete this file after.

      2 years later

      I hope this thread is ok to post to, since I am getting "Access Denied" in a slightly different context.
      Here's what I am doing:
      1) I received a test email informing me of the ticket number
      2) I did not use the link as this would just take me to a login page and I haven't registered an account
      3) I had the ticket system still open in another browser tab where I entered the test user email and the ticket number
      4) I clicked the "Email Access Link" which I expected to send a link for accessing the ticket directly from my mail client but I get the "Access Denied"

      So can I deduced that a use must register before being able to create tickets?
      If so, that should prevent a ticket being created without an account.
      If not, what do I need to configure in admin to allow that "Email Access Link" to work?

      Many thanks in advance.

        sdclee Ok it looks like you have to have registered first in order for it to work.

        Write a Reply...