== Samba Server for OS/2 & eComStation == '''New - 21th September, 2007'''''''[[BR]] URL for Samba Server 3.0.26a is ftp://ftp.netlabs.org/pub/samba/server/samba-3.0.26a-os2-20070921.zip [[BR]] '''New - 6th November, 2007'''''''[[BR]] WarpIN-Installation package for Samba Server 3.0.26a URL is http://msplins06.bon.at/%7Eadmin139/files/samba-3.0.26a-os2-20070921-v7b.wpi [[BR]] '''New - 12th September, 2007'''''''[[BR]] URL for Samba Client 3.0.26a is ftp://ftp.netlabs.org/pub/samba/client/ndpsmb-3.0.26a-20070912.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 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)[[BR]] - Windows XP Home[[BR]] - Windows 2000 running in Svista[[BR]] - Windows NT 4.0[[BR]] - Mandrake Linux 2006[[BR]] - eCS v1.2 with IBM LAN Client (EA's work correctly with builds >= 20070226)[[BR]] - eCS v2 beta with Netdrive 3.04 and Samba Client [[BR]] Note: The older v3.0.9 of the Samba client has problems with EA's (partially work with builds later than 20070226 build)[[BR]] '''Known Issues''' Look at http://svn.netlabs.org/samba/report/1 [[BR]] '''Samba scripts''' contributed by Herwig Bauernfeind:[[BR]][[BR]] '''smb_init-*.zip package:'''[[BR]] - smb.cmd - extended port of *nix shell script to start/stop/restart Samba.[[BR]][[BR]] '''findsmb-*.zip package:'''[[BR]] - findsmb.cmd - port of *nix script to find SMB machines on the current or a given subnet[[BR]][[BR]] '''sharescripts-*.zip package:'''[[BR]] - addshare.cmd - external command script to add Samba shares from a client (tested with WinXP only)[[BR]] - delshare.cmd - external command script to remove Samba shares from a client (tested with WinXP only)[[BR]] - changeshare.cmd - external command script to modify Samba shares from a client (tested with WinXP only)[[BR]][[BR]] All these packages can be found at ftp://ftp.netlabs.org/pub/samba/contrib [[BR]] Additional/later/less tested scripts and utilities for Samba can also be found here: http://members.aon.at/herwig.bauernfeind/samba/index.html [[BR]] [[BR]] Thanks for testing!