Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: join ubuntu client to zimbra + samba

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Location
    kenya
    Posts
    31
    Rep Power
    6

    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

  2. #2
    Join Date
    Feb 2009
    Location
    Lecco, Italy
    Posts
    554
    Rep Power
    7

    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

  3. #3
    Join Date
    Sep 2009
    Location
    kenya
    Posts
    31
    Rep Power
    6

    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?

  4. #4
    Join Date
    Feb 2009
    Location
    Lecco, Italy
    Posts
    554
    Rep Power
    7

    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

  5. #5
    Join Date
    Sep 2009
    Location
    kenya
    Posts
    31
    Rep Power
    6

    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?

  6. #6
    Join Date
    Feb 2010
    Posts
    34
    Rep Power
    5

    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

  7. #7
    Join Date
    Sep 2009
    Location
    kenya
    Posts
    31
    Rep Power
    6

    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.

  8. #8
    Join Date
    Feb 2010
    Posts
    34
    Rep Power
    5

    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)

  9. #9
    Join Date
    Feb 2009
    Location
    Lecco, Italy
    Posts
    554
    Rep Power
    7

    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

  10. #10
    Join Date
    Feb 2010
    Posts
    34
    Rep Power
    5

    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

Similar Threads

  1. /tmp filling
    By Nutz in forum Administrators
    Replies: 8
    Last Post: 02-22-2008, 01:00 AM
  2. zmperditionctl start asking for password
    By k7sle in forum Administrators
    Replies: 32
    Last Post: 02-20-2008, 10:13 AM
  3. dspam logrotate errors
    By michaeln in forum Users
    Replies: 7
    Last Post: 02-19-2007, 11:45 AM
  4. Unable to start tomcat
    By chanck in forum Administrators
    Replies: 11
    Last Post: 06-11-2006, 12:58 AM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 06:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •