--[[
Called:
when AuthLDAP module translates user name to DN
Database:
available
Parameters:
user username
Returned value:
nil unknown user
string empty unknown user
non-empty DN of user
Procedure from next set will be called if returned nothing.
]]
local args = ... -- args.user
-- example code:
-- if args.user == 'super-admin' then return 'CN=super,DC=example,DC=com' end
-- no return => `nil' value
|