Changes between Version 18 and Version 19 of WikiStart
- Timestamp:
- May 22, 2007, 8:00:29 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v18 v19 1 Samba Server for OS/2 & eComStation 1 == Samba Server for OS/2 & eComStation == 2 2 3 3 '''New - 28th April, 2007'''''''[[BR]] … … 9 9 '''How to get going:''' 10 10 11 1 ) set unixroot=x: where x: is the drive that has a /etc/ path11 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. 12 12 13 2 ) Unzip ftp://ftp.netlabs.org/pub/gcc/alpha/baselayout.zip to the unixroot drive.13 2.) Unzip ftp://ftp.netlabs.org/pub/gcc/alpha/baselayout.zip to the %UNIXROOT% drive. Among other directories this creates the required /etc directory. 14 14 15 3 ) Edit \etc\master.passwd and add the users that you need. You might want to add user pcguest.15 3.) Edit {{{%UNIXROOT%\etc\master.passwd}}} and add the users that you need. You might want to add user pcguest (See step 6 why). 16 16 17 17 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. 18 18 19 4 ) Remove the old pwd.db and spwd.db files from \etc19 4.) Remove the old {{{%UNIXROOT%\etc\pwd.db}}} and {{{%UNIXROOT%\etc\spwd.db}}} files. 20 20 21 5) Run pwd_mkdb.exe from \usr\sbin: pwd_mkdb \etc\master.passwd21 5) Run {{{%UNIXROOT%\usr\sbin\pwd_mkdb.exe %UNIXROOT%\etc\master.passwd}}}. This creates new pwd.db and swd.db files. 22 22 23 6) Edit smb.conf which should be put into %ETC%\samba\* 23 6.) Edit smb.conf which should be put into %ETC%\samba\* 24 25 Note %ETC% path is not necessarily the same as %UNIXROOT%\etc! 24 26 25 27 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 26 28 27 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.29 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. 28 30 To add a user called 'psmedley' run: 29 31 30 smbpasswd -a psmedley(enter password).32 {{{smbpasswd -a psmedley}}} (enter password). 31 33 32 34 '''Currently tested clients:'''