3 Replies Latest reply on Jan 7, 2016 9:23 AM by eelsasser

    domain value in mwg policy

    hon

      Could someone suggest me for this. I waana get the domain arrtibute inthe mwg policy. what policy artibute that i have to use. for example i want to allow client authen with full user " domain\user"

      and want to user domain\user in mwg rule. can i do that caz mwg only see the user not domain

        • 1. Re: domain value in mwg policy

          Add a rule like this right after your authentication rule.

           

          Name:
          Prepend Realm\ to Username


          Comment:
          Puts the domain name in front of the user name


          Rule Criteria:
          Authentication.IsAuthenticated equals true AND
          Authentication.Realm does not equal ""


          Action:
          Continue


          Events:
          Set Authentication.UserName = Authentication.Realm
          + "\"
          + Authentication.UserName

           

          This will put domain into the logs:

          Capture.png

           

          It can also be used for rules like:

          Authentication.UserName is in list Exception #1: Users or Groups

          Capture1.png

          • 2. Re: domain value in mwg policy
            hon

            dear eelsasser,

            Your policy help me a lot thank for that but do you have problem with web reporter caz after i use this rule web reporter cannot parse the log .

            • 3. Re: domain value in mwg policy

              I'd have to see the entire log definition. There is probably a missing quote or the column headers have become mis-aligned.

              The log should definitely import if the field is in the identical place.