Project

General

Profile

Bug #191

Samba workgroup names can potentially be too long.

Added by essary about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
05/18/2009
Due date:
% Done:

100%


Description

Samba workgroup names need to be limited to 15 characters. If it is longer than 15 characters samba will truncate. Not too much of an issue but if the user ever looks in /var/log/messages then they will see a significant number of error messages about the issue.

History

#1 Updated by cpg about 12 years ago

can you clarify which configuration files does this setting go to?

and exactly what setting it is?
(sorry, not want to screw it)

like, smb.conf and nmb.conf, or just one of them?

thanks!

#2 Updated by essary about 12 years ago

The change should effect the file /etc/samba/smb.conf
Amahi does not appear to use a nmb.conf file.
The setting that should be truncated is the workgroup name.
The line will be "workgroup = <domain name>"

One user reported that manually changing the file /etc/samba/smb.conf breaks amahi.

Here is a quote from kaits (the user who was kind enough to test changing the workgroup name)
< Mr_Orange> kaits: in what way does amahi break?
< kaits> I cannot access by dns name..
< kaits> and apps don't work

cpg wrote:

can you clarify which configuration files does this setting go to?

and exactly what setting it is?
(sorry, not want to screw it)

like, smb.conf and nmb.conf, or just one of them?

thanks!

#3 Updated by essary about 12 years ago

  • Subject changed from Samba workgroup names are too long to Samba workgroup names can potentially be too long.

#4 Updated by cpg about 12 years ago

  • Status changed from New to Assigned
  • Assignee set to cpg

this is being implemented.
truncation to 15 chars.

#5 Updated by Anonymous about 12 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:"7978fbf8c13a5a64beb6c651cd248331a991d491".

#6 Updated by cpg about 12 years ago

We implemented more smarts here. We truncate to 15, but only after removing the .com/.net from the end of the domain.

Also available in: Atom