Click to See Complete Forum and Search --> : samba passwd cannot connect from windows 98


bikkr38
04-11-2003, 01:24 PM
I have samba installed I can tell what ver I have. I can also see from a win 98 machine my samba sever in network neighborhood but cannot connect because it says I have the wrong passwd I thought I set the same passwd that I use in win 98 networking, when I logon to the win 98 networking do I have to set the same computer name for linux as is set for win 98 network,please any help will be great!!!! I have to create a linux user as well as a samba user?

DJBanaan
04-11-2003, 01:36 PM
For this to work you have to make sure that your Linux box and your Windows box are in the same "workgroup". Also, Linux (or UNIX) users are NOT the same as Samba users,you can, however, setup Samba to create a Samba user everytime a Linux user is created. Configuring Samba can be a tricky thing, using Webmin (www.webmin.com) can be a great help in configuring Samba, and many other services.

deuterium
04-11-2003, 01:51 PM
This happens because windows is sending encrypted passwords, samba doesn't realise.

To rectify this you have to add to the globals part of your smb.conf file, (without qotes, so is below):

"encrypt passwords = yes"

Then as root you have to give the following command:

"smbpasswd -a usernamehere"

it will give an error if it is the first time you've used this command as it is trying to add soemthing to a file that isnt' there, but will then make the file, so just ignore it.

Hope this helps.

Also here is an online version of the book "Using Samba" it should help alot, it did for me.

http://www.oreilly.com/catalog/samba/chapter/book/index.html