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.
I´m having a little bit of a pickle configuring the Samba and any help would be appreciated.
Here is the setup:
I have an OpenSuse 11.3 that I´m using as server (PDC) and I need to make it so Windows 7 clients are able to join the domain and authenticate in samba.
The authentication source for now is the local database of OpenSuse. Once I get this working, I may "upgrade" it to LDAP.
I was able to make the Win7 join the domain using the user "root". I got the expected error
"Changing the Primary Domain DNS name of this computer to "" failed.
The name will remain "MYDOM". The error was:
The specified domain either does not exist or could not be contacted"
and then I rebooted the Win7.
Now I´m trying to login using a local user (other than root) and this is the log from the server when I try to do it:
[2010/10/19 17:13:38.821792, 2] smbd/sesssetup.c:1390(setup_new_vc_session)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2010/10/19 17:13:38.825065, 2] smbd/sesssetup.c:1390(setup_new_vc_session)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2010/10/19 17:13:38.827753, 2] auth/auth.c:304(check_ntlm_password)
check_ntlm_password: authentication for user [jleal] -> [jleal] -> [jleal] succeeded
[2010/10/19 17:13:41.388708, 2] rpc_server/srv_samr_nt.c:4124(_samr_LookupDomain)
Returning domain sid for domain TESTE.LOCAL -> S-1-5-21-2571761598-2761918735-140538678
[2010/10/19 17:13:41.392983, 2] rpc_server/srv_samr_nt.c:4124(_samr_LookupDomain)
Returning domain sid for domain TESTE.LOCAL -> S-1-5-21-2571761598-2761918735-140538678
To me this looks like it worked, but then I get an alert window still in the login screen of Win7 stating:
"The connection was denied because the user account is not authorized for remote login"
Did you make the change as Administrator? Or as a user supposedly with administrative power?
Hello, thanks for your answer.
I did the change using the user "root". I expected that message because I read in a few pages that this usually happens when you try to join a Win7 in a Samba PDC domain (for example, in http://wiki.samba.org/index.php/Windows7)
It seems to be working already. As I am using both server and client in VMWare, I was trying to log the windows client via Remote Desktop, and the error was concerning that. Once I tried using the VM console, it worked just fine.
Glad you got it working, just for future reference, when I asked about "Administrator" I was referring to Win 7, which doesn't have a "root" account. In other words root is not equal to Administrator. Second, did you use the hotfix or fiddle the registry keys?
Glad you got it working, just for future reference, when I asked about "Administrator" I was referring to Win 7, which doesn't have a "root" account. In other words root is not equal to Administrator. Second, did you use the hotfix or fiddle the registry keys?
When I made the change I was logged as Administrator, but I used the user "root" to join the domain when it asked for it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.