Marcio Oli
2012-Oct-04 16:49 UTC
[Samba] Name Resolve Order : parameter of smb.conf with testparm
I am writing this letter and I hope that I'll have answers about the generation of smb.conf by the way of smb.conf.master with testparm command. Like is described on page 5 of Samba3-HOWTO.pdf. The situation is: - The manual of smb.conf says that the default value of the parameter ?name resolve order? is ?lmhosts host wins bcast?, but when I type the command like: # testparm -s smb.conf.master > smb.conf the following occurs: the smb.conf generated by this command don't have the parameter ?name resolve order? expressed, but in my smb.conf.master is configured like: ? name resolve order = lmhosts wins host bcast ... At this situation, I think should appear the parameter because it is not a default value. The order is different of default in smb.conf.master. Thus, I would like to know if the documentation of samba is incorrect about this configuration or testparm is with a problem to create the smb.conf. Yours Truly, Marcio Oliveira T?cnico de Inform?tica +55 (61) 3314-8520 Procuradoria Geral do Trabalho
Matthieu Patou
2012-Oct-04 19:27 UTC
[Samba] Name Resolve Order : parameter of smb.conf with testparm
On 10/04/2012 09:49 AM, Marcio Oli wrote:> I am writing this letter and I hope that I'll have answers about the > generation of smb.conf by the way of smb.conf.master with testparm command. > Like is described on page 5 of Samba3-HOWTO.pdf. > > > The situation is: > - The manual of smb.conf says that the default value of the parameter ?name > resolve order? is ?lmhosts host wins bcast?, but when I type the command > like: > > > # testparm -s smb.conf.master > smb.conf > > > the following occurs: the smb.conf generated by this command don't > have the parameter ?name resolve order? expressed, but in my > smb.conf.master is configured like: > ? > name resolve order = lmhosts wins host bcast > ... > At this situation, I think should appear the parameter because it is not a > default value. The order is different of default in smb.conf.master. > > > Thus, I would like to know if the documentation of samba is incorrect about > this configuration or testparm is with a problem to create the smb.conf.Most probably the man page, which version are you using ?> > > Yours Truly, > > Marcio Oliveira > T?cnico de Inform?tica > +55 (61) 3314-8520 > Procuradoria Geral do Trabalho-- Matthieu Patou Samba Team http://samba.org
Marcio Oli
2012-Oct-05 21:41 UTC
[Samba] Name Resolve Order : parameter of smb.conf with testparm
Hi Matthieu Patou, the version that I'm using is "Samba 3.5.10-116.el6_2". It was installed with rpm command. The OS is: Red Hat Enterprise Linux Server release 6.2 (Santiago) Linux [name of host] 2.6.32-131.6.1.el6.x86_64 #1 SMP Mon Jun 20 14:15:38 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux Thanks, -- Marcio Oliveira T?cnico de Inform?tica +55 (61) 3314-8733 Procuradoria Geral do Trabalho
Marcio Oli
2012-Oct-10 17:45 UTC
[Samba] Name Resolve Order : parameter of smb.conf with testparm
Ok Matthieu, Bug reported: https://bugzilla.samba.org/show_bug.cgi?id=9282 Thanks, Marcio. 2012/10/9 Matthieu Patou <mat at matws.net>> Feel free to file a bug report related to the doc. It's the best way to > get it fixed > Matthieu. > > Marcio Oli <marcio.oli.df at gmail.com> wrote: > > Ok Matthieu, thanks again about your answer. > > The suggestion is to modify and correct this question on the URL: > > http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#NAMERESOLVEORDER > > Thanks, > Marcio. > > 2012/10/9 Matthieu Patou <mat at samba.org> > > > On 10/08/2012 02:38 PM, Marcio Oli wrote: > > > >> Hi Matthieu Patou, > >>> > >>> the version that I'm using is "Samba 3.5.10-116.el6_2". It was > >>> installed with rpm command. > >>> The OS is: > >>> Red Hat Enterprise Linux Server release 6.2 (Santiago) > >>> Linux [name of host] 2.6.32-131.6.1.el6.x86_64 #1 SMP Mon Jun 20 > 14:15:38 > >>> EDT 2011 x86_64 x86_64 x86_64 GNU/Linux > >>> > >>> I suppose that you are using the version of redhat but I think that > you > > should trust the output of testparm because it use the same code base as > > daemons for parsing and deducting default values. > > > > Also testparm by default won't show the values that are by default as > > lmhosts wins host bcast is the default it's not shown, use testparm -v to > > have the full list. > > > > Matthieu. > > > > -- > > Matthieu Patou > > Samba Team > > http://samba.org > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: https://lists.samba.org/**mailman/options/samba< > https://lists.samba.org/mailman/options/samba> > > > > > > -- > Marcio Oliveira. > "Tudo concorre para o bem daqueles que amam ? Deus." (Rom 8,28) > >-- Marcio Oliveira. "Tudo concorre para o bem daqueles que amam ? Deus." (Rom 8,28)