[rt-users] Re: Multiple User Add

Asif Iqbal iqbala at qwestip.net
Tue Jan 27 13:59:29 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>> I was wondering  if anyone has done any script to  bulk add users to
>>> RT and add them to a specific

>> I think I should use RT instead of mysql to do this. Waiting to find out what
>> anyone else might have think about this issue

>you should defiantly use the RT api, and not try to do this in sql. I
>have a script that will take /etc/passwd and /etc/group style files
>and bulk create users and groups. It's not very polished, and has some
>site specific settings, but I'm not going to have time to clean it up.
>If you want to poke it, it's http://web.mit.edu/seph/Public/tmp/dcm3.pl

>seph

Hi Seph


I was running dcm3.pl against this passwd and group file

test12:x:10002:10:Test User:/export/home/test12:/usr/bin/bash
dns-admin::10014:test12


and I get this in the verbose. Is there anything I am doing wrong

CHECKING GROUP relay:dns-admin
checking test12 at qwest.com group relay:dns-admin
    adding
[Tue Jan 27 18:56:11 2004] [crit]: _AddMember called with a parameter that's not
an integer. (/opt/rt3/lib/RT/Group_Overlay.pm:948)


Thanks

- -- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
There's no place like 127.0.0.1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (SunOS)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/

iD8DBQFAFrUVUAgaF+Ymk8URApP0AJ4ueMuEMkgMR8Yla7L2yRA93PzZ4QCfV/sQ
CsqVdIyE6eLwggWs3CkgdgU=
=kbsb
-----END PGP SIGNATURE-----



More information about the rt-users mailing list