Patches for Make check_disk_smb work with both Samba 2.x.x and Samba 3.x [sf#1217379] [#493]