Hi Stefan,

did you try the lamdaemon test in Tools -> Tests menu?

https://www.ldap-account-manager.org/static/doc/manual/ch05s09.html#idm4404

Maybe it already reports an issue.

Please also check you Apache error log. Since you get an error 500 it looks 
like something went wrong.


Best regards

Roland



On 03.03.19 13:15, [email protected] wrote:
> Hello my dears,
>  
> I want to use the lamdaemon to create new users and home directories. 
> Unfortunately I get the following error message when saving the new user:
>  
> URL: https://lam.intern.example.com/templates/account/edit.php
> <https://lam.intern.example.com/templates/account/edit.php>
>  
> ###
> Diese Seite funktioniert nicht
> lam.intern.example.com kann diese Anfrage momentan nicht verarbeiten.
> HTTP ERROR 500
> ###
> The user is created but not the home directory.
>  
> Here is my configuration on the debian stretch server
>  
> cat /etc/ldap/slapd.d/cn\=config/olcDatabase\=\{1\}hdb.ldif | grep 
> lamdaemon
> olcAccess: {0}to dn.subtree="dc=harnet,dc=de" by 
> dn="uid=lamdaemon,ou=users,
> dc=harnet,dc=de" write by * none break
>  
>  
> cat /etc/passwd | grep lamdaemon
> lamdaemon:x:130:130::/home/lamdaemon:/bin/sh
>  
> Lamdaemon-Einstellungen
> ###
> Serverliste = dsme01.intern.example.com
> Pfad zum externen Script = 
> /var/www/html/ldap-account-manager/lip/lamdaemon.pl
> ###
> (All my websites are located at /var/www/html)
>  
> cat /etc/passwd | grep lamdaemon
> lamdaemon:x:130:130::/home/lamdaemon:/bin/sh
>  
> cat /etc/sudoers | grep lamdaemon
> # Ausführung lamdaemon Skript
> lamdaemon ALL = NOPASSWD: 
> /var/www/html/ldap-account-manager/lib/lamdaemon.pl
>  
> In the LDAP Account Manager WebGui Version 6.6.1, the following applies to 
> users:
> Benutzername = lamdaemon
> Vorname = Stefan
> Nachname = Harbich
> UID = 130
> GID = 130
>  
> If I create the user without the home directory everything works without 
> error message.
> Also deleting the user. But only if I delete the user without deleting the 
> home directory.
> I would be glad about a hint.
>  
> Greetings from Stefan Harbich
>  
>  
>  
>  
>  
>  
>  
>  
>  
> 
> 
> 
> 
> _______________________________________________
> Lam-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lam-public
> 


_______________________________________________
Lam-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lam-public

Reply via email to