SUSE / openSUSE This Forum is for the discussion of Suse Linux. |
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.
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.
|
|
|
11-17-2005, 06:49 AM
|
#1
|
Member
Registered: Dec 2004
Location: UK
Distribution: Ubuntu, Fedora and not for long, M$ SuSE
Posts: 59
Rep:
|
Samba with YAST2 client problem
I keep getting an error when I try and join my suse box to our domain. The error is just an error message that says "error" with an OK button nothing more. This is in the YAST Samba client config.
Is there any other way to find more information on this error. Any help would be cool.
|
|
|
11-17-2005, 11:56 AM
|
#2
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
Try to run the command from command line and you'll hopefully get a more descriptive error message:
net join <DOMAIN>
Did you create a computer account for the linux box on your Windows server?
|
|
|
11-17-2005, 04:34 PM
|
#3
|
Member
Registered: Dec 2004
Location: UK
Distribution: Ubuntu, Fedora and not for long, M$ SuSE
Posts: 59
Original Poster
Rep:
|
Tried that...
When I tried the command from the root account it tried to do the join using root as the login and asked for the password.
I created an account on the box called administrator and su'ed into it and ran the command then and typed in our admin password when requested... here is what i got...
net join CAS
administrator's password:***************
[2005/11/17 20:57:39, 0] passdb/secrets.c:secrets_init(64)
Failed to open /etc/samba/secrets.tdb
ADS join did not work, falling back to RPC...
[2005/11/17 20:57:40, 0] passdb/secrets.c:secrets_init(64)
Failed to open /etc/samba/secrets.tdb
[2005/11/17 20:57:40, 0] utils/net_rpc.c:rpc_oldjoin_internals(268)
error storing domain sid for CAS
[2005/11/17 20:57:42, 0] passdb/secrets.c:secrets_init(64)
Failed to open /etc/samba/secrets.tdb
[2005/11/17 20:57:42, 0] utils/net_rpc_join.c:net_rpc_join_newstyle(335)
error storing domain sid for CAS
Unable to join domain CAS.
Any ideas?
|
|
|
11-28-2005, 10:48 PM
|
#4
|
LQ Newbie
Registered: Nov 2005
Posts: 5
Rep:
|
Did You resolve it?
I have exactly the same problem. New computer is created in Windows domain, but something is wrong with trust, i think...
|
|
|
11-28-2005, 11:32 PM
|
#5
|
LQ Newbie
Registered: Nov 2005
Posts: 5
Rep:
|
I think i got it...
Yevgeniy Kelman
|
|
|
11-29-2005, 03:37 AM
|
#6
|
Member
Registered: Dec 2004
Location: UK
Distribution: Ubuntu, Fedora and not for long, M$ SuSE
Posts: 59
Original Poster
Rep:
|
Nudge
I have still not sorted this... have played with it a bit. The PC account on the DC is fine and just like any other. Does anyone know whats wrong?
Thanks for any help...
|
|
|
11-29-2005, 11:24 AM
|
#7
|
Member
Registered: Oct 2005
Location: California
Distribution: SLED 10, openSuSE 10.2, Ubuntu Drapper
Posts: 713
Rep:
|
WHat are you trying to do? Have you setup Kerberos?
|
|
|
11-29-2005, 12:21 PM
|
#8
|
Member
Registered: Dec 2004
Location: UK
Distribution: Ubuntu, Fedora and not for long, M$ SuSE
Posts: 59
Original Poster
Rep:
|
Kerberos???
hmmm... no i have just tried to do a join after creating the PC account on the DC. I get the feeling that I am being a noob now that u mention Kerberos. Do you know of a really good howto that would explain the join to the domain and setup of Kerberos?
|
|
|
11-29-2005, 12:47 PM
|
#9
|
Member
Registered: Oct 2005
Location: California
Distribution: SLED 10, openSuSE 10.2, Ubuntu Drapper
Posts: 713
Rep:
|
What do you want to be able to do is the real question.
Do you want to logon and be authenticated to the domain? Joining a computer object to the domain doesn't mean you will always authenticate as that person.
An EASY way to do it with the Control Center is to change the setting:
Go to: Internet & Network click, Local Network Browsing, and put in the username you want to use DOMAIN\username < in that format for domain user
|
|
|
11-29-2005, 02:36 PM
|
#10
|
Member
Registered: Dec 2004
Location: UK
Distribution: Ubuntu, Fedora and not for long, M$ SuSE
Posts: 59
Original Poster
Rep:
|
Server
We use the SuSE box as a firewall, SMB and LAMP server. It runs Eventum for us to manage all our calls as well as Linpha for our Academies photo archive. We need to be able to share a directory on the box that everyone will be able to put photos into. I need the box to allow accounts from our AD domain to have access to the share. I also need to be able to allow other resources like printers and so on to be shared by people on the AD domain. We are runing Win2k Server on the DC and other servers.
Thanks for any help...
|
|
|
11-29-2005, 06:22 PM
|
#11
|
LQ Newbie
Registered: Nov 2005
Posts: 5
Rep:
|
I think that Your problem is security. Secrets.tdb might not have enough permission. You can login as a root account and try to join domain (uYou need to use "net join ... command with -U ).
(or You can change permissions on secrets.tdb).
Please let me know if this helps.
Yevgeniy Kelman
|
|
|
11-30-2005, 02:45 AM
|
#12
|
Member
Registered: Dec 2004
Location: UK
Distribution: Ubuntu, Fedora and not for long, M$ SuSE
Posts: 59
Original Poster
Rep:
|
What I discribe in post 3 >> http://www.linuxquestions.org/questi...33#post1956633 was done as root. Just for good measure though i have done it again and here is what I got...
CASLIN01:~ # net join CAS.SCH.UK -U administrator
administrator's password:
[2005/11/30 07:39:20, 0] libads/kerberos.c:ads_kinit_password(146)
kerberos_kinit_password administrator@CAS.SCH.UK failed: Cannot resolve network address for KDC in requested realm
[2005/11/30 07:39:20, 0] utils/net_ads.c:ads_startup(191)
ads_connect: Cannot resolve network address for KDC in requested realm
Joined domain CAS.
hhhmmmm thats different...
Thanks for any help...
Last edited by AnRkey; 12-01-2005 at 02:52 AM.
|
|
|
11-30-2005, 08:17 PM
|
#13
|
LQ Newbie
Registered: Nov 2005
Posts: 5
Rep:
|
i guess congratulations. You were able to join CAS domain.
Yevgeniy Kelman
|
|
|
12-01-2005, 02:51 AM
|
#14
|
Member
Registered: Dec 2004
Location: UK
Distribution: Ubuntu, Fedora and not for long, M$ SuSE
Posts: 59
Original Poster
Rep:
|
Quote:
Originally posted by AnRkey
What I describe in post 3 >> http://www.linuxquestions.org/questi...33#post1956633 was done as root. Just for good measure though i have done it again and here is what I got...
CASLIN01:~ # net join CAS.SCH.UK -U administrator
administrator's password:
[2005/11/30 07:39:20, 0] libads/kerberos.c:ads_kinit_password(146)
kerberos_kinit_password administrator@CAS.SCH.UK failed: Cannot resolve network address for KDC in requested realm
[2005/11/30 07:39:20, 0] utils/net_ads.c:ads_startup(191)
ads_connect: Cannot resolve network address for KDC in requested realm
Joined domain CAS.
hhhmmmm thats different...
Thanks for any help...
|
I am concerned about the error though. I was looking through the permissions for the share that I am trying to create and I can't see any accounts from the AD. How would I see these accounts and groups to give them permissions over this folder? I am using webmin to set things like the shares up. All I can see is an option to sync my SMB accounts with the unix accounts.
Any help is always appreciated.
Thanks again...
|
|
|
12-01-2005, 10:47 PM
|
#15
|
LQ Newbie
Registered: Nov 2005
Posts: 5
Rep:
|
Is it Linux or Windows share?
|
|
|
All times are GMT -5. The time now is 10:20 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
|
|