<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word" xmlns:m = 
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2800.1601" name=GENERATOR>
<STYLE>@font-face {
        font-family: Wingdings;
}
@font-face {
        font-family: Cambria Math;
}
@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@font-face {
        font-family: MS Sans Serif;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 70.85pt 70.85pt 70.85pt 70.85pt; }
P.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
LI.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
DIV.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman","serif"; mso-style-priority: 99; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal
}
SPAN.EmailStyle19 {
        COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-reply
}
.MsoChpDefault {
        FONT-SIZE: 10pt; mso-style-type: export-only
}
DIV.Section1 {
        page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=IS vLink=purple link=blue>
<DIV><SPAN class=235554313-09052008><FONT face=Arial color=#0000ff size=2>Did 
you recompile sudo with the --with-ldap flag?</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> 
  fedora-directory-users-bounces@redhat.com 
  [mailto:fedora-directory-users-bounces@redhat.com]<B>On Behalf Of </B>Siguršur 
  Bjarnason<BR><B>Sent:</B> Thursday 8 May 2008 15:48<BR><B>To:</B> General 
  discussion list for the Fedora Directory server project.<BR><B>Subject:</B> 
  RE: [Fedora-directory-users] Usermod<BR><BR></FONT></DIV>
  <DIV class=Section1>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d">Thanks...&nbsp; ..I have 
  however SUDO schema for LDAP allready. But I cant seam to figure out how to 
  allow certain users to login as other users.. </SPAN><SPAN 
  style="COLOR: #1f497d; FONT-FAMILY: Wingdings">L</SPAN><SPAN 
  style="COLOR: #1f497d"><o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d">Should I just allow the users 
  to do su - ... but then they can login as root also right 
  ?..<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d">This is my sudo 
  schema<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d">dn: 
  cn=schema<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d">attributeTypes: ( 
  1.3.6.1.4.1.15953.9.1.1 NAME 'sudoUser' DESC 'User(s) who may&nbsp; run sudo' 
  EQUALITY caseExactIA5Match SUBSTR caseExactIA5SubstringsMatch SYNTAX 
  1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 'SUDO' )<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d">attributeTypes: ( 
  1.3.6.1.4.1.15953.9.1.2 NAME 'sudoHost' DESC 'Host(s) who may run sudo' 
  EQUALITY caseExactIA5Match SUBSTR caseExactIA5SubstringsMatch SYNTAX 
  1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 'SUDO' )<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d">attributeTypes: ( 
  1.3.6.1.4.1.15953.9.1.3 NAME 'sudoCommand' DESC 'Command(s) to be executed by 
  sudo' EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 
  'SUDO' )<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d">attributeTypes: ( 
  1.3.6.1.4.1.15953.9.1.4 NAME 'sudoRunAs' DESC 'User(s) impersonated by sudo' 
  EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 
  'SUDO' )<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d">attributeTypes: ( 
  1.3.6.1.4.1.15953.9.1.5 NAME 'sudoOption' DESC 'Options(s) followed by sudo' 
  EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 
  'SUDO' )<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d">objectClasses: ( 
  1.3.6.1.4.1.15953.9.2.1 NAME 'sudoRole' SUP top STRUCTURAL DESC 'Sudoer 
  Entries' MUST ( cn ) MAY ( sudoUser $ sudoHost $ sudoCommand $ sudoRunAs $ 
  sudoOption $ description ) X-ORIGIN 'SUDO' )<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d">Regards<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d">Siggi<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p>&nbsp;</o:p></SPAN></P>
  <DIV>
  <DIV 
  style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
  <P class=MsoNormal><B><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN 
  lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> 
  fedora-directory-users-bounces@redhat.com 
  [mailto:fedora-directory-users-bounces@redhat.com] <B>On Behalf Of 
  </B>FAUCONNIER Valery AWL-IT<BR><B>Sent:</B> 7. maķ 2008 06:31<BR><B>To:</B> 
  General discussion list for the Fedora Directory server 
  project.<BR><B>Subject:</B> RE: [Fedora-directory-users] 
  Usermod<o:p></o:p></SPAN></P></DIV></DIV>
  <P class=MsoNormal><o:p>&nbsp;</o:p></P>
  <DIV>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">There&nbsp;is 
  a schema for sudo entries look at <A 
  href="http://fci.wikia.com/wiki/Setting_Up_A_Centralised_Authentication_Server_With_Sudo_Access_Using_LDAP">http://fci.wikia.com/wiki/Setting_Up_A_Centralised_Authentication_Server_With_Sudo_Access_Using_LDAP</A></SPAN><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P></DIV>
  <DIV>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'">&nbsp;<o:p></o:p></SPAN></P></DIV>
  <DIV>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">You 
  have to modify the given shema to be compatible with fds (a script exists to 
  convert schema):</SPAN><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P></DIV>
  <DIV>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'">&nbsp;<o:p></o:p></SPAN></P></DIV>
  <DIV>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'"># cat 
  77sudo.ldif 
  <BR>#<BR>################################################################################<BR>#<BR>dn: 
  cn=schema<BR>#<BR>################################################################################<BR>#<BR>attributeTypes: 
  (<BR>&nbsp; 1.3.6.1.4.1.15953.9.1.1<BR>&nbsp; NAME 'sudoUser'<BR>&nbsp; DESC 
  'User(s) who may run sudo'<BR>&nbsp; EQUALITY caseExactIA5Match<BR>&nbsp; 
  SUBSTR caseExactIA5SubstringsMatch<BR>&nbsp; SYNTAX 
  1.3.6.1.4.1.1466.115.121.1.26<BR>&nbsp; 
  )<BR>#<BR>################################################################################<BR>#<BR>attributeTypes: 
  (<BR>&nbsp; 1.3.6.1.4.1.15953.9.1.2<BR>&nbsp; NAME 'sudoHost'<BR>&nbsp; DESC 
  'Host(s) who may run sudo'<BR>&nbsp; EQUALITY caseExactIA5Match<BR>&nbsp; 
  SUBSTR caseExactIA5SubstringsMatch<BR>&nbsp; SYNTAX 
  1.3.6.1.4.1.1466.115.121.1.26<BR>&nbsp; 
  )<BR>#<BR>################################################################################<BR>#<BR>attributeTypes: 
  (<BR>&nbsp; 1.3.6.1.4.1.15953.9.1.3<BR>&nbsp; NAME 'sudoCommand'<BR>&nbsp; 
  DESC 'Command(s) to be executed by sudo'<BR>&nbsp; EQUALITY 
  caseExactIA5Match<BR>&nbsp; SYNTAX 1.3.6.1.4.1.1466.115.121.1.26<BR>&nbsp; 
  )<BR>#<BR>################################################################################<BR>#<BR>attributeTypes: 
  (<BR>&nbsp; 1.3.6.1.4.1.15953.9.1.4<BR>&nbsp; NAME 'sudoRunAs'<BR>&nbsp; DESC 
  'User(s) impersonated by sudo'<BR>&nbsp; EQUALITY caseExactIA5Match<BR>&nbsp; 
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26<BR>&nbsp; 
  )<BR>#<BR>################################################################################<BR>#<BR>attributeTypes: 
  (<BR>&nbsp; 1.3.6.1.4.1.15953.9.1.5<BR>&nbsp; NAME 'sudoOption'<BR>&nbsp; DESC 
  'Options(s) followed by sudo'<BR>&nbsp; EQUALITY caseExactIA5Match<BR>&nbsp; 
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26<BR>&nbsp; 
  )<BR>#<BR>################################################################################<BR>#<BR>objectClasses: 
  (<BR>&nbsp; 1.3.6.1.4.1.15953.9.2.1<BR>&nbsp; NAME 'sudoRole'<BR>&nbsp; DESC 
  'Sudoer Entries'<BR>&nbsp; SUP top<BR>&nbsp; STRUCTURAL<BR>&nbsp; MUST ( cn 
  )<BR>&nbsp; MAY ( sudoUser $ sudoHost $ sudoCommand $ sudoRunAs $ sudoOption $ 
  description )<BR>&nbsp; 
  )<BR>#<BR>################################################################################<BR>#</SPAN><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P></DIV>
  <BLOCKQUOTE style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt; MARGIN-RIGHT: 0cm">
    <P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">-----Original 
    Message-----<BR><B>From:</B> fedora-directory-users-bounces@redhat.com 
    [mailto:fedora-directory-users-bounces@redhat.com]<B>On Behalf Of 
    </B>Siguršur Bjarnason<BR><B>Sent:</B> Monday 5 May 2008 18:33<BR><B>To:</B> 
    Fedora-directory-users@redhat.com<BR><B>Subject:</B> 
    [Fedora-directory-users] Usermod</SPAN><SPAN 
    style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P>
    <P class=MsoNormal>Hi All<o:p></o:p></P>
    <P class=MsoNormal><o:p>&nbsp;</o:p></P>
    <P class=MsoNormal>Is there any way of defineing usermod with FDS ?, 
    <o:p></o:p></P>
    <P class=MsoNormal><o:p>&nbsp;</o:p></P>
    <P class=MsoNormal>Lets say that I am user &#8222;siggi&#8220; and I need to give him 
    rights to login as user &#8222;test&#8220; is that possible with FDS ?<o:p></o:p></P>
    <P class=MsoNormal><o:p>&nbsp;</o:p></P>
    <P class=MsoNormal>Regards<o:p></o:p></P>
    <P class=MsoNormal>Siggi<o:p></o:p></P>
    <P class=MsoNormal><o:p>&nbsp;</o:p></P></BLOCKQUOTE>
  <P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'MS Sans Serif','serif'">Atos 
  Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg 
  </SPAN><o:p></o:p></P>
  <P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'MS Sans Serif','serif'">- 1130 
  Brussels - Belgium</SPAN><o:p></o:p></P>
  <P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'MS Sans Serif','serif'">RPM-RPR 
  Bruxelles-Brussel - TVA-BTW BE 0418.547.872</SPAN><o:p></o:p></P>
  <P><SPAN 
  style="FONT-SIZE: 8pt; FONT-FAMILY: 'MS Sans Serif','serif'">Bankrekening-Compte 
  Bancaire-Bank Account 310-0269424-44</SPAN><o:p></o:p></P>
  <P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'MS Sans Serif','serif'">BIC 
  BBRUBEBB - IBAN BE55 3100 2694 2444</SPAN><o:p></o:p></P>
  <P><SPAN 
  style="FONT-SIZE: 8pt; FONT-FAMILY: 'MS Sans Serif','serif'">&nbsp;</SPAN><o:p></o:p></P>
  <P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'MS Sans Serif','serif'">"The 
  information contained in this e-mail and any attachment thereto is 
  confidential and may contain information which is protected by intellectual 
  property rights.</SPAN><o:p></o:p></P>
  <P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'MS Sans Serif','serif'">This 
  information is intended for the exclusive use of the recipient(s) named 
  above.</SPAN><o:p></o:p></P>
  <P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'MS Sans Serif','serif'">This 
  e-mail does not constitute any binding relationship or offer toward any of the 
  addressees.</SPAN><o:p></o:p></P>
  <P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'MS Sans Serif','serif'">If you 
  are not one of the addressees , one of their employees or a proxy holder 
  entitled to hand over this message to the addressee(s), any use of the 
  information contained herein (e.g. reproduction, divulgation, communication or 
  distribution,...) is prohibited.</SPAN><o:p></o:p></P>
  <P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'MS Sans Serif','serif'">If you 
  have received this message in error, please notify the sender and destroy it 
  immediately after.</SPAN><o:p></o:p></P>
  <P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'MS Sans Serif','serif'">The 
  integrity and security of this message cannot be guaranteed and it may be 
  subject to data corruption, interception and unauthorized amendment, for which 
  we accept no liability."</SPAN><o:p></o:p></P></DIV></BLOCKQUOTE></BODY></HTML>