Skip to content

Instantly share code, notes, and snippets.

View m0jek's full-sized avatar
💭
I may be slow to respond.

Andre Skarzynski m0jek

💭
I may be slow to respond.
  • King's Lynn, England
View GitHub Profile
@canabady
canabady / openldap-modify-acl
Last active August 15, 2025 11:20
To modify openldap ACL
########################
# To modify openldap ACL
########################
# delete the existing ACL
# delete-acl.ldif
dn: olcDatabase={1}hdb,cn=config
changetype: modify
delete: olcAccess
@nsabine
nsabine / add_user.sh
Created September 17, 2013 19:51
Shell script to add a user to LDAP. Based on OpenLDAP and RFC 2307 memberuid group attributes.
#!/bin/bash
#
# add_user.sh: Add user to LDAP
# Author: Nick Sabine
#
# Defaults
LDAP_BASE="dc=ORG,dc=local"
LDAP_ACCOUNTS_DN="ou=people,${LDAP_BASE}"
LDAP_USER_GROUP="cn=user_group,ou=groups,${LDAP_BASE}"
@kuenishi
kuenishi / gist:3825178
Created October 3, 2012 05:22
Accessing to VM via serial console at VMware Fusion 5

Environment

  • Using FreeBSD
  • Mountain Lion
  • VMware Fusion 5
  • Your VMware is installed at '/Applications/VMware Fusion.app'
  • Command Line tools are at '/Applications/VMware Fusion.app/Contents/Library'
  • especially vmrun