OpenBSD Journal

Samba Configuration Tips

Contributed by jose on from the reducing-cost-and-time-of-overhead dept.

O'Reilly has a second edition of their Samba book now available. Excerpts are available, including a two part series of web articles on setting up WINS name resolution for your Windows network using Samba. This, obviously, applies to OpenBSD Samba servers. Several people I know who run their domains using BSD based Samba servers are happy they do. They face low downtime and overhead costs because of it, and find that administration is significantly easier using UNIX utilities. Coupled to OpenBSD security, it's a no-brainer.

(Comments are closed)


Comments
  1. By Bojan () bc@bsd.org.yu on http://default.co.yu./~bc

    In this txt is mentioned that "Several people I know who run their domains using BSD based Samba servers are happy they do."

    I ask, how they can base their domain ( i guess they think on PDC ), when you have no support for adding machines$ accounts in openbsd ???


    ... or did I missed something ?

    Comments
    1. By Anonymous Coward () on

      OpenBSD is not licensed to unlimited number of CIFS/SMB users so it does not need to explicitly brand clients, you can use IP-address based access lists. there is no support for windoves either.
      I hope you mean "site", not "domain"

      Comments
      1. By Bojan () bc@bsd.org.yu_nospam on http://default.co.yu./~bc

        No, I've been thinking excatly on Windows(tm) based domain using samba on openbsd as PDC.

        Anyway, thanks to chris.
        ps: that *is* dirty.

    2. By bolke () bolke@xs4all.nl on mailto:bolke@xs4all.nl

      Actually, I hacked part of the OS the allow '$' in usernames, and I changed part of the password programs to allow SAMBA chainging passwords for users.

      Comments
      1. By Cymen Vig () cvig@raw-io.com on mailto:cvig@raw-io.com

        I did the same thing on FreeBSD with "pw" and then put that in my sbin as "pw.samba". I'm not an experienced c programmer but it was very easy to do.

        Unfortunately I didn't document the minor change I made but the source to pw with changes is here: raw-io.com/pw.tar.bz2 (~78k).

  2. By Anonymous Coward () on

    Now if only OpenBSD had smbmount (:

    Comments
    1. By Anonymous Coward () on

      http://www.obdev.at/products/sharity-light/

      Comments
      1. By Anonymous Coward () on

        Last time I tried sharity-light it was fine for read operations but writing to the shared filesystems was haphazard at best.

        Comments
        1. By DieNadel () on http://SafeCore.NET

          I can say that sharity-light works great for me. Reading and writing.
          A client of ours wanted to have a copy of some files on a Windows PC; the amount of data is not so high (about 14Gb), but shlight has no trouble mounting the share and letting the system copy the files.

Credits

Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]