Re: LDAP and mutt.

2002-01-16 Thread Marco van Lienen

Hey all.

On Fri, Oct 26, 2001 at 01:58:06PM -0700,([-30]7867.09) in a galaxy far far away, Gary 
Johnson muttered on the list:
> 
> There is a list of scripts to do just that at 
> 
> http://www.fiction.net/blong/programs/mutt/
> 
> under "External Address Query Scripts".  I adapted one of them,
> mutt_ldap_query2.pl, ("ldapsearch wrapper modified by Warren Jones") to
> work with my company's LDAP server.

For starters, I'm an ldap newbie, so be gentle with me ;)

I've used this script successfully in the past but then I ran with the
OpenLdap 1.2 suite.
I recently upgraded to RH Linux 7.2 (from RH 6.2) which comes with OpenLdap 2.0
(openldap-2.0.11-13 and openldap-clients-2.0.11-13).

When I run the ldap query perl script, I get: 

ldap_sasl_interactive_bind_s: No such attribute
ldapsearch failed: 

According to a Google search this means: 

This indicates that LDAP SASL authentication function could
read the Root DSE but it contained no supportedSASLMechanism
attribute.

The Ldap host is a M$ Exchange server.

I've tried all the SASL Mechs listed in the RFC's and the only one that gave
me some sort of response was the DIGEST-MD5 mech, but I don't think that should
be the right method because of the authentication involved ( I used to be able
to query the ldap host without supplying some form of login credentials).

I also tried using the ldap query perl script by Marc de Courville using the
NET::LDAP module before ldapsearch is called but to no avail.

Anyone know a solution?

Marco.

-- 
Marco van Lienen  <[EMAIL PROTECTED]>
 
S@H:3097WU/5.729yr --> setiathome.ssl.berkeley.edu Will you find aliens?
 
Why did it happen ? BOFH Excuse:
 Error #763: hard disk not ready, close door.



msg23185/pgp0.pgp
Description: PGP signature


Re: reloading mutt aliases file

2001-02-05 Thread Marco van Lienen

On Fri, Dec 22, 2000 at 03:54:26PM -0500,([-30]6142.71) Ken Weingold said the 
following stuff:
> Stupid question.  How do I reload my .mutt.aliases from within mutt?
> I try at the ':' 'source .mutt.aliases' but it doesn't.  It goes right
> back into mutt with no error, but if I try to save an alias with the 
> same name I just deleted from it, it says I still have that alias.  I
> also tried 'source ~/.mutt.aliases' , etc.
> 

does the .mutt.aliases file also recognize the reset all command?

My .muttrc starts with the : reset all, to force this rc file for read!
Perhaps you can try this with the .mutt.aliases file also?

HTH

grtz,
Marco.

> Thanks.
> 
> 
> -Ken
> 
> -- 
> [EMAIL PROTECTED]AIM: ScopusFest

-- 
Marco van Lienen<[EMAIL PROTECTED]>
Unix SysAdmin   World Online Netherlands

http://www.worldonline.nl

Office: +31 (0)30 2483655
Mobile: +31 (0)6 22473707

% date me
You are not superuser: date not set

 PGP signature


Re: Trying to wrap my messages at 72 characters

2000-12-20 Thread Marco van Lienen

I use: set editor="vim -u ~/.vimrc-mutt" (from my .muttrc).
And .vimrc-mutt contains: 
set tw=78
set wrap

just change tw to value 72.

Marco.

On Fri, Dec 15, 2000 at 09:13:19AM -0600,([-30]5908.27) Bryan Walton said the 
following stuff:
> On Thu, Dec 14, 2000 at 03:29:47PM -0600, David Champion wrote:
> > On 2000.12.14, in <[EMAIL PROTECTED]>,
> > "Bryan Walton" <[EMAIL PROTECTED]> wrote:
> > 
> > > vi understands the wl.  However, when I begin to compose a message in
> > > mutt, the addition of this "wrap command" has the effect of positioning 
> > > my cursor at the bottom of my signature, and not at the top of the
> > > screen.  Is there something I can tell Mutt to make my cursor begin at
> > > the very top of the message that I am composing?
> > 
> > Create or modify the file ".exrc" in your home directory.  Add a line reading:
> > 
> > set wl=72
> > 
> > (The leading tab is just for distinction here; don't put it in the file.)
> > 
> 
> Thank you to everyone who offered ideas.  David, thanks a bunch.  Your
> idea of the .exrc file fixed my problem.  I created that file and then
> removed the line from my .muttrc
> 
> Thanks,
> Bryan Walton

-- 
Marco van Lienen[EMAIL PROTECTED]
Unix SysAdmin   World Online Netherlands

Shhh... be vewy, vewy, quiet!  I'm hunting wabbits...


 PGP signature


Re: User ID different from email address

2000-11-28 Thread Marco van Lienen

On Mon, Nov 27, 2000 at 08:18:55PM -0500,([-30]5797.15) Maciej Kalisiak muttered:
> On Mon, Nov 27, 2000 at 10:43:21AM -0500, Peter Pentchev wrote:
> > Have you tried editing your muttrc file and setting the 'from' and
> > 'envelope-from' mutt variables to [EMAIL PROTECTED]?
> 
> Actually I think you mean "envelope_from" (underscore, not dash), and in fact
> it is a boolean option, so I think you meant "set envelope_from=true".

"set envelope_from=yes" works for me


> 
> HTH,
> 
> -- 
> Maciej Kalisiak   [EMAIL PROTECTED] www.dgp.toronto.edu/~mac

-- 
Marco van Lienen[EMAIL PROTECTED]

Shhh... be vewy, vewy, quiet!  I'm hunting wabbits...

 PGP signature