== Samba Server for OS/2 & eComStation == '''New - 8nd August, 2007'''''''[[BR]] URL for Samba Server 3.0.25b is ftp://ftp.netlabs.org/incoming/samba-3.0.25b-os2-20070808.zip [[BR]] '''New - 2nd August, 2007'''''''[[BR]] URL for Samba Client 3.0.25b is ftp://ftp.netlabs.org/pub/samba/client/ndpsmb-3.0.25b-20070802.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 by Herwig Bauernfeind:'''[[BR]] - Init script for Samba Server. Look for smb_init* at ftp://ftp.netlabs.org/pub/samba/contrib [[BR]] - Init script for groups. Look for initgroups* at ftp://ftp.netlabs.org/pub/samba/contrib [[BR]] Thanks for testing!