Suddenly can’t login to OpenSolaris 2009.06 CIFS share

I woke up this morning and couldn’t get onto my CIFS share. A quick look at /var/adm/messages and I saw this problem:

Jun 15 23:10:10 zed idmap[346]: [ID 702911 auth.notice] GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (Clock skew too great)

Ok so this is because the clock on this machine is not close enough to the clock on my domain controller. I’ll just do a ‘crontab -e’ and plug this in:

# Sync date/time with my domain controller
15 * * * * /usr/sbin/ntpdate your.domain.controller.com

Now it should stay synchronized. But wait, I still can’t access my shares.

# svcadm disable idmap
# svcadm disable smb/server
# svcadm enable -r idmap
# svcadm enable -r smb/server

That didn’t do it.

# smbadm list
[*] [MYDOMAIN]
[*] [mydomain.com]

…and proceeds to hang.

# smbadm join -w WORKGROUP
hangs.

# smbadm join -u domainuser mydomain
hangs.

/var/adm/messages shows: svc.startd[7]: [ID 122153 daemon.warning] svc:/network/smb/server:default: Method or service exit timed out. Killing contract 70.

Also noticed despite disabling the smb/server, the process still appears to be running. Kill -9 does nothing.

I had experienced a similar issue earlier during setup and I had written it off. It’s looking like the stability of CIFS isn’t so rocksolid. This post on the cifs-discuss list definitely shows I’m not the only one having issues.

I’m tempted to use VirtualBox and run virtual Win2k3 server on top of OpenSolaris. I would create an iSCSI target in my zpool and point the Win2k3 box at that. Let windows seamlessly share files which it is good at and OpenSolaris manage the storage which it is good at. It’s an interesting thought, but I’m going to see if the latest SXCE fixes my CIFS woes first.

This entry was posted in General and tagged . Bookmark the permalink.

4 Responses to Suddenly can’t login to OpenSolaris 2009.06 CIFS share

  1. That problem with the CIFS server was one of those in OpenSolaris that were solved by moving to SXCE (for me). I read some indications that a number of bugs in the CIFS server were solved in snv_114 – maybe they’ll be fixed in OpenSolaris when the distribution reaches that code level.

    As an aside, since loading SXCE (snv_115), the CIFS server has been rock solid.

    I hope the re-load works for you!

  2. wolf says:

    @Justin Thomas

    Thanks Justin! I have installed and have been using svn_115 for a while now. Rock solid for me as well.

  3. Hering Cheng says:

    How does one move to SXCE from OpenSolaris? Sorry for the dumb question?

  4. Bruce says:

    That problem with the CIFS server was one of those in OpenSolaris that were solved by moving to SXCE (for me). I read some indications that a number of bugs in the CIFS server were solved in snv_114 – maybe they’ll be fixed in OpenSolaris when the distribution reaches that code level.

    As an aside, since loading SXCE (snv_115), the CIFS server has been rock solid.

    I hope the re-load works for you!

Leave a Reply

Your email address will not be published. Required fields are marked *