| 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.
|  | | 
03-15-2010, 02:07 AM
| | | 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 | 
03-15-2010, 02:18 AM
| | Trained Alumni | |
Posts: 336
| | 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. | 
03-15-2010, 02:56 AM
| | | 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? | 
03-15-2010, 11:46 PM
| | | 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? | 
03-16-2010, 01:51 AM
| | | 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 | 
03-16-2010, 02:02 AM
| | | 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. | 
03-16-2010, 05:08 AM
| | | 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) | 
03-16-2010, 05:24 AM
| | Trained Alumni | |
Posts: 336
| | Quote:
Originally Posted by esra 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 | 
03-16-2010, 06:11 AM
| | | 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 | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |