[SOLVED] Connecting to a Samba server (not on domain) from windows domain pc
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
Connecting to a Samba server (not on domain) from windows domain pc
i need to allow window domain controller user to use file share of linux.windows DC user can see the share file and directories of linux file server but not able to access.
below is brief--
I have a Linux machine which is on my network but not on my domain. I have configured SAMBA FILESERVER for file sharing purpose. I have a Windows XP PC which is on the domain(windows server) that I am trying to connect to a share on the Linux box.
I supply my credentials but regardless of which login I use I always get Logon Failure. I have created an account on the Linux machine with the same user name and password as my domain account but so far no luck. Can I connect from a domain PC to a non-domain Linux box? Is there something else I should be checking?
Last edited by centos123; 06-28-2011 at 11:21 PM.
Reason: 2 same threads, merging question and heading into 1 threads
Connecting to a Samba server (not on domain) from a Windows domain PC
I have a Linux machine which is on my network but not on my domain. I have configured SAMBA FILESERVER for file sharing purpose. I have a Windows XP pro PC which is on the domain that I am trying to connect to a share on the Linux box.
I supply my credentials but regardless of which login I use I always get Logon Failure. I have created an account on the Linux machine with the same user name and password as my domain account but so far no luck. Can I connect from a domain PC to a non-domain Linux box? Is there something else I should be checking?
I have a Linux machine which is on my network but not on my domain. I have configured SAMBA FILESERVER for file sharing purpose. I have a Windows XP pro PC which is on the domain that I am trying to connect to a share on the Linux box.
I supply my credentials but regardless of which login I use I always get Logon Failure. I have created an account on the Linux machine with the same user name and password as my domain account but so far no luck. Can I connect from a domain PC to a non-domain Linux box? Is there something else I should be checking?
Shivendra....
Have you tested the share any other way?
e.g. can you mount that share from the samba file server? from other linux box on the same network?
Have you opened the firewall on the server to allow connections?
Your asking the same question, how to log into your non Linux machine using domain credentials in two threads. You have also been given different answers in both threads. Please post your question in one one thread. This will help to keep the discussion on target and avoid confusion. Thread reported as a duplicate of this one: http://www.linuxquestions.org/questi...server-888539/
The two thread are indeed strictly related (basically the same question), therefore they have been merged here, since both of them already had answers. Please, centos123, don't double post. Keeping the discussion in one forum/thread makes easier for members to help you.
As Droyden already pointed you in the direction of: Using Samba, LDAP, and Kerberos, built with the proper libraries, it is possible to have a Linux system authenticate users against an Active Directory user base. Your post specifically mentions "root" and while I can't say definitively, I am pretty certain that the answer is no, you can't authenticate "root" via this method, nor would I think you would want to. From what I have read, once you do this, users will no longer have a "home" directory on the Linux machine as they do as local account users. In order to share files, you could set up a common file share using Samba. For that matter, you could do this without requiring the domain login to the Linux machine.
From the posts in your other thread, you apparently have already started to go down this path. Were you perhaps trying to ask a different question?
i need to allow window domain controller user to use file share of linux.windows DC user can see the share file and directories of linux file server but not able to access.
SE Linux is preventing you to access samba. I had the same problem with fedora12 and fedora14. I changed to Ubuntu, it's much easier to config samba.
Try this commands as root:
Code:
setsebool -P samba_domain_controller on
setsebool -P samba_enable_home_dirs on
or change SE Linux mode to permissive to see if that's the problem:
setenforce 0
other modes are: permissive [0], enforcing [1], or disabled [2]
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.