That's what is included in dokuwiki.php:
$conf['authtype'] = 'authplain'; //which authentication backend should be used
local.php includes:
$conf['authtype'] = 'authad';
And I thought the setting in local.php is the one I need for authad and is overwriting the setting in dokuwiki.php. Or am I wrong??