You cannot change user password with passwd command, user samba-tools user
setpassword "username" instead. The nologin option is a security
recommandation and can be changed in smb.conf.

olivier.


2013/3/1 Dirk Werner <[email protected]>

>
>
> On 03/01/2013 11:10 AM, Olivier Bitsch wrote:
>
> Try to add obey pam restrictions = yes in [global] of your Samba4
> configuration and restart. If working, I will update the tutorial. Also,
> simply with su - %username, the home directory should be created
> automatically.
>
>  I've done su - username, but I have no chance to set the users password,
> if I do passwd username, I get:
>
> passwd: Authentication token manipulation error
> passwd: password unchanged
>
> The user does not exist in /etc/passwd . Doing getent passwd shows the
> following line
>
> AIRWERKMAIL\dwerner:*:3000020:100:dwerner:/home/dwerner:/usr/sbin/nologin
>
> How can I change the end /usr/sbin/nologin ?
>
>
>
> 2013/3/1 Dirk Werner <[email protected]>
>
>>
>>
>> On 03/01/2013 10:51 AM, Olivier Bitsch wrote:
>>
>> Nothing wrong, for the moment (as explained in the tutorial), you have to
>> create the account with samba-tools first in order to have the right RDN
>> for the user. About your SOGo config file, it's seems you miss the
>> SOGoUserSources in the tutorial.
>>
>>
>>  Oh, the SOGoUserSources entry got somehow not into the file, I've added
>> that now and I can login, but get as result page
>>
>> object not found: SOGo => dwerner
>>
>> I realise just now that there are no dirs below /home for the users I
>> have created with samba-tool. Do I have to establish users home directories
>> by hand?
>>
>>
>>
>>  Olivier.
>>
>>
>> 2013/3/1 Dirk Werner <[email protected]>
>>
>>>  I have this line in sogo.log when trying to login at the web interface:
>>>
>>> Feb 28 21:17:26 sogod [1032]: [ERROR]
>>> <0x0x7fe4621964f0[SOGoUserManager]> No authentication sources defined -
>>> nobody will be able to login. Check your defaults.
>>>
>>> This is my /var/lib/sogo/GNUstep/Defaults/.GNUstepDefaults
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN"
>>> "http://www.gnustep.org/plist-0_9.xml";<http://www.gnustep.org/plist-0_9.xml>
>>> >
>>> <plist version="0.9">
>>> <dict>
>>>     <key>NSGlobalDomain</key>
>>>     <dict>
>>>     </dict>
>>>     <key>sogod</key>
>>>     <dict>
>>>         <key>OCSEMailAlarmsFolderURL</key>
>>>         <string>postgresql://sogo:mypwd@localhost
>>> :5432/sogo/sogo_alarm_folderdefaults</string>
>>>         <key>OCSFolderInfoURL</key>
>>>         <string>postgresql://sogo:mypwd@localhost
>>> :5432/sogo/sogo_folder_info</string>
>>>         <key>OCSSessionsFolderURL</key>
>>>         <string>postgresql://sogo:mypwd@localhost
>>> :5432/sogo/sogo_sessions_folder</string>
>>>         <key>SOGoMailAuxiliaryUserAccountsEnabled</key>
>>>         <string>YES</string>
>>>         <key>SOGoProfileURL</key>
>>>         <string>postgresql://sogo:mypwd@localhost
>>> :5432/sogo/sogo_user_profile</string>
>>>         <key>SOGoTimeZone</key>
>>>         <string>Europe/Berlin</string>
>>>         <key>WOLogFile</key>
>>>         <string>-</string>
>>>         <key>WONoDetach</key>
>>>         <string>YES</string>
>>>         <key>WOPidFile</key>
>>>         <string>/tmp/sogo.pid</string>
>>>     </dict>
>>> </dict>
>>> </plist>
>>>
>>> Anything wrong in there? The file is quite short, compared to the ones I
>>> had with other installations before.
>>>
>>>
>>> On 03/01/2013 10:12 AM, Olivier Bitsch wrote:
>>>
>>> About installation, please choose Samba4 and not Internal as you
>>> probably want to link user database with your domain controller.
>>>
>>>  Try to type dpkg-reconfigure igestis to change the options.
>>>
>>>  Best regards.
>>>
>>>  Olivier.
>>>
>>>
>>> 2013/3/1 Olivier Bitsch <[email protected]>
>>>
>>>> Hi,
>>>>
>>>>  Thanks for your feedback, I've opened the case here
>>>> http://www.igestis.org/redmine/issues/232 and I will try to give you
>>>> an update today.
>>>>
>>>>  Best regards.
>>>>
>>>>  Olivier.
>>>>
>>>>
>>>>  2013/3/1 Dirk Werner <[email protected]>
>>>>
>>>>> On 02/28/2013 10:07 PM, Olivier Bitsch wrote:
>>>>> >
>>>>> > Yes iGestis needs Mysql for it's own database, so dont worry, you can
>>>>> > have Mysql in same time of postgresql. Note that igestis is optional
>>>>> > but will offer a very easy way to manage employees .
>>>>> >
>>>>>
>>>>> Hi,
>>>>> I've installed igestis and configured it for 'internal' access. As I
>>>>> understood it, internal means the mysql DB?! But I'm getting this page
>>>>> when accessing http://192.168.1.2/igestis in a Browser:
>>>>>
>>>>> Oops, iGestis encountered a fatal error.
>>>>> In order to fix the issue :
>>>>>     Change the variable DEBUG_MODE to true in the file
>>>>> /usr/share/igestis/index.php
>>>>>     Change the variable display_errors to On in the file apache
>>>>> configuration (usually in /etc/apache2/conf)
>>>>>     Check the logs for Apache or iGestis (usually in
>>>>> /var/log/igestis/igestis.log and /var/log/apache2/error.log)
>>>>> array(4) { ["type"]=> int(1) ["message"]=> string(57) "Call to a member
>>>>> function module_access() on a non-object" ["file"]=> string(48)
>>>>> "/usr/share/igestis/includes/common_librairie.php" ["line"]=> int(838)
>>>>> }
>>>>>
>>>>> I have changed the mentioned parameters. In
>>>>> /var/log/igestis/igestis.log
>>>>> there are these lines
>>>>>
>>>>> 2013-03-01 09:57:36 - Unknown - [8] Undefined index: Page - Erreur
>>>>> fatale sur la ligne 820 dans le fichier
>>>>> /usr/share/igestis/includes/common_librairie.php
>>>>> 2013-03-01 09:57:36 - Unknown - [8] Undefined offset: 1 - Erreur fatale
>>>>> sur la ligne 826 dans le fichier
>>>>> /usr/share/igestis/includes/common_librairie.php
>>>>> 2013-03-01 09:57:36 - Unknown - [2]
>>>>> include(/usr/share//igestis/modules//config.php): failed to open
>>>>> stream:
>>>>> No such file or directory - Erreur fatale sur la ligne 831 dans le
>>>>> fichier /usr/share/igestis/includes/common_librairie.php
>>>>> 2013-03-01 09:57:36 - Unknown - [2] include(): Failed opening
>>>>> '/usr/share//igestis/modules//config.php' for inclusion
>>>>> (include_path='.:/usr/share/php:/usr/share/pear') - Erreur fatale sur
>>>>> la
>>>>> ligne 831 dans le fichier
>>>>> /usr/share/igestis/includes/common_librairie.php
>>>>> 2013-03-01 09:57:36 - Unknown - [8] Undefined variable:  - Erreur
>>>>> fatale
>>>>> sur la ligne 836 dans le fichier
>>>>> /usr/share/igestis/includes/common_librairie.php
>>>>>
>>>>> Any idea?
>>>>> Dirk
>>>>> --
>>>>> [email protected]
>>>>> https://inverse.ca/sogo/lists
>>>>>
>>>>
>>>>
>>>
>>
>
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to