Linux - Server This 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.
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.
|
|
07-11-2012, 10:20 AM
|
#1
|
LQ Newbie
Registered: Jul 2012
Posts: 13
Rep:
|
joining samba3 to samba4 pdc
Hi!
I have a pdc with samba4(resara) and ubuntu printserver (samba3) separately.What are the commands and configurations i should do to join samba3 to samba4. I would like to make the printer available to the samba4 pdc clients by doing that. Plz help me out asap!
|
|
|
07-13-2012, 07:16 PM
|
#2
|
Member
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909
Rep:
|
net rpc join?
|
|
|
07-14-2012, 09:19 PM
|
#3
|
LQ Newbie
Registered: Jul 2012
Posts: 13
Original Poster
Rep:
|
Ok! thanks for the reply!
This is what i have done so far apart from resara domaincontroller...
1.installed ubuntu print server
2. apt-get install samba smb-client
3. edited smb.conf (changes below)
a. workgroup name= domain name
b. security = domain
c. password server = domain name
4. made dns changes to resolve my domain to resolve mydomain name from printserver
5. sudo net rpc join -S mydomain -UAdministrator%pass
i get error "get_schannel_session_key: could not fetch trust account password for domain 'abc'
net_rpc_join_ok: failed to get schannel session key from server abc.xyz.com for domain abc. Error was NT_STATUS_CANT_ACCESS_DOMAIN_INFO
Unable to join domain abc."
Do i have to do provision of samba after installing ? Do i have to change anything else in smb.conf?
|
|
|
07-15-2012, 10:16 AM
|
#4
|
Member
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909
Rep:
|
Have you tried kinit first (obviously you have to change your krb5.conf).
Also, as samba4 is supposed to be a fully blown AD Server- maybe security=ads and net ads join might work.
|
|
|
07-15-2012, 01:30 PM
|
#5
|
LQ Newbie
Registered: Jul 2012
Posts: 13
Original Poster
Rep:
|
i have been able to join after changing workgroup name = abc instead of fqdn(abc.xyz.com) in samba3 smb.conf.
But the shared printer under samba3 is not showing under the samba 4 domain from windows client. Still I could access the printer by directly specifying the printer server IP. What could be wrong ?
|
|
|
07-15-2012, 02:49 PM
|
#6
|
Member
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909
Rep:
|
It shows netbios problem somewhere. What are the results of net view and nbtstat from your Windows computers?
|
|
|
07-16-2012, 10:56 PM
|
#7
|
LQ Newbie
Registered: Jul 2012
Posts: 13
Original Poster
Rep:
|
Thanks for your replies!I really appreciate that!
It might be a netbios problem! I haven't got a chance to post answer for nbstat and netview as i already started implementing ads join as you suggested. But, i haven't enabled wins support in samba 3 at all. I thought as the printer is accessible directly when i type samba3 ip; wins support is not necessary in samba 3. Am i right ?
Last edited by swagcute; 07-16-2012 at 10:57 PM.
|
|
|
07-17-2012, 05:35 PM
|
#8
|
Member
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909
Rep:
|
No, wins support is not necessary- if you only want to type the samba3 server's ip address. It should work without any problem. What error are you getting?
|
|
|
07-17-2012, 06:44 PM
|
#9
|
LQ Newbie
Registered: Jul 2012
Posts: 13
Original Poster
Rep:
|
Sorry ! Hope you misunderstood.
My samaba 3 printserver address - 192.168.1.50
domain samba4 - 192.168.1.3
What I was trying to say was, i could access the shared printer in samba3 from a windows pc by directly specifying the Ip 192.168.1.50. But it's not showing as a shared printer under the domain 192.168.1.3. I expect the printer to be listed under the domain as i joined samba 3 to domain with "net rpc join".
By the way, all i want to do is automate printer installation and mapping to all the domain users with cups when they login to domain. Do you think its possible ? Or is there any other simple way ?
|
|
|
07-18-2012, 05:08 PM
|
#10
|
Member
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909
Rep:
|
So, you do need a wins server somewhere then. These are the things to check- is the computer browser service running on the PDC? What does nbtstat and net view return - by name and by IP address for your samba server? What does net dns register return?
|
|
|
07-26-2012, 11:46 AM
|
#11
|
LQ Newbie
Registered: Jul 2012
Posts: 13
Original Poster
Rep:
|
Hi!
Thanks for your replies so far! I have managed to add printserver to samba 4 and been able to push drivers when pointed at the shared printers. But the printer being added with linuk .ppd drivers doesn't offer all the features as same as the printer added with windows driver. For instance duplex printing is not available. So is there any guides to push windows printer driver installation from samba3 ?
|
|
|
07-27-2012, 10:07 AM
|
#12
|
Member
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909
Rep:
|
|
|
|
07-27-2012, 11:15 AM
|
#13
|
LQ Newbie
Registered: Jul 2012
Posts: 13
Original Poster
Rep:
|
Ok! That was the second main document i used along with http://www.ossramblings.com/samba_push_windows_drivers to push linux drivers. But since it is pushing postscript drivers(ppd) file which doesn't offer all the features of a windows driver i should switch to another solution.
What difference would use client driver = yes or no make ? i'm using yes at the moment...
I guess i should do something with .inf files along with wpkg but haven't got clear idea so far.
|
|
|
08-03-2012, 09:15 PM
|
#14
|
LQ Newbie
Registered: Jul 2012
Posts: 13
Original Poster
Rep:
|
Ok. I have used the change driver method to upload windows driver.
Finally got everything to work as intended
|
|
|
All times are GMT -5. The time now is 12:30 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
|
|