[Linuxtrent] Re: Postfix non riesce a comunicare correttamente con il mio vecchio LDAP

  • From: Marco Agostini <comunelevico@xxxxxxxxx>
  • To: linuxtrent@xxxxxxxxxxxxx
  • Date: Fri, 12 Aug 2011 10:08:46 +0200

2011/8/12 Marco Agostini <comunelevico@xxxxxxxxx>:
>
> da qui capisco che il bind con LDAP è andato a buon fine:
> postmap: dict_ldap_connect: Successful bind to server
> ldap://IP_DEL_SERVER_LDAP as
> CN=UTENTE_ABILITATO_A_LEGGERE_LDAP,CN=Users,dc=MIODOMINIO,dc=LOCALE
>

credo che postmap mi stia prendendo in giro !

per qualsiasi utente o password (anche utenti inesisteni o password
errate) postmap mi restituisce "Successful bind to server".... mumble
mumble :-|

questa è la versione di postfix che sto utilizzando 2.7.1-1+squeeze1

dal sito di postfix (http://www.postfix.org/ldap_table.5.html) trovo questo:

Postfix versions prior to 2.8 only support "bind  =
              no"  which means don't bind, and "bind = yes" which
              means do a SIMPLE bind.  Postfix 2.8 and later also
              supports "bind = SASL" when compiled with LDAP SASL
              support as described in LDAP_README, it  also  adds
              the  synonyms "bind = none" and "bind = simple" for
              "bind = no" and "bind = yes" respectively. See  the
              SASL section below for additional parameters avail-
              able with "bind = sasl".

ma se provo a impostare "bind = simple" il comando postmap mi
restituisce "fatal: /etc/postfix/ldap-users.cf: bad boolean
configuration: bind = simple".

suggerimenti ?
grazie mille.
--
Per iscriversi  (o disiscriversi), basta spedire un  messaggio con OGGETTO
"subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx


Other related posts: