Samba Problems

Samba Problems

Post by Mark Penkowe » Tue, 20 Feb 2001 10:39:11



I am having a weird Problem.

I made some changes to my smb.conf file.  I then restarted samba.  I had
problem logging in, so I ran the testparm program. Changes that I made
to the smb.conf  -such as changing security from user to domain and
encrypt passwords from no to yes.

I even tried rebooting -but to no avail.  What am  doing wrong for the
changes to to kick in?

Thanks

Mark Penkower

 
 
 

Samba Problems

Post by Mark Penkowe » Tue, 20 Feb 2001 11:05:08


I am having a weird Problem.

I made some changes to my smb.conf file.  I then restarted samba.  I had

problem logging in, so I ran the testparm program. Changes that I made
to the smb.conf  -such as changing security from user to domain and
encrypt passwords from no to yes  - were not reflected in the dump.

I even tried rebooting -but to no avail.  What am  doing wrong for the
changes to to  not have kicked  in?

Thanks

Mark Penkower

 
 
 

Samba Problems

Post by Mark Po » Tue, 20 Feb 2001 11:20:49



>I am having a weird Problem.
>I made some changes to my smb.conf file.  I then restarted samba.  I had
>problem logging in, so I ran the testparm program. Changes that I made
>to the smb.conf  -such as changing security from user to domain and
>encrypt passwords from no to yes.
>I even tried rebooting -but to no avail.  What am  doing wrong for the
>changes to to kick in?

Well, it looks as though you're updating a smb.conf file that Samba is not
using.  Find out which one it _is_ using and update that.
strings /usr/sbin/smbd | grep smb.conf
may get you what you want, but if not, then strings /usr/sbin/smbd | less
and carefully look through what comes from that.

Mark Post

Postmodern Consulting
Information Technology and Systems Management Consulting
To send me email, replace 'nospam' with 'home'.

 
 
 

Samba Problems

Post by Dances With Cro » Tue, 20 Feb 2001 11:55:06


On Mon, 19 Feb 2001 01:39:11 GMT, Mark Penkower staggered into the Black
Sun and said:

Quote:>I made some changes to my smb.conf file.  I then restarted samba.  I had
>problem logging in, so I ran the testparm program. Changes that I made
>to the smb.conf  -such as changing security from user to domain and
>encrypt passwords from no to yes.

[these changes were not made when Samba was restarted, as your other
post said]

Quote:>I even tried rebooting -but to no avail.  What am  doing wrong for the
>changes to to kick in?

Where does your Samba keep its config file?  The default config file is
specified at compile time; default is /usr/local/samba/lib/smb.conf ,
but RedHat compiles theirs to use /etc/samba/smb.conf and SuSE compiles
theirs to use /etc/smb.conf .  Make sure you're editing the right file;
run a "locate smb.conf" to make sure there aren't multiple files in
places you didn't expect them.  Also make sure that you saved your
changes to the file.  Or specify the file to use on the command line,
like "smbd -D -s /somewhere/smb.conf".  The way to get Samba to re-read
its config file is to do a "killall -HUP smbd nmbd" and this approach
works with most daemons.

--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com     /   Workin' in a code mine, whoops!
-----------------------------/    I hit a seg fault....

 
 
 

Samba Problems

Post by Jean-David Beye » Tue, 20 Feb 2001 21:40:45



> On Mon, 19 Feb 2001 01:39:11 GMT, Mark Penkower staggered into the Black
> Sun and said:
> >I made some changes to my smb.conf file.  I then restarted samba.  I had
> >problem logging in, so I ran the testparm program. Changes that I made
> >to the smb.conf  -such as changing security from user to domain and
> >encrypt passwords from no to yes.

> [these changes were not made when Samba was restarted, as your other
> post said]

> >I even tried rebooting -but to no avail.  What am  doing wrong for the
> >changes to to kick in?

> Where does your Samba keep its config file?  The default config file is
> specified at compile time; default is /usr/local/samba/lib/smb.conf ,
> but RedHat compiles theirs to use /etc/samba/smb.conf

My old Red Hat 6.0 and my new Red Hat 6.2.3 (both are really VA
Linux Systems' version of Red Hat) both keep smb.conf right on top
in /etc. I.e., the file in question is /etc/smb.conf . That also
seems to be where swat (man swat) expects to find it.

Quote:> and SuSE compiles
> theirs to use /etc/smb.conf .  Make sure you're editing the right file;
> run a "locate smb.conf" to make sure there aren't multiple files in
> places you didn't expect them.  Also make sure that you saved your
> changes to the file.  Or specify the file to use on the command line,
> like "smbd -D -s /somewhere/smb.conf".  The way to get Samba to re-read
> its config file is to do a "killall -HUP smbd nmbd" and this approach
> works with most daemons.

> --
> Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
> Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
> http://www.brainbench.com     /   Workin' in a code mine, whoops!
> -----------------------------/    I hit a seg fault....

--
 .~.  Jean-David Beyer           Registered Linux User 85642.
 /V\                             Registered Machine    73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 7:35am up 21 days, 16:02, 4 users, load average: 1.91, 1.97,
2.03
 
 
 

Samba Problems

Post by Nils O. Sel?sda » Wed, 21 Feb 2001 00:15:55



Quote:> I am having a weird Problem.

> I made some changes to my smb.conf file.  I then restarted samba.  I had
> problem logging in, so I ran the testparm program. Changes that I made
> to the smb.conf  -such as changing security from user to domain and
> encrypt passwords from no to yes.

security = domain requiers you to have an M$ pdc controller...
 
 
 

1. Samba problems: Samba not in Network Neighborhood

I have (the latest) Samba installed and have two problems that I can't
seem to solve.

First, my setup: Machine 1 is linux/samba machine.  Machine 2 is Win
95 and Machine 3 is WfWG 3.11 with TCP/IP.  They connect with
ethernet.  All machines can ping each other and the other TCP stuff
works fine.

Machines 2 and 3 can mount each other's drives and printers fine.
Machine 2 can mount the Samba shares but only after I run the "Find
Computer" tool.  It doesn't appear in the Network Neighborhood with
the other machines.

I used smbclient to verify that Machine 1 can mount look at the shares
on all three machines and the Workgroup name is the same.

I was able to drag a shortcut into network neightborhood but that's
not the same as actually being there.

A possibly related problem is machine 3, the Win 3.11 one, cannot see
the samba shares at all.  The server doesn't appear.

Is there some Samba option that I don't have enabled?  With the Win 95
machine it's only annoying not having it in the Neighborhood but it is
entirely unusable from machine 3.  This I really need to fix.

BTW: One further problem I haven't looked at too closely: All the
mounted shares are done as "pcguest" and not as the username logged in
to win 95.  I have the same username/password on both machines.  Is
there a Win 95 option somewhere I need to change?

thanks, jv


    Graphics                "Purveyors to the Froup"

2. Scanner recommendations

3. Samba- Problem: path too long/ cvs- Problem: cvs import stucks

4. Help : process question

5. Very strange Samba problem - please advise

6. Error on proc.h compile apache 2.0.43

7. samba problem - only root can write - TIA

8. Did anybody receive entitlement e-mail during the last 3 months?

9. samba problem

10. Samba Problem

11. Samba problem...

12. Samba Problem

13. Samba problem