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 Display Modes
  #1 (permalink)  
Old 11-19-2009, 06:38 AM
Active Member
 
Posts: 26
Default [SOLVED] Zimbra Migration Issues

Hi all,

I did a zimbra ver 5.0.19 from a CentOS 5.3 to the same environment. I had incorporated samba as a domain controller. The migration worked well since all the users data was intact just that the users cant login into the domain. The error displayed is
"[2009/11/19 15:46:21, 0] passdb/pdb_get_set.cdb_get_group_sid(211)
pdb_get_group_sid: Failed to find Unix account for kevin
[2009/11/19 15:46:21, 1] auth/auth_util.c:make_server_info_sam(589)
User kevin in passdb, but getpwnam() fails!
[2009/11/19 15:46:21, 0] auth/auth_sam.c:check_sam_security(353)
check_sam_security: make_server_info_sam() failed with 'NT_STATUS_NO_SUCH_USER"

whereas the user is there. I think i have discovered the error which could be that in the posix tab, where the details of the user are /home/kevin and the bash terminal "/bin/bash", the combo boxes aint there hence its like the fields cant be changed hence from the error am guessing that the user has no account in the unix machine through the /bin/bash protocol...thats wat am thinkng but please HELP!!!

Any help will be highly appreciated
Reply With Quote
  #2 (permalink)  
Old 11-19-2009, 11:19 AM
Moderator
 
Posts: 1,079
Default

So this was a 5.0.19 on CentOS 5.3 to 5.0.19 on CentOS 5.3 migration?

How did you perform this migration?
Reply With Quote
  #3 (permalink)  
Old 11-19-2009, 12:41 PM
Moderator
 
Posts: 640
Default

Yes, please be specific about how you migrated Samba.

Thanks,
Mark
__________________
___________________________________
L. Mark Stone, CIO


"Uptime. All the time."

477 Congress Street | Portland, ME 04101-3431 | (207) 772-5678

proactive maintenance and monitoring | technology consulting
Zimbra groupware | EMR implementations | data storage
Reply With Quote
  #4 (permalink)  
Old 11-19-2009, 09:50 PM
Active Member
 
Posts: 26
Default

I followed this link [SOLVED] Zimbra Migration Strategy thanks to Sir Bob.

then i copied the /etc/samba folder to the new server with all *.tdb files.
then edited /etc/ldap.conf to the required settings then imported samba and nis schema
chown -R zimbra:zimbra /opt/zimbra
/opt/zimbra/libexec/zmfixperms

import posix amd samba
cp /usr/share/doc/samba-3.0.28/LDAP/samba.schema /opt/zimbra/openldap/etc/openldap/schema/
add nis.schema and samba.schema to /opt/zimbra/conf/slapd.conf.in

include "/opt/zimbra/openldap/etc/openldap/schema/nis.schema"
include "/opt/zimbra/openldap/etc/openldap/schema/samba.schema"

#indexes for PAM
index uidNumber eq
index gidNumber eq
index memberUID eq

#indexes for Samba
index sambaSID eq
index sambaPrimaryGroupSID eq
index sambaDomainName eq

then restart zimbra
Reply With Quote
  #5 (permalink)  
Old 11-20-2009, 06:02 AM
Moderator
 
Posts: 640
Default

Glad you are all set then; marking this thread as solved.

All the best,
Mark
__________________
___________________________________
L. Mark Stone, CIO


"Uptime. All the time."

477 Congress Street | Portland, ME 04101-3431 | (207) 772-5678

proactive maintenance and monitoring | technology consulting
Zimbra groupware | EMR implementations | data storage
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com