wiki:WikiStart

Version 53 (modified by guest, 17 years ago) ( diff )

--

Samba Server for OS/2 & eComStation

New - 26th November, 2007
URL for Samba Server 3.0.27a is ftp://ftp.netlabs.org/incoming/samba-3.0.27a-os2-20071126.zip
New - 26th November, 2007
WarpIN-Installation package for Samba Server 3.0.26a URL is http://msplins06.bon.at/%7Eadmin139/files/samba-3.0.27a-os2-20071126-v1.wpi
New - 12th September, 2007
URL for Samba Client 3.0.26a is ftp://ftp.netlabs.org/pub/samba/client/ndpsmb-3.0.26a-20070912.ZIP

The 3.0.2x builds do not currently rely on Security/2, instead they use libc's user/group functions to determine if a user is valid or not.

How to get going with Samba Server for OS/2:

1.) Uninstall TCPBEUI (NETBIOS over TCPI/IP) using MPTS.

2.) SET UNIXROOT=x: where x: is the drive that has a /etc/ path.

Steps 1 and 2 are also the prerequisites for using the WarpIN installation package. Whereas the installer completes all further steps for you, you have to continue at step 3 in case you want to procede manually. In addition the WarpIN package comes with scripts and external commands preconfigured.

3.) Unzip ftp://ftp.netlabs.org/pub/gcc/alpha/baselayout.zip to the %UNIXROOT% drive. Among other directories this creates the required /etc directory.

4.) Edit %UNIXROOT%\etc\master.passwd and add the users that you need. You might want to add user pcguest (See step 6 why).

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

5.) Remove the old %UNIXROOT%\etc\pwd.db and %UNIXROOT%\etc\spwd.db files.

6.) Run %UNIXROOT%\usr\sbin\pwd_mkdb.exe %UNIXROOT%\etc\master.passwd. This creates new pwd.db and swd.db files.

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

Note %ETC% path is not necessarily the same as %UNIXROOT%\etc!

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

8.) Now Samba requires the users to be added using smbpasswd.exe, too. You have to add all users twice: First to etc\master.passwd (see step 3), then using smbpasswd.exe. To add a user called 'psmedley' run:

smbpasswd -a psmedley (enter password).

Note: Currently users cannot be renamed.

Note: The UserAddPM.EXE and UserDelPM.EXE utilities perform both steps!

9.) Start nmbd.exe and start smbd.exe.

Currently tested clients:

  • Windows XP Pro (in VPC guest and natively)
  • Windows XP Home
  • Windows 2000 running in Svista
  • Windows NT 4.0
  • Mandrake Linux 2006
  • eCS v1.2 with IBM LAN Client (EA's work correctly with builds >= 20070226)
  • eCS v2 beta with Netdrive 3.04 and Samba Client
    Note: The older v3.0.9 of the Samba client has problems with EA's (partially work with builds later than 20070226 build)

Known Issues Look at http://svn.netlabs.org/samba/report/1

Samba scripts and utilities contributed by Herwig Bauernfeind:

smb_init-*.zip package:

  • smb.cmd - extended port of *nix shell script to start/stop/restart Samba.

findsmb-*.zip package:

  • findsmb.cmd - port of *nix script to find SMB machines on the current or a given subnet

sharescripts-*.zip package:

  • addshare.cmd - external command script to add Samba shares from a client (tested with WinXP only)
  • delshare.cmd - external command script to remove Samba shares from a client (tested with WinXP only)
  • changeshare.cmd - external command script to modify Samba shares from a client (tested with WinXP only)

All these packages can be found at ftp://ftp.netlabs.org/pub/samba/contrib
Additional/later scripts and utilities for Samba can also be found here: http://members.aon.at/herwig.bauernfeind/samba/index.html

Thanks for testing!

Attachments (7)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.