Fidonet Portal






From: jp (1:396/4)
To: n/a
Date: Sun, 14.06.20 14:57
Need help getting Samba setup
From: jp <jp@home>

I've been struggling to get this latest version of Samba up and running
for over a week

http://svn.netlabs.org/samba


If anyone has had any success, can you tell me what you did?

I want to set it up to enable guest access to to a single directory
using this smb.conf file

[global]
workgroup = SAMBA
security = SHARE
guest account = nobody

# logging level 0 thru 3, none to most
# log level = 1


[public]
comment = Public Stuff
path = c:/shares
public = yes
writable = yes


'nobody' exists in the supplied passwd and master.passwd files but when
I run smbd.exe it stops immediately with this in the log file


smbd version 3.0.25rc3 started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
[2007/05/13 23:35:36, 1] smbd/files.c:file_init(193)
file_init: Information only: requested 10000 open files, 9980 are
available.
[2007/05/13 23:35:36, 0] smbd/server.c:main(1000)
standard input is not a socket, assuming -D option
[2007/05/13 23:35:38, 0] auth/auth_util.c:get_root_nt_token(501)
get_root_nt_token: getpwnam"root") failed!
[2007/05/13 23:35:38, 0] auth/auth_util.c:get_root_nt_token(501)
get_root_nt_token: getpwnam"root") failed!
[2007/05/13 23:35:38, 0] services/services_db.c:svcctl_init_keys(420)
init_services_keys: key lookup failed! (WERR_ACCESS_DENIED)
[2007/05/13 23:35:38, 0] printing/nt_printing.c:upgrade_to_version_4(460)
upgrade_to_version_4: upgrading printer security descriptors
[2007/05/13 23:35:38, 0] printing/nt_printing.c:upgrade_to_version_5(527)
upgrade_to_version_5: normalizing printer keys
[2007/05/13 23:35:38, 0] passdb/pdb_interface.c:guest_user_info(256)
guest_user_info: Unable to locate guest account [nobody]!
[2007/05/13 23:35:38, 0] smbd/server.c:main(1073)
ERROR: failed to setup guest info.


Any help would be appreciated.
--- NewsGate v1.0 gamma 2
* Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)

From: Herwig Bauernfeind (1:396/4)
To: n/a
Date: Sun, 14.06.20 14:57
Re: Need help getting Samba setup
00000fba
From: Herwig Bauernfeind <herwig.DESPAM.bauernfeind@aon.at>

jp schrieb:
> I've been struggling to get this latest version of Samba up and running
> for over a week
>
> http://svn.netlabs.org/samba
>
>
> If anyone has had any success, can you tell me what you did?
>
> I want to set it up to enable guest access to to a single directory
> using this smb.conf file
>
> [global]
> workgroup = SAMBA
> security = SHARE
> guest account = nobody
>
> # logging level 0 thru 3, none to most
> # log level = 1
>
>
> [public]
> comment = Public Stuff
> path = c:/shares
> public = yes
> writable = yes
>
>
> 'nobody' exists in the supplied passwd and master.passwd files but when
> I run smbd.exe it stops immediately with this in the log file
>
>
> smbd version 3.0.25rc3 started.
> Copyright Andrew Tridgell and the Samba Team 1992-2007
> [2007/05/13 23:35:36, 1] smbd/files.c:file_init(193)
> file_init: Information only: requested 10000 open files, 9980 are
> available.
> [2007/05/13 23:35:36, 0] smbd/server.c:main(1000)
> standard input is not a socket, assuming -D option
> [2007/05/13 23:35:38, 0] auth/auth_util.c:get_root_nt_token(501)
> get_root_nt_token: getpwnam"root") failed!
> [2007/05/13 23:35:38, 0] auth/auth_util.c:get_root_nt_token(501)
> get_root_nt_token: getpwnam"root") failed!
> [2007/05/13 23:35:38, 0] services/services_db.c:svcctl_init_keys(420)
> init_services_keys: key lookup failed! (WERR_ACCESS_DENIED)
> [2007/05/13 23:35:38, 0] printing/nt_printing.c:upgrade_to_version_4(460)
> upgrade_to_version_4: upgrading printer security descriptors
> [2007/05/13 23:35:38, 0] printing/nt_printing.c:upgrade_to_version_5(527)
> upgrade_to_version_5: normalizing printer keys
> [2007/05/13 23:35:38, 0] passdb/pdb_interface.c:guest_user_info(256)
> guest_user_info: Unable to locate guest account [nobody]!
> [2007/05/13 23:35:38, 0] smbd/server.c:main(1073)
> ERROR: failed to setup guest info.
>
>
> Any help would be appreciated.

You also need a user root in your master.passwd, then run

In addition you need to setup user/password combos with smbpasswd.exe
using

smbpasswd -a root

UND

smbpasswd -a nobody

This should get you going (if I did not overlook something).
BTW setting up a loglevel of at least 2 does not hurt.

Kind regards,
Herwig

--- NewsGate v1.0 gamma 2
* Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)

From: jp (1:396/4)
To: n/a
Date: Sun, 14.06.20 14:57
Re: Need help getting Samba setup
From: jp <jp@home>

Herwig Bauernfeind wrote:
> jp schrieb:
>> I've been struggling to get this latest version of Samba up and running
>> for over a week
>>
>> http://svn.netlabs.org/samba
>>
>>
>> If anyone has had any success, can you tell me what you did?
>>
>> I want to set it up to enable guest access to to a single directory
>> using this smb.conf file
>>
>> [global]
>> workgroup = SAMBA
>> security = SHARE
>> guest account = nobody
>>
>> # logging level 0 thru 3, none to most
>> # log level = 1
>>
>>
>> [public]
>> comment = Public Stuff
>> path = c:/shares
>> public = yes
>> writable = yes
>>
>>
>> 'nobody' exists in the supplied passwd and master.passwd files but when
>> I run smbd.exe it stops immediately with this in the log file
>>
>>
>> smbd version 3.0.25rc3 started.
>> Copyright Andrew Tridgell and the Samba Team 1992-2007
>> [2007/05/13 23:35:36, 1] smbd/files.c:file_init(193)
>> file_init: Information only: requested 10000 open files, 9980 are
>> available.
>> [2007/05/13 23:35:36, 0] smbd/server.c:main(1000)
>> standard input is not a socket, assuming -D option
>> [2007/05/13 23:35:38, 0] auth/auth_util.c:get_root_nt_token(501)
>> get_root_nt_token: getpwnam"root") failed!
>> [2007/05/13 23:35:38, 0] auth/auth_util.c:get_root_nt_token(501)
>> get_root_nt_token: getpwnam"root") failed!
>> [2007/05/13 23:35:38, 0] services/services_db.c:svcctl_init_keys(420)
>> init_services_keys: key lookup failed! (WERR_ACCESS_DENIED)
>> [2007/05/13 23:35:38, 0] printing/nt_printing.c:upgrade_to_version_4(460)
>> upgrade_to_version_4: upgrading printer security descriptors
>> [2007/05/13 23:35:38, 0] printing/nt_printing.c:upgrade_to_version_5(527)
>> upgrade_to_version_5: normalizing printer keys
>> [2007/05/13 23:35:38, 0] passdb/pdb_interface.c:guest_user_info(256)
>> guest_user_info: Unable to locate guest account [nobody]!
>> [2007/05/13 23:35:38, 0] smbd/server.c:main(1073)
>> ERROR: failed to setup guest info.
>>
>>
>> Any help would be appreciated.
>
> You also need a user root in your master.passwd, then run

I already have a user roor in my master.passwd which I got from here:-

ftp://ftp.netlabs.org/pub/gcc/alpha/baselayout.zip


> In addition you need to setup user/password combos with smbpasswd.exe
> using
>
> smbpasswd -a root
>
> UND
>
> smbpasswd -a nobody

I deleted master.passwd in case there was something wrong with it, and
tried using smbpasswd as you suggest but get the following:-

C:\eval\samba-3.0.23>smbpasswd.exe -a root
gethostname failed
New SMB password:
Retype new SMB password:
Failed to modify password entry for user root


I'm stumped!!



> This should get you going (if I did not overlook something).
> BTW setting up a loglevel of at least 2 does not hurt.

I'm not exactly sure were logs are recorded since I've seen a log.smbd
in %etc%\samba\log and the directory where samba is installed.


> Kind regards,
> Herwig



--- NewsGate v1.0 gamma 2
* Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)

From: cytan299@access-4-free.com (1:396/4)
To: n/a
Date: Sun, 14.06.20 14:57
Re: Need help getting Samba setup
From: cytan299@access-4-free.com

On May 14, 10:00 am, jp <jp@home> wrote:
> Herwig Bauernfeind wrote:
> > jp schrieb:
> >> I've been struggling to get this latest version of Samba up and running
> >> for over a week
>
> >>http://svn.netlabs.org/samba
>
> >> If anyone has had any success, can you tell me what you did?
>
> >> I want to set it up to enable guest access to to a single directory
> >> using this smb.conf file
>
> >> [global]
> >> workgroup = SAMBA
> >> security = SHARE
> >> guest account = nobody
>
> >> # logging level 0 thru 3, none to most
> >> # log level = 1
>
> >> [public]
> >> comment = Public Stuff
> >> path = c:/shares
> >> public = yes
> >> writable = yes
>
> >> 'nobody' exists in the supplied passwd and master.passwd files but when
> >> I run smbd.exe it stops immediately with this in the log file
>
> >> smbd version 3.0.25rc3 started.
> >> Copyright Andrew Tridgell and the Samba Team 1992-2007
> >> [2007/05/13 23:35:36, 1] smbd/files.c:file_init(193)
> >> file_init: Information only: requested 10000 open files, 9980 are
> >> available.
> >> [2007/05/13 23:35:36, 0] smbd/server.c:main(1000)
> >> standard input is not a socket, assuming -D option
> >> [2007/05/13 23:35:38, 0] auth/auth_util.c:get_root_nt_token(501)
> >> get_root_nt_token: getpwnam"root") failed!
> >> [2007/05/13 23:35:38, 0] auth/auth_util.c:get_root_nt_token(501)
> >> get_root_nt_token: getpwnam"root") failed!
> >> [2007/05/13 23:35:38, 0] services/services_db.c:svcctl_init_keys(420)
> >> init_services_keys: key lookup failed! (WERR_ACCESS_DENIED)
> >> [2007/05/13 23:35:38, 0] printing/nt_printing.c:upgrade_to_version_4(460)
> >> upgrade_to_version_4: upgrading printer security descriptors
> >> [2007/05/13 23:35:38, 0] printing/nt_printing.c:upgrade_to_version_5(527)
> >> upgrade_to_version_5: normalizing printer keys
> >> [2007/05/13 23:35:38, 0] passdb/pdb_interface.c:guest_user_info(256)
> >> guest_user_info: Unable to locate guest account [nobody]!
> >> [2007/05/13 23:35:38, 0] smbd/server.c:main(1073)
> >> ERROR: failed to setup guest info.
>
> >> Any help would be appreciated.
>
> > You also need a user root in your master.passwd, then run
>
> I already have a user roor in my master.passwd which I got from here:-
>
> ftp://ftp.netlabs.org/pub/gcc/alpha/baselayout.zip
>
> > In addition you need to setup user/password combos with smbpasswd.exe
> > using
>
> > smbpasswd -a root
>
> > UND
>
> > smbpasswd -a nobody
>
> I deleted master.passwd in case there was something wrong with it, and
> tried using smbpasswd as you suggest but get the following:-
>
> C:\eval\samba-3.0.23>smbpasswd.exe -a root
> gethostname failed
> New SMB password:
> Retype new SMB password:
> Failed to modify password entry for user root
>
> I'm stumped!!
>
> > This should get you going (if I did not overlook something).
> > BTW setting up a loglevel of at least 2 does not hurt.
>
> I'm not exactly sure were logs are recorded since I've seen a log.smbd
> in %etc%\samba\log and the directory where samba is installed.
>
> > Kind regards,
> > Herwig

I've seen this type of error before with other programmes when HOME is
not set up correctly.
I had my HOME set to HOME=/ and some programmes wouldn't work until I
set it to something like HOME=d:\

cytan

--- NewsGate v1.0 gamma 2
* Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)

From: Herwig Bauernfeind (1:396/4)
To: n/a
Date: Sat, 16.05.20 09:31
Re: Need help getting Samba setup
00000fbd
From: Herwig Bauernfeind <herwig.DESPAM.bauernfeind@aon.at>

jp schrieb:
> Herwig Bauernfeind wrote:
>> jp schrieb:
>>> I've been struggling to get this latest version of Samba up and running
>>> for over a week
>>>
>>> http://svn.netlabs.org/samba
>>>
>>>
>>> If anyone has had any success, can you tell me what you did?
>>>
>>> I want to set it up to enable guest access to to a single directory
>>> using this smb.conf file
>>>
>>> [global]
>>> workgroup = SAMBA
>>> security = SHARE
>>> guest account = nobody
>>>
>>> # logging level 0 thru 3, none to most
>>> # log level = 1
>>>
>>>
>>> [public]
>>> comment = Public Stuff
>>> path = c:/shares
>>> public = yes
>>> writable = yes
>>>
>>>
>>> 'nobody' exists in the supplied passwd and master.passwd files but when
>>> I run smbd.exe it stops immediately with this in the log file
>>>
>>>
>>> smbd version 3.0.25rc3 started.
>>> Copyright Andrew Tridgell and the Samba Team 1992-2007
>>> [2007/05/13 23:35:36, 1] smbd/files.c:file_init(193)
>>> file_init: Information only: requested 10000 open files, 9980 are
>>> available.
>>> [2007/05/13 23:35:36, 0] smbd/server.c:main(1000)
>>> standard input is not a socket, assuming -D option
>>> [2007/05/13 23:35:38, 0] auth/auth_util.c:get_root_nt_token(501)
>>> get_root_nt_token: getpwnam"root") failed!
>>> [2007/05/13 23:35:38, 0] auth/auth_util.c:get_root_nt_token(501)
>>> get_root_nt_token: getpwnam"root") failed!
>>> [2007/05/13 23:35:38, 0] services/services_db.c:svcctl_init_keys(420)
>>> init_services_keys: key lookup failed! (WERR_ACCESS_DENIED)
>>> [2007/05/13 23:35:38, 0]
>>> printing/nt_printing.c:upgrade_to_version_4(460)
>>> upgrade_to_version_4: upgrading printer security descriptors
>>> [2007/05/13 23:35:38, 0]
>>> printing/nt_printing.c:upgrade_to_version_5(527)
>>> upgrade_to_version_5: normalizing printer keys
>>> [2007/05/13 23:35:38, 0] passdb/pdb_interface.c:guest_user_info(256)
>>> guest_user_info: Unable to locate guest account [nobody]!
>>> [2007/05/13 23:35:38, 0] smbd/server.c:main(1073)
>>> ERROR: failed to setup guest info.
>>>
>>>
>>> Any help would be appreciated.
>>
>> You also need a user root in your master.passwd, then run
>
> I already have a user roor in my master.passwd which I got from here:-
>
> ftp://ftp.netlabs.org/pub/gcc/alpha/baselayout.zip
>
>
>> In addition you need to setup user/password combos with smbpasswd.exe
>> using
>>
>> smbpasswd -a root
>>
>> UND
>>
>> smbpasswd -a nobody
>
> I deleted master.passwd in case there was something wrong with it, and
> tried using smbpasswd as you suggest but get the following:-
>
> C:\eval\samba-3.0.23>smbpasswd.exe -a root
> gethostname failed
> New SMB password:
> Retype new SMB password:
> Failed to modify password entry for user root
>
> I'm stumped!!
Smile Don't worry you are not alone, it takes some time to get through.

You need a valid master.passwd in order to use smbpasswd.exe.

Note there are 2 separate password files created during the setup
process of Samba for OS/2.

First you need to create master.passwd and do as described
at http://svn.netlabs.org/samba , steps 1 and 3, there is no step 2 (for
whatever reason).

Now you have a valid *nix user/password emulation ready for Samba.

Now Samba can create its own user password files (smbpasswd and
secrets.tdb) using smbpasswd.exe -a root

smbpasswd only reads the stuff from the *nix user/password emulation
and requires it to create its own user/password files.


> I'm not exactly sure were logs are recorded since I've seen a log.smbd
> in %etc%\samba\log and the directory where samba is installed.

Populate your smb.conf with a few more keywords:

[global]
printing =
printcap name =
load printers = no
guest account = guest
null passwords = yes
; This next option sets a separate log file for each client. Remove
; it if you want a combined log file.
log file = D:/Samba/logs/log.smbd.%M
log level = 5
workgroup = SAMBA_WORKGROUP
netbios name = YOURPC_NAME
server string = Samba %v for OS/2
comment = My Samba Testbed
security = user
; You will need a world readable lock directory and "share modes=yes"
; if you want to support the file sharing modes for multiple users
; of the same files
lock directory = D:/samba/var/locks
share modes = yes
ea support = yes

[public]
comment = Public Stuff
path = c:/shares
browseable = yes
public = yes
readable = yes
writable = yes

Kind regards,
Herwig
--- NewsGate v1.0 gamma 2
* Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)

From: jp (1:396/4)
To: n/a
Date: Sat, 16.05.20 09:06
Re: Need help getting Samba setup
From: jp <jp@home>

Herwig Bauernfeind wrote:
> jp schrieb:
>> Herwig Bauernfeind wrote:
>>> jp schrieb:
>>>> I've been struggling to get this latest version of Samba up and running
>>>> for over a week
>>>>
>>>> http://svn.netlabs.org/samba
>>>>
>>>>
>>>> If anyone has had any success, can you tell me what you did?
>>>>
>>>> I want to set it up to enable guest access to to a single directory
>>>> using this smb.conf file
>>>>
>>>> [global]
>>>> workgroup = SAMBA
>>>> security = SHARE
>>>> guest account = nobody
>>>>
>>>> # logging level 0 thru 3, none to most
>>>> # log level = 1
>>>>
>>>>
>>>> [public]
>>>> comment = Public Stuff
>>>> path = c:/shares
>>>> public = yes
>>>> writable = yes
>>>>
>>>>
>>>> 'nobody' exists in the supplied passwd and master.passwd files but when
>>>> I run smbd.exe it stops immediately with this in the log file
>>>>
>>>>
>>>> smbd version 3.0.25rc3 started.
>>>> Copyright Andrew Tridgell and the Samba Team 1992-2007
>>>> [2007/05/13 23:35:36, 1] smbd/files.c:file_init(193)
>>>> file_init: Information only: requested 10000 open files, 9980 are
>>>> available.
>>>> [2007/05/13 23:35:36, 0] smbd/server.c:main(1000)
>>>> standard input is not a socket, assuming -D option
>>>> [2007/05/13 23:35:38, 0] auth/auth_util.c:get_root_nt_token(501)
>>>> get_root_nt_token: getpwnam"root") failed!
>>>> [2007/05/13 23:35:38, 0] auth/auth_util.c:get_root_nt_token(501)
>>>> get_root_nt_token: getpwnam"root") failed!
>>>> [2007/05/13 23:35:38, 0] services/services_db.c:svcctl_init_keys(420)
>>>> init_services_keys: key lookup failed! (WERR_ACCESS_DENIED)
>>>> [2007/05/13 23:35:38, 0]
>>>> printing/nt_printing.c:upgrade_to_version_4(460)
>>>> upgrade_to_version_4: upgrading printer security descriptors
>>>> [2007/05/13 23:35:38, 0]
>>>> printing/nt_printing.c:upgrade_to_version_5(527)
>>>> upgrade_to_version_5: normalizing printer keys
>>>> [2007/05/13 23:35:38, 0] passdb/pdb_interface.c:guest_user_info(256)
>>>> guest_user_info: Unable to locate guest account [nobody]!
>>>> [2007/05/13 23:35:38, 0] smbd/server.c:main(1073)
>>>> ERROR: failed to setup guest info.
>>>>
>>>>
>>>> Any help would be appreciated.
>>> You also need a user root in your master.passwd, then run
>> I already have a user roor in my master.passwd which I got from here:-
>>
>> ftp://ftp.netlabs.org/pub/gcc/alpha/baselayout.zip
>>
>>
>>> In addition you need to setup user/password combos with smbpasswd.exe
>>> using
>>>
>>> smbpasswd -a root
>>>
>>> UND
>>>
>>> smbpasswd -a nobody
>> I deleted master.passwd in case there was something wrong with it, and
>> tried using smbpasswd as you suggest but get the following:-
>>
>> C:\eval\samba-3.0.23>smbpasswd.exe -a root
>> gethostname failed
>> New SMB password:
>> Retype new SMB password:
>> Failed to modify password entry for user root
>>
>> I'm stumped!!
> Smile Don't worry you are not alone, it takes some time to get through.
>
> You need a valid master.passwd in order to use smbpasswd.exe.
>
> Note there are 2 separate password files created during the setup
> process of Samba for OS/2.
>
> First you need to create master.passwd and do as described
> at http://svn.netlabs.org/samba , steps 1 and 3, there is no step 2 (for
> whatever reason).

I have read that page numerous and still don't understand it. It says to
download and install this file

ftp://ftp.netlabs.org/pub/gcc/alpha/baselayout.zip

It already contains passwd master.passwd pwd.db and spwd.db each of
which contain the user nobody. The error msg above says

>>>> [2007/05/13 23:35:38, 0] passdb/pdb_interface.c:guest_user_info(256)
>>>> guest_user_info: Unable to locate guest account [nobody]!

Does that mean smbd can't find the entry for nobody in the master.passwd
file or that it can't find the file?

Anyay, I've deleted master.passwd, pwd.db and spwd.db and ten run
smbpasswd -a root as suggested, but this fails, just like before

[U:\usr\local]smbpasswd -a root
New SMB password:
Retype new SMB password:
Failed to modify password entry for user root


I really don't see what is going on here.


> Now you have a valid *nix user/password emulation ready for Samba.
>
> Now Samba can create its own user password files (smbpasswd and
> secrets.tdb) using smbpasswd.exe -a root
>
> smbpasswd only reads the stuff from the *nix user/password emulation
> and requires it to create its own user/password files.
>
>
>> I'm not exactly sure were logs are recorded since I've seen a log.smbd
>> in %etc%\samba\log and the directory where samba is installed.
>
> Populate your smb.conf with a few more keywords:
>
> [global]
> printing =
> printcap name =
> load printers = no
> guest account = guest
> null passwords = yes
> ; This next option sets a separate log file for each client. Remove
> ; it if you want a combined log file.
> log file = D:/Samba/logs/log.smbd.%M
> log level = 5
> workgroup = SAMBA_WORKGROUP
> netbios name = YOURPC_NAME
> server string = Samba %v for OS/2
> comment = My Samba Testbed
> security = user
> ; You will need a world readable lock directory and "share modes=yes"
> ; if you want to support the file sharing modes for multiple users
> ; of the same files
> lock directory = D:/samba/var/locks
> share modes = yes
> ea support = yes
>
> [public]
> comment = Public Stuff
> path = c:/shares
> browseable = yes
> public = yes
> readable = yes
> writable = yes
>
> Kind regards,
> Herwig
--- NewsGate v1.0 gamma 2
* Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)

From: Herwig Bauernfeind (1:396/4)
To: n/a
Date: Sat, 16.05.20 16:15
Re: Need help getting Samba setup
00000fbf
From: Herwig Bauernfeind <herwig.DESPAM.bauernfeind@aon.at>

jp schrieb:

Okay, jp, I will try to create a cookbook of what I did in order to get
Samba running:

1.Wink Add SET UNIXROOT=x:\MPTN (where x: is your bootdrive) to your
CONFIG.SYS.
2.Wink Make sure you have SET ETC=x:\MPTN\ETC in your CONFIG.SYS
Reboot.

3.Wink Change into x:\MPTN and run unzip -n baselayout.zip (note the -n it
is important!Wink

Explanation of step 1 to 3: This creates a (rather) complete *nix like
directory structure in x:\MPTN. Why x:\MPTN? Because x:\MPTN already has
a rudimentary *nix like directory structure and many files are already
in place. That is also the reason for the unzip -n switch - you should
not overwrite things already there

3.Wink Delete x:\MPTN\ETC\pwd.db
Delete x:\MPTN\ETC\spwd.db

4.Wink Add the following line at the end to master.passwd (which came from
baselayout.zip, DO NOT DELETE THIS FILE):

UserName:*:101:101::0:0:Your full name:/nonexistent:/usr/sbin/nologin

Replace UserName with the name you want to login.
Replace Your full name with your full name.

5.Wink Run:

x:\MPTN\usr\sbin\pwd_mkdb x:\MPTN\etc\master.passwd

Explanation of step 4 and 5: Now you should have all your *nix stuff
properly setup.

6. Now comes the real Samba part:

7. Change into x:\MPTN\ETC

Create a directory named samba in it.

8. unzip the Samba packages from netlabs (3.0.25pre1 is IMHO the best to
start with, it has less quirks than subsequent builds, especially for a
beginner) in the root of your boot drive. The files end up in x:\samba
(and yes, leave also libc062x.dll there, for heavens sake!Wink.

Copy smb.conf into x:\MPTN\ETC\samba and customize it to your
requirements. Don't forget to set the following 3 lines in smb.conf

lock directory = x:/samba/var/locks
log file = x:/Samba/logs/log.smbd.%M
log level = 5

8. Change into x:\Samba
Run smbpasswd -a root
Run smbpasswd -a nobody
Run smbpasswd -a Username (exactly like you added to master.passwd)

9. Run:

nmbd -l x:/samba/logs
smbd

Enjoy!


While I am not certain that this is the absolutely best way to install
Samba, I have done it on 3 machines now and I know it works this way.

Good luck,
Herwig
--- NewsGate v1.0 gamma 2
* Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)

From: jp (1:396/4)
To: n/a
Date: Sat, 16.05.20 17:22
Re: Need help getting Samba setup
From: jp <jp@home>

Herwig Bauernfeind wrote:
> jp schrieb:
>
> Okay, jp, I will try to create a cookbook of what I did in order to get
> Samba running:
>
> 1.Wink Add SET UNIXROOT=x:\MPTN (where x: is your bootdrive) to your
> CONFIG.SYS.
> 2.Wink Make sure you have SET ETC=x:\MPTN\ETC in your CONFIG.SYS
> Reboot.
>
> 3.Wink Change into x:\MPTN and run unzip -n baselayout.zip (note the -n it
> is important!Wink
>
> Explanation of step 1 to 3: This creates a (rather) complete *nix like
> directory structure in x:\MPTN. Why x:\MPTN? Because x:\MPTN already has
> a rudimentary *nix like directory structure and many files are already
> in place. That is also the reason for the unzip -n switch - you should
> not overwrite things already there
>
> 3.Wink Delete x:\MPTN\ETC\pwd.db
> Delete x:\MPTN\ETC\spwd.db
>
> 4.Wink Add the following line at the end to master.passwd (which came from
> baselayout.zip, DO NOT DELETE THIS FILE):
>
> UserName:*:101:101::0:0:Your full name:/nonexistent:/usr/sbin/nologin
>
> Replace UserName with the name you want to login.
> Replace Your full name with your full name.
>
> 5.Wink Run:
>
> x:\MPTN\usr\sbin\pwd_mkdb x:\MPTN\etc\master.passwd
>
> Explanation of step 4 and 5: Now you should have all your *nix stuff
> properly setup.
>
> 6. Now comes the real Samba part:
>
> 7. Change into x:\MPTN\ETC
>
> Create a directory named samba in it.
>
> 8. unzip the Samba packages from netlabs (3.0.25pre1 is IMHO the best to
> start with, it has less quirks than subsequent builds, especially for a
> beginner) in the root of your boot drive. The files end up in x:\samba
> (and yes, leave also libc062x.dll there, for heavens sake!Wink.
>
> Copy smb.conf into x:\MPTN\ETC\samba and customize it to your
> requirements. Don't forget to set the following 3 lines in smb.conf
>
> lock directory = x:/samba/var/locks
> log file = x:/Samba/logs/log.smbd.%M
> log level = 5
>
> 8. Change into x:\Samba
> Run smbpasswd -a root
> Run smbpasswd -a nobody
> Run smbpasswd -a Username (exactly like you added to master.passwd)
>
> 9. Run:
>
> nmbd -l x:/samba/logs
> smbd
>
> Enjoy!
>
>
> While I am not certain that this is the absolutely best way to install
> Samba, I have done it on 3 machines now and I know it works this way.
>
> Good luck,
> Herwig


Herwig,

Thanks for your patience.

I did actually get it running just after I replied once I had reread
your previous instructions.

So I have smbd running now, but no clear idea about how to connect to it.

I have tried smbclient -L 192.168.0.7 from elsewhere on my network and
do see the available share, although I get a password prompt which I
don't want for a guest user.

But how do I connect to the share? Especially from a Windows client.

Can you connect to the system? It's also available as 213.152.37.91
currently.
--- NewsGate v1.0 gamma 2
* Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)

From: &lt;rde42@spamcop.net&gt; (1:396/4)
To: n/a
Date: Sat, 16.05.20 16:48
Re: Need help getting Samba setup
From: <rde42@spamcop.net>

On Wed, 16 May 2007 19:22:00 UTC, jp <jp@home> wrote:

> So I have smbd running now, but no clear idea about how to connect to it.

You seem to be fumbling in the dark, rather. I would suggest that you
get a copy of the O'Reilly Samba book; well worth it.
--- NewsGate v1.0 gamma 2
* Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)

From: jp (1:396/4)
To: n/a
Date: Sat, 16.05.20 22:27
Re: Need help getting Samba setup
From: jp <jp@home>

rde42@spamcop.net wrote:
> On Wed, 16 May 2007 19:22:00 UTC, jp <jp@home> wrote:
>
>> So I have smbd running now, but no clear idea about how to connect to it.
>
> You seem to be fumbling in the dark, rather. I would suggest that you
> get a copy of the O'Reilly Samba book; well worth it.


I guess this book will explain how I go about setting up a Samba server
on OS/2 or mount a client using Netdrive...
--- NewsGate v1.0 gamma 2
* Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)

From: &lt;rde42@spamcop.net&gt; (1:396/4)
To: n/a
Date: Sun, 17.05.20 02:33
Re: Need help getting Samba setup
From: <rde42@spamcop.net>

On Thu, 17 May 2007 00:27:45 UTC, jp <jp@home> wrote:

> rde42@spamcop.net wrote:
> > On Wed, 16 May 2007 19:22:00 UTC, jp <jp@home> wrote:
> >
> >> So I have smbd running now, but no clear idea about how to connect to it.
> >
> > You seem to be fumbling in the dark, rather. I would suggest that you
> > get a copy of the O'Reilly Samba book; well worth it.
>
>
> I guess this book will explain how I go about setting up a Samba server
> on OS/2 or mount a client using Netdrive...

That's not a very nice response, is it? It would certainly answer some
of what you;ve been asking, which has been about generally using Samba.

--- NewsGate v1.0 gamma 2
* Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)

From: Herwig Bauernfeind (1:396/4)
To: n/a
Date: Sun, 17.05.20 08:37
Re: Need help getting Samba setup
00000fc4
From: Herwig Bauernfeind <herwig.DESPAM.bauernfeind@aon.at>

jp schrieb:
> rde42@spamcop.net wrote:
>> On Wed, 16 May 2007 19:22:00 UTC, jp <jp@home> wrote:
>>
>>> So I have smbd running now, but no clear idea about how to connect to
>>> it.
>>
>> You seem to be fumbling in the dark, rather. I would suggest that you
>> get a copy of the O'Reilly Samba book; well worth it.
>
>
> I guess this book will explain how I go about setting up a Samba server
> on OS/2 or mount a client using Netdrive...

Well, while it certainly will not do that, it might be a good idea anyway.

I bought myself the official manual by Terpstra/Vernooij and it helped
me quite a lot.

The things I am still fighting with are the differences between *nix and
OS/2 and the lack of documentation of these.

In addition I find it difficult to distinguish between my own mistakes
and misconceptions and current limitations/defects in the OS/2-Samba build.

Kind regards,
Herwig
--- NewsGate v1.0 gamma 2
* Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)

From: Herwig Bauernfeind (1:396/4)
To: n/a
Date: Sun, 17.05.20 08:53
Re: Need help getting Samba setup
00000fc5
From: Herwig Bauernfeind <herwig.DESPAM.bauernfeind@aon.at>

jp schrieb:
> Herwig Bauernfeind wrote:
>> jp schrieb:
>>
>> Okay, jp, I will try to create a cookbook of what I did in order to get
>> Samba running:
>>
>> 1.Wink Add SET UNIXROOT=x:\MPTN (where x: is your bootdrive) to your
>> CONFIG.SYS.
>> 2.Wink Make sure you have SET ETC=x:\MPTN\ETC in your CONFIG.SYS
>> Reboot.
>>
>> 3.Wink Change into x:\MPTN and run unzip -n baselayout.zip (note the -n it
>> is important!Wink
>>
>> Explanation of step 1 to 3: This creates a (rather) complete *nix like
>> directory structure in x:\MPTN. Why x:\MPTN? Because x:\MPTN already has
>> a rudimentary *nix like directory structure and many files are already
>> in place. That is also the reason for the unzip -n switch - you should
>> not overwrite things already there
>>
>> 3.Wink Delete x:\MPTN\ETC\pwd.db
>> Delete x:\MPTN\ETC\spwd.db
>>
>> 4.Wink Add the following line at the end to master.passwd (which came from
>> baselayout.zip, DO NOT DELETE THIS FILE):
>>
>> UserName:*:101:101::0:0:Your full name:/nonexistent:/usr/sbin/nologin
>>
>> Replace UserName with the name you want to login.
>> Replace Your full name with your full name.
>>
>> 5.Wink Run:
>>
>> x:\MPTN\usr\sbin\pwd_mkdb x:\MPTN\etc\master.passwd
>>
>> Explanation of step 4 and 5: Now you should have all your *nix stuff
>> properly setup.
>>
>> 6. Now comes the real Samba part:
>>
>> 7. Change into x:\MPTN\ETC
>>
>> Create a directory named samba in it.
>>
>> 8. unzip the Samba packages from netlabs (3.0.25pre1 is IMHO the best to
>> start with, it has less quirks than subsequent builds, especially for a
>> beginner) in the root of your boot drive. The files end up in x:\samba
>> (and yes, leave also libc062x.dll there, for heavens sake!Wink.
>>
>> Copy smb.conf into x:\MPTN\ETC\samba and customize it to your
>> requirements. Don't forget to set the following 3 lines in smb.conf
>>
>> lock directory = x:/samba/var/locks
>> log file = x:/Samba/logs/log.smbd.%M
>> log level = 5
>>
>> 8. Change into x:\Samba
>> Run smbpasswd -a root
>> Run smbpasswd -a nobody
>> Run smbpasswd -a Username (exactly like you added to master.passwd)
>>
>> 9. Run:
>>
>> nmbd -l x:/samba/logs
>> smbd
>>
>> Enjoy!
>>
>>
>> While I am not certain that this is the absolutely best way to install
>> Samba, I have done it on 3 machines now and I know it works this way.
>>
>> Good luck,
>> Herwig
>
>
> Herwig,
>
> Thanks for your patience.
>
> I did actually get it running just after I replied once I had reread
> your previous instructions.
>
> So I have smbd running now, but no clear idea about how to connect to it.
>
> I have tried smbclient -L 192.168.0.7 from elsewhere on my network and
> do see the available share, although I get a password prompt which I
> don't want for a guest user.
>
> But how do I connect to the share? Especially from a Windows client.
>
> Can you connect to the system? It's also available as 213.152.37.91
> currently.

Yes, that works. No problem to connect and read the TECHNOTE.TXT on the
share and write to it.

I connected from a Windows XP Pro client using user "root" and no password.

Right click on the Network icon, select "Connect drive", enter
"\\213.152.37.91\public", and check "login as a different user", enter
"root" and no password and you are there.

I have a german WinXP so the titles and texts on your Windows might be
different. But you get the idea.

Kind regards,
Herwig
--- NewsGate v1.0 gamma 2
* Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)

From: Herwig Bauernfeind (1:396/4)
To: n/a
Date: Sun, 17.05.20 08:56
Re: Need help getting Samba setup
00000fc6
From: Herwig Bauernfeind <herwig.DESPAM.bauernfeind@aon.at>

jp schrieb:
> Herwig Bauernfeind wrote:
>> jp schrieb:
>>
>> Okay, jp, I will try to create a cookbook of what I did in order to get
>> Samba running:
>>
>> 1.Wink Add SET UNIXROOT=x:\MPTN (where x: is your bootdrive) to your
>> CONFIG.SYS.
>> 2.Wink Make sure you have SET ETC=x:\MPTN\ETC in your CONFIG.SYS
>> Reboot.
>>
>> 3.Wink Change into x:\MPTN and run unzip -n baselayout.zip (note the -n it
>> is important!Wink
>>
>> Explanation of step 1 to 3: This creates a (rather) complete *nix like
>> directory structure in x:\MPTN. Why x:\MPTN? Because x:\MPTN already has
>> a rudimentary *nix like directory structure and many files are already
>> in place. That is also the reason for the unzip -n switch - you should
>> not overwrite things already there
>>
>> 3.Wink Delete x:\MPTN\ETC\pwd.db
>> Delete x:\MPTN\ETC\spwd.db
>>
>> 4.Wink Add the following line at the end to master.passwd (which came from
>> baselayout.zip, DO NOT DELETE THIS FILE):
>>
>> UserName:*:101:101::0:0:Your full name:/nonexistent:/usr/sbin/nologin
>>
>> Replace UserName with the name you want to login.
>> Replace Your full name with your full name.
>>
>> 5.Wink Run:
>>
>> x:\MPTN\usr\sbin\pwd_mkdb x:\MPTN\etc\master.passwd
>>
>> Explanation of step 4 and 5: Now you should have all your *nix stuff
>> properly setup.
>>
>> 6. Now comes the real Samba part:
>>
>> 7. Change into x:\MPTN\ETC
>>
>> Create a directory named samba in it.
>>
>> 8. unzip the Samba packages from netlabs (3.0.25pre1 is IMHO the best to
>> start with, it has less quirks than subsequent builds, especially for a
>> beginner) in the root of your boot drive. The files end up in x:\samba
>> (and yes, leave also libc062x.dll there, for heavens sake!Wink.
>>
>> Copy smb.conf into x:\MPTN\ETC\samba and customize it to your
>> requirements. Don't forget to set the following 3 lines in smb.conf
>>
>> lock directory = x:/samba/var/locks
>> log file = x:/Samba/logs/log.smbd.%M
>> log level = 5
>>
>> 8. Change into x:\Samba
>> Run smbpasswd -a root
>> Run smbpasswd -a nobody
>> Run smbpasswd -a Username (exactly like you added to master.passwd)
>>
>> 9. Run:
>>
>> nmbd -l x:/samba/logs
>> smbd
>>
>> Enjoy!
>>
>>
>> While I am not certain that this is the absolutely best way to install
>> Samba, I have done it on 3 machines now and I know it works this way.
>>
>> Good luck,
>> Herwig
>
>
> Herwig,
>
> Thanks for your patience.
>
> I did actually get it running just after I replied once I had reread
> your previous instructions.
>
> So I have smbd running now, but no clear idea about how to connect to it.
>
> I have tried smbclient -L 192.168.0.7 from elsewhere on my network and
> do see the available share, although I get a password prompt which I
> don't want for a guest user.
>
> But how do I connect to the share? Especially from a Windows client.
>
> Can you connect to the system? It's also available as 213.152.37.91
> currently.
Use smbclient \\213.152.37.91\public
and simply press enter over the password prompt.

Kind regards,
Herwig
--- NewsGate v1.0 gamma 2
* Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)

ABOUT

This forum contains echomail areas hosted on Nightmare BBS You can browse local echomail areas, italian fidonet areas and a selection of international fidonet areas, reading messages posted by users in Nightmare BBS or even other BBSs all over the world. You can find file areas too (functional to fidonet technology). You can browse echomail areas and download files with no registration, but if you want to write messages in echomail areas, or use fidonet netmail (private messages with fidomet technology), you have to register. Only a minimal set of data is required, functional to echomail and netmail usage (name, password, email); a registration and login with facebook is provided too, to allow easy registration. If you won't follow rules (each echomail areas has its own, regularly posted in the echomail), your account may be suspended;

CONTACT