User Tools

Site Tools


vps_-_netbsd_with_ldap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
vps_-_netbsd_with_ldap [2021/04/02 09:56] hc9vps_-_netbsd_with_ldap [2021/04/02 10:00] – [Initial Configuration] hc9
Line 100: Line 100:
   command_args="-u slapd -g slapd -r /var/chroot/openldap/ -f /etc/openldap/slapd.conf"   command_args="-u slapd -g slapd -r /var/chroot/openldap/ -f /etc/openldap/slapd.conf"
  
-The "-uand "-gflags are used to specify the user and group that "slapdshould be running as. The "-rflag tells slapd where to chroot, and the "-fflag tells slapd where to find the configuration file. All configuration files are read after the chroot has happened, which is why the path does not include "/var/chroot/openldapin it.+The ''-u'' and ''-g'' flags are used to specify the user and group that ''slapd'' should be running as. The ''-r'' flag tells slapd where to chroot, and the ''-f'' flag tells slapd where to find the configuration file. All configuration files are read after the chroot has happened, which is why the path does not include ''/var/chroot/openldap'' in it.
  
-Finally, it is necessary to enable "slapdin the "rc.conffile.+Finally, it is necessary to enable ''slapd'' in the ''rc.conf'' file.
  
   # echo "slapd=YES" >> /etc/rc.conf   # echo "slapd=YES" >> /etc/rc.conf
  
-You can edit the file manually and add this line if you would like to keep your "rc.conforganized in some way.+You can edit the file manually and add this line if you would like to keep your ''rc.conf'' organized in some way.
  
 ===== Testing ===== ===== Testing =====
vps_-_netbsd_with_ldap.txt · Last modified: 2021/04/02 19:27 by hc9