[LDAPsh-cvs] website index.html,NONE,1.1 links.html,NONE,1.1 main.html,NONE,1.1 perl_id_bw_sm_bu.gif
Status: Beta
Brought to you by:
rcorvalan
From: <rco...@us...> - 2002-07-31 15:51:55
|
Update of /cvsroot/ldapsh/website In directory usw-pr-cvs1:/tmp/cvs-serv24990 Added Files: index.html links.html main.html perl_id_bw_sm_bu.gif top.html Log Message: First version --- NEW FILE: index.html --- <html> <head> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title>The LDAP Shell</title> </head> <frameset rows="123,*"> <frame name="banner" scrolling="no" noresize target="contents" src="top.html"> <frameset cols="150,*"> <frame name="contents" target="main" src="links.html"> <frame name="main" src="main.html" scrolling="auto"> </frameset> <noframes> <body> <p>This page uses frames, but your browser doesn't support them.</p> </body> </noframes> </frameset> </html> --- NEW FILE: links.html --- <html> <head> <meta http-equiv="Content-Language" content="fr-ch"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Main links</title> <base target="main"> </head> <body bgcolor="#F0F0FF"> <p align="center"><font size="4" color="#000080"><b>LDAPsh links</b></font></p> <p><a href="main.html">Home page</a><br> <a href="http://sourceforge.net/projects/ldapsh">Project page</a><br> <a href="http://sourceforge.net/project/showfiles.php?group_id=54115">Releases</a><br> <a href="http://sourceforge.net/news/?group_id=54115">News</a><br> <a href="http://sourceforge.net/docman/display_doc.php?docid=11405&group_id=54115"> Documentation</a><br> <a href="http://sourceforge.net/tracker/?group_id=54115&atid=472731">Bugs</a><br> <a href="http://sourceforge.net/mail/?group_id=54115">Mailing lists</a><br> <a href="http://sourceforge.net/forum/?group_id=54115">Forums</a><br> <a href="http://sourceforge.net/tracker/?atid=472734&group_id=54115&func=browse"> Feature requests</a></p> <hr> <p align="center"><font size="4" color="#000080"><b>Other links</b></font></p> <p><a href="http://www.perl.com">Perl</a><br> <a href="http://perl-ldap.sourceforge.net/">Perl-LDAP</a></p> <hr> <p><a href="http://sourceforge.net/sendmessage.php?touser=551514">Message to the author</a></p> </body> </html> --- NEW FILE: main.html --- <html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>LDAP</title> <style> <!-- span.package { font-family: Courier New; color: #008888; font-size: 95% } span.perlcode { font-family: Courier New; color: #800000; font-size: 95% } --> </style> </head> <body bgcolor="#F0F0FF"> <p>This is the home page of the LDAP shell (<b>ldapsh</b>), a command line utility to easy administration of LDAP directories content.</p> <p>This tool is entirely written in perl, based on the excellent module <span class="package">Net::LDAP</span>. It has been tested on Linux/RedHat and on Windows 2000/ActiveState.</p> <p>You will need:</p> <ul> <li>Perl 5</li> <li><span class="package"><font face="Courier New">Net::LDAP</font></span></li> <li><span class="package">Devel::Symdump</span><i> (for command completion)</i></li> <li><span class="package">Pod::Select</span></li> <li><span class="package">File::Temp</span></li> </ul> <p>Optional Perl packages:</p> <ul> <li><span class="package">IO::Socket::SSL</span><i> (if you want to use SSL)</i></li> <li><span class="package">Pod::Text::Termcap</span><i> (for niver help formatting)</i></li> <li><span class="package">Term::ReadLine::Gnu</span><i> (if you want great command line editor)</i></li> </ul> <p>It's somewhat well documented (POD embedded documentation) but it's not yet well packaged (some volunteers?). To use it, you should have a good knowledge in Perl, and for advanced features (the <i>change</i> command for example), a good knowledge in <span class="package">Net::LDAP</span>.</p> <p>With it, you can do things such as (remember, it's a shell):</p> <table cellspacing="0" cellpadding="6" style="border:medium inset; border-collapse:collapse" bordercolordark="#000080" bordercolor="#111111" bordercolorlight="#FFFFFF"> <tr> <td><span class="perlcode">cd ou=Users<br> search 'profilepath=*'<br> change {$_->delete('profilepath') if $_->get_value('department') =~ /(Old|New) NAME/i}<br> changes<br> commit</span></td> </tr> </table> <p>This will:</p> <div style="margin-left:2em; border-left-style: outset"> <ol> <li>Change the "working directory" to "<span class="perlcode">OU=Users</span>"</li> <li>Search all the entries with an<i> existing </i>attribute "<span class="perlcode">profilepath</span>"</li> <li>Delete the "<span class="perlcode">profilepath</span>" attribute for all entries where the "department" matches <span class="perlcode"> /(Old|New) Name/i</span></li> <li>Show the changes done</li> <li>Commit the changes to the server (<span class="perlcode">Net::LDAP::Entry->update</span>)<br> </li> </ol> </div> <p>You can also do "<span class="perlcode">ls</span>", "<span class="perlcode">cd</span>"...<br> You can ask for help with "<span class="perlcode">help</span>", or typing "<<span class="perlcode">CTRL>-t</span>" after a command ("<span class="perlcode">bind <CTRL>-t</span>") (provided you have <span class="package">Term::ReadLine::Gnu</span> installed). </p> <p>And a lot of more cool things. </p> <p>See the HTML documentation (or type <span class="perlcode"> perlpod ldapsh</span>).</p> <p>The distribution have 3 files:</p> <ol> <li><b><span class="perlcode">ldapsh</span></b>: The shell itself. Runs under Unix/Windows provided you have Net::LDAP (and preferably <span class="package">Term::ReadLine::Gnu</span>)</li> <li><b><span class="perlcode">ldapsh.html</span></b>: The code generated with pod2html</li> <li>A sample of <b><span class="perlcode">.ldapshrc</span></b> (rename it from <span class="perlcode">ldapshrc</span> to <span class="perlcode">.ldapshrc</span>, edit it and put it on your home directory).</li> </ol> <p>Feel free to send comments, suggestions, bug reports, using the SourceForge web forms (see <a href="http://sourceforge.net/projects/ldapsh"> http://sourceforge.net/projects/ldapsh</a>) or sending an e-mail to rcorvalan at users.sourceforge.net.</p> <hr><i>Rafael Corvalan <<a href="http://sourceforge.net/sendmessage.php?touser=551514">rcorvalan at users.sourceforge.net</a>></i></body></html> --- NEW FILE: perl_id_bw_sm_bu.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: top.html --- <html> <head> <meta http-equiv="Content-Language" content="fr-ch"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>LDAPsh</title> <base target="contents"> </head> <body bgcolor="#F0F0FF"> <table border="0" cellspacing="1" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1"> <tr> <td width="33%"><a href="http://www.perl.com"> <img border="0" src="perl_id_bw_sm_bu.gif" width="90" height="90"></a></td> <td align="center" width="33%"><b><i> <font face="Century Gothic" size="7" color="#000080">LDAPsh</font></i></b></td> <td align="right" width="33%"> <a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=54115&type=4" width="125" height="37" border="0" alt="SourceForge.net Logo"></a></td> </tr> </table> </body> </html> |