summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-07-31 16:22:29 -0400
committerNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-07-31 16:22:29 -0400
commit60b8219bd7cf64b8fa9a72e78a80f3adbcbe952c (patch)
tree9b15da5426142810d825e8a7ec37cb1f7c9070a8 /src
parenta86f9f8d987348630381ff70821df0821d9b5a9c (diff)
- fix "networks" defaults
- remember that \t doesn't expand to anything, and the files only use whitespace, so just use spaces already
Diffstat (limited to 'src')
-rw-r--r--src/defs-nis.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/defs-nis.c b/src/defs-nis.c
index 45a0500..29a18f9 100644
--- a/src/defs-nis.c
+++ b/src/defs-nis.c
@@ -92,12 +92,12 @@ static struct configuration {
{"hosts.byaddr", config_exact, FALSE, NULL,
"(&(ipHostNumber=*)(cn=*))",
"%{ipHostNumber}", NULL,
- "%first(\"%{cn}\")\t%{ipHostNumber} %merge(\" \",\"%{cn}\")", NULL,
+ "%first(\"%{cn}\") %{ipHostNumber} %merge(\" \",\"%{cn}\")", NULL,
NULL},
{"hosts.byname", config_exact, FALSE, NULL,
"(&(ipHostNumber=*)(cn=*))",
NULL, "%{cn}",
- "%first(\"%{cn}\")\t%{ipHostNumber} %merge(\" \",\"%{cn}\")", NULL,
+ "%first(\"%{cn}\") %{ipHostNumber} %merge(\" \",\"%{cn}\")", NULL,
NULL},
{"mail.aliases", config_exact, FALSE, NULL,
"(objectClass=nisMailAlias)",
@@ -124,35 +124,35 @@ static struct configuration {
"unix.%{uidNumber}", NULL,
"%{uidNumber}:%merge(\",\",\"%{gidNumber}\",\"%deref(\\\"memberOf\\\",\\\"gidNumber\\\")\",\"%referred(\\\"group.byname\\\",\\\"member\\\",\\\"gidNumber\\\")\",\"%referred(\\\"group.byname\\\",\\\"uniqueMember\\\",\\\"gidNumber\\\")\")", NULL,
NULL},
- {"networks.byaddr", config_exact, FALSE, NULL, /* XXX */
+ {"networks.byaddr", config_exact, FALSE, NULL,
"(objectClass=ipNetwork)",
"%{ipNetworkNumber}", NULL,
- "%merge(\"%{cn}\")", NULL,
+ "%first(\"%{cn}\") %{ipNetworkNumber} %merge(\" \",\"%{cn}\")", NULL,
NULL},
- {"networks.byname", config_exact, FALSE, NULL, /* XXX */
+ {"networks.byname", config_exact, FALSE, NULL,
"(objectClass=ipNetwork)",
NULL, "%{cn}",
- "%{ipNetworkNumber}", NULL,
+ "%first(\"%{cn}\") %{ipNetworkNumber} %merge(\" \",\"%{cn}\")", NULL,
NULL},
{"protocols.byname", config_exact, FALSE, NULL,
"(objectClass=ipProtocol)",
NULL, "%{cn}",
- "%first(\"%{cn}\")\t%{ipProtocolNumber}\t%merge(\" \",\"%{cn}\")", NULL,
+ "%first(\"%{cn}\") %{ipProtocolNumber} %merge(\" \",\"%{cn}\")", NULL,
NULL},
{"protocols.bynumber", config_exact, FALSE, NULL,
"(objectClass=ipProtocol)",
"%{ipProtocolNumber}", NULL,
- "%first(\"%{cn}\")\t%{ipProtocolNumber}\t%merge(\" \",\"%{cn}\")", NULL,
+ "%first(\"%{cn}\") %{ipProtocolNumber} %merge(\" \",\"%{cn}\")", NULL,
NULL},
{"rpc.byname", config_exact, FALSE, NULL,
"(objectClass=oncRpc)",
NULL, "%{cn}",
- "%first(\"%{cn}\")\t%{oncRpcNumber}\t%merge(\" \",\"%{cn}\")", NULL,
+ "%first(\"%{cn}\") %{oncRpcNumber} %merge(\" \",\"%{cn}\")", NULL,
NULL},
{"rpc.bynumber", config_exact, FALSE, NULL,
"(objectClass=oncRpc)",
"%{oncRpcNumber}", NULL,
- "%first(\"%{cn}\")\t%{oncRpcNumber}\t%merge(\" \",\"%{cn}\")", NULL,
+ "%first(\"%{cn}\") %{oncRpcNumber} %merge(\" \",\"%{cn}\")", NULL,
NULL},
{"services.byname", config_exact, FALSE, NULL,
"(objectClass=ipService)",