Changes between Version 43 and Version 44 of WikiStart
- Timestamp:
- Sep 16, 2007, 6:46:56 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v43 v44 12 12 '''How to get going with Samba Server for OS/2:''' 13 13 14 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.14 1.) Uninstall TCPBEUI (NETBIOS over TCPI/IP) using MPTS. 15 15 16 2.) Unzip ftp://ftp.netlabs.org/pub/gcc/alpha/baselayout.zip to the %UNIXROOT% drive. Among other directories this creates the required /etc directory.16 2.) {{{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. 17 17 18 3.) Edit {{{%UNIXROOT%\etc\master.passwd}}} and add the users that you need. You might want to add user pcguest (See step 6 why). 18 3.) Unzip ftp://ftp.netlabs.org/pub/gcc/alpha/baselayout.zip to the %UNIXROOT% drive. Among other directories this creates the required /etc directory. 19 20 4.) Edit {{{%UNIXROOT%\etc\master.passwd}}} and add the users that you need. You might want to add user pcguest (See step 6 why). 19 21 20 22 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. 21 23 22 4.) Remove the old {{{%UNIXROOT%\etc\pwd.db}}} and {{{%UNIXROOT%\etc\spwd.db}}} files.24 5.) Remove the old {{{%UNIXROOT%\etc\pwd.db}}} and {{{%UNIXROOT%\etc\spwd.db}}} files. 23 25 24 5.) Run {{{%UNIXROOT%\usr\sbin\pwd_mkdb.exe %UNIXROOT%\etc\master.passwd}}}. This creates new pwd.db and swd.db files.26 6.) Run {{{%UNIXROOT%\usr\sbin\pwd_mkdb.exe %UNIXROOT%\etc\master.passwd}}}. This creates new pwd.db and swd.db files. 25 27 26 6.) Edit smb.conf which should be put into %ETC%\samba\*28 7.) Edit smb.conf which should be put into %ETC%\samba\* 27 29 28 30 Note %ETC% path is not necessarily the same as %UNIXROOT%\etc! … … 30 32 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 31 33 32 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.34 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. 33 35 To add a user called 'psmedley' run: 34 36 … … 37 39 Note: Currently users can neither be renamed or removed (known bug). 38 40 39 8.) Start nmbd.exe and start smbd.exe.41 9.) Start nmbd.exe and start smbd.exe. 40 42 41 43 '''Currently tested clients:'''