Hi Andy,

Hi Olivier,

Please have a look on the below /etc/sogo/sogo.conf file setting.

{
/* ********************* Main SOGo configuration file **********************
* *
* Since the content of this file is a dictionary in OpenStep plist format, *
* the curly braces enclosing the body of the configuration are mandatory. *
* See the Installation Guide for details on the format. *
* *
* C and C++ style comments are supported. *
* *
* This example configuration contains only a subset of all available *
* configuration parameters. Please see the installation guide more details.
*
* *
* ~sogo/GNUstep/Defaults/.GNUstepDefaults has precedence over this file, *
* make sure to move it away to avoid unwanted parameter overrides. *
* *
*
**************************************************************************/

/* Database configuration (mysql:// or postgresql://) */
SOGoProfileURL = "postgresql://sogo:xxx@localhost
:5432/sogo/sogo_user_profile";
OCSFolderInfoURL = "postgresql://sogo:xxx@localhost
:5432/sogo/sogo_folder_info";
OCSSessionsFolderURL = "postgresql://sogo:xxx@localhost
:5432/sogo/sogo_sessions_folder";

/* Mail */
SOGoDraftsFolderName = Drafts;
SOGoSentFolderName = Sent;
SOGoTrashFolderName = Trash;
SOGoIMAPServer = localhost;
SOGoSieveServer = sieve://127.0.0.1:4190;
SOGoSMTPServer = 127.0.0.1;
SOGoMailDomain = example.org;
SOGoMailingMechanism = smtp;
SOGoForceExternalLoginWithEmail = NO;
SOGoMailSpoolPath = /var/spool/sogo;
NGImap4ConnectionStringSeparator = "/";

SOGoAppointmentSendEMailNotifications = NO;
SOGoACLsSendEMailNotifications = NO;

/* Authentication */
SOGoPasswordChangeEnabled = YES;

/* LDAP authentication example */
SOGoUserSources = (
{
type = ldap;
CNFieldName = cn;
IDFieldName = uid;
UIDFieldName = uid;
baseDN = "ou=Users,dc=example,dc=org";
bindDN = "cn=Administrator,ou=Users,dc=example,dc=org";
bindPassword = xxx;
canAuthenticate = YES;
displayName = "Shared Addresses";
hostname = 127.0.0.1:389;
id = public;
isAddressBook = YES;
}
);

/* SQL authentication example */
/* These database columns MUST be present in the view/table:
* c_uid - will be used for authentication - it's the username or
usern...@domain.tld)
* c_name - which can be identical to c_uid - will be used to uniquely
identify entries
* c_password - password of the user, plain-text, md5 or sha encoded for now
* c_cn - the user's common name - such as "John Doe"
* mail - the user's mail address
* See the installation guide for more details
*/
//SOGoUserSources =
// (
// {
// type = sql;
// id = directory;
// viewURL = "postgresql://sogo:xxx@127.0.0.1:5432/sogo/sogo_view";
// canAuthenticate = YES;
// isAddressBook = YES;
// userPasswordAlgorithm = md5;
// }
// );

/* Web Interface */
SOGoPageTitle = SOGo;
SOGoVacationEnabled = YES;
SOGoForwardEnabled = YES;
//SOGoSieveScriptsEnabled = YES;

/* General */
SOGoLanguage = English;
SOGoTimeZone = America/Montreal;
SOGoCalendarDefaultRoles = (
PublicDAndTViewer,
ConfidentialDAndTViewer
);
//SOGoSuperUsernames = (sogo1, sogo2); //This is an array - keep the parens!

/* Debug */
SoDebugBaseURL = YES;
ImapDebugEnabled = YES;
//LDAPDebugEnabled = YES;
//SOGoDebugRequests = YES;
//PGDebugEnabled = YES;


Thanks In advance


On Thu, May 16, 2013 at 1:15 PM, Deepak Kumar <dku...@cognam.com> wrote:

> Hi Andy,
>
> I have enabled user with the following command.
> openchange _newuser --create sogo3
>
> And home directory is created but when I try to access the user with su -
> sogo3. It is giving the below output.
>
> *"This account is currently not available."
> *
> And I looked on the logs.
>
> *2013-05-16 07:20:24.800 sogod[2807] WOCompoundElement: id logging is on.
> May 16 07:20:24 sogod [2807]: [ERROR] <0x0x7f7774a184e0[**SOGoUserManager]>
> No authentication sources defined - nobody will be able to login. Check
> your defaults.
> May 16 07:20:24 sogod [2807]: [ERROR] <0x0x7f77749c7e00[**SOGoSQLUserProfile]>
> failed to acquire channel for URL: (null)
> May 16 07:20:24 sogod [2807]: [ERROR] <0x0x7f77749c7e00[**SOGoSQLUserProfile]>
> failed to acquire channel for URL: (null)
> May 16 07:20:24 sogod [2807]: [ERROR] <0x0x7f77749c7e00[**SOGoSQLUserProfile]>
> failed to acquire channel for URL: (null)
> May 16 07:20:24 sogod [2807]: [ERROR] <0x0x7f77749c7e00[**SOGoSQLUserProfile]>
> failed to acquire channel for URL: (null)
> May 16 07:20:24 sogod [2807]: [ERROR] <0x0x7f77749c7e00[**SOGoSQLUserProfile]>
> failed to acquire channel for URL: (null)
> 10.72.15.82 - - [16/May/2013:07:20:24 GMT] "GET /SOGo HTTP/1.1" 302 0/0
> 0.092 - - 2M
> 2013-05-16 07:20:24.856 sogod[2807] WARNING(-[NSNull(misc) count]): called
> NSNull -count (returns 0) !!!
> 10.72.15.82 - - [16/May/2013:07:20:24 GMT] "GET /SOGo/ HTTP/1.1" 200
> 3869/0 0.068 11806 67% 1M
> May 16 07:20:36 sogod [2807]: SOGoRootPage Login from '10.72.15.82' for
> user 'dkumar' might not have worked - password policy: 65535  grace: -1
> expire: -1  bound: 0
> 10.72.15.82 - - [16/May/2013:07:20:36 GMT] "POST /SOGo/connect HTTP/1.1"
> 403 34/60 0.002 - - 40K
>
> *
> Please help me out to solve this issue.
>
>
> Thanks In Advance
>
>
>
>
>
>
>
>
> On Thu, May 16, 2013 at 12:40 PM, Andy Tuinman <andytuinm...@gmail.com>wrote:
>
>> The employee list is empty for me aswell. As for the login Issues: make
>> sure the username is enabled in openchange through
>>
>> Openchange_newuser --create USERNAME
>>
>> And make sure the home folder of that user is created.
>> You can do this by
>>
>> su - USERNAME
>> Or mkdir /home/USERNAME
>>
>> Su will give an error about not able to login but pam-mkdir will create
>> the folder for you (if installled and working)
>>
>> If su doesn't work and you have to create te dir manually you have to
>> change permissions aswell.
>>
>> Chown USERNAME /home/USERNAME
>>
>> And
>>
>> Chmod -R 744 /home/USERNAME
>>
>> hope this works for you
>>  Op 16 mei 2013 06:49 schreef "Deepak Kumar" <dku...@cognam.com> het
>> volgende:
>>
>>  Hi,
>>>
>>> I am able to create users in igestis and Created users is also able to
>>> login in the igestis URL (URL http://myip/igestis) but the main
>>> administrator of the domain is not able to see all the employees record and
>>> the other issue is that Created Users are able to login in igestis URL but
>>> not able to login in the sogo webmail (http://myip/SOGo). When I looked
>>> the sogo logs (/var/log/sogo/sogo.log) it is giving some below mentioned
>>> error.
>>>
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1f8a10[SOGoUserManager]> No authentication sources defined -
>>> nobody will be able to login. Check your defaults.
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> May 15 08:27:13 sogod [1406]: [ERROR]
>>> <0x0x7f184c1a8610[SOGoSQLUserProfile]> failed to acquire channel for URL:
>>> (null)
>>> 10.72.15.82 - - [15/May/2013:08:27:13 GMT] "GET /SOGo HTTP/1.1" 302 0/0
>>> 0.208 - - 2M
>>> 2013-05-15 08:27:13.626 sogod[1406] WARNING(-[NSNull(misc) count]):
>>> called NSNull -count (returns 0) !!!
>>> 10.72.15.82 - - [15/May/2013:08:27:13 GMT] "GET /SOGo/ HTTP/1.1" 200
>>> 3869/0 0.107 11806 67% 1M
>>>
>>>
>>> And my sogo configuration file is.
>>>
>>> <plist version="0.9">
>>> <dict>
>>> <key>NSGlobalDomain</key>
>>> <dict>
>>> </dict>
>>> <key>sogod</key>
>>> <dict>
>>> <key>OCSEMailAlarmsFolderURL</key>
>>> <string>postgresql://sogo:xxx@localhost
>>> :5432/sogo/sogo_alarm_folder</string>
>>> <key>OCSFolderInfoURL</key>
>>> <string>postgresql://sogo:xxx@localhost
>>> :5432/sogo/sogo_folder_info</string>
>>> <key>OCSSessionsFolderURL</key>
>>> <string>postgresql://sogo:xxx@localhost
>>> :5432/sogo/sogo_sessions_folder</string>
>>> <key>OCSUserSources</key>
>>> <array>
>>> <dict>
>>> <key>CNFieldName</key>
>>> <string>displayName</string>
>>> <key>IDFieldName</key>
>>> <string>cn</string>
>>> <key>IMAPHostFieldName</key>
>>> <string></string>
>>> <key>UIDFieldName</key>
>>> <string>sAMAccountName</string>
>>> <key>baseDN</key>
>>> <string>cn=Users,dc=domain,dc=local</string>
>>> <key>bindDN</key>
>>> <string>cn=Administrator,cn=Users,dc=domain,dc=local</string>
>>> <key>bindPassword</key>
>>> <string>xxxxx</string>
>>> <key>canAuthenticate</key>
>>> <string>YES</string>
>>> <key>displayName</key>
>>> <string>Shared Addresses</string>
>>> <key>hostname</key>
>>> <string>localhost</string>
>>> <key>id</key>
>>> <string>public</string>
>>> <key>isAddressBook</key>
>>> <string>YES</string>
>>> <key>port</key>
>>> <string>389</string>
>>> </dict>
>>> </array>
>>> <key>SOGoMailAuxiliaryUserAccountsEnabled</key>
>>> <string>YES</string>
>>> <key>SOGoProfileURL</key>
>>> <string>postgresql://sogo:xxx@localhost
>>> :5432/sogo/sogo_user_profile</string>
>>> <key>SOGoTimeZone</key>
>>>
>>> Any help will be appreciated.
>>>
>>> Thanks In Advance.
>>>
>>
>
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to