<br><br><div class="gmail_quote">On Tue, Oct 12, 2010 at 12:50 PM, Sean Hart <span dir="ltr"><<a href="mailto:boardnutz@blacklight.net">boardnutz@blacklight.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5"><br>
><br>
>     I have a thought of  writing the script to implement the LDAP mail<br>
> notice    recently.<br>
><br>
> That's to say , after creating the new account and his passwd , then<br>
> how to send an E-mail to notice him?<br>
><br>
> By the way , I used the LDAP tool called 389 LDAP or openldap  recently .<br>
><br>
><br>
><br>
> Could someone give me some suggestions ?<br>
><br>
<br>
</div></div>What precisely are you looking to do?  Are you trying to write a script<br>
to create a user and email them?  If so, I've definitely done that.  I<br>
put together a bunch of tools a while back if you are looking for some<br>
building blocks (including a send mail to user sub and a lot of<br>
retrieve/set LDAP attributes).  A lot of this was put together from<br>
other stuff I found on the web in my years of LDAP administration.<br></blockquote><div><br>Thanks for your reply ...<br> <br>What you said is right . I'm trying to write a script to create the new account and his password and then can email them .<br>
<br>By the way , My Mail server is not the Linux Server(CentOS) , it is the Windows 2003 Server . So how can I do that ?<br><br><br>Thanks ...<br><br><br><br><br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<br>
Disclaimer: I'm a self taught perl guy, so I don't know all of the<br>
tricks, etc<br>
<br>
<a href="http://xrayspx.com/part-3-subroutines" target="_blank">http://xrayspx.com/part-3-subroutines</a><br>
<br>
If you give me a better idea of exactly what you are looking for I'm<br>
sure I could whip something up.<br>
<br>
Cheers,<br>
Sean<br>
_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</blockquote></div><br>