- login password to SMB server?

PDA

View Full Version : login password to SMB server?


Alex Smariga
07-24-2004, 06:02 PM
I'm a linux newbie and have recently installed RH 9 on a new machine.
So, I'm learning a lot as I go along.

I've got the machine set up working the way I need to. I've got SSH
installed and vncserver, so I can ssh to it from another (win)
workstation. I also have SETI running in the background. Both these
were learning experiences.

Now, the next hurdle is to get it integrated to my local lan. I
installed samba when building the system, and thought I'd configured the
linux box to be a part of my workgroup (domain). At one point, I could
even start "network servers" and see the windows workgroups and
machines, and of course the linux box was showing up in workgroup MYGROUP.

Somewhere along the line, I changed a login ID or password and now, when
I start "network servers", I immediately get an error, "Couldn't display
"smb:///", because the attempt to log in failed." with the only choice
to OK out. And I just see my home directory.

I can go into terminal and run smbclient, and see some of the windows
machines (the servers), and even log into them and look at their
directories. So, I think samba is installed correctly. But, this SMB
error in starting netowrk servers is driving me bonkers.

I've gone back through all the configuration options I thought I had,
but no go.

I've run SWAT, and looked at the several books I have to manually modify
the smb.conf file.

Any help with this long winded explanation in getting me access through
Nautilus to the existing domain would be greatly appreciated.

I've been looking at threads here in the news groups, been trying to
follow them, but to no avail. That may have been what got me to change
some password / ID in the first place.

Alex

Alex Smariga
07-24-2004, 06:03 PM
I don't seem to be getting too far on this problem. Using smbclient,
I can log in to the domain controller (an OS2 Warp Server domain) and
give it a password and see all the shares.

But, if I try to run network servers, it tells me I'm rejected. I can
run SWAT under the root password and have done so many times. But
when I go to the password tab, and try to do a client/server password
change, after givin all the information (including the name of the
domain server), I get an ERRDOS - ERRnoaccess (access denied).

Figure it must be that whatever ID samba is passing to the OS2 domain
controller must be invalid or hosed, but I cannot see anywhere (in
SWAT or in the smb.conf file) that I specify the ID and password for
the domain logon.

Suspect that is my problem, but I'm hung up until I get past this
issue.

BTW, the OS2 domain controller functions like a Windows NT controller,
so if you understand how to connect to a Windows workgroup controller,
that would help me immensely.

Thanks.

Alex Smariga

Faisal Mumtaz
07-24-2004, 06:03 PM
Hi Alex

Might be a silly question but have you tried smbpasswd without any
username specifed to change the passwd of the samba root account, you
may need to be logged on as root to do this.

Also check if the nmbd(names service) is running.

Regards

FM

Alex Smariga
07-24-2004, 06:03 PM
On Wed, 25 Jun 2003 22:34:54 UTC, Faisal Mumtaz <fm@xc2online.co.uk>
wrote:

> Hi Alex
>
> Might be a silly question but have you tried smbpasswd without any
> username specifed to change the passwd of the samba root account, you
> may need to be logged on as root to do this.
>
> Also check if the nmbd(names service) is running.
>
> Regards
>
FM

I think you are onto something. I do have nmbd services running.
Appears ok. Can stop and restart fine.

However, I cannot get smbpasswd to accept/reset my password. Tried it
under SU. Tried it directly. keeps coming back and telling me
"machine 127.0.0.1 rejected the password change. Error was : RAP86 :
the specified password was incorrect"

Don't know why its incorrect. SWAT allows me to change it.

At this stage, I'll settle for deleting it and rebuilding that ID.
Not sure how to do that correctly.

Alex


--

Doug Holtz
07-24-2004, 06:07 PM
"Alex Smariga" <linux@smariga.com> wrote in message
news:fC5Ka.44102$hI1.30338@nwrddc01.gnilink.net...
> I'm a linux newbie and have recently installed RH 9 on a new machine.
> So, I'm learning a lot as I go along.
>
> I've got the machine set up working the way I need to. I've got SSH
> installed and vncserver, so I can ssh to it from another (win)
> workstation. I also have SETI running in the background. Both these
> were learning experiences.
>
> Now, the next hurdle is to get it integrated to my local lan. I
> installed samba when building the system, and thought I'd configured the
> linux box to be a part of my workgroup (domain). At one point, I could
> even start "network servers" and see the windows workgroups and
> machines, and of course the linux box was showing up in workgroup MYGROUP.
>
> Somewhere along the line, I changed a login ID or password and now, when
> I start "network servers", I immediately get an error, "Couldn't display
> "smb:///", because the attempt to log in failed." with the only choice
> to OK out. And I just see my home directory.
>
> I can go into terminal and run smbclient, and see some of the windows
> machines (the servers), and even log into them and look at their
> directories. So, I think samba is installed correctly. But, this SMB
> error in starting netowrk servers is driving me bonkers.
>
> I've gone back through all the configuration options I thought I had,
> but no go.
>
> I've run SWAT, and looked at the several books I have to manually modify
> the smb.conf file.
>
> Any help with this long winded explanation in getting me access through
> Nautilus to the existing domain would be greatly appreciated.
>
> I've been looking at threads here in the news groups, been trying to
> follow them, but to no avail. That may have been what got me to change
> some password / ID in the first place.
>
> Alex
>

Alex;

I'm confused. If you installed samba on Linux, then the Linux machine is a
file server for the other pc's. Samba will not go out and see shares on the
OS/2 network. Just the other way around; the OS/2 machine should see the
linux box because of samba.

Go to the /etc/samba directory and pico smb.conf and change the line where
Workgroup = Mygroup to the domain name of the OS/2 network.

Doug