Hello people how are you
I'm in trouble, I think it's a SYNTAX problem.
When I type this part:
source-identity "example.net \ galenrikka";
He takes the space, and draws the backslash.
It is thus source-identity "example.net galenrikka";
Can someone help me ?
Here is the sample material:
https://www.juniper.net/documentation/en_US/junos12.1x47/topics/example/example-userfw-ad.html
From configuration mode, confirm your policy configuration by entering the show security policies command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.
user@host# show security policies
from-zone trust to-zone untrust {
policy p1 {
match {
source-address any;
destination-address any;
application any;
source-identity unauthenticated-user;
}
then {
permit {
firewall-authentication {
user-firewall {
access-profile profile1;
}
}
}
}
}
policy p2 {
match {
source-address any;
destination-address any;
application any;
source-identity “example.net\galenrikka”;
}
then {
permit;
}
}
}
If you are done configuring the device, enter commit from configuration mode.
#syntaxproblem