diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-12-22 08:41:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:47:37 -0500 |
commit | b1ea93c01641da0f55bf4d97499e13b651c5b20c (patch) | |
tree | d0069687d00b6c647a33f3724de51f47bc6a3991 /source4/nbt_server/wins/winsserver.c | |
parent | aa682976cde98a2ea526db84beb71f99224906fb (diff) | |
download | samba-b1ea93c01641da0f55bf4d97499e13b651c5b20c.tar.gz samba-b1ea93c01641da0f55bf4d97499e13b651c5b20c.tar.bz2 samba-b1ea93c01641da0f55bf4d97499e13b651c5b20c.zip |
r12426: w2k3 refused 0x1B names registered as group names
metze
(This used to be commit 4ce4baa1b9f509e5b2ebe7921defc12c9cee74d4)
Diffstat (limited to 'source4/nbt_server/wins/winsserver.c')
-rw-r--r-- | source4/nbt_server/wins/winsserver.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/nbt_server/wins/winsserver.c b/source4/nbt_server/wins/winsserver.c index 6e2d470a1e..9bbd8c6432 100644 --- a/source4/nbt_server/wins/winsserver.c +++ b/source4/nbt_server/wins/winsserver.c @@ -193,6 +193,12 @@ static void nbtd_winsserver_register(struct nbt_name_socket *nbtsock, goto done; } + /* w2k3 refuses 0x1B names with marked as group */ + if (name->type == NBT_NAME_PDC && (nb_flags & NBT_NM_GROUP)) { + rcode = NBT_RCODE_RFS; + goto done; + } + /* w2k3 refuses 0x1C names with out marked as group */ if (name->type == NBT_NAME_LOGON && !(nb_flags & NBT_NM_GROUP)) { rcode = NBT_RCODE_RFS; |