[Samba] net getlocalsid: some questions

werner maes werner.maes at cc.kuleuven.ac.be
Mon Sep 29 10:01:49 GMT 2003


Hello,

Is it possible to get the SID of a domain different than the one your 
server is in?

e.g.: net getlocalsid ==> gives you the sid of the domain your server is in.
but suppose you would like to know the SID of another domain.

net getlocalsid DOMAIN2 ==> samba3 does not give the SID

[root at server root]# net getlocalsid DOMAIN2
[2003/09/29 11:59:04, 0] utils/net.c:net_getlocalsid(414)
   Can't fetch domain SID for name: DOMAIN2

If I'm not mistaken, this used to work.
Or: is it true that the SID is only dependent of the domain's name?

Werner

    GETLOCALSID [DOMAIN]
        Print the SID of the specified domain, or if the parameter is  omitted,
        the SID of the domain the local server is in.




More information about the samba mailing list