Giter VIP home page Giter VIP logo

azureadconnect_samba4's People

Contributors

rave-net avatar sfonteneau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

rave-net

azureadconnect_samba4's Issues

Azure AD connect with MFA enabled.

Hi,
Currently Microsoft is enforcing MFA for all users, so i wanted to know is there a way where we can connect samba4 and azure ad with MFA enabled.

Directory synchronization off

Azure AD is not allowing to switch on user sync to ON from the admin console. The only way it appears is to install Azure Connect or provisioning client ona windows server and do a sync.

Is there a way to switch on the directory sync from the Azure console

Getting KeyError after updating to latest version.

After fetching the new update it throws below error:

INFO:root:{"type": "enable_ad_sync", "timestamp": "2023-08-22 13:32:31.194630", "data": {"EnableDirSync": true}}
INFO:root:{"type": "enable_password_hash_sync", "timestamp": "2023-08-22 13:32:31.886941", "data": {"PasswordHashSync": true}}
INFO:root:{"type": "error", "timestamp": "2023-08-22 13:32:33.833815", "data": "Traceback (most recent call last):\n File "/opt/sync-azure/run_sync.py", line 302, in \n run_sync(force=False)\n File "/opt/sync-azure/run_sync.py", line 133, in run_sync\n azure.generate_all_dict()\n File "/opt/sync-azure/libsync.py", line 113, in generate_all_dict\n list_groups = self.az.list_groups()\n File "/opt/sync-azure/AADInternals_python/AADInternals.py", line 573, in list_groups\n dict_cloudanchor_sourceanchor = self.get_dict_cloudanchor_sourceanchor()\n File "/opt/sync-azure/AADInternals_python/AADInternals.py", line 562, in get_dict_cloudanchor_sourceanchor\n sourceanchor = v["c:Value"]['#text']\nKeyError: '#text'\n"}
Traceback (most recent call last):
File "/opt/sync-azure/run_sync.py", line 302, in
run_sync(force=False)
File "/opt/sync-azure/run_sync.py", line 133, in run_sync
azure.generate_all_dict()
File "/opt/sync-azure/libsync.py", line 113, in generate_all_dict
list_groups = self.az.list_groups()
File "/opt/sync-azure/AADInternals_python/AADInternals.py", line 573, in list_groups
dict_cloudanchor_sourceanchor = self.get_dict_cloudanchor_sourceanchor()
File "/opt/sync-azure/AADInternals_python/AADInternals.py", line 562, in get_dict_cloudanchor_sourceanchor
sourceanchor = v["c:Value"]['#text']
KeyError: '#text'

Not able to sync with azure AD

Hi Simon,

When i am doing the dry run to synchronise the samba ad and azure ad it gives below error.

Traceback (most recent call last):
File "run_sync.py", line 209, in
run_sync(force=False)
File "run_sync.py", line 94, in run_sync
azure.generate_all_dict()
File "/opt/sync-azure/libsync.py", line 82, in generate_all_dict
list_groups = self.az.list_groups()
File "/opt/sync-azure/AADInternals_python/AADInternals.py", line 510, in list_groups
dict_cloudanchor_sourceanchor = self.get_dict_cloudanchor_sourceanchor()
File "/opt/sync-azure/AADInternals_python/AADInternals.py", line 490, in get_dict_cloudanchor_sourceanchor
for entry in self.get_syncobjects(False):
File "/opt/sync-azure/AADInternals_python/AADInternals.py", line 538, in get_syncobjects
return self.xml_to_result(response,command).get('b:ResultObjects',{}).get('b:AzureADSyncObject',[])
AttributeError: 'NoneType' object has no attribute 'get'

support devices synchronisation

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.