Giter Club home page Giter Club logo

Comments (11)

lilianValeroFp avatar lilianValeroFp commented on June 26, 2024 1

Ok let's try to put that in our road map.

from fp-ngfw-smc-python.

lilianValeroFp avatar lilianValeroFp commented on June 26, 2024

Hi, we will add in 1.0.21 (beginning of the next year) the support of import_ldif_elements api service which will allow you to import LDIF file and so be able to import ldap internal users.

from fp-ngfw-smc-python.

m0canu1 avatar m0canu1 commented on June 26, 2024

Hi @lilianValeroFp i'm trying to export_ldif_elements but I get the following error:

smc.api.exceptions.TaskRunFailed: Resource requested: 'export_ldif_elements' is not available on this element.

This is the code I'm running:

session.login(url=SMC_URL, api_key=API_KEY, api_version=API_VERSION)
print("session OK")
system = System()
system.export_ldif_elements()

from fp-ngfw-smc-python.

gregory83 avatar gregory83 commented on June 26, 2024

Hello,

If I'm correct it is only available with SMC 7.1. and higher versions.

/Greg.

from fp-ngfw-smc-python.

lilianValeroFp avatar lilianValeroFp commented on June 26, 2024

Hi @m0canu1,

Yes, you need to have also the SMC version which could support it. Since, it was something which has been also implemented in SMC. We could try to put it also in 7.0.2 or in 6.10.11 if you want to?
Let us know which version of SMC could do the trick for you.

from fp-ngfw-smc-python.

m0canu1 avatar m0canu1 commented on June 26, 2024

Hi @lilianValeroFp,

I am using the SMC version 6.10.7 at the moment. And should be this version for a while.

from fp-ngfw-smc-python.

lilianValeroFp avatar lilianValeroFp commented on June 26, 2024

Unfortunately, I'm sorry, but as I stated, the SMC 6.10.X does not have the export/import LDIF feature on the SMC API. The only thing, we may do, could be to back port the 7.1.0 improvement in 6.10.X where X >= 11.
Since 6.10.X is a LTS SMC version and 7.1.X will be also a LTS version, do you know which SMC version might suit you?

from fp-ngfw-smc-python.

m0canu1 avatar m0canu1 commented on June 26, 2024

Sorry for the misunderstanding.

I would say that 6.10.11 is ok.

from fp-ngfw-smc-python.

lilianValeroFp avatar lilianValeroFp commented on June 26, 2024

In //, we will try also to see if we can do something directly on current "internal_user" and "internal_user_group" SMC API elements on smc-python lib.

from fp-ngfw-smc-python.

m0canu1 avatar m0canu1 commented on June 26, 2024

BTW, in the download center i only see the SMC 6.10.10, released yesterday.

from fp-ngfw-smc-python.

lilianValeroFp avatar lilianValeroFp commented on June 26, 2024

Yes that's why I told you 6.10.X where X >= 11 :)

from fp-ngfw-smc-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.