Proposal to remove wbinfo --sequence

Gerald (Jerry) Carter jerry at samba.org
Tue Apr 22 22:03:58 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Folks,

Metze and I discussed the sequence number stuff in Winbind
and both agree that the wbinfo --sequence call is fairly useless.

Attached are a pair of patches that xtend the struct wbcDOmainInfo
in the libwbclient API to include the OFFLINE status of domains.
This also includes a "wbinfo --online-status" command
and deprecates the "wbinfo --sequence" operation.

The only thing failing is that the main parent Winbind daemon
does not know the status of all domains.  I could follow the
path that wmbcontrol did and use messages.  I'm wondering if
we should store a online/offline record for each domain rather
than requiring each child process to figure it out.  But this
is more work and too much for right now.

If ppl agree then I will find some existing way to actually
report the online/offline status in the next patch.

Please review.  Thanks.




cheers, jerry
- --
=====================================================================
Samba                                    ------- http://www.samba.org
Likewise Software          ---------  http://www.likewisesoftware.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIDmDOIR7qMdg1EfYRApYjAJ92U5I7KoxWF+UJ/pBfzIYCaisE4QCbB+Ae
bPB6wLgHg2MERqPE6/86X5Q=
=7Vmk
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Rename-WBC_DOMAIN_XXX-domain-flags-to-WBC_DOMINFO_DO.patch
Type: text/x-diff
Size: 2906 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080422/fc953910/0001-Rename-WBC_DOMAIN_XXX-domain-flags-to-WBC_DOMINFO_DO.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Mark-a-domain-offline-in-the-wncDomainInfo-structure.patch
Type: text/x-diff
Size: 7011 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080422/fc953910/0002-Mark-a-domain-offline-in-the-wncDomainInfo-structure.bin


More information about the samba-technical mailing list