Page 2 of 2

Re: GPO agent deployment issue

Published: October 25, 2023 - 2:19 PM
by sfonteneau
I assume these are rules based on IP ranges.

Is it possible to provide us with both IP ranges?

Given the problem, I suspect the IP address given isn't a subnet IP.

Re: GPO agent deployment issue

Published: October 25, 2023 - 2:31 PM
by Christophe
This is for one hub (1 depot). I have another one in Douai

Re: GPO agent deployment issue

Published: October 25, 2023 - 2:43 PM
by sfonteneau
It's possible to have all the rules

The one you gave seems correct

to test:

Code: Select all

import ipaddress
ipaddress.ip_network("192.168.1.0/24")

Re: GPO agent deployment issue

Published: October 25, 2023 - 2:56 PM
by Christophe
Here are the others. We haven't made a rule for Arras because it's the main server

Re: GPO agent deployment issue

Published: October 25, 2023 - 2:57 PM
by Christophe
and another one

Re: GPO agent deployment issue

Published: October 25, 2023 - 4:31 PM
by sfonteneau
Some of your rules are not valid:

Code: Select all

C:\Windows\System32>waptpython
Python 3.8.18 (default, Sep 21 2023, 18:30:17) [MSC v.1929 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import ipaddress
>>> ipaddress.ip_network("172.20.166.0/20")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "ipaddress.py", line 74, in ip_network
    def _compat_range(start, end, step=1):
  File "ipaddress.py", line 1459, in __init__
    @property
ValueError: 172.20.166.0/20 has host bits set
>>>

Code: Select all

C:\Windows\System32>waptpython
Python 3.8.18 (default, Sep 21 2023, 18:30:17) [MSC v.1929 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import ipaddress
>>> ipaddress.ip_network("172.20.182.0/20")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "ipaddress.py", line 74, in ip_network
    def _compat_range(start, end, step=1):
  File "ipaddress.py", line 1459, in __init__
    @property
ValueError: 172.20.182.0/20 has host bits set
Using this is very convenient: https://cric.grenoble.cnrs.fr/Administr ... culMasque/

[SOLVED] Re: GPO agent deployment issue

Published: October 26, 2023 - 12:54 PM
by Christophe
Yes, there was indeed an error.

After correcting it, my GPO is working properly again.

Thank you so much for your help.