Koozali.org: home of the SME Server

WINS Server

Tristian

WINS Server
« on: June 13, 2002, 09:17:21 PM »
Hi,

I am new to E-smith. I need good instructions on how to modify template to add a WINS SERVER entry so it can be handed out to Windows clients. The wins server is a different server than the e-smith. I look at the template, all I see is $WINSServer, can I just change this to the IP address or host name?

Thanks in advance.

benja

Re: WINS Server
« Reply #1 on: June 14, 2002, 09:28:30 AM »
Hi Tristian,

I've got the same probleme and i solve it doing this :

I customize smb.conf
I only use 10globals
I suppress the section (about 15 lines)  where "wins support" and "wins server" are set (a part of code dealing with $WINSServer)
I add the two lines "en dur" :
   wins support = no
   wins server = ip_my_wins_server
Finally, i expand the templates

It will be better to find where is set the variable $WINSServer but i didn't find it in the server manager. Anyway, what i've done work.

Good luck !

benja

Tristian

Re: WINS Server
« Reply #2 on: June 14, 2002, 07:58:55 PM »
Wouldn't you customize dhcpd.conf?

_Fluke_

Re: WINS Server
« Reply #3 on: July 13, 2002, 07:09:00 AM »
I also had the same problem,
but once i looked into to it all you actually need to do is to type the following (replacing 192.168.20.1 with your wins server =) you don't need to customize templates at all


# /sbin/e-smith/db configuration setprop smb WINSServer 192.168.20.1
# /sbin/e-smith/expand-template /etc/smb.conf
# service smb restart

Michael Smith

Re: WINS Server
« Reply #4 on: October 23, 2002, 06:40:41 PM »
So ... do you think this would work over an IPSec VPN?  I.e. if my SME server is 192.168.1.1 and I wanted to reference a WINS server on the other side of the VPN, specifically an NT PDC at 10.0.0.2, would it work?  How would you reverse the change if necessary?

Bill Talcott

Re: WINS Server
« Reply #5 on: October 24, 2002, 09:31:24 PM »
Michael Smith wrote:
>
> So ... do you think this would work over an IPSec VPN?  I.e.
> if my SME server is 192.168.1.1 and I wanted to reference a
> WINS server on the other side of the VPN, specifically an NT
> PDC at 10.0.0.2, would it work?  How would you reverse the
> change if necessary?

# /sbin/e-smith/db configuration delprop smb WINSServer
# /sbin/e-smith/expand-template /etc/smb.conf
# service smb restart

Rob Wellesley

Re: WINS Server
« Reply #6 on: November 11, 2002, 06:56:26 AM »
_Fluke_ wrote:
>
>
> # /sbin/e-smith/db configuration setprop smb WINSServer
> 192.168.20.1
> # /sbin/e-smith/expand-template /etc/smb.conf
> # service smb restart

However if your e-smith box is also your dhcp server you will need
# /sbin/e-smith/expand-template /etc/dhcpd.conf
# service dhcpd restart

also

Rob Wellesley

Re: WINS Server
« Reply #7 on: November 11, 2002, 07:07:11 AM »
_Fluke_ wrote:
>
>
> # /sbin/e-smith/db configuration setprop smb WINSServer
> 192.168.20.1
> # /sbin/e-smith/expand-template /etc/smb.conf
> # service smb restart

However if your e-smith box is also your dhcp server you will need
# /sbin/e-smith/expand-template /etc/dhcpd.conf
# service dhcpd restart

also