Skip to content

Release candidate to include use of dict params

Compare
Choose a tag to compare
@sshanks-kx sshanks-kx released this 23 Sep 09:47

Both the functions .ldap.search and .ldap.bind have been modified to take a dictionary as input in place of parameters which have 'natural' defaults

.ldap.search now takes 4 parameters

  1. sess the integer representing a session created with .ldap.init
  2. scope the integer representing the scope of how a search should take place
  3. filter the string representing how to filter the search process
  4. customDict a dictionary where a user can overwrite the default operation of the 'old' parameters
`baseDn
`attr
`attrsOnly
`timeLimit
`sizeLimit

.ldap.search now takes 2 parameters

  1. sess the integer representing a session created with .ldap.init
  2. customDict a dictionary where a user can overwrite the default operation of the 'old' parameters
`dn
`cred
`mech