[Samba] SMBD loading CPU

2005-03-08 Thread Mark Frayling
Hi
I am running samba Version 2.2.8a-SuSE on a SuSE Linux 9.0 box.
It has dual 700MHz CPU's and 512MB RAM
It is used as a file server, serving files to Win XP and Win 2k users.
I have noticed it is using between 30% and 75% of CPU usage per smbd session, which slows the 
network to a grind.

I thought samba and smbd used very little of the CPU.  Is tehre anything i can 
do to reduce this ?
Thanks
--Mark
This communication is confidential to the intended recipient(s). If you are 
not that person you are not permitted to make use of the information and you 
are requested to notify the sender immediately of its receipt then destroy the 
copy in your possession. Any views or opinions expressed are those of the 
originator and may not represent those of Advanced System Architectures Ltd.
*** This Email Has Been Virus Checked ***
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba training

2003-02-28 Thread Mark Frayling
Does anyone know of any Samba training courses held in the UK?

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Cannot see the samba server in Network Neighbourhood

2002-10-31 Thread Mark Frayling
Noel

I have kept all the names the same on the new build as they were on the 
old build.  The new build is the same box, but a new physical disk,so i 
disconnect the one that i am not booting from.

I have copied in the list too, so someone may see this and twig it, 
hopefully.

Thanks again

--Mark

Noel Kelly wrote:

Ah right.
 
The netbios name of your new server is different from the old one 
right?  If they are as you say, identical, then that could be the 
basic problem - you need to give the new server a differnet name or 
disconnect the old one.
 
Yes that screen shot threw me!
 
Might be a good idea to copy in the list - there are guys out there 
who are far, far more experienced than me with this stuff.  Bu i'll 
keep chipping in as much as i can :)
 
 
 
Cheers
Noel
 

-Original Message-
*From:* Mark Frayling [mailto:mark.frayling;asa.co.uk]
*Sent:* 31 October 2002 10:36
*To:* Noel Kelly
*Subject:* Re: [Samba] Cannot see the samba server in Network
Neighbourhood

Hi Noel

Sorry to keep bothering you, please tell me if you would like me
to pass this on to the samba forum instead.

I have checked the /etc/passwd and /etc/shadow files on the old
build and compared against the new build.  There seems to be no
entries in either for any users or workstations.  It looks as
though it is only the smbpasswd that we use for authentication,
which i have copied across from the old build to the new build.

I think i may have confused you also as i cannot see the new build
machine in my Network Neighbourhood, ONLY the old build, which is
the screen shot i sent to you.

There appears to be no entry in either the /etc/passwd or
/etc/shadow files on either the old or the new build for anything
to do with security or domain.

I have printed the document you suggested, which i am currently
looking through.  I think what i am experiencing is a simple
fundamental error that i cannot help but overlook, and the fact
that my understanding od SAMBA is currently minimal

Thanks in advance for your help.

--Mark



Noel Kelly wrote:

OK so you can see it but cannot access the shares?
 
Your log file is set to log file = /var/log/smb and it show this:
 
[2002/10/28 14:27:58, 0] smbd/password.c:domain_client_validate(1517)
  domain_client_validate: could not fetch trust account password
for domain WORKGROUP
[2002/10/28 14:27:58, 0] smbd/service.c:make_connection(249)
  troy (193.195.233.14) couldn't find service janeth
[2002/10/28 14:27:58, 0] smbd/service.c:make_connection(249)
  troy (193.195.233.14) couldn't find service janeth
[2002/10/28 14:27:58, 0] smbd/service.c:make_connection(249)
  troy (193.195.233.14) couldn't find service janet
 
I think you need to copy more than just the smbpasswd -
'security=domain' requries an entry in the /etc/passwd file as
well so you might need to transpose the relevant bits of
/etc/passwd and /etc/shadow as well.   Each of the workstations
needs to have an account as well in the from 'workstation$'. 
Have a look at the /etc/passwd on the original server and you
will no doubt see such entries.
 
Try a 'man smb.conf' and look under the 'security' parameter.
 
I think there is some good info in this document -
http://samba.mirror.ac.uk/samba/docs/Samba-HOWTO-Collection.pdf
 
HTH
 
 
 
 
 
 
 

-Original Message-
*From:* Mark Frayling [mailto:mark.frayling;asa.co.uk]
*Sent:* 29 October 2002 15:05
*To:* Noel Kelly
*Subject:* Re: [Samba] Cannot see the samba server in Network
Neighbourhood

Noel
I have attached a current screen dump of my network
neighbourhood.  This on IS working ok as i have had to revert
back to the old build disk to keep users working.  I will
then change back to the new build the one not working this
evening to play around with it.

The machine 'cabi' is the samba server, which can be seen at
the moment.  With the new build though, cabi cannot be seen,
even though i can see it across the network via ping etc.

My workstation is currently set to workgroup called WORKGROUP
and is set to use cabi, the samba server, as a WINS server.

Not sure what you mean by the samba server being in its own
workgroup.  So if the default workgroup on samba is workgroup
i take it then that i do not have to add this in.

Thanks

--Mark


Noel Kelly wrote:

Mark,
 
Looking at it, your Samba server is configured to be the
Master Browser (ie all the other machines on the network
register with it and it is this list which is displayed in
the Network Neighbourhood.  Troubleshooting this stuff

[Samba] Cannot see the samba server in Network Neighbourhood

2002-10-29 Thread Mark Frayling
Hi
I am a newbie to samba after taking over from a previous administrator.

I have upgraded to the version that ships with SuSE linux 8.0 and copied 
over the old smb.config and smbpasswd files.

I can see the shares from a remote SWAT connection and also using the 
interactive method via a DOS window, but cannot get the shares to be 
seen via Network Neighbourhood.  I am thinking that this may be a 
NetBios problem, but cannot pinpoint it.
Any help would be muchly appreciated.

--
Mark Frayling



--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba