GithubHelp home page GithubHelp logo

ldapfs's Introduction

LDAPfs

LDAPfs allows you to browse an Active Directory tree like a Linux file system.

It uses the FUSE module to present the tree in a file system like interface, all Organization Units are represented as directoriess. All Common Name entries are represented as files.


How to use ldapfs

./ldapfs.py --help

Things to be aware of:

  • Currently the LDAP connection / file system is Read-Only
  • The default cache is set to 300 seconds (5 min), it can be set via command line param
  • The contents of the files are all the AD attributes in yaml format
  • The AD attributes are also setup as user extended atts available via getfxattr
getfattr -n whenChanged <filename>

Ldap Connection Information

  • By default all connections are ldaps unless --no-ssl is provided
  • The defeault port is the Global Catalog port 3269
  • We do not follow referrals

Mount Example

./ldapfs.py -u "<domain>\<username>" -p <password> --host <ip> -m ~/ldap_test --no-verify-cert

The above example causes the password to be available in the output of the ps command!!!!

./ldapfs.py -u "<domain>\<username>" --passwordfile ~/.<my_passwordfile> --host <ip> -m ~/ldap_test --no-verify-cert

This approach will read the password from a file, the password must be the last line in the file and the only text on that line.

ldapfs's People

Contributors

jseutter avatar mgale avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ldapfs's Issues

Unknown Error: {'desc': 'Confidentiality required'}

The above error appears to be related to:
https://www.novell.com/support/kb/doc.php?id=7013372

--snip--
Situation

Bind error (13: Confidentiality required)
ldap_simple_bind failed: 13(Confidentiality required)
Configuring an application to bind to eDirectory over un-secure port 389 fails with "Bind error (13: Confidentiality required)"
Configuring an application to bind to Domain Services for Windows over un-secure port 389 fails with "Bind error (13: Confidentiality required)"
Configuring an application to bind to DSfW fails with "Bind error (13: Confidentiality required)"
Resolution

"Require TLS for Simple Binds with Password" is enabled and or "Require TLS for all operations" is enabled. Disable both to allow un-secure binds.

--snip--

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.