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
  #1 (permalink)  
Old 02-17-2009, 12:48 PM
Senior Member
 
Posts: 60
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.
Reply With Quote
  #2 (permalink)  
Old 08-03-2009, 03:53 PM
Elite Member
 
Posts: 360
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.
Reply With Quote
  #3 (permalink)  
Old 08-03-2009, 04:00 PM
Senior Member
 
Posts: 60
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.

Zimbra & Samba -- error joining machine to Domain

Zimbra & Samba -- error joining machine to Domain

Once I read them and implemented the fixes, all went smooth as butta!
Reply With Quote
  #4 (permalink)  
Old 08-03-2009, 04:26 PM
Elite Member
 
Posts: 360
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.
Reply With Quote
  #5 (permalink)  
Old 08-06-2009, 01:39 PM
Elite Member
 
Posts: 360
Default

Quote:
# 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.
Reply With Quote
  #6 (permalink)  
Old 08-06-2009, 01:57 PM
Elite Member
 
Posts: 360
Default

okie dokie...SOLVED!!!

I followed BUCKETOFTRUTH's recomendation:
Quote:
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: [SOLVED] Zimbra/Samba integration: posix user not created

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!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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.