pynslcd(8)

πŸ“¦
version 0.9.13 Β· 3 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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 returns 0 if the daemon is already running and 1 if it is not. πŸ’€
  • -d, --debug β€” turn on debugging mode. heads up though: pynslcd will not put itself in the background, and it sends verbose debugging info to stderr. 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 run pynslcd in 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 read nslcd.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