AH00094: Command line: ‘/usr/sbin/apache2’

i have installed ldap and phpldapadmin 3 weeks ago and everything was good. yesterday i wanted to configure web server, so the web server works fine, and the command service apache2 restart it gives as result : * Restarting web server apache2 [ OK ] but when i check the file /var/log/apache2/error.log i get : … Read more

Bad hdb.ldif, need help to configure it

contents of /etc/openldap/slapd.d/cn=config/olcDatabase={2}hdb.ldif 1 # AUTO-GENERATED FILE – DO NOT EDIT!! Use ldapmodify. 2 # CRC32 2e34b404 3 dn: olcDatabase={2}hdb 4 objectClass: olcDatabaseConfig 5 objectClass: olcHdbConfig 6 olcDatabase: {2}hdb 7 olcDbDirectory: /var/lib/ldap 8 olcSuffix: dc=ixsystems,dc=com 9 olcRootDN: cn=Manager,dc=ixsystems,dc=com 10 olcRootPW: {SSHA}WJTAm3glD5O87VKlhz5v3u4+1A3MVB8E 11 olcDbIndex: objectClass eq,pres 12 olcDbIndex: ou,cn,mail,surname,givenname eq,pres,sub 13 structuralObjectClass: olcHdbConfig 14 entryUUID: c153cf4c-ed16-1034-9398-7188a52812eb … Read more

Shell script to enumerate the (already existing) LDAP group called “VPN Users”

I am new to LDAP and learning about the ldapsearch and ldap in general. Would like to write a shell script that enumerate the (already existing) LDAP group “VPN Users”, then get all user “samaccountname” (e.g.joe.smith). Can someone please help? I’ve tried to do it but seems like my ldapsearch has errors: ldapsearch -h … Read more

Authenticate Teamcity against LDAP using StartTLS

I am running a 6.5 version of Teamcity on a Debian Squeeze server and I use OpenLDAP to authenticate users. I know I can use LDAPS to be able to use encrypted password authentication, however this has been deprecated by the OpenLDAP developers, see: http://www.openldap.org/faq/data/cache/605.html I would like to know if there is a way … Read more

What are the dependencies of sssd/nscd to function?

What are the dependencies of sssd to function as an LDAP-client? What are the dependencies of nscd to function as an LDAP-client? Does sssd need openldap to function as an LDAP-client? Does nscd? Answer What are the dependencies of sssd to function as an LDAP-client? Package: [root@giomacdesk ~]# rpm -q –requires sssd-ldap libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) … Read more

Forwarding incoming ssh connections to virtual machine based on LDAP group

My Question is as follows: How can I forward all incoming SSH (Port 22) traffic (except one account) to a VM which is running on this server? The Server is based on Proxmox VE 3.1 The VM is Debian 7 with group-based LDAP-auth Goal is, to forward members of the LDAP-group “login” to the VM, … Read more

Gitlab with OpenLDAP secured with TLS

I have a working, secure OpenLDAP server running at: auth.<company name>.com I also have a reader account that Gitlab can use: cn=Reader Reader,ou=users,dc=auth,dc=<Company name>,dc=com Our setup is secured with STARTTLS. Our server will accept no other connections, nor do I want to configure other connection types (SSL, unencrypted). My question is, how do I massage … Read more