Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

domain problem

Status
Not open for further replies.

kd7yen

Programmer
Sep 22, 2003
38
US
In need serious help! Can Some one please tell me how to set the name of a linux machine and how to join it to a windows server 2003 domain. I am running windows server 2003 and Redhat Linux 7.3(valhalla). My windows server can Ping the Linux machine and the linux machine can do the same to the windows machine. I can access the web resources on the windows machine. I just need to be able to access the shares on the windows machine! can someone please help me!?!?!?!?!?
 
1. ensure you have samba installed
2. if you do, a quick test would be:
'smbclient //server -L -Uusername%password -Wworkgroup'
where -W is your M$ domain name. This should give a list of all available shares on the M$ server
3. On the M$ server create a domain entry for the linux box
4. on the linux box edit /etc/samba/smb.conf to be a member of the domain. The smb.conf file is commented to show you how to do this.
5. join the domain like so:
'smbpasswd -j domainname'

A quick note here: the linux box does not _have_ to be a member of the domain to access shares, as the smbclient command proves.
HTH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top