Hello.
Yesterday I upgrade my OpenSuSE 15.6 machine where I have a DS389 working. Since then, the system ignores the existence of the ~/.dsrc file. When giving, for example a simple:
dsidm ldapint user list
It will ask me for the basedn, althought I have it well defined inside ~/.dsrc:
[ldapint]
uri = ldapi://%%2fvar%%2frun%%2fslapd-ldapint.socket
basedn = dc=example,dc=com
binddn = cn=Directory Manager
If I debug (-v) the command I see some weird things. In principle, it seems to read correctly the file. But seems to give the command line a higher precedence over the .dsrc file:
DEBUG: dsrc instances: [‘ldapint’]
DEBUG: dsrc completed with {‘args’: {‘server-id’: ‘ldapint’, ‘ldapurl’: ‘ldapi://%2fvar%2frun%2fslapd-ldapint.socket’, ‘root-dn’: ‘cn=Directory Manager’, ‘ldapi_enabled’: ‘on’, ‘ldapi_socket’: ‘2fvar%2frun%2fslapd-ldapint.socket’, ‘ldapi_autobind’: ‘on’}, ‘uri’: ‘ldapi://%2fvar%2frun%2fslapd-ldapint.socket’, ‘basedn’: ‘dc=example,dc=com’, ‘people_rdn’: None, ‘groups_rdn’: None, ‘binddn’: ‘cn=Directory Manager’, …
DEBUG: Called with: Namespace(basedn=None, binddn=None, …
The comnmand with -b “dc=example,dc=com” works as expected.
Previous to the upgrade, the system was reading .dsrc normally and I hadn’t to use -b.
Does anyone know if something has changed on the last SuSE upgrade?
Is there a simple way of having the previous behaviour?
Thanks