Skip to content

Commit a3c21ae

Browse files
authored
Fix ldap configuration in /etc/netbox/config/ldap/*.py not loaded
1 parent 43aea3a commit a3c21ae

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docker/ldap_config.docker.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,10 @@ def __getattr__(name):
1313
except:
1414
pass
1515
raise AttributeError
16+
17+
def __dir__():
18+
names = []
19+
for config in _loaded_configurations:
20+
for name in config.__dir__():
21+
names.append(name)
22+
return names

0 commit comments

Comments
 (0)