Replies: 5 comments 11 replies
-
|
UPD: re-checked with a username, where full length is under 32 characters, and, it appears, the last stage (with workgroup) is unnecessary, the |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for the new discussion.
Of course this can be a problem. Essentially for you as a lot of security hole has been fixed since then. I hope for you it is well closed from internet. This can also be a problem for user matching in GLPI but in the case of linux computers I think we should be close to the current behavior. Anyway, I strongly advise you to also use a GLPI v11 test instance to verify your goal can still be achieved in current best GLPI context - and maybe this will motivate you to migrate your server ;-). |
Beta Was this translation helpful? Give feedback.
-
|
to be clear, my main qualm is that the |
Beta Was this translation helpful? Give feedback.
-
|
as for updating, it's physically isolated from the Internet, which makes it difficult to update (probably gotta delete some unused plugins before that). I'm gonna do it eventually, after I deal with more pressing matters. |
Beta Was this translation helpful? Give feedback.
-
|
My first concern is to know if in your context we have better tools than standard ones. Checking quickly your SSSD configuration documentation link, I first saw we may use So it probably can be used to enable a dedicated module or handle dedicated calls for more accurate data. Then the question is which tools can we use: sssd tools ? DBus calls ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Your idea
in my experience, users inventory for Linux computers joined into AD domain behaves quite different, than for Windows ones.
for instance, provided that long AD domain name is
domain.company.name, short (workgroup name) isCOMPANY, and username isdomain.username, Windows agents provide output like this for<USERS>tag:whereas Linux agents provide output like this:
(note it being truncated to 32 characters).
for Windows machines GLPI matches agent's output with LDAP users w/o any hassle, which is not the case for Linux machines. the most important (at least, in my experience) is
contactfield in GLPI (not sure how it's filled up).Windows computer:


Linux computer:
(I have GLPI 9.4 in air-gapped network, so that could partially be a me problem.)
I have the basic idea what to do with
_getLoggedUsers(fills up the<USERS>tag, as far as I understand):and then split the username and (if SAMBA is installed, and
smb.confis configured properly, it should be extracted viatestparm -sl --parameter-name=workgroupcommand) substitute domain name for workgroup name (as Windows agents seem to do).(sorry, I'm not skilled at Perl at all, I can provide a patch, but it would take time.)
not sure what could be done about
_getLastUser.Beta Was this translation helpful? Give feedback.
All reactions