Comments (5)
seperated from #187
from [hcbwiz]
About id mapping API, there are two libraries: libsss-idmap and libsss-nss-idmap
I try libsss-nss-idmap:
#include <sss_nss_idmap.h>
#include <stdio.h>
#include <stdlib.h>
int main()
{
char *sid = NULL;
enum sss_id_type type;
int ret;
ret = sss_nss_getsidbyname("administrator", &sid, &type);
printf("ret: %d, sid: %s, type: %d\n", ret, sid, type);
free(sid);
}
output:
ret: 0, sid: S-1-5-21-3675874838-1964521148-1538075311-500, type: 1
from ksmbd-tools.
[ksmbd-worker/3113]: ERROR: LSARPC: unsupported INVOKE method 130, alloc_hint : 96
[ksmbd-worker/3113]: ERROR: LSARPC: unsupported INVOKE method 130, alloc_hint : 96
[ksmbd-worker/3113]: ERROR: LSARPC: unsupported INVOKE method 130, alloc_hint : 96
from ksmbd-tools.
@wangyugui-e16 Okay, how can I reproduce it ? And Is there any issue when these error message are coming ?
from ksmbd-tools.
reproduce steps:
- linux server
/usr/sbin/ksmbd.mountd -v -n - windows client
select a file of remote server from windows explorer,
then right click, 'properties', then 'security' tab.
then error ' ERROR: LSARPC: unsupported INVOKE method 130, alloc_hint : 96' happen on linux server.
from ksmbd-tools.
Thanks:) I will try.
from ksmbd-tools.
Related Issues (20)
- move cifsd-team/cifsd-tools to cifsd-team/cifsd-tools-old and move namjaejeon/cifsd-tools to cifsd-team/cifsd-tools HOT 4
- Help with memory tuning for small embedded devices. HOT 11
- move cifsd-team/smbd-tools to cifsd-team/smbd-tools-old and move namjaejeon/smbd-tools to cifsd-team/smbd-tools
- Printing support with Ksmbd HOT 10
- Does ksmbd supports recycle? HOT 5
- ksmbd.service.in HOT 4
- windows domain(ads) support HOT 49
- ksmbd.adduser should check the username already in /etc/passwd HOT 11
- Symlink in share path hinders total and free disk space reporting to Windows [updated] HOT 9
- "hosts allow" does not work? HOT 4
- 'unix password sync = yes' for ksmbd.adduser
- Crashes with a Windows 10 client HOT 3
- Can't open PID file /run/ksmbd.lock (yet?) HOT 7
- add the ability to listen in on certain network addresses HOT 2
- Permission denied with ksmbd-tools 3.5.0-1, but works fine with 3.4.9-1. HOT 16
- KSMBD_DCERPC_RETURN_READY should be cleared if the return isn't ready HOT 3
- Assertion failed: 0 (lib/socket.c) ? HOT 4
- Just calling "cifsadmin" will create a empty cifsdpwd.db. HOT 4
- Folders/Files are not fully deleted via explorer on mounted share. HOT 1
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 ksmbd-tools.