summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@dahyabhai.net>2012-01-13 15:54:13 -0500
committerNalin Dahyabhai <nalin@dahyabhai.net>2012-01-13 15:54:13 -0500
commita59317207f2f6330ca5d79a06ded95195cf14fdf (patch)
tree87a97bdee9e858df142d2c935cf56b1fd994e46e
parent840025b3caa382c6eb5a4668a12a3ffa23231c5b (diff)
downloadslapi-nis-a59317207f2f6330ca5d79a06ded95195cf14fdf.tar.gz
slapi-nis-a59317207f2f6330ca5d79a06ded95195cf14fdf.tar.xz
slapi-nis-a59317207f2f6330ca5d79a06ded95195cf14fdf.zip
- first pass at handling multivalue ethers records correctly
-rw-r--r--src/defs-nis.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/defs-nis.c b/src/defs-nis.c
index 9ef8e97..31c2120 100644
--- a/src/defs-nis.c
+++ b/src/defs-nis.c
@@ -81,13 +81,13 @@ static struct configuration {
{"ethers.byaddr", config_exact, FALSE, NULL,
"(&(ipHostNumber=*)(macAddress=*))",
- "%{macAddress}", NULL,
- "%{macAddress} %{ipHostNumber}", NULL,
+ NULL, "%{macAddress}",
+ NULL, "%{macAddress} %{ipHostNumber}",
NULL},
{"ethers.byname", config_exact, FALSE, NULL,
"(&(ipHostNumber=*)(macAddress=*))",
- "%{ipHostNumber}", NULL,
- "%{macAddress} %{ipHostNumber}", NULL,
+ NULL, "%{ipHostNumber}",
+ NULL, "%{macAddress} %{ipHostNumber}",
NULL},
{"hosts.byaddr", config_exact, FALSE, NULL,
"(&(ipHostNumber=*)(cn=*))",