[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Samba



>Well, once I figured out that I needed to actually CREATE samba
>passwords, encrypted passwords work just fine!!!
>(Don't bother telling me about the Goodyear blimp, just hold up your
>hand and, as I gaze upon it in wonder and rapturous stupification, slap me.)

Been there.

>By the way, I removed IPX/Netware Login from one machine here for
>testing purposes. I can copy executables (and presumably othr files) fine from 
>there. Another machine (98, the first was Win95) still has IPX
>installed. I  can create ddd.txt and ument.doc and read and write from them
>just fine, but copying an executable pukes twice and dies. Explorer just 
>hangs. I am using Samba 2.2. smb.conf given below, as I won't have it later.

Are you copying from or the the Samba box, or across shares on the same box?

>;
>; /etc/smb.conf
> [global]
>    printing = bsd

What distro of Linux are you using?  Some don't use lpd,  if so the above will
cause you no end of odd problems.

>    guest account = nobody

It is best to make an account that is specifically for SMB Guest,  services run
a nobody which makes this a dangerous setting.

>workgroup = first
>domain logons = yes
>server string = %h server (Samba %v)
>os level = 34
>domain master = yes
>local master = yes
>preferred master = yes

Read up on SMB elections.  If you want the Samba box to be domain master and
master browser it needs to win elections.  You low "os level" may cause it too
loose elections when a new machine comes up,  but "prederred master = yes" will
make it call for a new election when it is no longer the master, etc....


> [shared]
>    comment = Public tree
>    path = /pub/shared
>    browseable = yes
>    read only = no
>    create mask = 0777
>    directory mask = 0777

Are you sure you want "directory mask" and not "force create mode"?

> [cdrom]
>    comment = killdevil's CD-ROM
>    writable = no
>    locking = no
>    path = /cdrom
>    public = yes
>    preexec = /bin/mount /cdrom
>    postexec = /bin/umount /cdrom

Very clever preexec and postexec,  never thought of that.  How well does this
work out?