just my 2 cents :

when you start the smb daemon it reads the config file you specify on the
command line (or in the init.d/smb script) or the default one (depending on
compile-time options). when it gets a connection request it forks (or
spawns) a new dameon with the config file specified in the original config
file's config file option line (see what i mean ?) that's why you can
specify samba variables (like %L) which will be expanded at the time of the
child process creation.

in my opinion those config files (smb.conf.FILE and smb.conf.PRINT) have to
be "complete" that is identical but eventually with different share
sections or different parameters (auth lists and so on). anyway the must be
consistent enough to "work" standalone. that is, if you start the smb
daemon with either of those config files, you must have a "print only" or a
"files only" server running fine.

then, when your 2 configurations are well defined and working fine, you can
try to get a mix with a third config file in which you will specify the
alternatives config files with "config file = smb.conf.%L". of course take
care to case sensitivity and other stuff which may cause problems.

doing this that way, and with log files information (use debugging
parameter to help) you should be able to satisfy your wish.

but, i have just a question, what will it give you to have such a dual
configuration ???

hth



A 15:27 18/01/2001 -0700, vous avez écrit :
>We've made  progress!
>
>Some times you just have to wait for things to propagate in netbios.  If you
>haven't altered any of your shares, they should come up.  You can also try
>rebooting  the workstation.
>
>Can you send me a copy of your smb.conf?  You can send it offline to
>[EMAIL PROTECTED]
>
>Kevin
>
>----- Original Message -----
>From: Steve Lee <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Thursday, January 18, 2001 3:17 PM
>Subject: Re: samba
>
>
>> Hi Kevin
>>
>> So far i have it showing two netbios names.
>> but nothing shows up when you click on the computer.
>>
>> i have smb.conf smb.conf.Print smb.conf.File with
>>
>> netibs aliases = File Print
>> config file = config.smb.%L
>>
>> but for:
>> smb.conf.File
>> only home section
>>
>> and for:
>> smb.conf.Print
>> only printer stuff
>>
>> all have the sambe global section.
>> is that right?
>>
>>
>> I like to you in advance for your patience
>> and help on this.
>>
>> Thank You
>
>
>
>
>_______________________________________________
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list
>
>
                        - * - * - * - * - * - * -
Mes idees n'engagent que moi (vieux proverbe du Net)

Thierry ITTY
eMail: [EMAIL PROTECTED]                FRANCE



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to