Skip to content

FOGProject/fog-plugin-activedirectory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Active Directory

a Sails application

Configuration: config/adopts.js - Not uploaded to git repo - can contain sensitive data Example adopts.js file:

module.exports = {
  adopts: {
    integrated: false, //Use native windows authentication?
    ldap: {
      url: 'ldap://example.com',
      baseDN: 'dc=example,dc=com',
      username: '[email protected]',
      password: '3x@mp1ePassword!'
    }
  }
};

Permissions: config/adperms.js - Not uploaded to git repo - can contain sensitive data.

  • The config of permissions is:
module.exports = {
  memberOf: {
    '<AD GROUP TO BE MEMBER OF>': ['<ROLE NAME TO ASSOCIATE TO>',],
  }
};

This plugin will create a user object under a new collection called AD.

Only attribute contained will be Role and ObjectID. The ID of the this item will be the token generated.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published