On Mon, Sep 29, 2008 at 09:51:33AM -0700, Jean-Noel Filippi wrote:
> Hello,
> 
> We are using Opensolaris on a X4540:
>       SunOS vdcnas001 5.11 snv_96 i86pc i386 i86pc
> 
> CIFS/idmap has been unstable since we implemented it. After a few
> requests, we start seeing the following error in the logs:
> 
> Sep 27 10:33:08 vdcnas001 sockfs: [ID 446122 kern.warning] WARNING:
> sockfs: received unexpected additional T_DISCON_IND
> Sep 27 10:39:54 vdcnas001 last message repeated 2 times
> Sep 27 12:41:01 vdcnas001 smbd[3918]: [ID 118120 daemon.error]
> smb_token_create: idmap failed
> Sep 27 12:43:56 vdcnas001 last message repeated 3 times
> Sep 27 14:18:25 vdcnas001 smbd[3918]: [ID 118120 daemon.error]
> smb_token_create: idmap failed
> Sep 27 16:02:55 vdcnas001 smbd[3918]: [ID 118120 daemon.error]
> smb_token_create: idmap failed
> 
> 
> At that point, clients cannot login anymore using any AD account. The
> only way to fix this is to restart the idmap and smb services.
> 
> Turning debugging on on idmap does not provide more information.
> 
> Any idea on how to troubleshoot this?

This seems to happen when there are unresolvable SIDs int he client's
token (e.g., historical SIDs).

Try the following undocumented feature:

% svccfg -s idmap setprop config/unresolvable_sid_mapping = boolean: true
% svcadm refresh idmap

Then try accessing your shares again.

Nico
-- 
_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss

Reply via email to