Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Tristian 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.
-
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
-
Wouldn't you customize dhcpd.conf?
-
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
-
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?
-
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
-
_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
-
_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