Automount and LDAP on Mac OSX

From ‘Leopard’ onwards, OSX supports the standard autofs method for mounting remote filesystems automatically. Specifically, a users home directory may be automounted on logon using attributes provided by the LDAP server. To enable this, the necessary schema entries must be added to the apple.schema file, if this has not already been done. Updating LDAP Additional […]

Samba LDAP configuration

Samba is open-source software which allows a Linux server to provide filesystems to Microsoft Windows clients using the SMB protocol. It may also act as a Primary Domain Controller for a Windows domain allowing users of the Windows clients to authenticate using Linux accounts. Specifically, it also includes support for authenticating against an OpenLDAP server. […]

Mac OSX Authentication against OpenLDAP

Configuring a Mac OSX machine to authenticate users against a Linux-based OpenLDAP server can be slightly tricky. This page is intended to document my experiences. The configuration described here provides simple authentication services and may not be suitable for enterprise level scenarios. Configuring OpenLDAP Disable SASL Mac OSX always attempt to authenticate the LDAP session […]

Using ldapvi to quickly modify LDAP directories

ldapvi is a command-line LDAP directory editor provided through the popular Vi(m) editor. It is provided as a package under Debian: To edit the contents of a local directory server just run This will then prompt for the distinguished name you wish to connect with and the password. For example You can then edit existing […]

Bookmarks and Hyperref

The hyperref package allows your LaTeX document to be built with PDF bookmarks and hyperlinks for the table of contents, figures and equations. First, include the hyperref package with any options: Options include: pdftex – tell hyperref that we’re using pdflatex. bookmarksopen=true – the list of bookmarks should be shown automatically when opening the document […]

Using varioref to add parentheses to equation numbers

The varioref automatically encapsulate equation numbers with parentheses when referencing. This results in producing (2.3) instead of just 2.3. Load the varioref package in the preamble: and specify a format for the type of reference

Vim-outliner for creating task lists

Vim-Outliner provides the ability to create outlines and task-lists in vim. The checkbox module is particularly useful for the latter. Vim-Outliner defines commands to control its functionality using comma-comma commands, e.g. ,,cb, in command-mode. Installation and Configuration on Debian Installation is straightforward using the vim-addon manager We then instruct vim to use this addon using […]