Hi Enrique. On May 10, 9:43pm, Enrique Vadillo wrote: > Subject: Suffix Removal? > Hi all, > > I would like to remove a suffix from a username, the thing is i want to > strip the trailing domain right after the '@' sign in my handle: > > <Handler User-Name=/\@somedomain//> > RewriteUsername s/?????/?????/ > <AuthBy RADIUS> > Host x.x.x.x > Secret **** > </AuthBy> > </Handler> > > how can i do that? any ideas? This will strip the @ and the suffix: RewriteUsername s/^([^@]+).*/$1/ -- Mike McCauley [EMAIL PROTECTED] Open System Consultants Pty. Ltd Unix, Perl, Motif, C++, WWW 24 Bateman St Hampton, VIC 3188 Australia http://www.open.com.au Phone +61 3 9598-0985 Fax +61 3 9598-0955 Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8, NT, Rhapsody === To unsubscribe, email '[EMAIL PROTECTED]' with 'unsubscribe radiator' in the body of the message.