Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: shawnbishop on July 25, 2007, 02:20:08 PM
-
Good Day
I am trying to add over 1000 pseudonyms to SME Server.
This is the format of my file
lgomarp|lg.omarp|omarp@3logics.co.za|lg_omarp
when i do the following
#lat-pseudonym -a -i Pseudonyms
I get the following error
The pseudonym 'omarp@3logics.co.za' contains illegal characters. The name should contain only
lower-case letters, numbers, hyphens, periods and underscores, and should
start with a lower-case letter.
Creating pseudonym 'lg_omarp' for user lgomarp...
So it is adding all the other pseudonyms, but not the pseudonym with the "@" symbol in it, but this should be valid as it is an email address
Anybody know how to go about fixing this???
-
I keep coming up with the error and it is so hard to find the solutions, I have decided to post it here
Code: [Select]
cp /usr/sbin/lat-pseudonyms /root/my-lat-script
pico /root/my-lat-script
Then Edit
sub TestName
go to line
Code: [Select]
if ( $_[0] =~ /^[a-z][a-z\-\_\d\.]*$/ ) {
Change to
Code: [Select]
if ( $_[0] =~ /^[a-z][a-z\-\_\d\.\@]*$/ ) {
Then run
Code: [Select]
/root/my-lat-script options
-
IIRC, there should already be something similar in the forum.. did you search? :-)
-
Nope Stefano..It is "hidden" in the Italian forum, and if you cant read Italian..:-)
I knew it was somewhere and took an hour to find via a link to the Italian forum, so just posted it here, should probably go into the wiki?
-
doh.. I didn't remember it was in italian forum :-)
IMHO this should be in bugzilla (if lat-tools is in cvs) or directly to the package coder
-
shawnbishop
....and if you cant read Italian..:-)
Then you just use babelfish to translate it !
-
http://wiki.contribs.org/Lazy_Admin_Tools
And, from that page:
http://forums.contribs.org/index.php?topic=37885.msg170809#msg170809
-
Then I used the "Improbability Drive" to load it.. :lol:
-
I get the following error
...
Anybody know how to go about fixing this???
Report the problem to the contrib author, via the bug tracker.