Click to See Complete Forum and Search --> : a simple samba/swat problem


Scorpion02038
03-22-2001, 05:02 PM
I have tried everything to get this to work. I'm using RH 7 on a small home LAN with 3 other PCs running Win98se. On the Samba Server machine I am able to mount windows shares. On the Win machines I can see the Samba Server in Network Neighborhood and when i try to connect to the server it prompts me for a password ... nothing works here. I have been to samba.org, read the man on smb.conf and everything else. Also, I cant get swat to work either. I would appreciate contact thru ICQ to help me ... I run an FTP server and have lots to offer in appreciation for your help i.e. Movies, games, apps
thanks,
Scorpion
ICQ # 106451637 :confused:

rppp01
03-22-2001, 05:18 PM
oooh, you are so close. Sucks when you can smell it, huh? :( Ok, what you need to do is set up the encrypted passwords. First, make sure you have it set to yes in /etc/smb.conf (encrypted passwords: yes, and the other line I can't remember that is right below it). Ok, restart samba and you have one more step to be rocking and rolling!
Type smbpasswd -a <userid> The user ID is the user you are trying to connect to the samba share as. It will prompt you for a password. Enter the password you want.

Thats it! :eek: Now, try to browse again and this time enter that password. You should get in without an issue.

:cool: It's all good :cool:

Just to let you know, I don't have ICQ (that can quickly change) and I am always looking for movies and games and music and such :)

[ 22 March 2001: Message edited by: rppp01 ]

Mountainman
03-22-2001, 05:21 PM
Sounds almost like a bribe dude. Try on your linux machine issueing a smbadduser name:name. This will add whatever you want as a user and group to linux for smb shares. Make sure that it matches your windows passwords that you will be logging in with. As far as swat goes, its easier to edit the smb.conf file manually, as swat will overwrite that file and not leave any examples should you want to change some settings later. But for swat, edit inetd.conf and uncomment it ( i think thats the file, been awhile). Then goto linuxconf and change something in the samba section. Doesnt matter if you save it or not, but you have to change something in there first to get swat to work.

Scorpion02038
03-22-2001, 06:11 PM
ok ... failed to find entry for user

user not in password database

getting these 2 errors while attempting your solutions ... anything else i should do?

rppp01
03-22-2001, 06:46 PM
yeah, add the user to begin with. Say the user is joe, then as root type useradd joe
It will prompt for a password. This creates the user on the linux box. Then try your smbpasswd -a joe line and use the same password. This will work. :)