<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
<!--
@font-face
        {font-family:Cambria Math}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
p.MsoNormal
        {margin:0cm 0cm 0pt;
        font-family:"Times New Roman","serif";
        font-size:12pt}
li.MsoNormal
        {margin:0cm 0cm 0pt;
        font-family:"Times New Roman","serif";
        font-size:12pt}
div.MsoNormal
        {margin:0cm 0cm 0pt;
        font-family:"Times New Roman","serif";
        font-size:12pt}
a:link
        {color:blue;
        text-decoration:underline}
span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited
        {color:purple;
        text-decoration:underline}
span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
pre
        {margin:0cm 0cm 0pt;
        font-family:"Courier New";
        font-size:10pt}
span.EmailStyle18
        {font-family:"Calibri","sans-serif";
        color:#1f497d}
span.HTMLPreformattedChar
        {font-family:"Courier New"}
.MsoChpDefault
        {font-size:10pt}
-->
</style><style id="owaParaStyle">
<!--
p
        {margin-top:0px;
        margin-bottom:0px}
-->
</style>
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div style="direction:ltr; font-family:Times New Roman; color:#000000; font-size:12pt">
<p>Hi Jose,</p>
<p> </p>
<p>Many thanks, I'll give it a try, but how can I change that to include an alias of 'wmin.ac.uk' ?</p>
<p> </p>
<p>Regards,</p>
<p>Malcolm. </p>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr tabindex="-1">
<div id="divRpF24886" style="direction:ltr"><font color="#000000" size="2" face="Tahoma"><b>From:</b> eprints-tech-bounces@ecs.soton.ac.uk [eprints-tech-bounces@ecs.soton.ac.uk] on behalf of Jose Martin [J.Martin@ulcc.ac.uk]<br>
<b>Sent:</b> 10 October 2012 16:28<br>
<b>To:</b> eprints-tech@ecs.soton.ac.uk<br>
<b>Subject:</b> [EP-tech] Re: restricting account creation<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:'Calibri','sans-serif'; color:#1f497d; font-size:11pt">Check cfg.d/registration.pl:</span></p>
<p class="MsoNormal"><span style="font-family:'Calibri','sans-serif'; color:#1f497d; font-size:11pt"></span> </p>
<p class="MsoNormal" style="background:white"><span style="font-family:'Courier New'; color:black; font-size:10pt"># This function allows you to allow/deny sign-ups from</span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:'Courier New'; color:black; font-size:10pt"># particular email domains
</span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:'Courier New'; color:black; font-size:10pt">$c->{check_registration_email} = sub</span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:'Courier New'; color:black; font-size:10pt">{</span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:'Courier New'; color:black; font-size:10pt"> my( $repository, $email ) = @_;</span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:'Courier New'; color:black; font-size:10pt"></span> </p>
<p class="MsoNormal" style="background:white"><span style="font-family:'Courier New'; color:black; font-size:10pt"> # registration allowed</span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:'Courier New'; color:black; font-size:10pt"> return 1 if $email =~ /\@westminster\.ac\.uk$/;</span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:'Courier New'; color:black; font-size:10pt"></span> </p>
<p class="MsoNormal" style="background:white"><span style="font-family:'Courier New'; color:black; font-size:10pt"> return 0; # registration denied</span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:'Courier New'; color:black; font-size:10pt">}</span></p>
<p class="MsoNormal"><span style="font-family:'Calibri','sans-serif'; color:#1f497d; font-size:11pt"></span> </p>
<p class="MsoNormal"><span style="font-family:'Calibri','sans-serif'; color:#1f497d; font-size:11pt">Best,</span></p>
<p class="MsoNormal"><span style="font-family:'Calibri','sans-serif'; color:#1f497d; font-size:11pt"></span> </p>
<p class="MsoNormal"><span style="font-family:'Calibri','sans-serif'; color:#1f497d; font-size:11pt"> Jose.</span></p>
<p class="MsoNormal"><span style="font-family:'Calibri','sans-serif'; color:#1f497d; font-size:11pt"></span> </p>
<p class="MsoNormal"><span style="font-family:'Calibri','sans-serif'; color:#1f497d; font-size:11pt"></span> </p>
<div>
<div style="border-bottom:medium none; border-left:medium none; padding-bottom:0cm; padding-left:0cm; padding-right:0cm; border-top:#b5c4df 1pt solid; border-right:medium none; padding-top:3pt">
<p class="MsoNormal"><b><span lang="EN-US" style="font-family:'Tahoma','sans-serif'; font-size:10pt">From:</span></b><span lang="EN-US" style="font-family:'Tahoma','sans-serif'; font-size:10pt"> eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
<b>On Behalf Of </b>Malcolm Bodger<br>
<b>Sent:</b> 10 October 2012 15:53<br>
<b>To:</b> eprints-tech@ecs.soton.ac.uk<br>
<b>Subject:</b> [EP-tech] restricting account creation</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<p><span style="color:black">Hi,</span></p>
<p><span style="color:black"></span> </p>
<p><span style="color:black">We use local accounts, not LDAP accounts, and would like to restrict requests for new accounts to users with a 'westminster.ac.uk' email address. I'm sure this possible, but how - and is it easy to do?</span></p>
<p><span style="color:black"></span> </p>
<p><span style="color:black">Regards,</span></p>
<p><span style="color:black">Malcolm.</span></p>
</div>
<p align="center" style="text-align:center"><span style="font-family:'Arial','sans-serif'; color:black">The University of Westminster is a charity and a company limited by guarantee. Registration number: 977818 England. Registered Office: 309 Regent Street,
London W1B 2UW.</span></p>
</div>
</div>
</div>
</div>
<div align="center">
<p><font color="black" size="0.9em" face="Arial, Helvetica, sans-serif">The University of Westminster is a charity and a company limited by guarantee. Registration number: 977818 England. Registered Office: 309 Regent Street, London W1B 2UW.</p>
</font></div>
</body>
</html>