Solved

Joining a Linux Machine to a Windows NT Domain.

Posted on 2004-04-21
7
1,092 Views
Last Modified: 2013-11-13
Our Domain name is DOMAIN and NT PDC name is PNNT.

I have loaded RH9 and have done the following:

I have configured  the samba server config file:

[global]
netbios name = SAMBASERVER
workgroup=NT_DOMAIN
password server = NT_PDC, NT_BDC_1, NT_BDC_2
security = domain

I have also used the following command and I have received the message "Welcome to the domain DOMAIN"
smbpasswd -j DOMAIN -r  PNNT -U  administrator
which has then prompt me for the administrator password.

I have also created a shared folder and has marked it as browseable = Yes in smb.conf file.

To authenticate my Linux box logon against the windows domain, I have done two things:

(i). created an account on the linux box that has the SAME username as the windows domain account. Password are not same, just the username.

(ii).Have  run the command "authconfig" from a Linux shell. Went to the section to configure SMB authentication. Enabled it and have put workgroup as domain and domain controller IP address.

With all these done, the IIS home page opens in the mozilla browser when I give the domain controller's IP address in the address bar. (Our Domain controller is also a IIS server)

How do I browse the network from the Linux Box? I need something similar to Network Neighborhood. Also when I double click linux box for the Network Neighborhood of any Windows machine, I get a error " SambaServer not accessible" and when I do the same thing from the network Neighborhood of our PDC, I get a message "Network path not found". What do I do to make the Linux Box accessible from the windows Network Neighborhood ?

Please help. Thanks a lot to all of you for your help in advance.
0
Comment
Question by:gaurab
  • 2
  • 2
7 Comments
 

Accepted Solution

by:
alanolway earned 168 total points
ID: 10883504
From Linux, to few the resources (shares) available on a specific machine use:

  /usr/bin/smbclient  -L  <host>

where:
  <host> is the NetBIOS name of the Windows machine.

With regard to Windows users accessing the Linux machine, I have the following questions/comments:
(1) If I take your description literally, you have told Samba that the NT domain is NT_DOMAIN when, earlier, you stated that the domain was called DOMAIN. They should be the same.
(2) You have provided Samba with specific names for password servers. If you are having problems it is simpler to say: "password server = *" so that Samba searches for a password server. You can put in specific names later once Windows machines can see the Samba server shares.
(3) Are the Samba daemons running (or able to run if started when Samba requests arrive)?

From what you have written, are you just testing access to a common shared area and have not (yet) setup separate areas for each user (configured via the [homes] section in the smb.conf file)?

It would be useful if you could supply the contents of your smb.conf file.

     
0
 
LVL 3

Assisted Solution

by:tolgadalkilic
tolgadalkilic earned 166 total points
ID: 10884018
Here is a great tool for you to browse the network neighborhood in windows manner:
Project name is:
LinNeighborhood

Web site:
http://www.bnro.de/~schmidjo/
0
 
LVL 3

Expert Comment

by:tolgadalkilic
ID: 10884024
Also you can find rpm files from rpmfind.net or

http://dag.wieers.com/packages/linneighborhood/

for all redhat versions and fedora
0
 
LVL 2

Assisted Solution

by:astrand
astrand earned 166 total points
ID: 10893419
It seems like you are asking several questions at once. Have you successfully joined the domain? You shouldn't need to create a local account. There are lots of guides on how to join domains on the net. Here's one:
http://www.cendio.com/files/thinlinc/userguide/html/ch10.html#winauth
0
 

Expert Comment

by:alanolway
ID: 11874978
Have you solved your problem or do you still require help?
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now