Use the following line:

config file = smb.conf.%{your variable here}

This will allow samba to load different config files based on the variable
(user, machine, group, etc)

Hope this helps!

Kevin

----- Original Message -----
From: Steve Lee <[EMAIL PROTECTED]>
To: Steve Lee <[EMAIL PROTECTED]>
Sent: Thursday, January 18, 2001 12:06 AM
Subject: samba


> Has anyone setup samba to run on two separate config files?
> I would like to run samba as a file server and a print server,
> but have the name display as "Print Server" and "File Server"
>
> I have the running as just one name.
> For clarity and beauty, but don't have the resource to
> run two separate servers for each.
>
> I have tried starting samba as
> smbd -D -s configfile1
> nmbd -D -s configfile1
> smbd -D -s configfile2
> nmbd -D -s configfile2
>
> but doesn't work.
> I even tried, IP alias and bind each config file to
> an ip address, but the second config file
> won't startup.
>
> I need some help Please.




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

Reply via email to