wins.dat manipulation

Dmitry Melekhov dm at
Tue Mar 23 11:58:47 GMT 2004


I need to edit wins.dat without restarting nmbd, so I wrote very little 
patch to smbcontrol which add two messages:
       dump-wins                     Dump wins database
        load-wins                     Load wins database

They are handled by

void nmbd_message_winsload(int msg_type, pid_t src, void *buf, size_t len)

void nmbd_message_winsdump(int msg_type, pid_t src, void *buf, size_t len)

Is this correct or I broke something?

More information about the samba-technical mailing list