Comments (2)
I tried to repro this several ways:
- Running gdb on omiserver, I set up breakpoint in LookupUser() in user.c, and invoked omicli using basic auth. If user name is not valid, this function never gets invoked, and omicli properly states that it's INVALID_ACCESS. If user name is correct, the function gets called, but getpwnam_r() seems to be invoked correctly.
So it looks like with new authentication code, bad user gets detected before LookupUser() is invoked, so this may not be an issue any more.
I verified this on Ubuntu 14.04 and CentOS 7.
- Just to make sure that getpwnam_r() is working properly, I wrote a small program to test just getpwnam_r(). On both Ubuntu 14.04 and CentOS 7, the getpwnam_r() returns correctly.
There are no details in descriptions what platform this problem was observed.
from omi.
fix
from omi.
Related Issues (20)
- Solaris 11 - omicli with class SCX_UnixProcess - Parameters/Arguments are capped at 80 characters HOT 4
- omi server cannot start: failed to change directory HOT 16
- Wrong version of OMI gets installed OpenSSL1.0 on a OpenSSL 1.1.x VM HOT 3
- Wrong version of OMI gets installed OpenSSL1.0 on a OpenSSL 1.1.x VM HOT 1
- Kernel trap errors HOT 2
- Ubuntu 22.04 LTS , OMI 1.7.0 issue with OpenSSL 3.0.2 HOT 3
- check target HOT 3
- Support release attribute better HOT 1
- omi and scx packages missing digest information for RHEL HOT 4
- Support for RHEL9 HOT 2
- Use of wildcards in logrotate causing duplication errors to be thrown HOT 3
- New-CimSession - The SSL certificate is expired HOT 1
- missing /etc/opt/omi/creds/omi.keytab file after joined Linux box to domain HOT 2
- Size restriction of 'ConfigurationData' with an Invoke call to omicli HOT 9
- OMI 1.7.0-0 issues HOT 2
- omiagent segfault libcontainer.so after upgrading to docker-ce 25.x HOT 1
- 1.7.3 not added to releases page HOT 1
- omiagent segfault libcontainer.so HOT 1
- Is OMI coming to PowerShell HOT 2
- missing 1.8.1 release HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omi.