Please capture a network trace on the Solaris system which is running
the CIFS server and post the trace. Start the trace before trying to
authenticate and stop it with CTRL-C after you got the error on client:
(you need to run this as root)

# snoop -o failed-logon.cap

Afshin

Wouter Coppens wrote:
> Hi Afshin,
> 
> I restarted both services, but no luck. I even restarted the whole machine,
> but it didn't make any difference.
> 
> I turned on debugging and retried the command. I have attached my messages
> file.
> 
> Wouter 
> 
> 
> On 19/11/08 20:41, "Afshin Salek" <[EMAIL PROTECTED]> wrote:
> 
>> # vi /etc/syslog.conf
>>
>> Add a line like this
>>
>> *.debug  /var/adm/messages
>>
>> # svcadm restart system-log
>>
>> Have you tried restarting idmap and smb/server as I suggested
>> to see if it makes any difference?
>>
>> Afshin
>>
>> Wouter Coppens wrote:
>>> Hi Afshin,
>>>
>>> I checked /var/adm/messages and didn't see anything abnormal.
>>>
>>> I checked also the logfiles is /var/svcs/log and sometimes there is:
>>> 'en_US.UTF-8: unknown locale'. No other warning or errors
>>>
>>> Svcs -vx didn't return any error.
>>>
>>> The domain controller is Windows 2003 R2
>>>
>>> How can we turn on debugging or some more output?
>>>
>>> Wouter 
>>>
>>> On 19/11/08 19:03, "Afshin Salek" <[EMAIL PROTECTED]> wrote:
>>>
>>>> Do you see any error log (in /var/adm/messages) which contains
>>>> "idmap failed" in your system log after the authentication fails?
>>>> Do you see any other errors or abnormal messages in your log after
>>>> the failure?
>>>>
>>>> What OS your domain controller is running?
>>>>
>>>> For sake of testing try this and see if it makes any difference:
>>>>
>>>> # svcadm restart idmap
>>>> # svcadm restart smb/server
>>>>
>>>> Afshin
>>>>
>>>> Wouter Coppens wrote:
>>>>> Hi all,
>>>>>
>>>>> We¹re having problems to mount a cifs share. Everytime we get an
>>>>> authentication error. It doesn't matter if we use a Windows or Solaris
>>>>> client. I'm sure we entered the right password.
>>>>>
>>>>> # smbutil view -A //192.168.43.31
>>>>> Share        Type       Comment
>>>>> -------------------------------
>>>>> ipc$         IPC        Remote IPC
>>>>> cifs01       disk
>>>>>
>>>>> 2 shares listed from 2 available
>>>>>
>>>>> # smbutil view -U wouter2  //192.168.43.31
>>>>> Password:
>>>>> smbutil: session setup phase failed: syserr = authentication failed
>>>>> smbutil: could not login to server 192.168.43.31: syserr = authentication
>>>>> failed
>>>>>
>>>>> Kinit seems to work:
>>>>> # kinit wouter2
>>>>> Password for [EMAIL PROTECTED]:
>>>>> ~# klist 
>>>>> Ticket cache: FILE:/tmp/krb5cc_0
>>>>> Default principal: [EMAIL PROTECTED]
>>>>>
>>>>> Valid starting                Expires                Service principal
>>>>> 11/19/08 16:18:30  11/20/08 02:18:36  krbtgt/[EMAIL PROTECTED]
>>>>>         renew until 11/26/08 16:18:30
>>>>>
>>>>> Some additional information:
>>>>>
>>>>> # ./cifs-chkcfg
>>>>> svcs: Pattern 'samba' doesn't match any instances
>>>>>
>>>>> I have attached the output of cifs-gendiag.
>>>>>
>>>>> Any help would be appreciated greatly!
>>>>>
>>>>> Wouter 
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> _______________________________________________
>>>>> cifs-discuss mailing list
>>>>> [email protected]
>>>>> http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
> 
_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss

Reply via email to