But if i enable the role based strategy , i am able to login but, don’t have admin privileges eventhough i belongs to jenkins-admin AD group in my active directory .
First role strategy is case sensitive, so you need to make sure that you use the exact same names for your groups in the configuration.
Best way to do this is to start your Jenkins without auth as you’re able to do and then configure the Active Directory plugin. Then go to /whoAmI which should show you to which Authorities (aka groups) your user belongs. You will need to use exactly what is shown their in your configuration.
Thanks , earlier i did a mistake by creating global roles with my AD roles . Corrected it by adding the AD roles to assignments for the global roles i created .
name: “DevOps”. – Global Role Name
description: “DevOps Users” – Description
permissions:
- “Overall/Administer” --Permission
assignments:
- Jenkins – DevOps – My AD Role