Overview: Samba fails to replicate static WINS entries created in an Windows Server 2008 R2 partner. Dynamic records are ok. Steps to reproduce: - Setup Samba with minimal configuration to allow WINS replication: smb.conf [global] wins support = yes server services = wrepl nbt smb dcerpc endpoint servers = remote - Add Windows as a replication partner: # ldbedit -H /var/lib/samba/private/wins_config.ldb -a dn: CN=WINDOWS,CN=PARTNERS address: 192.168.8.3 objectClass: wreplPartner pullInterval: 1800 pullRetryInterval: 30 pushChangeCount: 0 pushUseInform: 1 type: 0x3 distinguishedName: CN=WINDOWS,CN=PARTNERS - Run Samba as an interactive process (debug mode 10) # samba -i -M single -d10 - Create a static entry in Windows - Force replication if needed Actual results: No sign of the static record on Samba side. # nmblookup -U 127.0.0.1 -R 'ORION#20' querying ORION on 127.0.0.1 name_query failed to find name ORION#20 The log shows: ldb: ldb_trace_request: (wins_ldb)->add ldb: ldb_trace_next_request: (tdb)->add ldb: ldb_asprintf/set_errstring: attribute 'expireTime' on 'name=ORION,type=0x00' specified, but with 0 values (illegal) ldb: cancel ldb transaction (nesting: 1) ldb: cancel ldb transaction (nesting: 0) ldb: ldb_trace_request: (tdb)->del_transaction Failed to add record ORION<00>: 2 wreplsrv_pull_cycle(192.168.8.3): NT_STATUS_UNSUCCESSFUL: error_count: 4: reschedule(120) Expected results: Samba should be able to receive the static WINS records from the partner.