Results 1 to 6 of 6

Thread: warning failed create ou=groups and ou=machines...

  1. #1
    Join Date
    Jan 2009
    Posts
    65
    Rep Power
    6

    Default warning failed create ou=groups and ou=machines...

    Hi,

    I am having issues with the samba integration portion found in the article named UNIX and Windows Accounts in Zimbra LDAP and Zimbra Admin UI.

    The Unix accounts work but when ever I login to the admin ui, I get;

    Failed to create ou=groups,dc=zimbra,dc=company,dc=com for Samba groups.

    Same for machines.

    I'm unsure where to go from here as no errors are in any logs (/var/log or /opt/zimbra/log).

    Any hints are greatly appreciated.

    I've also had some trouble getting my Samba server to connect to Zimbra LDAP but would like to fix this problem before moving on to others.

  2. #2
    Join Date
    Feb 2008
    Location
    San Francisco
    Posts
    360
    Rep Power
    7

    Default

    OK...I'm getting this error:

    Failed to create ou=groups,dc=zimbra,dc=company,dc=com for Samba groups.

    I'm not sure how to fix it, no answers in google or the zimbra forums....

    Help!

    Thanks.

  3. #3
    Join Date
    Jan 2009
    Posts
    65
    Rep Power
    6

    Default

    Hi NoDoze,

    I fixed it reading the URLs below.

    Its been a while so I don't recall exactly but those links helped me fix it for sure.

    http://www.zimbra.com/forums/adminis...ne-domain.html

    http://www.zimbra.com/forums/adminis...ne-domain.html

    Once I read them and implemented the fixes, all went smooth as butta!

  4. #4
    Join Date
    Feb 2008
    Location
    San Francisco
    Posts
    360
    Rep Power
    7

    Default

    I read through it all, couldn't find anything related to my issue...
    My samba is outdated, so I'll update it first...see if that makes a difference...
    I also tried changing the gid and uid numbers to 20000 since I already have accounts setup in zimbra, but that made no difference either...



    Anyone else have any ideas?

    Thanks.

  5. #5
    Join Date
    Feb 2008
    Location
    San Francisco
    Posts
    360
    Rep Power
    7

    Default

    # Edit uidBase property in config_template.xml. uidBase is the base for creating Linux user IDs for user accounts that will be stored in LDAP. The first account that you will create through Zimbra Admin UI will have user ID = uidBase+1. If you already have user accounts in your current password database (most likely /etc/passwd) it is recommended that you set this value higher than the maximum existing user account.
    # Edit gidBase property in config_template.xml. gidBase is the base for creating Linux group IDs for groups that will be stored in LDAP. The first group that you will create through Zimbra Admin UI will have group ID = gidBase+1.
    What I think the issue is with what I quoted above....
    Currently I have:
    Code:
       		<property name="gidBase">10000</property>        
       		<property name="uidBase">10000</property>   
    		<property name="ridBase">1000</property>
    I didn't change these cause I only have 35 users accounts already setup in zimbra. So this number is well above...

    But when it says "gidBase+1" does it mean I have to put EXACTLY that into the code? or are they just saying whatever ur base is plus 1...?

    I still can't figure out what's causing this issue....

    Thanks.

  6. #6
    Join Date
    Feb 2008
    Location
    San Francisco
    Posts
    360
    Rep Power
    7

    Default

    okie dokie...SOLVED!!!

    I followed BUCKETOFTRUTH's recomendation:
    Ugh.... I figured it out. Where I was putting in dc=zimbra,dc=domain,dc=com, I should have been entering dc=domain,dc=com.
    From this thread: http://www.zimbra.com/forums/adminis...t-created.html

    My zerver domain is mail.domain.com...so I had...:
    dc=mail,dc=domain,dc=com
    But as soon as I took out the mail part and left it:
    dc=domain,dc=com

    IT WORKED!

    Thanks!

Posting Permissions

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