Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-30-2011, 03:07 AM   #1
Senior Member
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
Question want some help with and smb.conf


While I was going through the configuration file of sendmail i.e.

I was a little surprised to see the format of the file

So, can anyone please explain me which is the commented and uncommented line in this file

for eg.

dnl define(`confAUTO_REBUILD')dnl

define(`confDONT_PROBE_INTERFACES', `True')dnl
What is the use of dnl??
Why is it used at the end of the line?


Another query is for the smb.conf file

what is the use of giving ; in the starting of line?

for eg:

;   hosts allow = 192.168.1. 192.168.2. 127.

Please can anyone clear my doubts
Old 09-30-2011, 08:46 AM   #2
Registered: May 2006
Location: Bayern, Germany
Distribution: Many
Posts: 224

Rep: Reputation: 41
dnl is a m4 command meaning "Delete through New Line".
You can use it for comments or to avoid the insertion of blank lines, so the "define" command will produce a blank line.
The second situation is used because m4 replaces its commands with empty lines.

for smb.conf ; means a commented line.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
smb.log / smb.conf problem (printcap) on VU+DUO tuner using Samba xlarge Linux - Newbie 0 01-04-2011 06:10 AM
smb.conf leslieannehope Linux - Networking 4 09-02-2010 01:22 AM
SMB.conf SBN Linux - Networking 2 01-26-2007 03:42 AM
Samba in Debian, smb.conf: smb passwd file = ?????????? henrnorl Linux - Software 1 10-06-2006 10:43 AM
samba conf smb.conf regnier Mandriva 5 02-17-2005 05:27 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration