Changes between Version 18 and Version 19 of WikiStart


Ignore:
Timestamp:
May 22, 2007, 6:00:29 AM (17 years ago)
Author:
guest
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v18 v19  
    1 Samba Server for OS/2 & eComStation
     1== Samba Server for OS/2 & eComStation ==
    22
    33'''New - 28th April, 2007'''''''[[BR]]
     
    99'''How to get going:'''
    1010
    11 1) set unixroot=x: where x: is the drive that has a /etc/ path
     111.) {{{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.
    1212
    13 2) Unzip ftp://ftp.netlabs.org/pub/gcc/alpha/baselayout.zip to the unixroot drive.
     132.) Unzip ftp://ftp.netlabs.org/pub/gcc/alpha/baselayout.zip to the %UNIXROOT% drive. Among other directories this creates the required /etc directory.
    1414
    15 3) Edit \etc\master.passwd and add the users that you need. You might want to add user pcguest.
     153.) Edit {{{%UNIXROOT%\etc\master.passwd}}} and add the users that you need. You might want to add user pcguest (See step 6 why).
    1616
    1717Note 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.
    1818
    19 4) Remove the old pwd.db and spwd.db files from \etc
     194.) Remove the old {{{%UNIXROOT%\etc\pwd.db}}} and {{{%UNIXROOT%\etc\spwd.db}}} files.
    2020
    21 5) Run pwd_mkdb.exe from \usr\sbin: pwd_mkdb \etc\master.passwd
     215) Run {{{%UNIXROOT%\usr\sbin\pwd_mkdb.exe %UNIXROOT%\etc\master.passwd}}}. This creates new pwd.db and swd.db files.
    2222
    23 6) Edit smb.conf which should be put into %ETC%\samba\*
     236.) Edit smb.conf which should be put into %ETC%\samba\*
     24
     25Note %ETC% path is not necessarily the same as %UNIXROOT%\etc!
    2426
    2527Note 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
    2628
    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.
     297.) 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.
    2830To add a user called 'psmedley' run:
    2931
    30 smbpasswd -a psmedley (enter password).
     32{{{smbpasswd -a psmedley}}} (enter password).
    3133
    3234'''Currently tested clients:'''