Add Oracle to the list of supported drivers.
[freeradius.git] / man / man8 / radsqlrelay.8
index 41a4dae..801b522 100644 (file)
@@ -29,7 +29,7 @@ must be configured in the \fBradiusd\fP server before you can use
 
 .SH OPTIONS
 .IP "\-d \fIsql_driver\fP"
-Driver to use: mysql, pg.
+Driver to use: mysql, pg, oracle.
 .IP "\-b \fIdatabase\fP"
 Name of the database to use.
 .IP "\-h \fIhost\fP"
@@ -43,6 +43,23 @@ One-shot mode: push the file to database and exit.
 .IP "file_path"
 The pathname of the SQL logfile to use.
 
+.SH NOTES
+.SS Oracle driver
+The command "radsqlrelay -d oracle -b db.domain.tld sql-relay" reads the
+database description stored in $TNS_ADMIN/tnsnames.ora:
+.PP
+.DS
+db.domain.tld =
+  (DESCRIPTION =
+    (ADDRESS_LIST =
+      (ADDRESS = (PROTOCOL = TCP)(HOST = db.domain.tld)(PORT = 1521))
+    )
+    (CONNECT_DATA =
+      (SERVICE_NAME = <DB SID>)
+    )
+  )
+.DE
+
 .SH SEE ALSO
 .BR rlm_sql_log (5)