pynslcd(8)
π pynslcd(8) β the manual, but make it make sense π
okay bestie, listen up, because this one is literally a daemon that answers name lookups over LDAP and it deserves main character energy. it's from the System Manager's Manual section, so yes, it's a system-y one, but we're gonna get through it together. π«Ά
β¨ NAME β¨
pynslcd β the local LDAP name service daemon π
πΈ SYNOPSIS πΈ
pynslcd [options]
that's it. that's the whole vibe. just the binary and some options. slay. π
π¦ DESCRIPTION π¦
so pynslcd is a daemon, right? and what a daemon does is hang out in the background doing stuff for you while you live your life. and what this daemon does is run LDAP queries on behalf of local processes that want to do user, group and other naming lookups β that's NSS, the Name Service Switch, for the uninitiated β or that want to do user authentication, authorisation or password modification, which is PAM's whole thing. so if a local process is like "hey who is this user" or "hey can this person log in", pynslcd is the one hitting up LDAP for the answer. no cap. π₯
you configure it through a configuration file β peep nslcd.conf(5) for that.
and if you wanna know how to set up the LDAP server side of things, go read the included README. it's giving homework but it's important homework. π
π OPTIONS π
pynslcd accepts the following options, and yes, we're doing all of them, no skipping:
-c,--checkβ check if the daemon is running. and it's not just gonna tell you, it's gonna communicate through exit codes, which is very demure, very mindful: it returns0if the daemon is already running and1if it is not. π-d,--debugβ turn on debugging mode. heads up though:pynslcdwill not put itself in the background, and it sends verbose debugging info tostderr. it'll still handle connections as usual, so it's not like it stops working β it just gets chatty. this option is for debugging purposes only, bestie. and here's the cute part: specify it multiple times and you also get more detailed logging from the LDAP library. stack those-ds. β¨-n,--noforkβ do not fork or daemonise, and runpynslcdin the foreground. so it's just... right there. in your terminal. staring at you. π--helpβ display short help and exit. the classic. the icon. π«Ά-V,--versionβ output version information and exit. so you can flex which version you're on. π
π FILES π
/etc/nslcd.confβ the configuration file, and yes, that's the one you go readnslcd.conf(5)about.
π SEE ALSO π
π AUTHOR π
this manual was written by Arthur de Jong <arthur@arthurdejong.org>. absolute legend behaviour, honestly. π«‘
and that's a wrap, bestie!! this was Version 0.9.13, dated Feb 2025, and the page is pynslcd(8) from the System Manager's Manual. go forth and look up names. π
β¨π
π¦ where this page comes from
- debian trixie: pynslcd 0.9.13-1
- ubuntu questing: pynslcd 0.9.13-1
- ubuntu questing: pynslcd 0.9.13-1ubuntu0.1
- ubuntu resolute: pynslcd 0.9.13-2ubuntu2
- ubuntu stonking: pynslcd 0.9.13-2ubuntu2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms