Click to See Complete Forum and Search --> : Redhat 7.1, Samba and xinetd....


Subaquous
07-05-2001, 11:52 PM
I use to have Redhat 6.2 as my firewall for my other computer for over a year now and last weekend I deiced to put the new and improved version on. I saved my firewall files (PMfirewall) and SAMBA files because I thought that they may come in handy :)

I've been trolling around for a couple of days finding out what I need to do. I've made sure that SMB and xident (and also ident) are installed and both come up fine during the initial boot sequence. But unfortually some weird things have been happening.


1. At the CLI, I've searched using whereis for smb.conf and it doesn't find it, but I know that its at /etc/smba/smb.conf and I can edit it.

2. SWAT - when I type smbclient -L localhost at the CLI, it says that it adds the ip interface of 192.168.0.1... and asks for the password, after I hit enter, I get the following error message:
tree connect failed: ERRSRV - ERRbadpw (bad password - name/password pair in a Tree Connect or Session Setup are invalid.)

This also happens when I enter roots password. What should I be looking for in order to fix this?

I went back and checked the NHF to see if it had been updated, but I didn't see any difference. I put my old SAMBA info back on, rebooted.. and still nothing...

I know that I'm close to getting it up and running, but need just a little expertise.

BTW, I turned off Redhat's firewall and also pmfirewall, no my computer is not connected to the net right now :), so I don't believe that I'm blocking any ports (901)...

Any help would be much appreciated.

superflea
07-06-2001, 02:05 AM
I'm messing around with samba on rh 7.1 too. Can't answer all of your questions, but with regards to the smbclient -L localhost question.....First, If you add a samba user (generic, other than root) and log on as that user, you should be able to perform this command. Actually, with the KDE interface, there's a section in Kontrol Panel where you fill in the default smb client you'd like to log in as...anyway, even if you sync unix and windows users, I beleive root may be excluded from this synchronization process. Hope that helps a little.

Subaquous
07-06-2001, 08:42 PM
I logged in as regualar uses and it gave me the same error. I went to the Kontrol panel, but could not find out who to setup a default user.

When I type in whereis smb at the CLI, I don't get anything back, could it somehow not got installed? I do have it checked when I type ntsys at the CLI.

Also, in order to edit smb.conf, I have to be in the directory (/etc/samba), if I'm anywhere else it will just bring up a blank screen.

superflea
07-07-2001, 12:59 AM
I think its under kontrol panel under one of the last items on the right....internet/network or something...it's titled 'windows shares'. are you at the local machine or telnet? it sounds like you're almost there, though. Make extra sure there's a unix user and a samba user with identical usernames/passwords

I'm really a genuine newbie..I'm actually using webmin instead of swat, but I finally did get through these issues. I just don't think there's enough people using red hat 7.1 if I'm the only one posting to this one...

superflea
07-07-2001, 01:04 AM
oh yeah, check out your log files in the directory /var/log/samba/log.smb & log.nmb, I think