[sudo-users] Re: sudo with LDAP

Aaron Spangler aaron777 at gmail.com
Thu Apr 21 11:24:37 EDT 2005


If you compiled sudo against OpenLDAP, you have either of these options:

Option 1) Specify the location of the ldap server using host & port

host ldapserver.domain.com
# default port is 389
port 389              

Or Option 2) Specify the uri
# default port is 389
uri ldap://ldapserver.domain.com

or
# default port is 636
uri ldaps://ldapserver.domain.com

# example with a different port
uri ldap://ldapserver.domain.com:10389

I hope this is helpfull.


On 4/21/05, mark.lucking at bnpparibas.com <mark.lucking at bnpparibas.com> wrote:
> Aaron,
> 
> Do you know what the syntax is for the ldap "uri" part of the ldap.cfg for
> the sudo command is in AIX ?
> 
> Mark
> 
> Internet
> aaron777 at gmail.com - 04/06/2005 06:35 PM
> 
> Please respond to aaron at spangler.ods.org
> To:    Mark LUCKING
> 
> cc:
> 
> Subject:    Re: sudo with LDAP
> 
> You can grab it here.  It's not perfect, but it it does a nice job for
> many users.
> 
> http://www.sudo.ws/cgi-bin/cvsweb/~checkout~/sudo/sudoers2ldif?rev=1.2&content-type=text/plain
> 
> - Aaron
> 
> On Wed, 6 Apr 2005 16:27:53 +0200, mark.lucking at bnpparibas.com wrote:
> > Aaron,
> >
> > Trying to get sudo with LDAP working with AIX5.2. Managed to fix the
> > schema, a few syntax changes.... but missing this sudoers2ldif file. Can
> > you send me the source perhaps please?
> >
> > Mark
> >
> >
> >
> > This message and any attachments (the "message") is
> > intended solely for the addressees and is confidential.
> > If you receive this message in error, please delete it and
> > immediately notify the sender. Any use not in accord with
> > its purpose, any dissemination or disclosure, either whole
> > or partial, is prohibited except formal approval. The internet
> > can not guarantee the integrity of this message.
> > BNP PARIBAS (and its subsidiaries) shall (will) not
> > therefore be liable for the message if modified.
> >
> >                 ---------------------------------------------
> >
> > Ce message et toutes les pieces jointes (ci-apres le
> > "message") sont etablis a l'intention exclusive de ses
> > destinataires et sont confidentiels. Si vous recevez ce
> > message par erreur, merci de le detruire et d'en avertir
> > immediatement l'expediteur. Toute utilisation de ce
> > message non conforme a sa destination, toute diffusion
> > ou toute publication, totale ou partielle, est interdite, sauf
> > autorisation expresse. L'internet ne permettant pas
> > d'assurer l'integrite de ce message, BNP PARIBAS (et ses
> > filiales) decline(nt) toute responsabilite au titre de ce
> > message, dans l'hypothese ou il aurait ete modifie.
> >
> >
> 
>




More information about the sudo-users mailing list