[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-developers] Nasraq



Ilmars Knipshis wrote:

<snip>

We have 2 additional Qube2 Samba servers in the network and also everyday
problems to access files on them. If it is Windows workstations problem,
does anybody knows how to finetune (or where to read info) these workstation
for good cooperation with Samba.(I know, this is cobalt-developers list not
Microsoft, but problem is how to use Cobalt appliances as good and fast
fileservers.)

<snip>

Here's what we had to do to get Samba working correctly. We had problems
with WINS resolution when the Qube2 was interacting with a mixed Win98/2000
peer-to-peer network.   In /etc/smb.conf, we modified the following
switches:

Domain Master=yes  (This enables the Qube to serve as a WINS server across
workgroups)

os level = 65 (Microsoft has a hierarchy based on operating system which it
uses to determine "who" wins a Master Browser "election."  The default
setting in the Qube allows an NT client or server to win an election over
the Qube.  Changing this value enables the Qube to win all elections.)

The Remote Announce and Remote Sync fields can be used to force other
workgroup Master Browsers to synch with the Domain Master Browser.  This is
particularly useful across firewalls that don't support NetBios broadcasts
and for enabling redundant WINS resolution.

/etc/smb.conf typically gets renamed as .old when you apply patches to the
Qube.  So if any changes are made, you need to check it after each
patch/fix/upgrade.  In fact, in the past, Cobalt patches have caused Samba
configuration settings to be completely inaccessible from the GUI until the
file which they rename as .old is renamed at the CLI to its proper name
smb.conf.

For a more complete treatment of Samba get: "Using Samba" by David Eckstein
et al. ISBN: 1-56592-449-5

Seth Cordes on behalf of:
Bjorn Kilburn

Mercator Partners

------------------------------------------
;  Samba Configuration
;  Revision 1.0 for the 2700RJ, jdblair@xxxxxxxxxxxxx 17.oct.98
;
;  DO NOT USE THE \ CONTINUATION!  THE QUBE PARSING CODE WILL CHOKE ON IT
;
[global]
   alternate permissions = no
   case sensitive = no
   dead time = 5
   debug level = 0
   default case = upper
   delete readonly = yes
   delete veto files = yes
   dns proxy = no
   domain logons = no
   domain master = yes
   encrypt passwords = yes
   follow symlinks = yes
   guest account = ftp
   local master = yes
   lock directory = /var/lock/samba
   locking = yes
   log file = /var/log/samba
   mangle case = no
   map hidden = yes
   map system = yes
   max log size = 5000
   oplocks = yes
   os level = 65
   preferred master = yes
   preserve case = yes
   remote announce = 192.168.1.4/CONCORD
   remote browse sync = 192.168.1.4
   security = user
   server string = Cobalt Qube 2800WG
   share modes = yes
   short preserve case = yes
   socket options = TCP_NODELAY
   strict locking = yes
   veto files = /Network Trash Folder/
   wide links = yes
   wins support = yes
   workgroup = CONCORD_SAN
;
   comment = Home Directories
   browseable = no
   read only = no
   create mask = 0755
;
;home BEGIN (do not delete this line)
[home]
  path = /home/groups/home
  public = no
  browseable = yes
  writable = yes
  printable = no
  create mask = 0775
  valid users = admin @home
  force create mode = 0664
  force directory mode = 0775
  hide dot files = yes
;home END (do not delete this line)
;mercator BEGIN (do not delete this line)
[mercator]
  path = /home/groups/mercator
  public = no
  browseable = yes
  writable = yes
  printable = no
  create mask = 0775
  valid users = admin @mercator
  force create mode = 0664
  force directory mode = 0775
  hide dot files = yes
;mercator END (do not delete this line)