Hi Roland,

Roland Gruber (LAM) wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Pál,
> 
> On 26.01.2013 12:03, Pál Csányi wrote:
>> I'm trying to login to LAM but get error message: Wrong
>> password/user name combination. Please try again.
> 
> please try to enable LAM's logging (configuration -> general
> settings). Maybe you will see an error message that is more clear.
> 
> You can also enable log output for OpenLDAP like described here:
> 
> https://www.ldap-account-manager.org/static/doc/manual/apf.html
> 
> Please also check if the password is really valid by running e.g.
> ldapsearch on the commandline.
> 
> - -- 
> Best regards
> Roland
> 


I enabled LAM's logging and I get lines bellow in syslog:
Jan 26 16:54:40 debian-asztal apache2: LDAP Account Manager
(rcv02nnt0e1cvvb1n1sh1v3te7 - ::1)
- ERROR: User cn=admin,dc=nodomain (::1) failed to log in (wrong password).

After that I deleted the stored password in my Iceweasel -> Edit ->
Preferences for http://localhost and try to login with the password for the
LDAP administrator ( cn=admin,dc=nodomain ) password, this time
successfully.

I get lines bellow in syslog:
Jan 26 17:05:36 debian-asztal apache2: LDAP Account Manager
(a1402es3iqku4ssfq4u45ee730 - ::1)
- NOTICE: User cn=admin,dc=nodomain (::1) successfully logged in.

Then I run "Tools" -> "Tests" -> "Schema test" inside LAM and get:
Schema test
Users
Personal No problems found.
Unix No problems found.
Shadow No problems found.
Samba 3 No problems found.
Groups
Unix No problems found.
Samba 3 No problems found.
Hosts
Account No problems found.
Unix No problems found.
Samba 3 No problems found.
Samba domains
Samba domain No problems found.

Moreover, I edited my /etc/ldap/slapd.d/cn=config.ldif
changing the line 
olcLogLevel: none
to
olcLogLevel: Stats

However, when I try to run ldapsearch on the commandline, I get error
message:
$ ldapsearch -D cn=admin,dc=nodomain -w MySecretPassword
ldap_bind: Invalid credentials (49)

So, now I can to login to my LAM, but I get messages after login:
The following suffixes are missing in LDAP. LAM can create them for you.
ou=People,dc=my-domain,dc=com
ou=group,dc=my-domain,dc=com
ou=machines,dc=my-domain,dc=com
dc=my-domain,dc=com

and when I hit on the Create button, I get error messages:
Failed to create entry!
Server is unwilling to perform
ou=People,dc=my-domain,dc=com
Failed to create entry!
Server is unwilling to perform
ou=group,dc=my-domain,dc=com
Failed to create entry!
Server is unwilling to perform
ou=machines,dc=my-domain,dc=com
Failed to create entry!
dc=my-domain,dc=com

What can I do now to solve this problem?

-----
Regards, from Pál
-- 
View this message in context: 
http://old.nabble.com/Wrong-password-user-name-combination.-Please-try-again.-tp34948214p34949040.html
Sent from the lam-public mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Lam-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lam-public

Reply via email to