LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   samba : several domains : how to set the samba one as default? (https://www.linuxquestions.org/questions/linux-networking-3/samba-several-domains-how-to-set-the-samba-one-as-default-402156/)

tonguim 01-11-2006 02:34 PM

samba : several domains : how to set the samba one as default?
 
Hi,
i've installed samba to manage a domain; the clients are win xp pro; on each win xp pro on the logon screen, i've to choose between the samba domain, or between the local domain (my computer); is it possible to configure the windows computer so that the default domain is the samba one? thanks

flashingcurser 01-11-2006 04:55 PM

As far as I know, when you log into windows it tries to use the last domain that the comp logged into as default. One thought, you can always remove all local accounts except admin. Then users will not be tempted to log in locally.

Beyond that there may be a reg hack that could do this. One such hack

tonguim 01-12-2006 03:27 AM

Thank you flashingcurser for answer. My domain controller samba doesn't have a fix ip address; it uses a dynamic one (DHCP).
So in the lmhost file, how can i set this line:
Code:

<ip address> <name of DC> #PRE #DOM:<domain name> #<comment>?

flashingcurser 01-12-2006 08:16 AM

Why not set it up on a staic? A server should be on a static. If you have a cable modem/router/switch thingy check its configuration, likey it will allow you to set up a range for dhcp. Put your servers static ip outside of the range but still in the same subnet.

Example:
In your routers config: dhcp range 192.168.0.50-192.168.0.200 (dhcp will assign 150 ip's)

Then the static ip for your server could be 192.168.0.25

This way dhcp never assigns an ip address to another machine for your static ip.

Clear as mud? ;)

dan


All times are GMT -5. The time now is 01:04 PM.