2.0.6: HUP/charset/profiles/smbmount/logging

Giulio Orsero giulioo at tiscalinet.it
Wed Nov 17 08:27:11 GMT 1999


This is the list of problems I had with samba-2.0.6 so far. Can anyone
tell me if he can reproduce them and if he considers them as problems?

2.0.6 on linux 2.2.13 or 2.0.33

1)
sighup/log reopening doesn't always work: connections that are already
active keep logging to the old logs; logrotate rotates/zip the logs and
samba stops logging completely till restart.

2)
Localized chars.
I have
character set = iso8859-1
client code page = 850

>From windows explorer to samba all is ok.
>From samba (smbclient/smbmount) the localized chars on windows shared
dirs are unreadable.

3)
The change to make "net use h: /home" works, makes the logon path
directive not effective (profiles go into the home-share whatever you
put in "logon path").
This issue has already been discussed a lot on the list.

4)
smbmount # 1
If:
- someone has and HD (Win9x) where the volume label of the HD is "xyz"
- there is a dir "c:\xyz", 
- the c:\ rootdir is shared (say as "c")
Then when the HD is smbmounted the c:\xyz dir will appear as a file
(really as a "VOLUME ARCHIVE") and not a dir, its content won't be
available.
To solve this either change the volume label or the dir name.
Smbclient in not affected.
This is real-time, if you change the volume label while the disk is
smbmounted you see the dir re-becoming a dir and vice-versa.

5) (security)
smbmount # 2
When a password protected win9x share is mounted, the username and the
length of the password used to mount it are in the ps output.

6) (security)
samba doesn't log (at standard log level)  the ip address of a machine
which tries to connect with a wrong password, or that tries to access a
share as an user not in "valid users". I'd like to know who is trying to
access a non-public share using every possible password.

7)
I have 2.0.6-PDC and a 2.0.6-domain-member of the 1st pdc.
Authentication works ok, the domain member has an empty smbpasswd file.
When I connect to my homeshare on the domain member I get

[1999/11/16 17:25:06, 1] smbd/password.c:pass_check_smb(505)
  Couldn't find user 'go' in smb_passwd file.
[1999/11/16 17:25:06, 1] smbd/service.c:make_connection(535)
  go (10.0.0.173) connect to service go as user go (uid=105, gid=100)
(pid 21278)

I don't understand why it logs that it can't find "go" in smbpasswd
since the primary auth source is the pdc which gives ok to my
userid/password pair. It shouldn't look at the smbpasswd file at all if
the pdc is there, should it?
I mean: all is ok, but the log says something that could be interpreted
as a problem. I routinely grep the logs for anomalies and these are
false positives.


============= sighup/log
this file, log.smb.1, was renamed from log.smb to log.smb.1 before the
HUP, as you can see samba keeps logging to it after the HUP.

[1999/11/16 16:58:38, 1] smbd/server.c:main(643)
  smbd version 2.0.6 started.
  Copyright Andrew Tridgell 1992-1998
[1999/11/16 16:58:38, 1] smbd/files.c:file_init(216)
  file_init: Information only: requested 10000 open files, 246 are
available.
[1999/11/16 16:58:47, 1] smbd/password.c:pass_check_smb(505)
  Couldn't find user 'go' in smb_passwd file.
[1999/11/16 16:58:49, 1] smbd/password.c:pass_check_smb(505)
  Couldn't find user 'go' in smb_passwd file.
[1999/11/16 16:58:49, 1] smbd/service.c:make_connection(535)
  go (100.0.173) connect to service windows as user cdi (uid=100,
gid=100) (pid 21166)
[1999/11/16 16:59:01, 0] smbd/server.c:sig_hup(342)
  Got SIGHUP
[1999/11/16 16:59:01, 0] smbd/server.c:sig_hup(342)
  Got SIGHUP
[1999/11/16 16:59:09, 1] smbd/password.c:pass_check_smb(505)
  Couldn't find user 'go' in smb_passwd file.
[1999/11/16 16:59:09, 1] smbd/service.c:make_connection(535)
  go (10.0.0.173) connect to service go as user go (uid=105, gid=100)
(pid 21166)
[1999/11/16 16:59:10, 1] smbd/password.c:pass_check_smb(505)
  Couldn't find user 'go' in smb_passwd file.
[1999/11/16 16:59:10, 1] smbd/password.c:pass_check_smb(505)
  Couldn't find user 'cdi' in smb_passwd file.
[1999/11/16 16:59:11, 1] smbd/password.c:pass_check_smb(505)
  Couldn't find user 'go' in smb_passwd file.
[1999/11/16 16:59:11, 1] smbd/service.c:make_connection(535)
  go (10.0.0.173) connect to service giulio as user go (uid=105,
gid=100) (pid21166)


-- 
giulioo at tiscalinet.it


More information about the samba mailing list