Changes between Version 43 and Version 44 of WikiStart


Ignore:
Timestamp:
Sep 16, 2007, 6:46:56 PM (17 years ago)
Author:
guest
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v43 v44  
    1212'''How to get going with Samba Server for OS/2:'''
    1313
    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.
     141.) Uninstall TCPBEUI (NETBIOS over TCPI/IP) using MPTS.
    1515
    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.
     162.) {{{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.
    1717
    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).
     183.) Unzip ftp://ftp.netlabs.org/pub/gcc/alpha/baselayout.zip to the %UNIXROOT% drive. Among other directories this creates the required /etc directory.
     19
     204.) Edit {{{%UNIXROOT%\etc\master.passwd}}} and add the users that you need. You might want to add user pcguest (See step 6 why).
    1921
    2022Note 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.
    2123
    22 4.) Remove the old {{{%UNIXROOT%\etc\pwd.db}}} and {{{%UNIXROOT%\etc\spwd.db}}} files.
     245.) Remove the old {{{%UNIXROOT%\etc\pwd.db}}} and {{{%UNIXROOT%\etc\spwd.db}}} files.
    2325
    24 5.) Run {{{%UNIXROOT%\usr\sbin\pwd_mkdb.exe %UNIXROOT%\etc\master.passwd}}}. This creates new pwd.db and swd.db files.
     266.) Run {{{%UNIXROOT%\usr\sbin\pwd_mkdb.exe %UNIXROOT%\etc\master.passwd}}}. This creates new pwd.db and swd.db files.
    2527
    26 6.) Edit smb.conf which should be put into %ETC%\samba\*
     287.) Edit smb.conf which should be put into %ETC%\samba\*
    2729
    2830Note %ETC% path is not necessarily the same as %UNIXROOT%\etc!
     
    3032Note 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
    3133
    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.
     348.) 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.
    3335To add a user called 'psmedley' run:
    3436
     
    3739Note: Currently users can neither be renamed or removed (known bug).
    3840
    39 8.) Start nmbd.exe and start smbd.exe.
     419.) Start nmbd.exe and start smbd.exe.
    4042
    4143'''Currently tested clients:'''