Re: postfix-2.2.8 with sasl2 and ldap support

2007-05-09 Thread Antonis Faragitakis

thank you Pedro

hope it'll work :)

atn

On 09/05/07, Pedro de Oliveira <[EMAIL PROTECTED]> wrote:

1. cd /usr/ports/mail/postfix/snapshot
2. export FLAVOR="sasl2 ldap"
3. make install clean
4. ?
5. PROFIT

-Mensagem original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de
Antonis Faragitakis
Enviada: quarta-feira, 9 de Maio de 2007 12:20
Para: misc@openbsd.org
Assunto: postfix-2.2.8 with sasl2 and ldap support

Hi,


How can i install postfix-2.2.8 with ldap and sasl2 support? I've
searched the web but couldnt find any usefull information. Can you
please guide me?



thanks
atno




Re: postfix-2.2.8 with sasl2 and ldap support

2007-05-09 Thread Pedro de Oliveira
1. cd /usr/ports/mail/postfix/snapshot
2. export FLAVOR="sasl2 ldap"
3. make install clean
4. ?
5. PROFIT

-Mensagem original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de
Antonis Faragitakis
Enviada: quarta-feira, 9 de Maio de 2007 12:20
Para: misc@openbsd.org
Assunto: postfix-2.2.8 with sasl2 and ldap support

Hi,


How can i install postfix-2.2.8 with ldap and sasl2 support? I've
searched the web but couldnt find any usefull information. Can you
please guide me?



thanks
atno



postfix-2.2.8 with sasl2 and ldap support

2007-05-09 Thread Antonis Faragitakis

Hi,


How can i install postfix-2.2.8 with ldap and sasl2 support? I've
searched the web but couldnt find any usefull information. Can you
please guide me?



thanks
atno



Compileing with LDAP support

2005-11-19 Thread Beck Zoltan Gyula
Hi!

  I've the same problem with two different program, I can't compile with
LDAP support.
  The first is ISC Dhcpd ftp://ftp.isc.org/isc/dhcp/dhcp-3.0.3.tar.gz
with LDAP patch http://www.newwave.net/~masneyb/dhcp-3.0.3-ldap-patch. I
got the following:
Making all in common
cc -g  -I/tmp/dhcp-3.0.3  -I/tmp/dhcp-3.0.3/includes-c raw.c
In file included from raw.c:53:
/tmp/dhcp-3.0.3/includes/dhcpd.h:83:19: ldap.h: No such file or directory
In file included from raw.c:53:
/tmp/dhcp-3.0.3/includes/dhcpd.h:259: error: syntax error before
"LDAPMessage"
*** Error code 1

  The other program is gnarwl,
http://www.home.unix-ag.org/patrick/software/gnarwl/gnarwl-3.3.tgz, the
configure said:
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gdbm_open in -lgdbm... no
checking for ldap_init in -lldap... no
checking for ldap_set_option... no
checking for iconv... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating conf.h

I've set shlib_dirs="$shlib_dirs /usr/local/lib". OpenLDAP server and
client is installed. What I'm missing?

  Best Regards
Zoltan Beck



Re: Locations of config files through ports [Was: LDAP Support]

2005-06-28 Thread Rogier Krieger
To get up to speed in finding things, I suggest reading hier(7) as
well as ports(7) after looking through afterboot(8). That way, you can
get a feel for things different from FreeBSD (or any OS, for that
matter). And of course the FAQ.


On 6/28/05, Matt Juszczak <[EMAIL PROTECTED]> wrote:
> Where does OpenBSD keep its user configurations?  /usr/local/etc/?  Or
> does stuff stay in /etc?

Apart from chrooted utilities, such as httpd and named, that keep
their stuff at various locations under /var, configuration items stay
in /etc. That is, I have yet to encounter anything in /usr/local/etc,
and if I recall correctly, comments along these lines did pass the
list in the past. I suspect this has been a deliberate choice.

Cheers,

Rogier

-- 
If you don't know where you're going, any road will get you there.



Re: Locations of config files through ports [Was: LDAP Support]

2005-06-28 Thread Matt Juszczak

Rogier Krieger wrote:


On 6/27/05, Matt Juszczak <[EMAIL PROTECTED]> wrote:
 


Is it possible to integrate LDAP into the system so that all
authentication is done via LDAP?
   



You may want to check out login_ldap from ports (sysutils/login_ldap)
which uses BSD auth present in OpenBSD. See how you like it and give
it a test run, especially before you decide to move things over.

Cheers,

Rogier
 



Two of my FreeBSD 5.4 machines are now crashing every 10-12 hours and 
there are no hardware problems.  I can't even dump a core.  It looks 
like I'm going to have to switch to something quick, and OpenBSD sounds 
like my best option.  I'm going to test it on a devel box today and if 
it works I'm going to move the OS tomorrow on the mail server.


Where does OpenBSD keep its user configurations?  /usr/local/etc/?  Or 
does stuff stay in /etc?


Thanks,

Matt



Re: LDAP Support

2005-06-27 Thread Antoine Jacoutot

Matt Juszczak wrote:
the system so that all authentication is done via LDAP?  I know OpenBSD 
does not have NSS/PAM like FreeBSD does, so I'm trying to investigate 
how quick and easy it would be to switch our solution to OpenBSD.


Well, PAM is not included with OpenBSD which uses bsd_auth instead. You 
can use the login_ldap port (/usr/ports/sysutils/login_ldap) to 
authenticate against an LDAP server just like you would do with PAM.
However, there's no clean way to use an LDAP server to get user info 
under OpenBSD like you would do under FreeBSD/Linux with nss_ldap.


Regards,

Antoine



Re: LDAP Support

2005-06-27 Thread Wu
[ smtp (sendmail) ][ imaps/pop3s (cyrus-imapd) ]
|   |
|   |
|   |
-
| |
  [ cyrus-sasl (saslauthd)]
 |
 |
[OpenLDAP]

This way you get LDAP-based authentication for all the email
services. Sendmail is in base, cyrus-imapd and cyrus-sasl
are in ports, aswell as OpenLDAP.

(dunno if you mean something like that, hope it works)


On Mon, 27 Jun 2005 17:13:28 -0400 (EDT)
Matt Juszczak <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> I'm currently experiencing major problems with FreeBSD 5.4 (stability, 
> system keeps crashing) and i'm looking for an alternative solution.
> 
> Right now, we have a mail server which is completely 100% LDAP (no local 
> accounts on the system at all).  Is it possible to integrate LDAP into the 
> system so that all authentication is done via LDAP?  I know OpenBSD does 
> not have NSS/PAM like FreeBSD does, so I'm trying to investigate how quick 
> and easy it would be to switch our solution to OpenBSD.
> 
> TIA, Regards,
> 
> Matt
> 


-- 

"Perceive that which cannot be seen with the eye." - Miyamoto Musashi
-
Francisco de Borja Lspez Rmo ([EMAIL PROTECTED])
Csdigo23 - Secure Network Solutions
http://www.codigo23.net / http://www.e-shell.org



Re: LDAP Support

2005-06-27 Thread OutBack Dingo
actually here is the correct patch : ) arghhh to much code : ))

On Mon, 2005-06-27 at 19:12 -0400, Matt Juszczak wrote:
> 
> > Have you considered there might be a problem with the hardware and not
> > the OS. maybe memory has become faulty. Ive got 62 FreeBSD 5.4 Servers
> > running and they dont crash. Maybe you are using a piece of incompatible
> > hardward, or something may have started to show signs of becoming
> > faulty. Before you decide to rip out the OS and have potentially the
> > same problem with OpenBSD or NetBSD, be sure its not something other
> > then the OS. If you need some help in maybe trouble shooting the issue,
> > feel free to post the points here.
> 
> Thanks for you response.
> 
> I am pretty sure this is the known ttwakeup bug in FreeBSD, which is a 
> known bug that has not been fixed.  Occurs on SMP machines with high 
> traffic.
> 
> Thats why I was considering switching Operating Systems.
> 
> -Matt

[demime 1.01d removed an attachment of type text/x-patch which had a name of 
tty_5.4.patch]



Re: LDAP Support

2005-06-27 Thread Rogier Krieger
On 6/27/05, Matt Juszczak <[EMAIL PROTECTED]> wrote:
> Is it possible to integrate LDAP into the system so that all
> authentication is done via LDAP?

You may want to check out login_ldap from ports (sysutils/login_ldap)
which uses BSD auth present in OpenBSD. See how you like it and give
it a test run, especially before you decide to move things over.

Cheers,

Rogier

-- 
If you don't know where you're going, any road will get you there.



Re: LDAP Support

2005-06-27 Thread Matt Juszczak

Have you considered there might be a problem with the hardware and not
the OS. maybe memory has become faulty. Ive got 62 FreeBSD 5.4 Servers
running and they dont crash. Maybe you are using a piece of incompatible
hardward, or something may have started to show signs of becoming
faulty. Before you decide to rip out the OS and have potentially the
same problem with OpenBSD or NetBSD, be sure its not something other
then the OS. If you need some help in maybe trouble shooting the issue,
feel free to post the points here.


Thanks for you response.

I am pretty sure this is the known ttwakeup bug in FreeBSD, which is a 
known bug that has not been fixed.  Occurs on SMP machines with high 
traffic.


Thats why I was considering switching Operating Systems.

-Matt



Re: LDAP Support

2005-06-27 Thread OutBack Dingo
Have you considered there might be a problem with the hardware and not
the OS. maybe memory has become faulty. Ive got 62 FreeBSD 5.4 Servers
running and they dont crash. Maybe you are using a piece of incompatible
hardward, or something may have started to show signs of becoming
faulty. Before you decide to rip out the OS and have potentially the
same problem with OpenBSD or NetBSD, be sure its not something other
then the OS. If you need some help in maybe trouble shooting the issue,
feel free to post the points here.

On Mon, 2005-06-27 at 17:13 -0400, Matt Juszczak wrote:
> Hi all,
> 
> I'm currently experiencing major problems with FreeBSD 5.4 (stability, 
> system keeps crashing) and i'm looking for an alternative solution.
> 
> Right now, we have a mail server which is completely 100% LDAP (no local 
> accounts on the system at all).  Is it possible to integrate LDAP into the 
> system so that all authentication is done via LDAP?  I know OpenBSD does 
> not have NSS/PAM like FreeBSD does, so I'm trying to investigate how quick 
> and easy it would be to switch our solution to OpenBSD.
> 
> TIA, Regards,
> 
> Matt



Re: LDAP Support

2005-06-27 Thread Maxim Bourmistrov
Try to search at http://marc.theaimsgroup.com on this subject.
OpenBSD have BSD-auth.
 
On Monday 27 June 2005 23:13, you wrote:
> Hi all,
> 
> I'm currently experiencing major problems with FreeBSD 5.4 (stability, 
> system keeps crashing) and i'm looking for an alternative solution.
> 
> Right now, we have a mail server which is completely 100% LDAP (no local 
> accounts on the system at all).  Is it possible to integrate LDAP into the 
> system so that all authentication is done via LDAP?  I know OpenBSD does 
> not have NSS/PAM like FreeBSD does, so I'm trying to investigate how quick 
> and easy it would be to switch our solution to OpenBSD.
> 
> TIA, Regards,
> 
> Matt
> 
> 

-- 
Best regards
Maxim Bourmistrov



LDAP Support

2005-06-27 Thread Matt Juszczak

Hi all,

I'm currently experiencing major problems with FreeBSD 5.4 (stability, 
system keeps crashing) and i'm looking for an alternative solution.


Right now, we have a mail server which is completely 100% LDAP (no local 
accounts on the system at all).  Is it possible to integrate LDAP into the 
system so that all authentication is done via LDAP?  I know OpenBSD does 
not have NSS/PAM like FreeBSD does, so I'm trying to investigate how quick 
and easy it would be to switch our solution to OpenBSD.


TIA, Regards,

Matt