OpenLDAP

Values that can be stored in LMDB

笑着哭i 提交于 2019-12-04 21:50:35
LMDB is a key-value store. What types of keys and values can be stored here? Examples shows either int or char arrays .. Also I would like to know if it is possible to store related data in lmdb like we store all data related to a student in a table in RDBMS It sounds like you're not a C programmer, but in the context of the C language, the data for keys and values in LMDB are both (void *) - that is, generic pointers to anything. That means any data type that can be expressed in the programming language can be used. In other languages, through whatever bindings are provided, your options may

chef rewind cookbook_file definition from a wrapper cookbook recipe

佐手、 提交于 2019-12-04 21:33:01
I am using an cookbook github.com opscode-cookbooks/openldap. I wrote an wrapper cookbook "lab_openldap" that includes "openldap::server" recipe. The server.rb recipe uses following clausule to upload the PEM file from cookbooks files/ssl/*.pem to server to the location node['openldap']['ssl_cert']. if node['openldap']['tls_enabled'] && node['openldap']['manage_ssl'] cookbook_file node['openldap']['ssl_cert'] do source "ssl/#{node['openldap']['server']}.pem" mode 00644 owner "root" group "root" end end The PEM is tried to be read from "openldap" cookbook file/ssl/#{node['openldap']['server']}

How to find all the groups the user is a member? (LDAP)

∥☆過路亽.° 提交于 2019-12-04 17:49:44
I am trying to get all the groups that a certain user is a member of. I have the following structures in ldap: o=myOrganization ou=unit1 cn=admin cn=guess and ou=users cn=ann cn=bob cn=carla myOrganization is an instance of Organization unit1 is an instance of OrganizationUnit admin and guess are both GroupOfNames and have everyone as a member ann , bob , and carla are instances of Person Currently, I am using the ldap module on python and this is what I have: import ldap l = ldap.initialize("ldap://my_host") l.simple_bind_s("[my_dn]", "[my_pass]") ldap_result = l.search("[BASE_DN]", ldap

Berkeley DB mismatch error while configuring LDAP

此生再无相见时 提交于 2019-12-04 14:07:08
问题 I'm configuring OPENLDAP 2.4.35. on Redhat Linux, I have already installed Berkley DB 4.8.30 as a prerequisite. I also checked the version compatibility from OPENLDAP's README file, which says: SLAPD: BDB and HDB backends require Oracle Berkeley DB 4.4 - 4.8, or 5.0 - 5.1. It is highly recommended to apply the patches from Oracle for a given release. Still I'm getting this error: checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking for Berkeley DB

Active Directory vs OpenLDAP

♀尐吖头ヾ 提交于 2019-12-04 07:39:48
问题 What are the main diffrences between these two implementations of LDAP protocol? Which is better for heterogenous environment? Any good websites about this topic? 回答1: For hetrogenous environments you want to use a general-purpose server such as OpenLDAP. The advantage of AD usually is that it already contains user accounts for your internal users - these can be kept in synch with separate LDAP server though this adds complexity. As far as specifics of the protocol go, the docs for Oracle

openldap “no global superior knowledge”

回眸只為那壹抹淺笑 提交于 2019-12-04 00:34:06
When I: ldapadd -f pop01.ldif -x -D "cn=Manager,dc=ldap,dc=beonegroup,dc=be" -w 1234 I get: adding new entry "dc=ldap,dc=beonegroup,dc=org" ldapadd: Server is unwilling to perform (53) additional info: no global superior knowledge Here is my slapd.conf: database bdb suffix "dc=ldap,dc=beonegroup,dc=be" rootdn "cn=Manager,dc=ldap,dc=beonegroup,dc=be" rootpw 1234 directory /var/lib/ldap/beoneDirectory index objectClass eq,pres index ou,cn,mail,surname,givenname eq,pres,sub index uidNumber,gidNumber,loginShell eq,pres index uid,memberUid eq,pres,sub index nisMapName,nisMapEntry eq,pres,sub And my

Openldap + dynlist + posixGroup

不羁岁月 提交于 2019-12-03 21:44:42
I have problem with OpenLdap and permission to file. First - I set this in my slapd.conf: overlay dynlist dynlist-attrset labeledURIObject labeledURI Second - I make cn=test,ou=Projects,dc=example,dc=com with: dn: cn=test,ou=Projects,dc=example,dc=com gidNumber: 6789 objectClass: posixGroup objectClass: top objectClass: labeledURIObject labeledURI: ldap:///cn=testgroup,ou=Groups,dc=example,dc=com?memberUid?sub? (objectClass=posixGroup) memberUid: user1 (dynamic) memberUid: user2 (dynamic) in cn=testgroup,ou=Groups,dc=example,dc=com i have memberuid: user1 and memberUid: user2 Third - when i

LDIF for creating Active Directory users and groups in OpenLDAP?

混江龙づ霸主 提交于 2019-12-03 14:56:33
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

Using php-ldap in Centos 6.3

亡梦爱人 提交于 2019-12-03 11:57:43
I'm trying to build a LDAP interface using php but have run into this strange problem. I have installed the php-ldap package using yum on my base php install but whenever I call ldap_connect() it says the function is undefined. Seeing phpinfo() I can verify that the ldap extension is indeed installed and enabled. dgibbs Are you sure you have openldap included? I just realized I have the same issue where phpinfo shows me several other ldap modules loaded by apache, but I do no have openldap http://www.php.net/manual/en/ldap.installation.php I just got a successful install following the

How do I manually install an old cygwin package?

六月ゝ 毕业季﹏ 提交于 2019-12-03 11:07:24
A project I am working on requires an old version of SLAPD (the LDAP server) and must run on Windows, hence I am using cygwin packages: I've found a binary package of slapd version I need 2.2.x here: http://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/release/ ... How do I manually install it in cygwin? It does not seem to be a package-manager file format (like an RPM or a Deb), but is there a tool to install it for me? FYI, I'm operating behind a corporate firewall that prevents me from viewing the main cygwin site (including the documentation), so please nobody tell me to RTFM - I