Results 1 to 3 of 3

Thread: Cannot remove posixAccount and sambaSamAccount

  1. #1
    Join Date
    Feb 2009
    Posts
    128
    Rep Power
    6

    Default Cannot remove posixAccount and sambaSamAccount

    I previously installed and then removed the Zimbra Samba Admin Connector.

    Although, I have these two attributes for just one user that I cant remove:

    • posixAccount
    • sambaSamAccount


    These attributes lead me to this error while editing the user:
    request: LDAP schema violation: [LDAP: error code 65 - unrecognized objectClass 'posixAccount'


    I've tried these commands:

    zimbra@intranet:~$ zmprov mcf -zimbraAccountExtraObjectClass posixAccount
    zimbra@intranet:~$ zmprov mcf -zimbraAccountExtraObjectClass sambaSamAccount
    zimbra@intranet:~$
    Although they don't seem to be removed!

    What can I do?

  2. #2
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,285
    Rep Power
    10

    Default

    dump the ldap database to LDIF, manually fix the entries that have those objectClasses to remove them, and reload the LDIF. Or, restore the schema files, and remove them via ldap commands.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  3. #3
    Join Date
    Feb 2009
    Posts
    128
    Rep Power
    6

    Default

    Quote Originally Posted by quanah View Post
    dump the ldap database to LDIF, manually fix the entries that have those objectClasses to remove them, and reload the LDIF. Or, restore the schema files, and remove them via ldap commands.
    Hello quanah,

    Why the command is not working?
    How do I do that?

Similar Threads

  1. Samba and POSIX undeploy problem
    By catnipper in forum Zimlets
    Replies: 0
    Last Post: 09-02-2009, 11:51 AM
  2. sambaSamAccount problem/bug ?
    By zydoon in forum Administrators
    Replies: 0
    Last Post: 04-02-2008, 01:51 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
  •