On 8/9/10 10:41 AM, Olivier Bilodeau wrote:
> 
> and it will probably be slow but that's not Josh's fault. A faster way 
> would be to insert directly into MySQL figuring out the node table. A 
> tool like phpmyadmin makes this kind of work very easy to do.

Agreed!  Although you need to be careful when doing this.  You need to
add the person and then the nodes and make sure you don't duplicate
anything, etc.  The pfcmd route is slow (a couple of seconds each, so
...  it should work :-) ) but it's super easy to script.

I've found you should always use caution when directly manipulating the
PF database...  If you aren't, bad things can happen.

-Josh

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to