Click to See Complete Forum and Search --> : Samba help?


ltrain
03-07-2001, 02:11 AM
Running RH 7.0 - attempting to share files with NT Server 4.0 spk 6a

I'm in need of some assistance while working with samba. As far as I can tell the configuration files; smb.conf, fstab, exports look okay. All daemons are started -- nmblookup and testparm utilities work.

However, when I try connecting to linux from nt I get a login prompt -- after trying every nt and linux user account I get the following error: The account is not authorized to login from this station then the dialog box closes. Does anyone have any ideas on how I might resolve this issue?

FYI - I can use ping both ip and netbios name from both linux and nt. nslookup fails all together on nt. nslookup works for ipaddress on linux.

The green penguin

yard21
03-07-2001, 08:07 AM
Hmm.. I don't think I can help you that much, because I don't use Samba with NT, but I read about it in "Using Samba" (you should really read this book if you have any problems) and they write that Samba's NT-Server support is relatively newly implemented, so check out if you have the right configuration in your smb.conf. Read "Using Samba" for more details, its freely available at O'Reilly's Webpage (http://www.oreilly.com). I had the same problem with the accounts on my Windows 98 clients, make sure you configured the Samba users with the "smbpasswd" commmand (read the man-page) and that you're logged in with the same username and password on your NT-Server. This was my problem with the Windows 98 clients, don't know if it's the same on NT-based computers, but check it out anyway. I hope I could help you a little bit...

linux01
03-07-2001, 11:48 AM
What is the security level set to? Share, domain, user, server. I have found the best way to get samba working with NT is add the samba server machine account to NT at the linux prompt and set the security level to domain. You could also set the security level to share and use the "smbpasswd" command and add a windows account to linux. Login to windows with the same account that you set up in linux and also enable encypted passwords in your smb.conf file. Hope this makes sense. I would recommend getting a good samba book like one from sam's publishing, cheap book a lot of information.

soleblazer
03-07-2001, 11:56 AM
Dude, search the networking linux group here, there is tons of **** on this topic already posted, the search results have helped me tons.

Josh M. McKee
03-07-2001, 12:31 PM
Make sure you've set the *samba* password for the linux accts you're trying to access from NT. I believe the command is 'smbpasswd'.

If that still doesn't get it, let me know, I have samba running under debian and can access shares from NT 4 and Win2k.

Josh

ltrain
03-08-2001, 01:05 AM
I found the answer to my problem -- NT client encrypts the password. I had encrypted passwords turned off in smb.conf. Once I enabled password encryption...problem solved!

It sure is nice once you get the bugs figured out!

:D