this is probably a simple fix for anyone who's memorized the
SAMBA manpages...

according to doc/samba/DIAGNOSIS* --

>In all of the tests I assume you have a Samba server called BIGSERVER
>and a PC called ACLIENT.

meaning the name of the linux workstation, according to whom?
-- smb.conf calls it "workgroup = fileOmatic"
-- smb.conf "server string = linuxSamba"
-- according to dns, it's "linus".

not knowing exactly which to use for 'server called XXX' i tried all
three. (this will be sooo cool when it works! aaugh!)

"linus" worked best.

DIAGNOSIS TEST #1
# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[tmp]"
Processing section "[public]"
Loaded services file OK.
[global]
        workgroup = fileOmatic
        server string = linuxSamba
        hosts deny = ALL
        hosts allow = 192.168.1. 127.
        log file = /usr/local/samba/var/log.%m
        max log size = 50
        security = user
        socket options = TCP_NODELAY
...
[homes]
        comment = Home Directories
        read only = No
        browseable = No
        guest ok = No
[tmp]
        comment = Temporary file space
        path = /tmp
        read only = No
        guest ok = No
[public]
        comment = Public Stuff
        path = /home/samba
        write list = @staff
        read only = No
        guest ok = No

DIAGNOSIS TEST #2
ping works fine, both ways (client to server, server to client).

DIAGNOSIS TEST #3
$ smbclient -L linus
load_client_codepage: filename /etc/samba/codepages/codepage.850 does
not exist.
added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
added interface ip= 11.33.97.5 bcast= 11.33.97.255 nmask=255.255.255.0
Password:
session setup failed: ERRSRV - ERRbadpw (Bad password - name/password
pair in a Tree Connect or Session Setup are invalid.)

same happens for IP numbers (192.168.1.1 or 127.0.0.1)
i.e.            $ smbclient -L 192.168.1.1
                $ smbclient -L 127.0.0.1

as 'DIAGNOSIS' suggests, i double-check 'hosts' and '*valid users'
in smb.conf:
        hosts deny = ALL
        hosts allow = 192.168.1.  127.
there is no (uncommented) 'users' directive.

i'm stuck.

# ls -la /etc/samba/codepages/
total 2
drwxr-xr-x    2 root     root         1024 Mar  1 08:48 .
drwxr-xr-x    3 root     root         1024 Apr 27 14:56 ..

and just to be certain, i re-set my 'smbpasswd' several times
so i know i've hit it right at least once.  :)

1) how do i munge a codepage 850? or do i need to?

2) how can i keep it from adding interface 11.33.97.5?

3) what's a tree connect and how do i prune it--or do i need to?

Reply via email to