We have just installed version 1.9.18p8 of samba on an HP-UX c100
The compile went fine with no errors returned.
We modified the default smb.conf file in the examples directory to point
to the directory where samba is installed and chnaged the workgroup name
and installed it as is for testing.
When we try to access the public share as defined in the default
smb.conf file, the system asks for a password. We used the
"smbclient \\hostname\public" system call. If I type in my unix password
then I get in fine.
The smb.conf man page states that if public = yes, then no password is
required to connect to this service and priviledges will be that of the
We have tried the smbclient with the -N switch and get an error
"Bad password - name/password pair in a Tree Connect or Session Setup
If we try with the -U% switch then we get in Okay. However we cannot use
this from a Win95 system.
We have created the guest account in /etc/passwd as pcguest and can
su - pcguest with no problems.
What else do we have to configure to get access to a share defined as
public? It cannot be that hard to do, we just cannot put our finger on
the right page in all the docs.