A few comments:

   1) The [Home] share is a "special" share, designed to allow every
       user that connects to magically see his own home directory on the
       UNIX machine.  Not sure if the same paradigm really applies to
       OS/400...  this might not be a good place to start.

   2) Maybe a simple share like this would be a place to start:

             comment = Simple Share
             path = /simple/dir
             valid users = klemscot bdietz
             public = yes
             writable = yes
             printable = no

   3) I run 7 Samba servers, and I've never used the "sambapasswd"
        program.   I know that it's possible to create separate userid &
        password database from the system one, but I never found the
        need to do so.

   4) The SWAT program is intended to allow you to connect with a
        web browser and get a GUI whereby you can change the configuration
        in the smb.conf file.   The reason is because, like you, many
        people found editing smb.conf to be awkward.

   5) Make sure you have a 'hosts allow' line in smb.conf that allows
        access from your LAN.  Missing this is a common gotcha..
        without this, you can't access the shares.

   6) Every time I change my samba configuration, I restart smbd and
        nmbd.  I don't know if its required, but I do.

Good luck

On Thu, 20 Dec 2001 bdietz@3x.com wrote:
> Ok Adam,  Since I am new to this "thing" I will ask for help..
> I ended up with at smb.conf at about that many lines.  I was not able to
> bring up any shares though.
> I tried to set up just one share for starters.  The environment is my win2k
> PC and the 400 running samba aix 2.2.1.  I will have time tomorrow to check
> out more.
> <smb.conf>
>  [global]
> workgroup = ITS
> netbios name = EBIZ01
> server string = EBIZ01-Samba-Server
>  [home]
> comment = Home Directories
> path=/home
> Questions,  how important is the sambapasswd "program"?
> All I want is a proof that it works, just a simple guest share of the /home
> directory would be great.
> Do you have to restart the smbd and nmbd "services", it appears that I do
> not have to?
> What is the purpose of the swat program.  It does not appear to be a
> command line program?
> >From my PC the NBTSTAT works and I can see the domain and the netbios name.
> but when I try and browse or "net use" I got some such error that the
> server did not exist any more.
> I was dialed in at the time and I am not sure how stuff gets routed to the
> "dial-in" network, but the share from the "regular" netserver came up fine.
> I'm done rambling today.  Lets pick this up tomorrow.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.