markus hansen
2011-Mar-14 14:50 UTC
[Samba] wbinfo --> Could not remove gid to sid mapping
Hi, I am struggeling with some group mapping problem for quite some time ... Now i figured out, that a wrong gid<->sig Mapping is stored somewhere: wbinfo --gid-to-sid=<guid of interest> --returns-> <wrong sid> other way round: wbinfo --sid-to-gid=<wrong sid> --returns-> <guid of interest> So what i want to do is remove this faulty mapping. Unfortunatly: wbinfo --remove-gid-mapping=<guid of interest>,<wrong sid> returns: "Could not remove gid to sid mapping" and: wbinfo --set-gid-mapping=<guid of interest>,<correct sid> returns: "<guid of interest>" any chance to fix this? Best regards, Markus -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
markus hansen
2011-Mar-15 09:38 UTC
[Samba] wbinfo --> Could not remove gid to sid mapping
Hi, thanks for your reply.> > wbinfo --set-gid-mapping=<guid of interest>,<correct sid> > > returns: "<guid of interest>" > > > > > > any chance to fix this? > > Maybe, using the net command. I believe you would be able to use `net > groupmap` to modify the relation, and there are other net commands that > can probably put this straight. If I ever finish wrapping my head > around the net command, I will tell you more ;) >I tried the "net groupmap" command, but it doesnt touch this mapping. Using the "net groupmap delete" command only seems to affect the output "net groupmap list" is listing. I can have the correct maping in "net groupmap list" - but wbinfo still returns the wrong mapping, and the mapping wbinfo returns seems to be the one samba actualle uses ... best regards Henrik -- GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit gratis Handy-Flat! http://portal.gmx.net/de/go/dsl