Skip to content

Commit 9157f29

Browse files
committed
add missing Linux config info
1 parent db31371 commit 9157f29

5 files changed

Lines changed: 33 additions & 7 deletions

File tree

content/cumulus-linux-510/System-Configuration/Authentication-Authorization-and-Accounting/LDAP-Authentication-and-Authorization.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,24 @@ Instead of running the installer and following the interactive prompts, as descr
122122
```
123123

124124
{{< /expand >}}
125+
126+
## Configure PAM to use LDAP
127+
128+
After installation, run the `sudo pam-auth-update --enable ldap` command:
129+
130+
```
131+
cumulus@switch:~$ sudo pam-auth-update --enable ldap
132+
```
133+
125134
<!-- vale off -->
126135
## Update the nslcd.conf File
127136
<!-- vale on -->
128-
After installation, update the main configuration file (`/etc/nslcd.conf`) to accommodate the expected LDAP server settings.
137+
Update the main configuration file (`/etc/nslcd.conf`) to accommodate the expected LDAP server settings.
129138

130139
This section documents some of the more important options that relate to security and queries. For details on all the available configuration options, read the {{<exlink url="http://linux.die.net/man/5/nslcd.conf" text="nslcd.conf man page">}}.
131140

132141
{{%notice note%}}
133-
After first editing the `/etc/nslcd.conf` file and/or enabling LDAP in the `/etc/nsswitch.conf` file, you must restart `netd` with the `sudo systemctl restart netd` command. If you disable LDAP, you need to restart the `netd` service.
142+
After first editing the `/etc/nslcd.conf` file and enabling LDAP in the `/etc/nsswitch.conf` file, you must restart NVUE with the `sudo systemctl restart nvued.service` command. If you disable LDAP, you need to restart the NVUE service.
134143
{{%/notice%}}
135144

136145
### Connection

content/cumulus-linux-511/System-Configuration/Authentication-Authorization-and-Accounting/LDAP-Authentication-and-Authorization.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ NVUE manages LDAP authentication with PAM and NSS.
1919

2020
You can configure LDAP server settings with NVUE commands or by editing Linux configuration files.
2121

22+
{{%notice note%}}
23+
If you edit Linux configuration files instead of using NVUE, you must:
24+
- Configure PAM to use LDAP with the `sudo pam-auth-update --enable ldap` command.
25+
- Restart NVUE with the `sudo systemctl restart nvued.service` command after editing the `/etc/nslcd.conf` file or the `/etc/nsswitch.conf` file.
26+
{{%/notice%}}
27+
2228
### Connection
2329

2430
Configure the following connection settings:
@@ -237,7 +243,7 @@ cumulus@switch:~$ nv config apply
237243
{{< /tab >}}
238244
{{< tab "Linux Commands ">}}
239245

240-
Edit the `/etc/nslcd.conf` file to set the `map passwd` and `map group` options..
246+
Edit the `/etc/nslcd.conf` file to set the `map passwd` and `map group` options.
241247

242248
```
243249
cumulus@switch:~$ sudo nano /etc/nslcd.conf

content/cumulus-linux-512/System-Configuration/Authentication-Authorization-and-Accounting/LDAP-Authentication-and-Authorization.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ NVUE manages LDAP authentication with PAM and NSS.
1919

2020
You can configure LDAP server settings with NVUE commands or by editing Linux configuration files.
2121

22+
{{%notice note%}}
23+
If you edit Linux configuration files instead of using NVUE, you must:
24+
- Configure PAM to use LDAP with the `sudo pam-auth-update --enable ldap` command.
25+
- Restart NVUE with the `sudo systemctl restart nvued.service` command after editing the `/etc/nslcd.conf` file or the `/etc/nsswitch.conf` file.
26+
{{%/notice%}}
27+
2228
### Connection
2329

2430
Configure the following connection settings:

content/cumulus-linux-513/System-Configuration/Authentication-Authorization-and-Accounting/LDAP-Authentication-and-Authorization.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ NVUE manages LDAP authentication with PAM and NSS.
1919

2020
You can configure LDAP server settings with NVUE commands or by editing Linux configuration files.
2121

22+
{{%notice note%}}
23+
If you edit Linux configuration files instead of using NVUE, you must:
24+
- Configure PAM to use LDAP with the `sudo pam-auth-update --enable ldap` command.
25+
- Restart NVUE with the `sudo systemctl restart nvued.service` command after editing the `/etc/nslcd.conf` file or the `/etc/nsswitch.conf` file.
26+
{{%/notice%}}
27+
2228
### Connection
2329

2430
Configure the following connection settings:

content/cumulus-linux-59/System-Configuration/Authentication-Authorization-and-Accounting/LDAP-Authentication-and-Authorization.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,9 @@ Instead of running the installer and following the interactive prompts, as descr
124124

125125
{{< /expand >}}
126126

127-
<!-- vale off -->
128127
## Configure PAM to use LDAP
129-
<!-- vale on -->
130-
After installation, execute `sudo pam-auth-update --enable ldap` command
128+
129+
After installation, run the `sudo pam-auth-update --enable ldap` command:
131130

132131
```
133132
cumulus@switch:~$ sudo pam-auth-update --enable ldap
@@ -141,7 +140,7 @@ Update the main configuration file (`/etc/nslcd.conf`) to accommodate the expect
141140
This section documents some of the more important options that relate to security and queries. For details on all the available configuration options, read the {{<exlink url="http://linux.die.net/man/5/nslcd.conf" text="nslcd.conf man page">}}.
142141

143142
{{%notice note%}}
144-
After first editing the `/etc/nslcd.conf` file and/or enabling LDAP in the `/etc/nsswitch.conf` file, you must restart `nvue` with the `sudo systemctl restart nvued.service` command. If you disable LDAP, you need to restart the `nvue` service.
143+
After first editing the `/etc/nslcd.conf` file and enabling LDAP in the `/etc/nsswitch.conf` file, you must restart NVUE with the `sudo systemctl restart nvued.service` command. If you disable LDAP, you need to restart the NVUE service.
145144
{{%/notice%}}
146145

147146
### Connection

0 commit comments

Comments
 (0)