× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello Franz,

Am 31.01.2020 um 12:58 schrieb Franz.Rauscher@xxxxxxxxxxx:

Is someone of you using Samba on AS400 and how do you handle this problem.

I'm not using Samba within IBM i but in Linux. And there is exactly the same problem: You have to support two user/password "databases". This stems from the different ways of encrypting/hashing the user password which gets saved to disk, so no plaintext passwords are saved.

Years ago, this could be somewhat mitigated by telling Samba to allow unencrypted passwords, so it could utilize /etc/shadow directly. I'm not sure if current Windows versions could be told to handle plaintext passwords. I also don't recommend using plaintext passwords today.

I thought that when nothing other is possible i would register with QIBM_QSY_VLD_PASSWRD and send new Passwords to a Job via DataQueue which calls pdbedit to change the users in the samba-db. But this is not a nice solution.

I guess you've no other choice. In fact, I think this is a nice way to sync passwords. If anyone will change his password through Windows facilities (RPC?), they'll stay different, though.

Maybe it's possible to configure Samba to disallow password changes from the Windows side?

:wq! PoC

PGP-Key: DDD3 4ABF 6413 38DE - https://www.pocnet.net/poc-key.asc



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.