[Samba] Setting up Linux and ADS

Bennett, Jason jbennett at forzani.com
Thu Apr 8 17:40:07 GMT 2004


Hi,

I'm sure you've heard this before as I've been searching the net for about a
week now with no luck.  I am setting up Samba 3.0.2a on a Linux server (I've
tried RedHat 9 and Crux distributions).

As per the many howto's and docs out there, I installed KRB5 (MIT version)
and OpenLDAP required library files.  No problems.
I've run kinit against the AD here at the office, no problem, got a ticket.
I've run net ads join "Operations\City\Data Centre" -U\$adminname, no
problem
I've run net ads testjoin and it comes back Ok.
I've run klist tickets on my local PC, no problem, got a ticket from the
server.

When it comes time to run smbclient or attempt to mount and Samba shares, I
get problems.  For example:

smbclient -L calnfs01 -k -Ujbennett
session setup failed: NT_STATUS_LOGON_FAILURE

In Samba log I get:
[2004/04/08 11:33:27, 1] smbd/sesssetup.c:reply_spnego_kerberos(173)
  Failed to verify incoming ticket!

When I try to run
net use * \\calnfs01\test

I get in the log:
[2004/04/08 11:34:50, 1] smbd/sesssetup.c:reply_spnego_kerberos(245)
  Username FGLCORPORATE+jbennett is invalid on this system

When I run:
net use * \\calnfs01\test /USER:JBENNETT

I get in the log:
[2004/04/08 11:33:27, 1] smbd/sesssetup.c:reply_spnego_kerberos(173)
  Failed to verify incoming ticket!

When I run wbinfo -u and look for my account, I get:
FGLCORPORATE+jbennett

Any help would be appreicated.

Thanks


 <<...OLE_Obj...>> 
Jason Bennett
Senior Unix Administrator
Forzani Group Ltd.
Office: 403-717-1400 Ext 1506
Fax: 403-717-1498
<mailto: jbennett at forzani.com>



More information about the samba mailing list