On Thu, Feb 12, 2009 at 12:12:05PM +0100, Sebastian Reitenbach wrote: > Hi, > > I wanted to setup login_ldap for authpf, and it took me a while to figure out > what my problem is. > > The name of the file /usr/local/libexec/auth/login_-ldap > is wrong. After changing it to: > /usr/local/libexec/auth/login_ldap
This is intended, see login.conf manpage. the dash is added on purpose. Local authentication styles may be added by creating a login script for the style (see below). To prevent collisions with future official BSD Authentication style names, all local style names should start with a dash (-). Current plans are for all official BSD Authentication style names to begin with a lower case alphabetic character. For example, if you have a new style you refer to as slick then you should create an au- thentication script named /usr/libexec/auth/login_-slick using the style name -slick. When logging in via the login(1) program, the syntax user:-slick would be used. (Thanks sthen for pointing it to me) Landry
