can you tell me how to do it in a step by step. sorry. i'm just not getting it. On Thu, 18 Jan 2001, Kevin Holmquist wrote: > Why ipalias? > > 1) Assign two netbios names to your server. Set each workstation to use one > server name for files and a different server name for print services. Then > use 'config file = smb.conf.%L' to select the conf file for each server. > i.e.: I have one machine and want two netbios names. there is a "config file = " in a smb.conf file when you start samba does this tell samba that there are two more smb.conf.xxx files to load? > > server: filer -> file sharing -> smb.conf.filer > server: print -> printer services -> smb.conf.print > > Instead of %L, you can use %U (user), or %G (group) and the clients use > different logins for each service. > > It's cliche', but check out 'man smb.conf' for details. > > Kevin > > ----- Original Message ----- > From: Steve Lee <[EMAIL PROTECTED]> > To: Steve Lee <[EMAIL PROTECTED]> > Sent: Thursday, January 18, 2001 10:27 AM > Subject: Re: samba > > > > i tried this, maybe i'm missing something. > > when you do ip alias, you can bind to both ports for > > smbd and nmbd on both address, right? > > making a illusion on the network that there are > > actuall two physical machine. > > > > Could you send me a detail description? > > If, possible. It will help a lot for me. > > time is valuable. > > > > > > On Thu, 18 Jan 2001, Mikkel L. Ellertson wrote: > > > > > On Wed, 17 Jan 2001, Steve Lee wrote: > > > > > > > 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. > > > > > > > > > > > You should only need one copy of nmbd. Now, to make two smbd, you are > > > going to have to do something along the lines of using IP aliasing, and > > > binding each copy of smbd to a specific interface. Otherwise, when you > > > try to start the other copy of smbd, it will error out with a port > already > > > in use error. Two copies of smbd can not share the same port, and if > you > > > run on copy on a different port, windows will not find it. The default > > > setting will have smbd and nmbd using port 137 and 139 on all > interfaces. > > > > > > Mikkel > > > > > > > > _______________________________________________ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list