mludvig / yubikey-ldap Goto Github PK
View Code? Open in Web Editor NEWLDAP schema and tools for Yubico YubiKey authentication
LDAP schema and tools for Yubico YubiKey authentication
yubikey-ldap tool ================= This tool simplifies the management of YubiKeys stored in LDAP for user authentication. It can easily do the following: * Add/Remove 'yubiKeyId' attribute to/from users * Search for users who have a yubiKeyId assigned That's about it, really :) Behind the scenes it does a little more to facilitate the above: * Autocompletes usernames * Adds 'yubiKeyUser' objectClass to the user's record before when needed YubiKey LDAP schema ------------------- As a prerequisite the YubiKey LDAP schema must be installed in your server. Refer to 'ldap-schema/README' for more details. Configuration ------------- At the moment the config file 'yubikey-ldap.conf' must be in your current working directory at the time you launch yubikey-ldap. Later on we will add some more intelligence and configurable config location. Use the provided 'yubikey-ldap.conf.sample' as a template. Example ------- $HOME/yubikey-ldap # ./yubikey-ldap Use <Ctrl+D> to exit at any time Use <Enter> to return one level up Enter username (<tab> to autocomplete) or YubiKey Id to manage Username or YubiKey: test<TAB> Username or YubiKey: test.user Test User [test.user] has no assigned YubiKeys (a) add / <Enter> change user Command: a Enter YubiKey ID (12 chars minimum, best way is to touch the key) YubiKey ID: ccccccbhkiivinkrcvfkdkttbfjkhtvggnvdchfjkvgt Assigning YubiKey 'ccccccbhkiiv' to 'test.user' Commit? [Y/n] <Enter> Test User [test.user] has 1 assigned YubiKey 1) ccccccbhkiiv (a) add / (d) delete / <Enter> change user Command: d Test User [test.user] has 1 assigned YubiKey 1) ccccccbhkiiv Enter YubiKey or the index number. Enter when done. YubiKey to Delete: 1 Test User [test.user] has no assigned YubiKeys (a) add / <Enter> change user Command: <Ctrl+D> $HOME/yubikey-ldap # Credits ------- Have you found this tool useful? Please consider a small PayPal donation at: http://logix.cz/michal/devel/yubikey-ldap/ Thanks! Michal Ludvig <[email protected]>
Hi there I am trying to import the schema into FreeIPA version 4.4.0 running on Centos7
At present when I run the important command I get the following.
ldapadd -W -x -D uid=admin,cn=users,cn=compat,dc=tester,dc=com -f yubikey.ldif
The above command then gives me this
adding new entry "cn=yubikey,cn=schema,cn=config"
ldap_add: Object class violation (65)
additional info: unknown object class "olcSchemaConfig"
Have I used the import command wrong or is something a miss? Please bear in mind I am fairly new to LDAP and FreeIPA and I am currently attempting to learn and I am aiming to build a OTP set-up.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.