KrisSaxton / salt-ldap

LDAP module and external pillar backend for salt
7 stars 5 forks source link

No data when ldap reference is in use and salt can't assign data from external pillar. #3

Open karpiozoo opened 7 years ago

karpiozoo commented 7 years ago

Hello, I have two problems, one is associated with the salt-ldap module, and the other has a problem assigning the salt-ldap pillars and assigning them to the salta form. The first problem is the lack of data returned from the ldap if the record to which it is referenced is an alias. The ldap.conf system is configured as: DEREF searching This should result in returning everything that is under the alias, although the returned list is empty. Returning an alias via ldapsearch works fine.

The second problem occurs when the list is returned (it refers to groups directly and not by alias) and I see a pillary when calling salt-call pillar.items but unfortunately they are not visible in JINJA formats and I can not list them.

Did You have any idea how to get data from ldap alias ?

karpiozoo commented 7 years ago

Second issue is resolved I had to use salt'pillar.get' insted of pillar['ldap_Groups-devel']['memberUid'].