Results 1 to 1 of 1

Thread: Samba and POSIX undeploy problem

  1. #1
    Join Date
    Sep 2008
    Posts
    71
    Rep Power
    7

    Default Samba and POSIX undeploy problem

    Hi, I tested the Samba and POSIX Zimlet on our ZCS 5.0.16 GA 2921.

    After some time everything was working fine - except I wanted to go back and do the integration later.

    After doing an undeploy of both zimlets, I was not able to add anymore new users. Although I removed everything by now and tried both methods (admin UI and CLI to remove the zimlets) I still get an error when adding users:

    Code:
    zimbra@mail1:~> zmprov createAccount test2@domain.com test
    ERROR: account.INVALID_ATTR_VALUE (createAccount invalid attr value: [LDAP: error code 21 - objectClass: value #3 invalid per syntax])
    As I noticed earlier, the system still tries to write the basic samba and posix objectclasses although uninstall should have been successful...!?

    Some parts of the mailbox.log:

    Code:
    2009-09-02 12:18:53,108 INFO  [Thread-553] [] zimlet - Deploying Zimlet zimbra_posixaccount in LDAP.
    2009-09-02 12:18:53,209 INFO  [Thread-553] [] zimlet - Installing Zimlet zimbra_posixaccount on this host.
    2009-09-02 12:18:53,361 INFO  [Thread-553] [] zimlet - Installing Zimlet config for zimbra_posixaccount
    2009-09-02 12:18:53,452 INFO  [Thread-553] [] zimlet - Enabling Zimlet zimbra_posixaccount
    2009-09-02 12:21:57,087 INFO  [Thread-681] [] zimlet - Uninstalling Zimlet zimbra_posixaccount from LDAP.
    2009-09-02 12:21:57,140 INFO  [Thread-681] [] zimlet - Removing Zimlet zimbra_posixaccount from COS default
    com.zimbra.common.service.ServiceException: invalid request: createAccount invalid schema change: [LDAP: error code 65 - object class 'posixAccount' requires attribute 'uidNumber']
    Caused by: javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - object class 'posixAccount' requires attribute 'uidNumber']; remaining name 'uid=test,ou=people,dc=domain,dc=com'
    com.zimbra.common.service.ServiceException: invalid request: createAccount invalid schema change: [LDAP: error code 65 - object class 'posixAccount' requires attribute 'uidNumber']
    Caused by: javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - object class 'posixAccount' requires attribute 'uidNumber']; remaining name 'uid=test,ou=people,dc=domain,dc=com'
    com.zimbra.common.service.ServiceException: invalid request: createAccount invalid schema change: [LDAP: error code 65 - object class 'posixAccount' requires attribute 'uidNumber']
    Caused by: javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - object class 'posixAccount' requires attribute 'uidNumber']; remaining name 'uid=test,ou=people,dc=domain,dc=com'
    com.zimbra.common.service.ServiceException: invalid request: createAccount invalid schema change: [LDAP: error code 65 - object class 'posixAccount' requires attribute 'gidNumber']
    Caused by: javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - object class 'posixAccount' requires attribute 'gidNumber']; remaining name 'uid=test,ou=people,dc=domain,dc=com'
    com.zimbra.common.service.ServiceException: invalid request: createAccount invalid schema change: [LDAP: error code 65 - object class 'posixAccount' requires attribute 'homeDirectory']
    Caused by: javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - object class 'posixAccount' requires attribute 'homeDirectory']; remaining name 'uid=test,ou=people,dc=domain,dc=com'
    2009-09-02 16:27:25,470 INFO  [Thread-5560] [] zimlet - Uninstalling Zimlet zimbra_posix from LDAP.
    2009-09-02 16:27:25,515 INFO  [Thread-5560] [] zimlet - Removing Zimlet zimbra_posix from COS default
    2009-09-02 16:27:25,612 INFO  [Thread-5560] [] zimlet - error loading zimlet zimbra_posix
    com.zimbra.cs.account.AccountServiceException: no such zimlet: zimbra_posix
    2009-09-02 19:23:12,591 INFO  [btpool0-54] [ip=192.168.100.120;ua=Jakarta Commons-HttpClient/3.0;] mailbox - FileUploadServlet received Upload: { accountId=e0fafd89-1360-11d9-8661-000a95d98ef2, time=Wed Sep 02 19:23:12 CEST 2009, uploadId=7fdb8f47-824e-40df-8d74-24a67b646d36:f70ae342-4c40-4044-8d0a-09d5fcb7f8c2, zimbra_posixaccount.zip}
    2009-09-02 19:23:12,661 INFO  [Thread-1208] [] zimlet - Deploying Zimlet zimbra_posixaccount in LDAP.
    2009-09-02 19:23:12,776 INFO  [Thread-1208] [] zimlet - Installing Zimlet zimbra_posixaccount on this host.
    2009-09-02 19:23:12,945 INFO  [Thread-1208] [] zimlet - Installing Zimlet config for zimbra_posixaccount
    2009-09-02 19:23:13,231 INFO  [Thread-1208] [] zimlet - Enabling Zimlet zimbra_posixaccount
    2009-09-02 19:23:51,074 INFO  [Thread-1301] [] zimlet - Uninstalling Zimlet zimbra_posixaccount from LDAP.
    2009-09-02 19:23:51,116 INFO  [Thread-1301] [] zimlet - Removing Zimlet zimbra_posixaccount from COS default
    Code:
    2009-09-02 12:18:37,658 INFO  [Thread-534] [] zimlet - Deploying Zimlet zimbra_samba in LDAP.
    2009-09-02 12:18:37,773 INFO  [Thread-534] [] zimlet - Installing Zimlet zimbra_samba on this host.
    2009-09-02 12:18:37,956 INFO  [Thread-534] [] zimlet - Installing Zimlet config for zimbra_samba
    2009-09-02 12:18:38,089 INFO  [Thread-534] [] zimlet - Enabling Zimlet zimbra_samba
    2009-09-02 12:22:13,092 INFO  [Thread-689] [] zimlet - Uninstalling Zimlet zimbra_samba from LDAP.
    2009-09-02 12:22:13,140 INFO  [Thread-689] [] zimlet - Removing Zimlet zimbra_samba from COS default
    2009-09-02 12:24:41,627 INFO  [Shutdown] [] extensions - Destroyed extension zimbrasamba: com.zimbra.ldaputils.ZimbraLDAPUtilsExtension@com.zimbra.cs.extension.ZimbraExtensionClassLoader@4d5fc672
    2009-09-02 12:26:19,594 INFO  [main] [] extensions - Initialized extension zimbrasamba: com.zimbra.ldaputils.ZimbraLDAPUtilsExtension@com.zimbra.cs.extension.ZimbraExtensionClassLoader@6e3e5a91
    com.zimbra.common.service.ServiceException: invalid request: createAccount invalid schema change: [LDAP: error code 65 - object class 'sambaSamAccount' requires attribute 'sambaSID']
    Caused by: javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - object class 'sambaSamAccount' requires attribute 'sambaSID']; remaining name 'uid=test,ou=people,dc=domain,dc=com'
    2009-09-02 16:21:16,114 WARN  [btpool0-217] [name=zimbra;ip=127.0.0.1;] misc - checkValue: no attribute info for: sambaSID
    2009-09-02 16:27:33,488 INFO  [Thread-5566] [] zimlet - Uninstalling Zimlet zimbra_samba from LDAP.
    2009-09-02 16:27:33,545 INFO  [Thread-5566] [] zimlet - Removing Zimlet zimbra_samba from COS default
    2009-09-02 16:27:33,636 INFO  [Thread-5566] [] zimlet - error loading zimlet zimbra_samba
    com.zimbra.cs.account.AccountServiceException: no such zimlet: zimbra_samba
    2009-09-02 16:43:56,613 INFO  [Shutdown] [] extensions - Destroyed extension zimbrasamba: com.zimbra.ldaputils.ZimbraLDAPUtilsExtension@com.zimbra.cs.extension.ZimbraExtensionClassLoader@6e3e5a91
    2009-09-02 16:45:23,837 INFO  [main] [] extensions - Initialized extension zimbrasamba: com.zimbra.ldaputils.ZimbraLDAPUtilsExtension@com.zimbra.cs.extension.ZimbraExtensionClassLoader@17991de1
    2009-09-02 18:11:38,585 INFO  [Shutdown] [] extensions - Destroyed extension zimbrasamba: com.zimbra.ldaputils.ZimbraLDAPUtilsExtension@com.zimbra.cs.extension.ZimbraExtensionClassLoader@17991de1
    2009-09-02 18:13:08,816 INFO  [main] [] extensions - Initialized extension zimbrasamba: com.zimbra.ldaputils.ZimbraLDAPUtilsExtension@com.zimbra.cs.extension.ZimbraExtensionClassLoader@14d964af
    2009-09-02 18:15:15,990 INFO  [Shutdown] [] extensions - Destroyed extension zimbrasamba: com.zimbra.ldaputils.ZimbraLDAPUtilsExtension@com.zimbra.cs.extension.ZimbraExtensionClassLoader@14d964af
    2009-09-02 18:16:57,954 INFO  [main] [] extensions - Initialized extension zimbrasamba: com.zimbra.ldaputils.ZimbraLDAPUtilsExtension@com.zimbra.cs.extension.ZimbraExtensionClassLoader@3cee6ad6
    2009-09-02 18:19:52,381 WARN  [btpool0-12] [name=zimbra;ip=127.0.0.1;] misc - checkValue: no attribute info for: sambaSID
    2009-09-02 19:23:27,388 INFO  [btpool0-54] [ip=192.168.100.120;ua=Jakarta Commons-HttpClient/3.0;] mailbox - FileUploadServlet received Upload: { accountId=e0fafd89-1360-11d9-8661-000a95d98ef2, time=Wed Sep 02 19:23:27 CEST 2009, uploadId=7fdb8f47-824e-40df-8d74-24a67b646d36:7ef615fd-bcd8-43cd-b491-7eb9b2e7a5dc, zimbra_samba.zip}
    2009-09-02 19:23:27,457 INFO  [Thread-1223] [] zimlet - Deploying Zimlet zimbra_samba in LDAP.
    2009-09-02 19:23:27,556 INFO  [Thread-1223] [] zimlet - Installing Zimlet zimbra_samba on this host.
    2009-09-02 19:23:27,716 INFO  [Thread-1223] [] zimlet - Installing Zimlet config for zimbra_samba
    2009-09-02 19:23:27,818 INFO  [Thread-1223] [] zimlet - Enabling Zimlet zimbra_samba
    2009-09-02 19:23:55,953 INFO  [Thread-1308] [] zimlet - Uninstalling Zimlet zimbra_samba from LDAP.
    2009-09-02 19:23:55,999 INFO  [Thread-1308] [] zimlet - Removing Zimlet zimbra_samba from COS default
    2009-09-02 19:36:22,133 INFO  [Shutdown] [] extensions - Destroyed extension zimbrasamba: com.zimbra.ldaputils.ZimbraLDAPUtilsExtension@com.zimbra.cs.extension.ZimbraExtensionClassLoader@3cee6ad6
    2009-09-02 19:38:19,927 INFO  [main] [] extensions - Initialized extension zimbrasamba: com.zimbra.ldaputils.ZimbraLDAPUtilsExtension@com.zimbra.cs.extension.ZimbraExtensionClassLoader@14d964af
    2009-09-02 19:38:58,511 INFO  [btpool0-13] [ip=192.168.100.120;ua=Jakarta Commons-HttpClient/3.0;] mailbox - FileUploadServlet received Upload: { accountId=e0fafd89-1360-11d9-8661-000a95d98ef2, time=Wed Sep 02 19:38:58 CEST 2009, uploadId=7fdb8f47-824e-40df-8d74-24a67b646d36:2317e5e6-dda0-4f6f-9196-4ab091675f01, zimbra_samba.zip}
    2009-09-02 19:38:58,631 INFO  [Thread-96] [] zimlet - Deploying Zimlet zimbra_samba in LDAP.
    2009-09-02 19:38:58,766 INFO  [Thread-96] [] zimlet - Installing Zimlet zimbra_samba on this host.
    2009-09-02 19:38:58,942 INFO  [Thread-96] [] zimlet - Installing Zimlet config for zimbra_samba
    2009-09-02 19:38:59,165 INFO  [Thread-96] [] zimlet - Enabling Zimlet zimbra_samba
    2009-09-02 19:40:57,825 INFO  [Thread-128] [] zimlet - Uninstalling Zimlet /opt/zimbra/zimlets-admin-extra/zimbra_samba.zip from LDAP.
    2009-09-02 19:40:57,877 INFO  [Thread-128] [] zimlet - Removing Zimlet /opt/zimbra/zimlets-admin-extra/zimbra_samba.zip from COS default
    2009-09-02 19:40:57,974 INFO  [Thread-128] [] zimlet - error loading zimlet /opt/zimbra/zimlets-admin-extra/zimbra_samba.zip
    com.zimbra.cs.account.AccountServiceException: no such zimlet: /opt/zimbra/zimlets-admin-extra/zimbra_samba.zip
    Please help!


    Help was given here:
    http://www.zimbra.com/forums/adminis...html#post77451
    Last edited by catnipper; 09-18-2009 at 08:03 AM. Reason: Solved

Similar Threads

  1. samba / posix zimlet home directory creation
    By weigenmann in forum Administrators
    Replies: 11
    Last Post: 07-11-2010, 07:12 PM
  2. Problem with groups in ZIMBRA + SAMBA
    By felich in forum Installation
    Replies: 0
    Last Post: 12-17-2008, 11:18 PM
  3. Zimbra + LDAP + Posix + Samba
    By fruitlounge in forum Administrators
    Replies: 24
    Last Post: 06-30-2008, 09:55 PM
  4. samba ldap pam.d problem
    By doug2168 in forum Installation
    Replies: 7
    Last Post: 01-21-2008, 07:00 PM
  5. Samba Posix account configuration problem
    By audi in forum Administrators
    Replies: 4
    Last Post: 08-16-2007, 12:22 AM

Posting Permissions

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