LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 01-11-2006, 02:34 PM   #1
tonguim
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Rep: Reputation: 0
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
 
Old 01-11-2006, 04:55 PM   #2
flashingcurser
Member
 
Registered: Jan 2003
Distribution: many win/nix/mac
Posts: 259

Rep: Reputation: 31
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
 
Old 01-12-2006, 03:27 AM   #3
tonguim
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Original Poster
Rep: Reputation: 0
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>?
 
Old 01-12-2006, 08:16 AM   #4
flashingcurser
Member
 
Registered: Jan 2003
Distribution: many win/nix/mac
Posts: 259

Rep: Reputation: 31
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
2 domains on the same network with samba ddaas Linux - Networking 2 01-06-2005 02:13 AM
two domains one samba server sparc Linux - Networking 1 08-28-2004 12:00 PM
Multiple domains under samba bruceg Linux - Networking 1 11-12-2003 01:16 PM
SAMBA and Domains? TheRealDeal Linux - General 4 10-14-2003 06:36 AM
Samba & Domains lexsco Linux - Networking 0 10-07-2003 03:35 PM


All times are GMT -5. The time now is 07:51 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration