[PATCH] Remove useless function child_msg_onlinestatus()

boyang boyang at suse.de
Mon Mar 2 10:39:59 GMT 2009


Hi, everyone:
     Currently, MSG_WINBIND_ONLINESTATUS is forwarded to the primary
domain. And this is not the right way to go. Because the primary is the
first to fork, therefore, trusted domains are forked after primary
domain, and _domain_list in the child of primary domain probably doesn't
contain trusted domains. Then, we cannot return the onlinestatus of the
trusted domains.
    We should do it in the parent process, because parent process always
has the whole domains in the _domain_list. And then
child_msg_onlinestatus() is useless, so I remvoed it.
    patch is for master. Please review it.
    Thanks!
Best
       Regards
BoYang
2nd, March
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winbind-msg-onlinestatus-master.diff
Type: text/x-patch
Size: 4832 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090302/9efc51ce/winbind-msg-onlinestatus-master.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boyang.vcf
Type: text/x-vcard
Size: 187 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090302/9efc51ce/boyang.vcf


More information about the samba-technical mailing list