S Krishnah, Vijay (Vijay)** CTR **
2010-Nov-30 09:48 UTC
[Samba] workgroup name length limitation in samba 3.5.6...
Hi, I face problems trying to input workgroup name lengths more than 15 characters in smb.conf and run nmbd. I am using samba 3.5.6 (source3 version of nmbd in 3.5.6 package). This was faced by a user earlier as per link http://www.mail-archive.com/samba at lists.samba.org/msg22773.html and solution provided by Jeremy Allision as per link http://www.mail-archive.com/samba at lists.samba.org/msg22776.html dated 2003. Yet in 3.5.6 version still the namelength restriction for workgroups seems to be there and nmbd can take only workgroups with name length upto 15 characters. Could somebody point out where I may be erring? Thanking You and Regards, Vijay
Chris Smith
2010-Dec-02 15:50 UTC
[Samba] workgroup name length limitation in samba 3.5.6...
On Tue, Nov 30, 2010 at 4:48 AM, S Krishnah, Vijay (Vijay)** CTR ** <vijay.s_krishnah at alcatel-lucent.com> wrote:> Yet in 3.5.6 version still the namelength restriction for workgroups seems to be there and nmbd can take only workgroups with name length upto 15 characters. ?Could somebody point out where I may be erring?See some Microsoft documentation. NetBIOS names are 16 characters in length, up to 15 (space padded) defined by the user, the 16th defines the service.
miguelmedalha at sapo.pt
2010-Dec-02 16:35 UTC
[Samba] workgroup name length limitation in samba 3.5.6...
> I face problems trying to input workgroup name lengths more > than 15 characters in smb.conf and run nmbd. I am using samba 3.5.6 > (source3 version of nmbd in 3.5.6 package).This is not a Samba limitation, this is by NetBIOS design, which Samba of course respects: Look at this page: http://en.wikipedia.org/wiki/NetBIOS "NetBIOS names are 16 octets in length and vary based on the particular implementation. Frequently, the 16th octet is used to designate a "type" similar to the use of ports in TCP/IP. It is called the NetBIOS Suffix (read below) or "resource type", and is used to tell other applications what type of services the system offers." Looking at your smb.conf, it seems to me that you are mixing up NetBIOS domain names and FQDNs (Fully Qualified Domain Names). They are not the same thing and should be used in their proper place.
miguelmedalha at sapo.pt
2010-Dec-02 16:39 UTC
[Samba] workgroup name length limitation in samba 3.5.6...
> I face problems trying to input workgroup name lengths more > than 15 characters in smb.conf and run nmbd. I am using samba 3.5.6 > (source3 version of nmbd in 3.5.6 package).This is not a Samba limitation, this is by NetBIOS design, which Samba of course respects: Look at this page: http://en.wikipedia.org/wiki/NetBIOS "NetBIOS names are 16 octets in length and vary based on the particular implementation. Frequently, the 16th octet is used to designate a "type" similar to the use of ports in TCP/IP. It is called the NetBIOS Suffix (read below) or "resource type", and is used to tell other applications what type of services the system offers." Looking at your smb.conf, it seems to me that you are mixing up NetBIOS domain names and FQDNs (Fully Qualified Domain Names). They are not the same thing and should be used in their proper place.