SMBLDAP...ATE.CMD(8)

πŸ’– NAME πŸ’–

smbldap-populate β€” ok so this one's whole job is literally just populating your LDAP database ✨


πŸŽ€ SYNOPSIS πŸŽ€

smbldap-populate [ldif-file]

πŸ¦‹ DESCRIPTION πŸ¦‹

Bestie. Listen. smbldap-populate is the little glow-up your LDAP server has been waiting for β€” it helps you populate an LDAP server by adding all the necessary entries, which are:

  • the base suffix (and no, it does not abort if it's already there, she's chill like that 🫢)
  • organizational units for users, groups and computers
  • the builtin users: Administrator and guest πŸ‘‘
  • builtin groups (though posixAccount only, no SambaTNG support β€” we don't do that one, periodt)

And then the options, the way that there are four of them and they're all lowkey essential:

  • -a name β€” your local administrator login name (default: root) πŸ’…
  • -b name β€” your local guest login name (default: nobody) πŸ™ˆ
  • -e file β€” export an ldif file ✨
  • -i file β€” import an ldif file (heads up bestie: options -a and -b will be ignored when you do this) πŸ’€
fr fr, that -i thing is the one to remember β€” if you pass -i, your -a and -b are just sitting there getting ignored. it's giving "not invited to the party" 😭

🌸 FILES 🌸

  • /etc/smbldap-tools/smbldap.conf β€” main configuration, the main character πŸ‘‘
  • /etc/smbldap-tools/smbldap_bind.conf β€” credentials for binding to the directory πŸ”

🌈 SEE ALSO 🌈


and that's the whole page, bestie 🫢 this was written by the User Contributed Perl Documentation girlies, running on perl v5.32.1, dated 2021-11-07, filed under SMBLDAP...ATE.CMD(8). mwah πŸ’‹

πŸ“¦ where this page comes from