Le 25/07/2012 16:29, nico...@franceoxygene.fr a écrit :
Hi All !

I've just installed a Debian 6.0.5 to create a SOGo server.

I already have an Active Directory wich works fine.

I've done all configuration of SOGo, but I can't login with an account of my
AD.

Here's my config file (I deleted configs that I thank useless) :


	<key>OCSFolderInfoURL</key>
	<string>mysql://sogo:pwsd@localhost:3306/sogo/sogo_folder_info</string>

	<key>OCSSessionsFolderURL</key>
       
<string>mysql://sogo:pswd@localhost:3306/sogo/sogo_sessions_folder</string>

	<key>SOGoAuthenticationMethod</key>
	<string>LDAP</string>

	<key>SOGoProfileURL</key>
       
<string>mysql://sogo:sogo@localhost:3306/sogo/sogo_user_profile</string>

	<key>SOGoSieveScriptsEnabled</key>
	<string>YES</string>

	<key>SOGoSieveServer</key>
	<string>sieve://mx.resfrox.lan:2000</string>

	<key>SOGoUserSources</key>
	<key>SOGoUserSources</key>
	<array>
	    <dict>
	<key>type</key>
	<string>ldap</string>


		<key>CNFieldName</key>
		<string>cn</string>

		<key>IDFieldName</key>
		<string>cn</string>

		<key>UIDFieldName</key>
		<string>sAMAccountName</string>

		<key>baseDN</key>
		<string>cn=Users,dc=<domain>,dc=lan</string>

		<key>bindDN</key>
		<string>s...@domain.lan</string> (also used DOMAIN\sogo,
cn=sogo,dc=domain,dc=lan)

		<key>bindPassword</key>
		<string><SOGoADAccountPasswd></string>
		
		   #<key>bindFields</key>
	#<string>sAMAccountName</string> (with or without, no change...)       
	

		<key>canAuthenticate</key>
		<string>YES</string>

		<key>displayName</key>
		<string>Active Directory</string>

		<key>hostname</key>
		<string>192.168.x.x</string>

		<key>id</key>
		<string>ActiveDirectory</string>

		<key>isAddressBook</key>
		<string>NO</string>

		<key>port</key>
		<string>389</string>

		<key>scope</key>
		<string>sub</string>
	    </dict>

	</array>	

	<key>WOWorkersCount</key>
	<string>3</string>
    </dict>
</dict>
</plist>

And here's the log file :
Jul 25 16:24:36 sogod [13802]: <0x0x9338218[SOGoCache]> Cache cleanup interval
set every 300.000000 seconds
Jul 25 16:24:36 sogod [13802]: <0x0x9338218[SOGoCache]> Using host(s)
'localhost' as server(s)
2012-07-25 16:24:36.319 sogod[13802] Note(SoObject): SoDebugKeyLookup is
enabled!
2012-07-25 16:24:36.320 sogod[13802] Note(SoObject): SoDebugBaseURL is enabled!
2012-07-25 16:24:36.320 sogod[13802] Note(SoObject): relative base URLs are
enabled.
2012-07-25 16:24:36.322 sogod[13802] ERROR(-[NGBundleManager bundleWithPath:]):
could not create bundle for path:
'/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.20/Resources/SSL.bundle'
2012-07-25 16:24:36.327 sogod[13802] WOCompoundElement: pool embedding is on.
2012-07-25 16:24:36.327 sogod[13802] WOCompoundElement: id logging is on.
Jul 25 16:24:36 sogod [13802]: SOGoRootPage Login for user 'u...@mydomain.lan'
might not have worked - password policy: 65535	grace: -1  expire: -1  bound: 0
localhost - - [25/Jul/2012:16:24:36 GMT] "POST /SOGo/connect HTTP/1.1" 403
34/66 0.018 - - 2M
2012-07-25 16:25:16.245 sogod[13802] Note: Using UTF-8 as URL encoding in
NGExtensions.
Jul 25 16:25:16 sogod [13802]: SOGoRootPage Login for user 'u...@mydomain.lan'
might not have worked - password policy: 65535	grace: -1  expire: -1  bound: 0
localhost - - [25/Jul/2012:16:25:16 GMT] "POST /SOGo/connect HTTP/1.1" 403
34/104 0.004 - - 12K

I also add that I've a server for SOGo, another one for Mails
(Postfix/dovecot), and onther one for AD. Mails user do their authentication on
AD server without problem.

I'm becoming silly, thanks for your help ;)

Nicolas
I just realized that the config file wasn't "clean" (double keys...), I cleaned it, but no changes...

--


Nicolas Cauchie
France Oxygène
7, route d'Ennevelin
59 710 Avelin

03 28 55 96 59
nico...@franceoxygene.fr

www.franceoxygene.fr

Reply via email to