wiki:WikiStart

Version 3 (modified by Silvan Scherrer, 17 years ago) (diff)

--

Samba Server for OS/2 & eComStation

URL for build with some support for EA's is: http://download.smedley.info/samba-3.0.24-os2-20070226r2.zip

URL for build of v3.0.25pre1 is http://download.smedley.info/samba-3.0.25pre1-os2-20070302.zip

As mentioned - this doesn't rely on Security/2 in any way, shape or form.

Instead - it uses libc's user/group functions to determine if a user is valid or not.

1) set unixroot=x: where x: is the drive that has a /etc/ path 2) Unzip ftp://ftp.netlabs.org/pub/gcc/alpha/baselayout.zip to the unixroot drive, then editing \etc\master.passwd and add the users that you need.

Note the syntax of master.passwd - first field before the colon is username, second is password (leave this blank), third is usernumber which much be unique - others aren't important right now.

3) Remove the old pwd.db and spwd.db files from \etc then run pwd_mkdb from \usr\sbin: pwd_mkdb \etc\master.passwd

4) Edit smb.conf which should be put into %ETC%\samba\*

Note that the default config file smb.conf has provision for a guest account pcguest this user must be either added to master.passwd, the guest access commented out of smb.conf; or the user changed to a user that does exist in master.passwd

5) Note that Samba expects the users to be added using smbpasswd.exe too. Note that currently, smbpasswd.exe has problems generating the password, so users must be added with no password, ie: smbpasswd.exe -a psmedley -n To add user psmedley with no password.

Alternately, run smbpasswd on another machine and copy the resulting smbpasswd into %ETC%\samba\private\smbpasswd; or generate the Samba passwords using a Python script such as that found at http://www.cdf.toronto.edu/~agenkin/py/index.pyc/software and paste the password hash directly into smbpasswd

Currently tested clients:

  • eCS v2 beta with Netdrive 3.04 and Samba Client v3.0.9 (EA's partially work with 20070226 build)
  • Windows 2000 running in Svista
  • Windows XP Home
  • Mandrake Linux 2006
  • eCS v1.2 with IBM LAN Client (EA's appear to fully work with 20070226 build)

Known Issues

  1. EA's not working correctly with Netlabs Samba client
  2. Special characters like ÄÖÜäöüß do not display correctly, they display as _

NEW!! Workaround for this - add

unix charset = SYSTEM

to smb.conf - next build will have code to fix this(it's fixed in v3.0.25pre1)

Thanks for testing!

Attachments (7)

Download all attachments as: .zip