<commit_before>
LdapFS
======

An LDAP backed file system.

This is a small Fuse based file system written using fuse-python and
python-ldap. It allows you to mount an LDAP hierarchy as a set of
files and directories on disk. It is most useful for examing an existing
hierarchy.

**I use this solely for development purposes. It has never been used in
production**

A brief overview:

* Multiple LDAP servers with multiple base DNs can be mounted under one mountpoint.

* LDAP objects are represented as directories with child objects as sub-directories.

* Object attributes are represented as files within their object's directory.

* The name of an attribute file is the same as the attribute name

* The contents of the file is a single line, starting with the attribute name,
  followed by an "=" character, followed by the attribute value, ending with a
  "\n" character attribute.

* The size of an attribute file reported to the file system includes size for
  the "=" and "\n" characters in addition to the name and value pair.

* Each directory contains a special ".attributes" file. The file contains one
  line for each attribute of that directory's LDAP object. The format of
  each line is the same as the attribute file.

Installation
------------

The package is not yet on pypi. To install clone this repository and install
with the following:

    # git clone git://github.com/lad/ldapfs.git
    # cd ldapfs
    # python setup.py install


Setup
-----

The configuration file in install-dir/etc/ldapfs.cfg is used to specify the<commit_msg>Add multi-valued details to README<commit_after>
LdapFS
======

An LDAP backed file system.

This is a small Fuse based file system written using fuse-python and
python-ldap. It allows you to mount an LDAP hierarchy as a set of
files and directories on disk. It is most useful for examining an existing
hierarchy.

**I use this solely for development purposes. It has never been used in
production**

A brief overview:

* Multiple LDAP servers with multiple base DNs can be mounted under one mountpoint.

* LDAP objects are represented as directories with child objects as sub-directories.

* Object attributes are represented as files within their object's directory.

* The name of an attribute file is the same as the attribute name

* The contents of the file is a single line, starting with the attribute name,
  followed by an "=" character, followed by the attribute value, ending with a
  "\n" character attribute. If the object is multi-valued each attribute value
  will be present separated by a "," character.

* The size of an attribute file reported to the file system includes size for
  the "=" and "\n" characters in addition to the name and value pair.

* Each directory contains a special ".attributes" file. The file contains one
  line for each attribute of that directory's LDAP object. The format of
  each line is the same as the attribute file.

Installation
------------

The package is not yet on pypi. To install clone this repository and install
with the following:

    # git clone git://github.com/lad/ldapfs.git
    # cd ldapfs
    # python setup.py install


Setup
-----

The configuration file in install-dir/etc/ldapfs.cfg is used to specify the
{'fraction_non_alphanumeric': 0.05867819641754169, 'fraction_numerical': 0.0, 'mean_word_length': 3.653735632183908, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5461164', 'n_tokens_mistral': 835, 'n_tokens_neox': 815, 'n_words': 486}