Hi Roland,

El 24/11/22 a les 8:00, Roland Gruber ha escrit:
Hi Leopold,

to assign users uid/uidNumber/gidNumber you will need to use the
"Unix (posixAccount)" module. Make sure to use the "Windows" modules for the Samba part (and not Samba 3).

well, I don't want discuss with the LAM author, but in our tests we have found that you don't need posixAccount module. samba4 provides you a uid and gid of your user in the Unix world. Also, configuring it appropriately, you can share these numbers with the clients. So, why do we need it?

In our case, it is _only_ needed because lam-daemon need them to create the home of the user. That is the point. Maybe I'm wrong, this is why I'm asking. Or did I miss something?

In server profile, Windows, you put the Samba domain name (e.g. example.com). This should match your LDAP prefix (e.g. dc=example,dc=com).

We tried and it failed. We can review our test.

The Unix module can autofill the numbers. Please make sure to configure the UID generator in your server profile (Unix settings).

modules: posixAccount_user_uidGeneratorUsers: range
modules: posixAccount_user_minUID: 6000
modules: posixAccount_user_maxUID: 9000

Are these settings?

As Rowland wrote all Samba related questions should go to them. ;-)
Well, the mail surprised me. I was not asking questions of Samba. I just explain the context where we want to pun LAM. And I agree that is "a world of pain", but We live in a world of diversity (in all the aspects) and we need interoperability between Mac, Windows and GNU/Linux.

Best regards,

Leopold

--
--
Linux User 152692     GPG: 05F4A7A949A2D9AA
Catalonia
-------------------------------------
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



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

Reply via email to