On Wed, Oct 12, 2005 at 05:33:06PM +0100, Burke, S (Stephen) wrote:
> But the site-info.def says that there should be an sgm account (at least
> there's an sgm config line) so it should detect an inconsistency. Also
> pool accounts are supposed to end in a number, so it should be able to
> tell that .dteamsgm isn't right - presumably it does some processing on
> that or it would create a mapping .dteam001 (or whatever) in normal use.
Yes, it uses the 'sgm' field you left blank for sgm user :)
sgmuser=`awk -F: '$6=="sgm" && $5==tolower(virtorg){print $2}' virtorg=$VO ${USERS_CONF}`
vo_user_prefix=`awk -F: '$6!="sgm" && $5==tolower(virtorg){sub(/[0-9]+$/, "", $2); print $2}' virtorg=$VO ${USERS_CONF} | head -1`
|