title: how to get the user's domain information in samba
body: <p>BG:I have build samba in redhat linux, and share a folder, then access the share folder from windows.</p>
  
  <p>As the following shows, the connection information can be got via command "smbstatus"</p>
  
  <pre><code>[root@Redhat6 pam.d]# smbstatus
  
  Samba version 3.5.10-125.el6
  PID     Username      Group         Machine                        
  -------------------------------------------------------------------
  8303      leon          domain users  win0832mc    (::ffff:10.204.176.73)
  </code></pre>
  
  <p>we can get the user, the group of domain, then how to get the domain information?
  Could please you help me on this? thanks.</p>