Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: jane on January 09, 2003, 06:33:35 AM
-
from my previous message I've asking in how to create user without using server-manager. And I found the way got the Howto's info from Cyrus Bharda at http://myezserver.com/downloads/mitel/howto/addusers-howto.html.
after testing the script, i found that I'm only be able to put only one word for each awk.
eg: USERNAME1:FIRSTNAME1:LASTNAME1 i put it
jane:mary:jane all workin fine. But if I want to to make it like this
jane:jr. mary:jane - error.
I has check the error and suspecting it came from /sbin/e-smith/db (if i'm not mistaken)
Any idea guyz?
-
Sorry cannt help you there as I didnt write that howto :-) and I have not tested it either, hopefully one of the authors, David O'Dwyer & Scott Smith, will see this post :-)
Sorry,
Cyrus Bharda
-
I have found another add user script at http://www.neddix.de/sme/adduser/adduser.php. Haven't tested it, but sounds promising. It looks like, that it can deal with blanks. Have a look at the example.
guido
jane wrote:
>
> from my previous message I've asking in how to create user
> without using server-manager. And I found the way got the
> Howto's info from Cyrus Bharda at
> http://myezserver.com/downloads/mitel/howto/addusers-howto.html.
>
> after testing the script, i found that I'm only be able to
> put only one word for each awk.
> eg: USERNAME1:FIRSTNAME1:LASTNAME1 i put it
> jane:mary:jane all workin fine. But if I want to to make it
> like this
> jane:jr. mary:jane - error.
> I has check the error and suspecting it came from
> /sbin/e-smith/db (if i'm not mistaken)
> Any idea guyz?
-
You could try enclosing your blanks with the chr(34) character.
IE:
jane:"jr. mary":jane
Just a thought...
-
This works:
http://www.mobilia.it/filippo/download/mitel/adduser.tgz