Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-15-2010, 02:07 AM
Active Member
 
Posts: 31
Default join ubuntu client to zimbra + samba

Hi,

Would anyone have an idea how to join a linux machine (ubuntu 9.04) to a domain in samba? Have been able to join windows XP machines to the domain but am having trouble joining a linux client machine. when i do
"net rpc join -U root%xxxxxx"
it shows i have successfully joined the domain even when i test the connection

root@openit-9:~# net rpc testjoin
Join to 'DOMAIN' is OK

but when i try to log in, am not able.
Am using CentOS 5.3, zimbra 5.0.21 and samba 3.0.33

Have setup the clent machine like this:-

workgroup = domain
security = domain
password server = 192.168.1.25
passdb backend = ldapsam:ldap://192.168.1.25/
encrypt passwords = yes

Dont know where am going wrong.

Regards
Reply With Quote
  #2 (permalink)  
Old 03-15-2010, 02:18 AM
Trained Alumni
 
Posts: 336
Default

what are you trying to do? login to your ubuntu machine using a zimbra account, or join a samba share using account?

for the first, you need to configure PAM on your ubuntu client.

for the second, there's no need to join the domain, AFAIK.
__________________
YetOpen S.r.l. ~ Your open source partner
Lecco (LC) - ITALY
http://www.yetopen.it
Reply With Quote
  #3 (permalink)  
Old 03-15-2010, 02:56 AM
Active Member
 
Posts: 31
Default

yes, am trying to log into my ubuntu workstation using a zimbra account.

have already worked on the pam.d files "common-account common-auth
common-password common-session"

wat do you mean there is no need to join the domain?

Or am i missing something?
Reply With Quote
  #4 (permalink)  
Old 03-15-2010, 03:00 AM
Trained Alumni
 
Posts: 336
Default

You should follow basically the instructions at this section:

UNIX and Windows Accounts in Zimbra LDAP and Zimbra Admin UI 6.0 - Zimbra :: Wiki


except one point, in ubuntu the four files are
Code:
/etc/pam_ldap.conf
/etc/pam_ldap.secret
/etc/libnss-ldap.conf
/etc/libnss-ldap.secret
restart nscd or your client after that, and see if works
__________________
YetOpen S.r.l. ~ Your open source partner
Lecco (LC) - ITALY
http://www.yetopen.it
Reply With Quote
  #5 (permalink)  
Old 03-15-2010, 11:46 PM
Active Member
 
Posts: 31
Default

hi,

I have installed libnss-ldap adn libpam-ldap but all i get is /etc/ldap.conf and /etc/ldap/ldap.conf. none of the above come up. after their installation and pointing them to the server, when i type getent passwd i still get the users in the workstation not the ones in the zimbra server. even though am able to realize that the workstation is reading from the server only that the ldap database doesnt come up.
but wen i do wbinfo -g, it list the groups i have created on the server but if i do wbinfo -u, it just just the root user..what would i be missing since i think the worksation is reading from the server but not the required information?
Reply With Quote
  #6 (permalink)  
Old 03-16-2010, 01:51 AM
Active Member
 
Posts: 34
Default

Can I ask one qestion to you?I installed zimbra on Centos,and I try to join win xp to samba domain.Firstly,I just configure smb.conf and ldap.conf,After that I run authconfig.I just install nss_ldap rpm.Do I need to do anything to join win xp to samba domain?

In addition to this,I couldn't see common-account,common-password,common-session,and common-auth files in pam.d folder.I think that I don't need these files,but I am not sure.

Can you help me,
thank you
Reply With Quote
  #7 (permalink)  
Old 03-16-2010, 02:02 AM
Active Member
 
Posts: 31
Default

you need to follow this guide carefully "http://wiki.zimbra.com/index.php?title=UNIX_and_Windows_Accounts_in_Zimbr a_LDAP_and_Zimbra_Admin_UI" if you are using zimbra 5.

Once you install nss_ldap, you dont have to touch pam.d folder. In CentOS the authconfig command configures the files in pam.d folder.

to ensure that all is working, just check using getent passwd.
Reply With Quote
  #8 (permalink)  
Old 03-16-2010, 05:08 AM
Active Member
 
Posts: 34
Default

I use zimbra 6,so I follow this guide UNIX and Windows Accounts in Zimbra LDAP and Zimbra Admin UI 6.0 - Zimbra :: Wiki

When I write getent passwd on root ,I couldn't see accounts on zimbra admin ui.But I write su - account,and then getent passwd I see accounts on zimbra.I mean that getent passwd doesn't work on root account.But,it works on account created on zimbra admin UI.
This is my terminal If I write;

root@newyork ~]# su - berk
-sh-3.2$ getent passwd
At that time getent passwd works.(Berk is an account created on zimbra admin UI)
Reply With Quote
  #9 (permalink)  
Old 03-16-2010, 05:24 AM
Trained Alumni
 
Posts: 336
Default

Quote:
Originally Posted by esra View Post
At that time getent passwd works.(Berk is an account created on zimbra admin UI)
did you restart nscd?
try restarting the server, if possible
__________________
YetOpen S.r.l. ~ Your open source partner
Lecco (LC) - ITALY
http://www.yetopen.it
Reply With Quote
  #10 (permalink)  
Old 03-16-2010, 06:11 AM
Active Member
 
Posts: 34
Default

I restarted the server,but the situation doesn't change.I couldn't see acounts created on zimbra admin UI,but I see the xp machine account joined the domain when I write getent passwd on root terminal.I just only see accounts created on zimbra admin UI when I change su - account created on zimbra admin UI.

In addition to this,the profile belonging to xp machine lost when I log off and log on again.Have you had any idea about that?

Thanx
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.