diff --git a/nselib/smb.lua b/nselib/smb.lua
index a8641ffaa..7ce0da05f 100644
--- a/nselib/smb.lua
+++ b/nselib/smb.lua
@@ -3242,6 +3242,21 @@ end
---Retrieve information about the host's operating system. This should always be possible to call, as long as there isn't already
-- a SMB session established.
--
+-- The returned table has the following keys (shown here with sample values).
+-- * os: "Windows 7 Professional 7601 Service Pack 1"
+-- * lanmanager: "Windows 7 Professional 6.1"
+-- * domain: "WORKGROUP"
+-- * server: "COMPUTERNAME"
+-- * time: 1347121470.0462
+-- * date: "2012-09-08 09:24:30"
+-- * timezone: -7
+-- * timezone_str: UTC-7
+-- The table may also contain these additional keys:
+-- * fqdn: "Sql2008.lab.test.local"
+-- * domain_dns: "lab.test.local"
+-- * forest_dns: "test.local"
+-- * workgroup
+--
--@param host The host object
--@return (status, data) If status is true, data is a table of values; otherwise, data is an error message.
function get_os(host)