GithubHelp home page GithubHelp logo

Comments (5)

wangyugui-e16 avatar wangyugui-e16 commented on July 24, 2024

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.

wangyugui-e16 avatar wangyugui-e16 commented on July 24, 2024
[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.

namjaejeon avatar namjaejeon commented on July 24, 2024

@wangyugui-e16 Okay, how can I reproduce it ? And Is there any issue when these error message are coming ?

from ksmbd-tools.

wangyugui-e16 avatar wangyugui-e16 commented on July 24, 2024

reproduce steps:

  1. linux server
    /usr/sbin/ksmbd.mountd -v -n
  2. 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.

namjaejeon avatar namjaejeon commented on July 24, 2024

Thanks:) I will try.

from ksmbd-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.