View Single Post
Old 14th June 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,152
Default

Perhaps you misunderstood me.
  1. The "ldap" FLAVOR of security/cyrus-sasl2 includes an example saslauthd.conf file. You could install it instead of the standard package. For 4.9-release, the package name is cyrus-sasl-2.1.23p5-ldap.
  2. The file is only used if you have an LDAP authentication directory schema installed in your environment. Here is the file, extracted from cyrus-sasl-2.1.23p5-ldap.tgz tarball, as I mentioned above, from share/examples/sasl2/:
    Code:
    # $OpenBSD: saslauthd.conf,v 1.1 2008/03/15 12:50:46 ajacoutot Exp $
    
    # auth_ldap authentication/authorization module for saslauthd
    # see /usr/local/share/doc/sasl2/LDAP_SASLAUTHD for details
    
    # ldap_bind_dn:
    # ldap_bind_pw:
    
    ldap_servers: ldap://ldap1.domain.tld/ ldap://ldap2.domain.tld/
    ldap_search_base: dc=domain,dc=tld
    ldap_filter: uid=%u
    ldap_start_tls: no
    ldap_use_sasl: no
    ldap_version: 3
    ldap_scope: sub
In addition.... Never blindly follow a "How to" document you find on the Internet, assuming it will apply to your environment. If you do not understand what you read in such a document, you should ask the author.

Even if you happen upon a "How to" document written by an OpenBSD user, it is unlikely that your environment will match the author's. Most such documents are written by new users who are proud of their achievements. These new users have little understanding of the wide variety of configurations, provisioning choices, impacts of their recommendations, or the useful lifespan of their "How to" posts.

Debian is a Linux distribution. Linux is not BSD, even though both are Unix-like operating systems. Directory structures, libraries, toolsets, and system facilities are very different.
Reply With Quote