Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-24-2005, 02:24 PM
|
#1
|
|
LQ Newbie
Registered: Jan 2004
Location: Charleston, SC
Distribution: Redhat 9.0
Posts: 15
Rep:
|
net join ads command
Trying to join a RH 9.0 box with Samba 3.0 and KBR5 on it to a Win2K domain. Seem to be making headway however when I use the net command from the /usr/local/samba/sbin folder or anywhere else it always comes back with a net: command not found. I know that I must be typing this wrong, or something , anyone care to set me straight?
|
|
|
|
02-24-2005, 05:11 PM
|
#2
|
|
Member
Registered: Dec 2004
Location: Western Pennsylvania, USA
Distribution: Red Hat
Posts: 150
Rep:
|
It really depends on how you installed Samba. I'm using RH9 and installed Samba from an RPM I downloaded via the Samba.org site. I have net in /usr/bin.
You can always try:
find / -name net
and see if you can find the net command. If it doesn't find it anywhere, something must have gone wrong with your install. I'd try a re-install of Samba.
|
|
|
|
02-24-2005, 06:30 PM
|
#3
|
|
LQ Newbie
Registered: Jan 2004
Location: Charleston, SC
Distribution: Redhat 9.0
Posts: 15
Original Poster
Rep:
|
thanks for the reply
I have the net command and am launching the command directly out of the bin folder under Samba. Did the install just like you did, but the net command does nada. Just returns an error.
|
|
|
|
02-25-2005, 05:53 AM
|
#4
|
|
Member
Registered: Dec 2004
Location: Western Pennsylvania, USA
Distribution: Red Hat
Posts: 150
Rep:
|
If it's always returning a command not found error even when your current directory is the directory where net is located, perhaps you have a problem with your PATH. Linux, unlike windows, will not automatically look in the current directory for a command you execute unless it is in your PATH.
From the current directory where net is located, execute:
./net [options]
and see if that works.
You can also try to use the complete path to net such as:
/usr/bin/net [options]
|
|
|
|
02-25-2005, 07:44 AM
|
#5
|
|
LQ Newbie
Registered: Jan 2004
Location: Charleston, SC
Distribution: Redhat 9.0
Posts: 15
Original Poster
Rep:
|
worked
That did the trick, using ./ before the net command. Something simple yet vital. Thanks again.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:38 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|