Comments (11)
Ok let's try to put that in our road map.
from fp-ngfw-smc-python.
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.
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.
Hello,
If I'm correct it is only available with SMC 7.1. and higher versions.
/Greg.
from fp-ngfw-smc-python.
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.
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.
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.
Sorry for the misunderstanding.
I would say that 6.10.11 is ok.
from fp-ngfw-smc-python.
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.
BTW, in the download center i only see the SMC 6.10.10, released yesterday.
from fp-ngfw-smc-python.
Yes that's why I told you 6.10.X where X >= 11 :)
from fp-ngfw-smc-python.
Related Issues (20)
- How to communicate HTTPS to SMC API using SMC-Python? HOT 1
- Enable/Disable sites in Policy Based VPN Topology HOT 3
- How to collect logs of specific access rule on SMC? HOT 1
- Unable to install other dependancy because of pytz fixed version HOT 4
- Library versioning HOT 1
- Create fw_ipv4_access_rules with "AND" combination in source HOT 2
- VPN Gateway expiration date HOT 3
- Lock an smc element HOT 1
- Wrong version number in "smc/__version__" HOT 1
- certificate verification warnings using the INI file for session creation HOT 2
- add an IP configuration on a tunnel interface without IP HOT 1
- ServerBackupTask fails HOT 2
- Viewing an Alias' references does not show the element referenced in the Alias, only the address. HOT 1
- Setting standby mode on a TunnelInterface HOT 5
- AttributeError when importing smc module HOT 9
- smc_monitoring: SessionNotFound HOT 13
- AttributeError: 'NoneType' object has no attribute 'href' HOT 4
- session.login: Failed to get username HOT 4
- role 'Manage Administrator' mandatory for read only API clients HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fp-ngfw-smc-python.