Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba 3.0.7 NT_STATUS_LOGON_FAILURE [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
leo
n00b
n00b


Joined: 25 Feb 2003
Posts: 70
Location: Milano - Italy

PostPosted: Tue Oct 05, 2004 9:49 am    Post subject: Samba 3.0.7 NT_STATUS_LOGON_FAILURE [SOLVED] Reply with quote

Hi all,

after upgrading Samba to version 3.0.7 from 3.0.4-r1 I can no more connect to the Windows shares. Trying to access the shares with smbclient instead of Konqueror I get

Code:

session setup failed: NT_STATUS_LOGON_FAILURE


What is the matter?

Thank you

Leo
Back to top
View user's profile Send private message
leo
n00b
n00b


Joined: 25 Feb 2003
Posts: 70
Location: Milano - Italy

PostPosted: Tue Oct 05, 2004 11:59 am    Post subject: Reply with quote

Simply a problem of Samba configuration...
Leo
Back to top
View user's profile Send private message
Wyckliff
n00b
n00b


Joined: 14 May 2004
Posts: 7

PostPosted: Wed Oct 06, 2004 10:50 pm    Post subject: Reply with quote

I'm having a similar problem, but my setup could be different. I followed a couple of HOWTOs to set up Samba 3.0.7 and MIT-KRB5 to authenticate against the ADS.
This is from Samba.org: http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/pam.html
These are shorter HOWTOs along the same lines:
http://asia.cnet.com/enterprise/netadmin/printfriendly.htm?AT=39081966-39035505t-39000223c
http://www.netadmintools.com/art172.html

Code:
Using short domain name -- REALM
Joined 'CLIENT' to realm 'REALM'

kinit user@REALM works, klist -e shows
Code:
Etype (skey, tkt): DES cbc mode with RSA-MD5, ArcFour with HMAC/md5

, which I hear des-cbc-md5 is indeed what you want. I modified my pam.d/system-auth file:
Code:
auth       sufficient   /lib/security/pam_winbind.so try_first_pass

and I have verified logins using ADS passwords succeed. Both of the last two referrenced HOWTOs mention that you can now pass the -k flag to smbclient to have it use your ticket instead of prompting you for your password, but this is what I get instead:
Code:
smbclient -k //machine/share
session setup failed: NT_STATUS_LOGON_FAILURE

Do you have any suggestions?
Thanks.
Back to top
View user's profile Send private message
piero
n00b
n00b


Joined: 27 Dec 2004
Posts: 18
Location: Germany

PostPosted: Mon Jan 17, 2005 10:40 am    Post subject: Reply with quote

i have the same problem trying to connect with a mac os x machine (samba 2.2.3a)

just cant get it to work.. connecting to windows servers is no problem :(

[edit: windows machines are able to connect to the os x server .. just my smb tools do not work :(
Back to top
View user's profile Send private message
BennyP
Guru
Guru


Joined: 09 May 2003
Posts: 503
Location: Jerusalem, Israel

PostPosted: Mon Jan 31, 2005 12:57 am    Post subject: Reply with quote

ok the title of this thread says it's solved, but I don't see a solution. The links in the above post are gibberish to me
. I am experiencing this error when I run smbclient -L localhost, as well I cannot connect to my samba shares from my mac os x machine.
_________________
Could it be?
Back to top
View user's profile Send private message
zouk
Tux's lil' helper
Tux's lil' helper


Joined: 09 Mar 2004
Posts: 114

PostPosted: Wed Feb 02, 2005 8:48 am    Post subject: Reply with quote

BennyP wrote:
ok the title of this thread says it's solved, but I don't see a solution. The links in the above post are gibberish to me.
I am experiencing this error when I run smbclient -L localhost

I had the same problem, following I found in the forums helped:
Code:
useradd samba
smbpasswd -a samba

And leave the password empty. After that try "smbclient -L localhost"

zouk
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum