Changes between Initial Version and Version 1 of Cookbook


Ignore:
Timestamp:
Jan 25, 2008, 6:50:26 PM (17 years ago)
Author:
guest
Comment:

Restructuring docs

Legend:

Unmodified
Added
Removed
Modified
  • Cookbook

    v1 v1  
     1'''How to get going with Samba Server for OS/2:'''
     2
     31.) Uninstall TCPBEUI (NETBIOS over TCPI/IP) using MPTS.
     4
     52.) {{{SET UNIXROOT=x:}}} where x: is the drive that has a /etc/ path.
     6
     7Steps 1 and 2 are also the prerequisites for using the WarpIN installation package.
     8Whereas 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.
     9
     103.) Unzip ftp://ftp.netlabs.org/pub/gcc/alpha/baselayout.zip to the %UNIXROOT% drive. Among other directories this creates the required /etc directory.
     11
     124.) Edit {{{%UNIXROOT%\etc\master.passwd}}} and add the users that you need. You might want to add user pcguest (See step 6 why).
     13
     14Note 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.
     15
     165.) Remove the old {{{%UNIXROOT%\etc\pwd.db}}} and {{{%UNIXROOT%\etc\spwd.db}}} files.
     17
     186.) Run {{{%UNIXROOT%\usr\sbin\pwd_mkdb.exe %UNIXROOT%\etc\master.passwd}}}. This creates new pwd.db and swd.db files.
     19
     207.) Edit smb.conf which should be put into %ETC%\samba\*
     21
     22Note %ETC% path is not necessarily the same as %UNIXROOT%\etc!
     23
     24Note 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
     25
     268.) 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.
     27To add a user called 'psmedley' run:
     28
     29{{{smbpasswd -a psmedley}}} (enter password).
     30
     31Note: Currently users cannot be renamed.
     32
     33Note: The UserAddPM.EXE and UserDelPM.EXE utilities perform both steps!
     34
     359.) Start nmbd.exe and start smbd.exe.