netibios name len

Paolo Abeni paolo.abeni at TILAB.COM
Thu Nov 21 14:19:00 GMT 2002

hi there,

I had some troubles while configuring a samba printer. The "host"
component of the netbios resource name was longer than 15 bytes and my
smbclient (version 2.2.5) truncates the netbois host name at that

Looking at rfc 1002 I have found a 64 byte limit for resource name, but
apparently there is no strict constraint for the host name, so I thought
it could be useful to remove this hard-coded limit and admit 64 byte
long netbios names. is it right???

I've attached a small patch against 2.2.7 source that does this...


This message and its attachments are addressed solely to the persons
above and may contain confidential information. If you have received
the message in error, be informed that any use of the content hereof
is prohibited. Please return it immediately to the sender and delete
the message. Should you have any questions, please contact us by
replying to MailAdmin at Thank you
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samba-2.2.7.diff
Type: application/octet-stream
Size: 1001 bytes
Desc: not available
Url :

More information about the samba-technical mailing list