Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm running a 2003 server as a DHCP DC and active directory.
I'm sharing a folder on one of my XP systems that is part of the domain.
My Fedora box is set to fetch it's vitals via DHCP, which it does...I think
ifconfig indicates that it is receiving it's ip from my server.
when mounting the share using the following command I get the error:
command: smbmount //myxpsystem/dl /mnt/shares -o username=myname
error:connection to myxpsystem failed
SMB connection failed
but when I use the IP, it works fine...
smbmount //192.168.161.6/shares /mnt/shares -o username=myname
passwd:
My question is this, shouldn't the Linux system be able to resolve the computername to the IP as my 2003 DC is the DNS server...I've even configured the linux box manually with all ip's...still no change.
Also, what command can I use to check the current DNS server address that the linux box is using, as ifconfig only gives me the ip and subnet?
I'm wholly unfamiliar with win2k3, but you'll probably need to install the wins server on that box (if it's not already) and point samba at it to get it's netbios names (though hopefully someone who's familiar with windows can chime in, I generally set everything up exactly opposite, with samba being the PDC )
So, if you've got a wins server up and running....edit your smb.conf, under [global] add "wins server = ip.of.server", you may want to also add (in the same section) "name resolve order = wins bcast hosts" and restart samba. Again, this is a guess on my part ....I'm used to doing everything with samba running the show (wins/smb)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.