wiki:WikiStart

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

--

Samba Server for OS/2 & eComStation

New - 21st August, 2007
URL for Samba Server 3.0.25c is ftp://ftp.netlabs.org/pub/samba/server/samba-3.0.25c-os2-20070821.zip
New - 22nd August, 2007
URL for Samba Client 3.0.25b is ftp://ftp.netlabs.org/pub/samba/client/ndpsmb-3.0.25c-20070822.ZIP

The 3.0.24/25 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:

1.) SET UNIXROOT=x: where x: is the drive that has a /etc/ path. If it does not exist it will be created with step 2.

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

3.) 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.

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

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

6.) 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

7.) 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).

Currently tested clients:

  • Windows 2000 running in Svista
  • Windows XP Home
  • Windows XP Pro (in VPC guest and natively)
  • 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 v3.0.9 (EA's partially work with builds later than 20070226 build)

Known Issues

  1. EA's not working correctly with Netlabs Samba client v3.0.9 (Bug in Samba client not Samba server)

Init scripts by Herwig Bauernfeind:

Thanks for testing!

Attachments (7)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.