Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6614373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T20:19:52+00:00 2026-05-25T20:19:52+00:00

I have a web application that uses Active Directory to authenticate users, and I’m

  • 0

I have a web application that uses Active Directory to authenticate users, and I’m trying to replace AD with OpenLDAP.

The documentation says that I need to log on the domain controller as administrator, open the user management window, click on the appropriate organizational unit and add the userids to the proper groups (these groups should have scope “Global” and group type “Security”).

I need to create the equivalent entries on my OpenLDAP server. Can someone provide an example LDIF for this? I don’t know the class nor the attributes I should use, and I don’t have access to a domain controller. The most problematic items seems to be group type and scope, because they seem to be binary values, not strings.

Please note that I don’t want to replace Active Directory completely – I just need userids and groups. I’ve tried adding microsoft.schema to OpenLDAP, but it doesn’t work. I’ve found some information about modifying the schema for Microsoft Outlook; I need something similar but simpler.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T20:19:52+00:00Added an answer on May 25, 2026 at 8:19 pm

    It’s almost impossible to convert the entire ActiveDirectory schema to OpenLDAP, it’s huge. However, we can add only the needed attributes and classes:

    attributetype ( 1.2.840.113556.1.4.750 NAME 'groupType' 
       SYNTAX '1.3.6.1.4.1.1466.115.121.1.27' SINGLE-VALUE 
    )
    
    attributetype ( 1.3.114.7.4.2.0.33 NAME 'memberOf' 
        SYNTAX '1.3.6.1.4.1.1466.115.121.1.26' 
    )
    
    objectclass ( 1.2.840.113556.1.5.9 NAME 'user'
            DESC 'a user'
            SUP organizationalPerson STRUCTURAL
            MUST ( cn )
            MAY ( userPassword $ memberOf ) )
    
    objectclass ( 1.2.840.113556.1.5.8 NAME 'group'
            DESC 'a group of users'
            SUP top STRUCTURAL
            MUST ( groupType $ cn )
            MAY ( member ) )
    

    Then it’s easy to create an LDIF file for inserting the users and groups:

    dn: dc=myCompany
    objectClass: top
    objectClass: dcObject
    objectClass: organization
    dc: myCompany
    o: LocalBranch
    
    dn: ou=People,dc=myCompany
    objectClass: top
    objectClass: organizationalUnit
    ou: People
    description: Test database
    
    dn: cn=Users,dc=myCompany
    objectClass: groupOfNames
    objectClass: top
    cn: Users
    member: cn=Manager,cn=Users,dc=myCompany
    
    dn: cn=Manager,cn=Users,dc=myCompany
    objectClass: person
    objectClass: top
    cn: Manager
    sn: Manager
    userPassword:: e1NIQX1tc0lKSXJCVU1XdmlPRUtsdktmV255bjJuWGM9
    
    dn: cn=ReadWrite,ou=People,dc=myCompany
    objectClass: group
    objectClass: top
    cn: ReadWrite
    groupType: 2147483650
    member: cn=sysconf,ou=People,dc=myCompany
    
    dn: cn=sysopr,ou=People,dc=myCompany
    objectClass: user
    objectClass: organizationalPerson
    objectClass: person
    objectClass: top
    cn: sysopr
    sn: team
    memberOf: cn=ReadOnly,ou=People,dc=myCompany
    userPassword:: e1NIQX1jUkR0cE5DZUJpcWw1S09Rc0tWeXJBMHNBaUE9
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web application that uses two databases. DB1 Users perform their CRUD
I have a web application that uses RESTful url patterns. Currently if a users
I writing a web site that uses Active Directory to validate users. I don't
I have a web application that uses Integrated Windows Authentication to validate users. Most
I have a ASP.NET web application that uses Themes. Inside the theme directory are
We have an application that uses Active Directory for its Authentication. This includes Kerberos
I have a web application that uses Ext-JS 2.2. In a certain component, we
I have a web application that uses the current version of JQuery that needs
I have a web application that uses a number of WCF Services. I deploy
I have a web application that uses TONS of javascript, and as usual, there

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.