OS: Debian squeeze Samba: 3.5.6 # testparm --section-name=global -s 2>&1|grep ALIX returns nothing # grep ALIX /etc/samba/smb.conf netbios name = ALIX works -- Regards Harry Jede
> From: Harry Jede [mailto:walk2sun at arcor.de] > Sent: 04 October 2011 23:06 > > OS: Debian squeeze > Samba: 3.5.6 > > # testparm --section-name=global -s 2>&1|grep ALIX > returns nothing > > # grep ALIX /etc/samba/smb.conf > netbios name = ALIX > worksThe example testparm command you give works for me on CentOS 5.2 with samba3-3.4.9-42.el5 and on CentOS 5.6 with samba3-3.5.11-44.el5. Build the command up slowly and try to identify where it is failing: # testparm -s # Do you get any output? # testparm --section-name=global -s # Do you get the right section? # testparm --section-name=global -s | grep ALIX # Does grep work? Moray. "To err is human; to purr, feline."
On 10:57:22 wrote Moray Henderson:> The example testparm command you give works for me on CentOS 5.2 with > samba3-3.4.9-42.el5 and on CentOS 5.6 with samba3-3.5.11-44.el5. > Build the command up slowly and try to identify where it is failing: > > # testparm -s # Do you get any output? > # testparm --section-name=global -s # Do you get the right > section?Yes> # testparm --section-name=global -s | grep ALIX # Doesgrep work? Yes I have some other bugs/issues found with the Debian Samba packages :-( . In backports is a 3.5.11 package. So I will try this. If it has the same problems I compile my own one and go with upstream in the future.> Moray. > "To err is human; to purr, feline."-- Regars Harry Jede