ldap account with local accounts

14 views
Skip to first unread message

Yariv Hakim

unread,
Jul 16, 2025, 1:34:23 PMJul 16
to Minarca Data Backup
hi, 

I have setup ldap authentication to my samba active directory and it's working great.
the issue is when i want to use local accounts ( for example admin). he always looks at the LDAP and fail.  
is there a way for both local accounts and ldap accounts to co-exits  ?

Yariv Hakim

unread,
Jul 17, 2025, 5:18:23 AMJul 17
to Minarca Data Backup
update on this matter:
the issue is only with the admin account, 
the other accounts are working with both LDAP and local password



ב-יום רביעי, 16 ביולי 2025 בשעה 20:34:23 UTC+3, Yariv Hakim כתב/ה:

Patrik Dufresne

unread,
Jul 17, 2025, 7:07:49 AMJul 17
to min...@googlegroups.com
Hello Yariv,

To better help you could you share the server logs with us ? Located in /var/log/minarca/server.log



--
You received this message because you are subscribed to the Google Groups "Minarca Data Backup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minarca+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/minarca/8672d9b1-9683-4725-a783-e30ca8d7eee3n%40googlegroups.com.


--
** Par mesure d'efficacité, je consulte mes courriels une fois par jour.
IKUS Software
Message has been deleted

Yariv Hakim

unread,
Jul 18, 2025, 3:54:34 PMJul 18
to Minarca Data Backup

thank you.
after I setup LDAP integration, and i try to login with admin , i'm getting the following error:

[2025-07-17 11:35:05,072][INFO   ][192.168.1.152][anonymous][CP Server Thread-5][rdiffweb.plugins.ldap] user admin found in LDAP

[2025-07-17 11:35:05,075][ERROR  ][192.168.1.152][anonymous][CP Server Thread-5][cherrypy.error] ENGINE Error in 'authenticate' listener <bound method LdapPlugin.authenticate of <rdiffweb.plugins.ldap.LdapPlugin object at 0x7f8557a8d0>>

Traceback (most recent call last):

  File "cherrypy/process/wspbus.py", line 229, in publish

  File "rdiffweb/plugins/ldap.py", line 126, in authenticate

KeyError: 'dn'

[2025-07-17 11:35:05,076][ERROR  ][192.168.1.152][anonymous][CP Server Thread-5][cherrypy.error] ENGINE Error in 'login' listener <bound method LoginPlugin.login of <rdiffweb.core.login.LoginPlugin object at 0x7f86fd0920>>

Traceback (most recent call last):

  File "cherrypy/process/wspbus.py", line 229, in publish

  File "rdiffweb/core/login.py", line 63, in login

  File "cherrypy/process/wspbus.py", line 247, in publish

cherrypy.process.wspbus.ChannelFailures: KeyError('dn')

[2025-07-17 11:35:05,076][ERROR  ][192.168.1.152][anonymous][CP Server Thread-5][rdiffweb.controller.page_login] fail to validate user [admin] credentials

Traceback (most recent call last):

  File "rdiffweb/controller/page_login.py", line 77, in index

  File "cherrypy/process/wspbus.py", line 247, in publish

cherrypy.process.wspbus.ChannelFailures: KeyError('dn')


it looks like  it only looks in ldap.

when i disable ldap configuration , it local admin accounts works well:



[2025-07-17 11:38:56,765][INFO   ][192.168.1.152][anonymous][CP Server Thread-5][auth] User admin login to web application



ב-יום חמישי, 17 ביולי 2025 בשעה 14:07:49 UTC+3, Patrik Dufresne כתב/ה:

Patrik Dufresne

unread,
Jul 21, 2025, 1:15:45 PMJul 21
to min...@googlegroups.com
Hello Yariv,

It might be a bug in the ldap authentication module that I need to look at. It should not fail the way it does...

Could you open a ticket in gitlab with all the information. Could you also share your ldap configuration in the ticket.

Thanks

Reply all
Reply to author
Forward
0 new messages