OpenMDM Project

OpenMDM Project is an Open-Source Mobile Device Management project, initially developed to support iOS devices, but built in order to be easily extended with multiple device types.
Language : Python 3.4.2 and >
Authentication : LDAP3
Storage : MongoDB




OpenMDM uses open source projects to work properly:


Also, OpenMDM require a LDAP service for accounts management.

Note, a bug exist in current pymongo version, stick to pymongo==2.8.1 or use master version from official repository until publication.

At this time, admin rights are attributed to people in the admin group in LDAP.


Prepare Debian 8

sudo apt-get install libldap2-dev
sudo apt-get install libsasl2-dev
sudo apt-get install python3.4
sudo apt-get install mongodb
sudo apt-get install mysql-server
sudo apt-get install libmysqlclient-dev

For all systems

Create a MySQL database and user

GRANT ALL PRIVILEGES ON mdmdb.* TO 'mdmuser'@'localhost' IDENTIFIED BY 'MDMPassword123';
cd /usr/local
virtualenv -p python3.4 OpenMDM_VEnv
cd OpenMDM_VEnv
source ./bin/activate
pip3.4 install mysqlclient
pip3.4 install django-admin-bootstrapped
pip3.4 install git+
pip3.4 install django-auth-ldap
pip3.4 install pymongo==2.8.1
pip3.4 install mongoengine
git clone OpenMDM
cd OpenMDM

Now your system is ready, you must customize the common/local/ values to fit your deployment.

sudo ./
python runserver

OpenMDM is now listening on port 8000.


Want to contribute? Great, feel free !