Recently I was having an interesting problem mounting a samba share on OS X 10.8.2. I used to be able to mount a particular samba volume, but after the last update suddenly that was not the case any more. Nothing was changed on the samba server and I was still able to mount the rest of the exports from it. Only one particular volume was rejected with the following errors in /var/log/system.log:
Feb 17 19:41:13 mac001 mount_smbfs: smb_mount: mount failed to RemoteServer/ProblemVolume, syserr = Input/output error Feb 17 19:41:13 mac001 kernel: smb_ntstatus_error_to_errno: Couldn't map ntstatus (0xc0000066) to errno returning EIO Feb 17 19:41:13 mac001 kernel: smb_ntstatus_error_to_errno: Couldn't map ntstatus (0xc0000225) to errno returning EIO
The volume was visible with “smbutil view” and was accessible from other OS like Linux and Windows 7.
Googling the error resulted in some answers, but none of them was applicable for my case, so I start experimenting with smb.conf and after few tries I found the problem. The reason was I had “force group = "@Domain Power Users"”. Creating the group and the membership on the mac client did not help and I was forced to comment out the samba directive in order to solve the problem.