== Samba Server for OS/2 & eComStation == '''New - 28th April, 2007'''''''[[BR]] URL for Samba Server 3.0.25rc3 is ftp://ftp.netlabs.org/pub/samba/samba-3.0.25rc3-os2-20070427.zip [[BR]] URL for Samba Netdrive plugin based on 3.0.25rc3 code is ftp://ftp.netlabs.org/incoming/ndpsmb-3.0.25-b15.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[[BR]] - Windows XP Home[[BR]] - Windows XP Pro (in VPC guest and natively)[[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 v3.0.9 (EA's partially work with builds later than 20070226 build)[[BR]] '''Known Issues''' 1. EA's not working correctly with Netlabs Samba client v3.0.9 (Bug in Samba client not Samba server) '''Init scripts:'''[[BR]] Herwig Bauernfeind provided a very good init script for Samba Server The script can be found at ftp://ftp.netlabs.org/pub/samba/sbm_init.zip Thanks for testing!