Re: [Samba] large smb.conf file

2008-08-29 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
 Hello !
 
 regarding that issue where reloading of smb.conf 
 causing high system load due to high number of share
 definitions and smbd processes - does that still
 apply like being reported in 2005 ?

Should be long fixed.





cheers, jerry
- --
=
Samba--- http://www.samba.org
Likewise Software  -  http://www.likewisesoftware.com
What man is a man who does not make the world better?  --Balian
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIuGgTIR7qMdg1EfYRArHFAKDkrw3F5xkTO9JGQzYUkU/CPMYfOgCg6yMJ
ghshJGewXV16pFjXhy6yMOU=
=Z8s+
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] large smb.conf file

2005-10-03 Thread Nathan Vidican
I don't personally know of a way myself, but I think it would be of 
great value to be able to remove the share definition from the main 
smb.conf file, and maintain them in some sort of database.


It would at the very least minimize the startup time in reading the 
configuration file but perhaps complicate smbd process startups by 
requiring a db connection of some sort; this is admittedly above and 
beyond my abilities to start/debug/design/debate, so I thought I might 
just pass on the idea to the list.


Travis Knabe wrote:

I have about 5000 distinct shares defined in my smb.conf file.  As you can 
imagine it's quite large.

Everyone once in awhile all the smbd daemons ( in top ) go to a run state and 
pretty much bring the system to a halt.  The system is WAY oversized.  99.999% 
of the day samba runs fine.  We _THINK_ we've narrowed down the times when the 
smbd processes go crazy to a time when we're updating the smb.conf file.  Does 
this sound reasonable?  Is there a better way to create the neccessary shares?

Thanks
Travis

//~~~//~~~//~~~//~~~//~~~//~~~//
Travis Knabe
Assistant Director
University Computing Services
Western Oregon University
Phone: 503-838-8507



--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate  Tool Ltd.
http://www.wmptl.com/
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] large smb.conf file

2005-10-03 Thread Jeremy Allison
On Mon, Oct 03, 2005 at 07:43:51PM +, Travis Knabe wrote:
 I have about 5000 distinct shares defined in my smb.conf file.  As you can 
 imagine it's quite large.
 
 Everyone once in awhile all the smbd daemons ( in top ) go to a run state and 
 pretty much bring the system to a halt.  The system is WAY oversized.  
 99.999% of the day samba runs fine.  We _THINK_ we've narrowed down the times 
 when the smbd processes go crazy to a time when we're updating the smb.conf 
 file.  Does this sound reasonable?  Is there a better way to create the 
 neccessary shares?

Can you do a gdb attach to an smbd in that state ? At that
point we can tell exactly what it's doing with a backtrace (bt)
command.

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


Re: [Samba] large smb.conf file

2005-10-03 Thread Bruno Ferreira

Nathan Vidican wrote:


[snip]

Travis Knabe wrote:

I have about 5000 distinct shares defined in my smb.conf file.  As 
you can imagine it's quite large.


Everyone once in awhile all the smbd daemons ( in top ) go to a run 
state and pretty much bring the system to a halt.  The system is WAY 
oversized.  99.999% of the day samba runs fine.  We _THINK_ we've 
narrowed down the times when the smbd processes go crazy to a time 
when we're updating the smb.conf file.  Does this sound reasonable?  
Is there a better way to create the neccessary shares?


   I may be pointing out the obvious, but has he tried using the share 
copying commands in smb.conf so that Samba's parser doesn't have to read 
the definitions for each and every individual share?


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


Re: [Samba] large smb.conf file

2005-10-03 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Travis Knabe wrote:
 I have about 5000 distinct shares defined in my smb.conf 
 file.  As you can imagine it's quite large.
 
 Everyone once in awhile all the smbd daemons ( in top ) 
 go to a run state and pretty much bring the system to
 a halt.  The system is WAY oversized.  99.999% of the
 day samba runs fine.  We _THINK_ we've narrowed down
 the times when the smbd processes go crazy to a time
 when we're updating the smb.conf file.  Does this sound
 reasonable?  Is there a better way to create the neccessary shares?

This is a known issue I'm afraid.  The problem is that you
have a bunch of smbd processes that notice the mtime on
the configuration file changed and so decide to reparse the
entire file.  It's pretty intensive and we don't have the
granulatity to know what service changed.  We will have to
make some significant changes to scale better than we do
here (flat single smb.conf).

Can you possibly split the shares into multiple virtual server
configurations?






cheers, jerry
=
Alleviating the pain of Windows(tm)  --- http://www.samba.org
GnuPG Key- http://www.plainjoe.org/gpg_public.asc
There's an anonymous coward in all of us.   --anonymous
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDQaEoIR7qMdg1EfYRAvuTAJ9oQfnl9ZDBdTj67sMFg7jMOe6PSwCgyu7s
w2PopokgH3yCGdr9ofmjLoc=
=xo8e
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] large smb.conf file

2005-10-03 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nathan Vidican wrote:
 I don't personally know of a way myself, but I think it would be of
 great value to be able to remove the share definition from the main
 smb.conf file, and maintain them in some sort of database.
 
 It would at the very least minimize the startup time in reading the
 configuration file but perhaps complicate smbd process startups by
 requiring a db connection of some sort; this is admittedly above and
 beyond my abilities to start/debug/design/debate, so I thought I might
 just pass on the idea to the list.

We've considered having the parent smbd re-parse the configuration
file into a tdb and the send a message to all the children that
it the configuration changed.  At this point we could maintain
a timestamp on a per service basis.  Or maybe even remove the need
for the in memory services array altogether.

The main design hurdle is variable substitution.






cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDQaGnIR7qMdg1EfYRAnJkAKCyocA0Tp0efwJVIEnJXsy7DpHdUACdF28c
xVRE436URKl1PzUPi0H4f5k=
=j+BI
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] large smb.conf file

2005-10-03 Thread Jeremy Allison
On Mon, Oct 03, 2005 at 04:24:55PM -0500, Gerald (Jerry) Carter wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Nathan Vidican wrote:
  I don't personally know of a way myself, but I think it would be of
  great value to be able to remove the share definition from the main
  smb.conf file, and maintain them in some sort of database.
  
  It would at the very least minimize the startup time in reading the
  configuration file but perhaps complicate smbd process startups by
  requiring a db connection of some sort; this is admittedly above and
  beyond my abilities to start/debug/design/debate, so I thought I might
  just pass on the idea to the list.
 
 We've considered having the parent smbd re-parse the configuration
 file into a tdb and the send a message to all the children that
 it the configuration changed.  At this point we could maintain
 a timestamp on a per service basis.  Or maybe even remove the need
 for the in memory services array altogether.
 
 The main design hurdle is variable substitution.

Or we could wait (mod) random timel  5secs after noticing a
smb.conf change to spread out the load ?

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


Re: [Samba] large smb.conf file

2005-10-03 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bruno Ferreira wrote:
 Nathan Vidican wrote:
 
 [snip]

 Travis Knabe wrote:

 I have about 5000 distinct shares defined in my smb.conf file.  As
 you can imagine it's quite large.

 Everyone once in awhile all the smbd daemons ( in top ) go to a run
 state and pretty much bring the system to a halt.  The system is WAY
 oversized.  99.999% of the day samba runs fine.  We _THINK_ we've
 narrowed down the times when the smbd processes go crazy to a time
 when we're updating the smb.conf file.  Does this sound reasonable? 
 Is there a better way to create the neccessary shares?

I may be pointing out the obvious, but has he tried using the share
 copying commands in smb.conf so that Samba's parser doesn't have to read
 the definitions for each and every individual share?

I don't think it's actually the parser that's the problem
but the memory allocation and copying.




cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDQaYEIR7qMdg1EfYRAuuAAJ9QiHcmc4S7XnThIwTbFN2NH7xgZACg0pEJ
FQJy9CyTUdv9OcJrBtMAWwE=
=NqEh
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] large smb.conf file

2005-10-03 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jeremy Allison wrote:

 We've considered having the parent smbd re-parse the configuration
 file into a tdb and the send a message to all the children that
 it the configuration changed.  At this point we could maintain
 a timestamp on a per service basis.  Or maybe even remove the need
 for the in memory services array altogether.

 The main design hurdle is variable substitution.
 
 Or we could wait (mod) random timel  5secs after noticing a
 smb.conf change to spread out the load ?


Yeah we could.   Simo made a change to the pcap_reload() code
to do something similar with printers.  It's a band aid.
Do you remember when tridge worked on this if it was the
file i/o or the mem functions that were the bottleneck?






cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDQaZ6IR7qMdg1EfYRAlC0AJsFlcSS9+6nYs/000k8Wifeg5zK9ACg7SC+
gnpcIiZPhqqqTeqjwtaFbB8=
=o4Ng
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] large smb.conf file

2005-10-03 Thread Jeremy Allison
On Mon, Oct 03, 2005 at 04:45:30PM -0500, Gerald (Jerry) Carter wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Jeremy Allison wrote:
 
  We've considered having the parent smbd re-parse the configuration
  file into a tdb and the send a message to all the children that
  it the configuration changed.  At this point we could maintain
  a timestamp on a per service basis.  Or maybe even remove the need
  for the in memory services array altogether.
 
  The main design hurdle is variable substitution.
  
  Or we could wait (mod) random timel  5secs after noticing a
  smb.conf change to spread out the load ?
 
 
 Yeah we could.   Simo made a change to the pcap_reload() code
 to do something similar with printers.  It's a band aid.
 Do you remember when tridge worked on this if it was the
 file i/o or the mem functions that were the bottleneck?

Band-aids can sometimes help :-). Especially if it's a small, non
critical wound :-).

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


Re: [Samba] large smb.conf file

2005-10-03 Thread Travis Knabe
As a side note, the server is a SunFire E6900 with 8 dual core ultra IV procs 
and 32gigs of memory.  With 300 smbd processes the issue can send load avg's up 
to around 100 and we see small issues with people who are trying to log into 
the domain at the same time.  With 600 smbd processes running then the issue is 
obviously compounded.

During the rest of the time, the server doesn't even really feel samba.

We had not tried to use the copy share feature as suggested but will try that.

Thanks for the quick responses.

-Travis

- Original Message -
From: Jeremy Allison [EMAIL PROTECTED]
Date: Monday, October 3, 2005 2:48 pm
Subject: Re: [Samba] large smb.conf file
To: Gerald (Jerry) Carter [EMAIL PROTECTED]
Cc: samba@lists.samba.org, Jeremy Allison [EMAIL PROTECTED]

 On Mon, Oct 03, 2005 at 04:45:30PM -0500, Gerald (Jerry) Carter wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  Jeremy Allison wrote:
  
   We've considered having the parent smbd re-parse the 
 configuration  file into a tdb and the send a message to all the 
 children that
   it the configuration changed.  At this point we could maintain
   a timestamp on a per service basis.  Or maybe even remove the 
 need  for the in memory services array altogether.
  
   The main design hurdle is variable substitution.
   
   Or we could wait (mod) random timel  5secs after noticing a
   smb.conf change to spread out the load ?
  
  
  Yeah we could.   Simo made a change to the pcap_reload() code
  to do something similar with printers.  It's a band aid.
  Do you remember when tridge worked on this if it was the
  file i/o or the mem functions that were the bottleneck?
 
 Band-aids can sometimes help :-). Especially if it's a small, non
 critical wound :-).
 
 Jeremy.
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba
 

//~~~//~~~//~~~//~~~//~~~//~~~//
Travis Knabe
Assistant Director
University Computing Services
Western Oregon University
Phone: 503-838-8507
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] No smb.conf file !

2005-04-05 Thread Bahya NASSR EDDINE
Tanks to a member of this list, I was able to solve my
problem.
He told me that if my samba installation is a new one,
I must create the config file. And he was right. I
then copied the samba config file sample given in
samba sources to /usr/local/samba/lib, I edited it...
And that's it!
I could not know this because this is the first time I
build samba sources. I used to installing it using
rpms.

Thanks all

Bahya







__
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] No smb.conf file !

2005-04-04 Thread José Luis Ledesma
find / -name smb.conf 
or
updatedb  locate smb.conf

best regards,

José Luis Ledesma
___
Competitiveness
Telephone: +34 93 582 02 90
Email: [EMAIL PROTECTED]
Website: http://www.competitiveness.com


-Original Message-
From: Bahya NASSR EDDINE [mailto:[EMAIL PROTECTED]
Sent: lunes, 04 de abril de 2005 12:08
To: samba@lists.samba.org
Subject: [Samba] No smb.conf file !


Good morning all,

I configured samba 3 on a Red Hat machine, I then
built and installed it.
The problem is that after installation has finished, I
couldn't find the samba configuration file smb.conf.

Any idea please?

Bahya






__
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos
mails ! 
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] No smb.conf file !

2005-04-04 Thread Bahya NASSR EDDINE
I've already run find command, but no smb.conf file
was found.
It should normally exist on /etc/samba or
/usr/local/samba/lib directories. This is not the
case!

Kind regards

--- José Luis Ledesma [EMAIL PROTECTED]
wrote:
 find / -name smb.conf 
 or
 updatedb  locate smb.conf
 
 best regards,
 
 José Luis Ledesma
 ___
 Competitiveness
 Telephone: +34 93 582 02 90
 Email: [EMAIL PROTECTED]
 Website: http://www.competitiveness.com
 
 
 -Original Message-
 From: Bahya NASSR EDDINE
 [mailto:[EMAIL PROTECTED]
 Sent: lunes, 04 de abril de 2005 12:08
 To: samba@lists.samba.org
 Subject: [Samba] No smb.conf file !
 
 
 Good morning all,
 
 I configured samba 3 on a Red Hat machine, I then
 built and installed it.
 The problem is that after installation has finished,
 I
 couldn't find the samba configuration file smb.conf.
 
 Any idea please?
 
 Bahya
 
 
   
 
   
   

__
 Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace
 de stockage pour vos
 mails ! 
 Créez votre Yahoo! Mail sur
 http://fr.mail.yahoo.com/
 -- 
 To unsubscribe from this list go to the following
 URL and read the
 instructions: 
 https://lists.samba.org/mailman/listinfo/samba
 






__
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] No smb.conf file !

2005-04-04 Thread Bert_De_Ridder
Well... on the bright side : there can't be any errors in it then  :-) :-) 


Silly, joke; but I couldn't resist. 

I would just start my own; there are lots of 'basic' examples on the web. 

http://www.google.be/search?hl=nlq=sample+samba+config+filebtnG=Google+zoekenmeta=

should get you well on your way.



Kind regards,

Bert De Ridder

PeopleWare NV - Head Office
Cdt.Weynsstraat 85 
B-2660 Hoboken 
Tel: +32 3 448.33.38 
Fax: +32 3 448.32.66 

PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25

http://www.peopleware.be 
http://www.mobileware.be 
u r lame if u insist on trying 2 b l337 by abbrev evythng u type when 
asking ppl 4 hlp. kiddie speak is teh sux. ppl. plz stop teh kiddie speak. 
thx.
hint: aol kiddie speak is not cool, it just makes people not want to read 
your post.





Bahya NASSR EDDINE [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
04/04/2005 12:40

To
José Luis Ledesma [EMAIL PROTECTED], samba@lists.samba.org
cc

Subject
RE: [Samba] No smb.conf file !






I've already run find command, but no smb.conf file
was found.
It should normally exist on /etc/samba or
/usr/local/samba/lib directories. This is not the
case!

Kind regards

--- José Luis Ledesma [EMAIL PROTECTED]
wrote:
 find / -name smb.conf 
 or
 updatedb  locate smb.conf
 
 best regards,
 
 José Luis Ledesma
 ___
 Competitiveness
 Telephone: +34 93 582 02 90
 Email: [EMAIL PROTECTED]
 Website: http://www.competitiveness.com
 
 
 -Original Message-
 From: Bahya NASSR EDDINE
 [mailto:[EMAIL PROTECTED]
 Sent: lunes, 04 de abril de 2005 12:08
 To: samba@lists.samba.org
 Subject: [Samba] No smb.conf file !
 
 
 Good morning all,
 
 I configured samba 3 on a Red Hat machine, I then
 built and installed it.
 The problem is that after installation has finished,
 I
 couldn't find the samba configuration file smb.conf.
 
 Any idea please?
 
 Bahya
 
 
 
 
 
 

__
 Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace
 de stockage pour vos
 mails ! 
 Créez votre Yahoo! Mail sur
 http://fr.mail.yahoo.com/
 -- 
 To unsubscribe from this list go to the following
 URL and read the
 instructions: 
 https://lists.samba.org/mailman/listinfo/samba
 


 

 
 
__
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos 
mails ! 
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

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


RE: [Samba] No smb.conf file !

2005-04-04 Thread Bahya NASSR EDDINE
This is not the first time I use samba 3 :-). I've
never had such problem!
May be my problem is due to an error during the samba
3 download process.
Now, I am downloading the latest stable version of
samba (samba 3.0.13). I'll then install it.
I will let you know the result!

Thanks all!

Bahya

--- [EMAIL PROTECTED] wrote:
 Well... on the bright side : there can't be any
 errors in it then  :-) :-) 
 
 
 Silly, joke; but I couldn't resist. 
 
 I would just start my own; there are lots of 'basic'
 examples on the web. 
 

http://www.google.be/search?hl=nlq=sample+samba+config+filebtnG=Google+zoekenmeta=
 
 should get you well on your way.
 
 
 
 Kind regards,
 
 Bert De Ridder
 
 PeopleWare NV - Head Office
 Cdt.Weynsstraat 85 
 B-2660 Hoboken 
 Tel: +32 3 448.33.38 
 Fax: +32 3 448.32.66 
 
 PeopleWare NV - Branch Office Geel
 Kleinhoefstraat 5
 B-2440 Geel
 Tel: +32 14 57.00.90
 Fax: +32 14 58.13.25
 
 http://www.peopleware.be 
 http://www.mobileware.be 
 u r lame if u insist on trying 2 b l337 by abbrev
 evythng u type when 
 asking ppl 4 hlp. kiddie speak is teh sux. ppl. plz
 stop teh kiddie speak. 
 thx.
 hint: aol kiddie speak is not cool, it just makes
 people not want to read 
 your post.
 
 
 
 
 
 Bahya NASSR EDDINE [EMAIL PROTECTED] 
 Sent by:
 [EMAIL PROTECTED]
 04/04/2005 12:40
 
 To
 José Luis Ledesma [EMAIL PROTECTED],
 samba@lists.samba.org
 cc
 
 Subject
 RE: [Samba] No smb.conf file !
 
 
 
 
 
 
 I've already run find command, but no smb.conf file
 was found.
 It should normally exist on /etc/samba or
 /usr/local/samba/lib directories. This is not the
 case!
 
 Kind regards
 
 --- José Luis Ledesma [EMAIL PROTECTED]
 wrote:
  find / -name smb.conf 
  or
  updatedb  locate smb.conf
  
  best regards,
  
  José Luis Ledesma
  ___
  Competitiveness
  Telephone: +34 93 582 02 90
  Email: [EMAIL PROTECTED]
  Website: http://www.competitiveness.com
  
  
  -Original Message-
  From: Bahya NASSR EDDINE
  [mailto:[EMAIL PROTECTED]
  Sent: lunes, 04 de abril de 2005 12:08
  To: samba@lists.samba.org
  Subject: [Samba] No smb.conf file !
  
  
  Good morning all,
  
  I configured samba 3 on a Red Hat machine, I then
  built and installed it.
  The problem is that after installation has
 finished,
  I
  couldn't find the samba configuration file
 smb.conf.
  
  Any idea please?
  
  Bahya
  
  
  
  
  
  
 

__
  Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace
  de stockage pour vos
  mails ! 
  Créez votre Yahoo! Mail sur
  http://fr.mail.yahoo.com/
  -- 
  To unsubscribe from this list go to the following
  URL and read the
  instructions: 
  https://lists.samba.org/mailman/listinfo/samba
  
 
 
  
 
  
  

__
 Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace
 de stockage pour vos 
 mails ! 
 Créez votre Yahoo! Mail sur
 http://fr.mail.yahoo.com/
 -- 
 To unsubscribe from this list go to the following
 URL and read the
 instructions: 
 https://lists.samba.org/mailman/listinfo/samba
 
 --
 To unsubscribe from this list go to the following
 URL and read the
 instructions: 
 https://lists.samba.org/mailman/listinfo/samba
 






__
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] No smb.conf file !

2005-04-04 Thread John H Terpstra
On Monday 04 April 2005 04:07, Bahya NASSR EDDINE wrote:
 Good morning all,

 I configured samba 3 on a Red Hat machine, I then
 built and installed it.
 The problem is that after installation has finished, I
 couldn't find the samba configuration file smb.conf.

 Any idea please?

The documentation is a good place to start!

http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf

Probably chapter 1 may help.


Anyhow, here is how to find where it should be put on your system:

smbd -b | grep conf

That should tell you where to locate it.

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


Re: [Samba] No smb.conf file !

2005-04-04 Thread Bahya NASSR EDDINE
 Anyhow, here is how to find where it should be put
 on your system:
 
   smbd -b | grep conf

Thank you for your reply.
As I told in a previous message to the list, I have
already used Samba many times! I have never had such
problem.
Any way, I run the command you suggested and it
returned the config file location (which is
/usr/local/samba/lib/smb.conf), however the config
file does not exist in that location!
I downloaded and built samba 3.0.13 but the problem is
still here!







__
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] No smb.conf file !

2005-04-04 Thread Tony Earnshaw
man, 04.04.2005 kl. 12.07 skrev Bahya NASSR EDDINE:

 I configured samba 3 on a Red Hat machine, I then
 built and installed it.
 The problem is that after installation has finished, I
 couldn't find the samba configuration file smb.conf.
 
 Any idea please?

If you don't understand basic Unix/Linux system administration and the
basic Unix/Linux system commands (including find, locate and their ilk,
which you obviously don't)  and are running Red Hat, stick to rpms and
srpms which will put everything in the correct Red Hat places. This
includes the Samba 3 srpms (God bless Jerry and Co. not only for this,
but a whole lot of Red Hat compatibility issues to boot).

Then go ahead and learn rpmbuild.

--Tonni

-- 
Nothing sucksseeds like a pigeon without a beak ...

mail: [EMAIL PROTECTED]
http://www.billy.demon.nl
 
They love us, don't they, They feed us, won't they ...

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


Re: [Samba] Learning smb.conf file

2004-01-13 Thread Gmes Gza
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hunter, Jess rta:
| I have just started playing around with Samba and have run into a mental
| block / learning hurdle
|
| Here is what I have
|
| I have a WinNT box that acts as a PDC for a domain (mydomain for the
sake of
| this post). Within 'mydomain' I have several workgroups (wg1, wg2,
wg3, etc)
|
| Now here is where I get confused. I am trying to set up the Samba
Server so
| it will work as follows
|
| [general]
| this will be for all the general stuff which everyone in the domain
can see
|
| [wg1]
| this item will only accessible by those in the wg1 workgroup
|
| [wg2]
| this item will only accessible by those in the wg2 workgroup
|
| and so on.
|
| Any assistance on this would be greatly appreciated
|
| Jess
|
| ---
| Outgoing mail is certified Virus Free.
| Checked by AVG anti-virus system (http://www.grisoft.com).
| Version: 6.0.560 / Virus Database: 352 - Release Date: 1/8/04
|
if you can find out what ip adresses are in wg1, wg2, etc.
you could specify hosts allow = ip/mask,ip/mask in your share definition.
Regards,

Geza
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAA5vl/PxuIn+i1pIRAgblAJ9B8KCH9wTFCw2Ys07IT7f4OOfXEQCeJbyl
WJmoayd0MEmQkd9nIIv9lZg=
=I4IV
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] SIMPLE smb.conf file

2003-08-14 Thread Marian Mlcoch, Ing
Second use one subject !

In your conf is more errors. First if you use samba and not set guest acces
shares is always authenticate!
If need create public free acces to shares set security to user and on
shares that maybe public add guest ok = yes.
But then owner of all in this share is guest user set in your guest account
to guest (must exist on linux).
All new files on this share will be created as guest and blabla...

In global yuo set this to no !
 update encrypted = yes
 obey pam restrictions = Yes
 pam password change = Yes
 unix password sync = yes

If create any smbuser with smbpasswd remove it if need public guest share.

Bye.

- Original Message - 
From: Serviteur Linux [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 14, 2003 7:22 PM
Subject: [Samba] SIMPLE smb.conf file


 Hi,

 I have been trying to get SWAT to work so I can configure it using a
 GUI. But as you can see on my last message, no luck.

 I have tryed what seems like hundreds of different configuration schemes
 using smb.conf and cannot seem to get things right. Here is the
 situation :

 Local network, internet on a router/firewall. two winXP machines, two
 win98 machines. No domain authentication, simple windows logons. Simple
 shares with share based authentication. The machine i'm installing Samba
 on is a Red Hat 9 machine.

 I want to set up samba so it will ask me for username/password on each
 individual share, or simply make the whole shares scheme pulic. I've
 tried to make shares public, and no matter what I do I always get the
 same error :

 \\Serviteur is not accessible. You might not have permission to use this
 network resource. Contact.. blah blah. The network path was not found.

 Even what I try to access my linux machine using SAMBA from itself I get
 a similar error.

 ( I can access the WinXP shares from Linux )


 Here is my smb.conf :

 [global]
 workgroup = 5330-1
 netbios name = Serviteur
 server string = Samba %V
 encrypt passwords = yes
 update encrypted = yes
 obey pam restrictions = Yes
 pam password change = Yes
 passwd program = /usr/bin/passwd %u
 passwd chat = *New*password* %n\n *Retype*new*password %n\n
 *passwd:*all*:authentication*tokens*updated*succesfully*
 unix password sync = yes
 log level = 9
 log file = /var/log/samba/%m.log
 max log size = 0
 socket options = TCP_NODELAY SO_RECVBUF = 8192 SO_SNDBUF = 8192
 os level = 33
 domain master = No
 dns proxy = No
 guest account = guest
 printing = cups
 wins support = yes
 security = share

 [homes]
 comment = Home Directories
 valid users = %S
 read only = no
 create mask = 0664
 directory mask = 0775
 browseable = Yes
 [webroot]
 comment = apache webroot
 path = /var/www/html
 public = yes
 writeable = yes
 browseable = Yes
 create mask = 0777


 THANKS !

 Martin Legris

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

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