Send netdisco-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:
1. multiple web and backends (was: Re: Adding users to Netdisco
via script for database) (Oliver Gorwits)
--- Begin Message ---
Hi Nick
On Fri, 25 Jan 2019 at 21:05, Nick Nauwelaerts <[email protected]>
wrote:
> separating netdisco-backend & web, then running multiple -web with
> different configs might work, but is not supported & even less recommended.
>
>
I think this should be fine. Indeed Netdisco is written for multiple
backends to be run, potentially with different config (SNMP etc) but using
the same DB.
Same could apply to the web and authN config but I never tried it :-)
(apologies if I misunderstood!)
regards,
oliver
>
>
>
>
>
>
>
>
> *From:* Ankarloo, Gustaf [mailto:[email protected]]
> *Sent:* Thursday, January 24, 2019 15:24
> *To:* Michael Dano <[email protected]>; Oliver Gorwits <[email protected]>
> *Cc:* [email protected]
> *Subject:* Re: [Netdisco] Adding users to Netdisco via script for database
>
>
>
> Sorry my bad.
>
> I miss remebered how netdisco utlized ldap auth.
>
>
>
>
> *Med vänlig hälsning Gustaf*
>
> *Gustaf Ankarloo *| Technical Specialist
>
> Dedicated Infrastructure Services South
>
> GIS Scandinavia | *CGI* Sweden
> Grafiska vägen 22, 400 20 Göteborg | Sweden
> T: +46 31 761 14 57| M: +46 705 67 14 57
> [email protected] | www.cgi.se <http://www.logica.se/>
>
> [image: Beskrivning: x10sctmp11]
>
>
> CONFIDENTIALITY NOTICE: Proprietary/Confidential Information belonging to
> CGI Group Inc. and its affiliates may be contained in this message. If you
> are not a recipient indicated or intended in this message (or responsible
> for delivery of this message to such person), or you think for any reason
> that this message may have been addressed to you in error, you may not use
> or copy or deliver this message to anyone else. In such case, you should
> destroy this message and are asked to notify the sender by reply e-mail.
>
>
>
> *From:* Michael Dano <[email protected]>
> *Sent:* Thursday, 24 January, 2019 14:57
> *To:* Oliver Gorwits <[email protected]>
> *Cc:* Ankarloo, Gustaf <[email protected]>;
> [email protected]
> *Subject:* Re: [Netdisco] Adding users to Netdisco via script for database
>
>
>
> Gustaf and Oliver,
>
>
>
> We currently do use the LDAP access settings to authenticate the users we
> have added, As Oliver has stated our plan is to use that along with this
> script to directly add/remove the users based on the AD groups they are a
> member of.
>
>
>
> We were not aware of any way to directly add the user to the database.
> With the commands that Oliver shared it will allow us to script the
> addition of users into the table and use the LDAP auth as we wanted.
>
>
>
> I also assume that if we do a "DELETE FROM table WHERE condition;" this
> should allow us to script the removal of accounts from the system for
> automating account cleanup.
>
>
>
> Thank you for your help and maintaining such a useful project.
>
>
>
> *Mike Dano*
>
> *Infrastructure Administrator, *
>
> *Infrastructure Security & Support*
>
> Baker College System
>
> O: 810-766-4120| M: 810-650-0947
>
>
>
>
>
>
>
> On Thu, Jan 24, 2019 at 8:29 AM Oliver Gorwits <[email protected]> wrote:
>
> Hi Gustaf and Michael
>
>
>
> I guess we can combine the two ... load users into Netdisco's DB that are
> preconfigured for LDAP access and for various user roles.
>
>
>
> The best way right now is using direct SQL as we don't have an API
> endpoint for this or a netdisco-do subcommand (action) written.
>
>
>
> Something like:
> https://nopaste.xyz/?050395c68956a89f#f6aop4tgtlX50FdT6XnReYhkkIhQXWqBUAjrCFcNqw0=
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__nopaste.xyz_-3F050395c68956a89f-23f6aop4tgtlX50FdT6XnReYhkkIhQXWqBUAjrCFcNqw0-3D&d=DwMFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=N9vl8GJn-kRqdkiuU1IfrOm5vmoSWfIVl-x7WV4SNMM&m=9XO1xP6slfKG--CEqZjLhIE2ZeGXs26ct6A3QesATV0&s=kVzVFDY5QHVppb8h6ar3PbYqk-BZIS5ZwBacDDnsU4Y&e=>
>
>
>
> Change the true/false values to your taste.
>
>
>
> hope that helps,
>
>
>
> regards,
>
> oliver.
>
>
>
> On Thu, 24 Jan 2019 at 07:11, Ankarloo, Gustaf <[email protected]>
> wrote:
>
> Why not use the LDAP integration?
>
> *https://github.com/netdisco/netdisco/wiki/Configuration#ldap
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_netdisco_netdisco_wiki_Configuration-23ldap&d=DwMFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=N9vl8GJn-kRqdkiuU1IfrOm5vmoSWfIVl-x7WV4SNMM&m=9XO1xP6slfKG--CEqZjLhIE2ZeGXs26ct6A3QesATV0&s=TgRBJM-TejpHAOIzskBGjOGjCpMdbIi7Cw9nJoXuCSA&e=>*
>
>
>
>
> *Med vänlig hälsning Gustaf*
>
> *Gustaf Ankarloo *| Technical Specialist
>
> Dedicated Infrastructure Services South
>
> GIS Scandinavia | *CGI* Sweden
> Grafiska vägen 22, 400 20 Göteborg | Sweden
> T: +46 31 761 14 57| M: +46 705 67 14 57
> [email protected] | www.cgi.se
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.logica.se_&d=DwMFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=N9vl8GJn-kRqdkiuU1IfrOm5vmoSWfIVl-x7WV4SNMM&m=9XO1xP6slfKG--CEqZjLhIE2ZeGXs26ct6A3QesATV0&s=cjO011_yDcwaIxb_HOrXmriEVtH5K6NgmqWPCParHGs&e=>
>
> [image: Beskrivning: x10sctmp11]
>
>
> CONFIDENTIALITY NOTICE: Proprietary/Confidential Information belonging to
> CGI Group Inc. and its affiliates may be contained in this message. If you
> are not a recipient indicated or intended in this message (or responsible
> for delivery of this message to such person), or you think for any reason
> that this message may have been addressed to you in error, you may not use
> or copy or deliver this message to anyone else. In such case, you should
> destroy this message and are asked to notify the sender by reply e-mail.
>
>
>
> *From:* Michael Dano <[email protected]>
> *Sent:* Wednesday, 23 January, 2019 21:29
> *To:* [email protected]
> *Subject:* [Netdisco] Adding users to Netdisco via script for database
>
>
>
> We are attempting to come up with a way to automatically add and remove
> users on our Netdisco system. We currently have a script that will allow us
> to pull a list of users from our AD system and add them as users on our
> Ubuntu servers. We would like to modify this script to automatically add
> users into the netdisco database to give them access based one the AD
> groups they belong too. Our issue is we are not quite sure what tables we
> would need to add users in. We also want to know if the same table is the
> one that would give them user or admin access, since some IT users would
> need different levels access.
>
>
>
> Any assistance or direction on this would be greatly appreciated.
>
> *Mike Dano*
>
> *Infrastructure Administrator, *
>
> *Infrastructure Security & Support*
>
> Baker College System
>
> O: 810-766-4120| M: 810-650-0947
>
>
>
> _______________________________________________
> Netdisco mailing list
> [email protected]
> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__sourceforge.net_p_netdisco_mailman_netdisco-2Dusers_&d=DwMFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=N9vl8GJn-kRqdkiuU1IfrOm5vmoSWfIVl-x7WV4SNMM&m=9XO1xP6slfKG--CEqZjLhIE2ZeGXs26ct6A3QesATV0&s=bHj6Jr11gsET64wutpCH3a0ZIfNFYuyyMt7HZYViN9I&e=>
>
>
> ------------------------------
>
> *Volg Aquafin op Facebook <https://www.facebook.com/AquafinNV> | Twitter
> <https://twitter.com/aquafinnv> | YouTube
> <http://www.youtube.com/channel/UCk_4P5BJ-MtEEDCkCsR_KqQ?feature=mhee> |
> LinkedIN <http://www.linkedin.com/company/aquafin/products> *
>
> In het kader van de uitoefening van onze taken verzamelen we bij Aquafin
> persoonsgegevens. Hoe we omgaan met deze gegevens en wat de rechten van de
> betrokkenen zijn, kan je nalezen in onze privacy policy
> <https://www.aquafin.be/nl-be/privacy-policy>.
>
> P Denk aan het milieu. Druk deze mail niet onnodig af.
>
--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users