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
  #11 (permalink)  
Old 03-11-2010, 03:00 PM
Moderator
 
Posts: 1,147
Default

If you look at the wiki section that I linked, does it look like those steps have been followed on your system? Meaning do those extra .schema files exist as well as the slapd.conf.in modifications?
Reply With Quote
  #12 (permalink)  
Old 03-11-2010, 03:18 PM
Member
 
Posts: 13
Default

samba.schema was not present and neither lines were in slapd.conf.in. What's more, slapd.conf.in was obviously changed when I upgraded, from the time stamp.

I have made the changes but am still reading .....
Reply With Quote
  #13 (permalink)  
Old 03-11-2010, 03:25 PM
Member
 
Posts: 13
Default

OK, after the schema files were copied in and slapd.conf.in was updated, the user side of Zimbra seems to be working perfectly. Thank you!!!

Also, I can now get into the admin screen. I'm back to the very original problem.

When I try to add an account, I get the following error.

Code:
Message: invalid request: createAccount invalid schema change: [LDAP: error code 65 - object class 'posixAccount' requires attribute 'uidNumber'] Error code: service.INVALID_REQUEST Method: CreateAccountRequest Details:soap:Sender


I don't see anything relevant in the log files you mentioned:

/var/log/zimbra.log
/opt/zimbra/mailbox.log
/opt/zimbra/audit.log

Last edited by TomB17; 03-11-2010 at 03:32 PM..
Reply With Quote
  #14 (permalink)  
Old 03-11-2010, 03:39 PM
Member
 
Posts: 13
Default

I apologize for making so many posts.

I did some testing and found a relevant entry in /opt/zimbra/log/mailbox.log after a failed mailbox add.

Code:
Mar 11 16:37:12 zion slapd[15959]: Entry (uid=johnny,ou=people,dc=liveglobalbid,dc=com): object class 'posixAccount' requires attribute 'uidNumber'
        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3048)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2963)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2769)
        at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:784)
        at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:319)
        at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:248)
        at javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.java:183)
        at com.zimbra.cs.account.ldap.ZimbraLdapContext.createEntry(ZimbraLdapContext.java:598)
        ... 33 more
Reply With Quote
  #15 (permalink)  
Old 03-11-2010, 03:44 PM
Moderator
 
Posts: 1,147
Default

Ok a couple of questions here:
Do you know why the previous admin had even started to setup posix/samba attributes on the accounts? Do you have another server that might be using it as an authentication source? Does it have Samba installed, or another server have it?

If no to those questions... do you actually want this installed on here? There is no benefit to having it installed if you are not going to use the functionality of it (no real harm though other then a bit of extra time spent on upgrades for the 5.0.x branch).

Before you go much further you should ask yourself this, and then we can either work to get that integration working properly, or remove it so it will no longer cause errors.
Reply With Quote
  #16 (permalink)  
Old 03-11-2010, 03:54 PM
Member
 
Posts: 13
Default

I don't know why the previous admin installed posix/samba. We have two systems but the second is simply an rsync'd copy of the first. I don't believe they are a cluster but I'm somewhat new to Zimbra so I might be missing something.

Samba is installed on both systems but is not running on either.

I would like to simplify the configuration, if possible.

I really appreciate your time and expertise. Thank you.
Reply With Quote
  #17 (permalink)  
Old 03-11-2010, 03:58 PM
Member
 
Posts: 13
Default

... I just found out, the second mail server is a test system. No cluster.
Reply With Quote
  #18 (permalink)  
Old 03-11-2010, 04:05 PM
Moderator
 
Posts: 1,147
Default

Well if you aren't using the samba/posix stuff for anything, then you probably want to remove it.

Try running these commands as the zimbra user and see if you get any errors, if not, see if it got rid of the other errors you are getting about posix attributes:
Code:
zmprov mcf -zimbraAccountExtraObjectClass posixAccount 
zmprov mcf -zimbraAccountExtraObjectClass sambaSamAccount
You might also have to do some removal of the samba/posix specific attributes.
Reply With Quote
  #19 (permalink)  
Old 03-11-2010, 04:11 PM
Member
 
Posts: 13
Thumbs up

Everything is now working. I can add new accounts.

Thank you very much. This is a huge gain.

I will now set about reading everything I can so I'm less helpless in the future.

I really appreciate the help.
Reply With Quote
  #20 (permalink)  
Old 03-11-2010, 04:15 PM
Moderator
 
Posts: 1,147
Default

Glad it was that simple

You might want to try removing the
Code:
include "/opt/zimbra/openldap/etc/openldap/schema/nis.schema"
include "/opt/zimbra/openldap/etc/openldap/schema/samba.schema"
lines, as well as the index and other related lines. Restart Zimbra and see if you get any errors.

Also don't forget to remove those admin extensions if you installed them.
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.