[Samba] Urgent problem with Samba and Windows NT4...

Rainer Hantsch rainer at hantsch.co.at
Mon Dec 13 19:26:00 GMT 2004


Hello!

I tried to get some help from the IRC before, but the problem seems to be too
complicated to discuss it there.
PLEASE, be so kind and help me solving this problem, I stuck and I must get
this working as quick as possible.

Here an overview and some details:
In one well protected LAN (so I have no need to encrypt passwords at all,
which simplifies user management on servers in turn because I do not have to
add users twice (once to Linux, once to samba) I have two SAMBA servers.

.) The old one is running on SuSE 6.4 and is version 2.0.6.
   To this server, all current windows clients (NT4, Win2000, WinXP) can
   connect, and everything works fine.
.) The new server is running Samba 3.0.7-5.2-SUSE on SuSE 9.2.
   To this server, only Win2000 and WinXP, but not NT4 can connect.
.) The old server can use 'smbmount' to mount the new server with samba,
   which was done with several usernames for testing, so it must configured
   theoretically well.

So the bis question is: Why can't Win-NT4 connect to the new server?

Below I appended the important parts of both smb.conf files and a little
snippet of /var/log/samba/log.smb.

If somebody can help, please.

Thanks,

Rainer




Old server's smb.conf, the server who is working well:
---<snip>---------------------
[global]
   workgroup = satz
   guest account = nobody
   keep alive = 30
   os level = 96
   kernel oplocks = false
   security = user
   encrypt passwords = no
   printing = bsd
   printcap name = /etc/printcap
   load printers = yes
   socket options = TCP_NODELAY
   map to guest = Bad User
   interfaces = 10.0.0.2/255.0.0.0
   wins support = no

[WinWork]
   comment = Windows-Daten
   directory = /userdata/WinWork
   browseable = yes
   read only = no
   locking = yes
   force create mode = 0777
   force directory mode = 0666
...
...
---<snap>---------------------



New server's smb.conf:
This server can only be mounted from smbmount, Win2k and WinXP
---<snip>---------------------
[global]
        log level = 3 passdb:5 auth:10
        workgroup = SATZ
        encrypt passwords = no
        printing = cups
        printcap name = cups
        printcap cache time = 750
        cups options = raw
        printer admin = @ntadmin, root, administrator
        username map = /etc/samba/smbusers
        map to guest = Bad User
        include = /etc/samba/dhcp.conf
#       logon path = \\%L\profiles\.msprofile
#       logon home = \\%L\%U\.9xprofile
#       logon drive = P:

# Here I tried forcing some settings (no difference)
        security = user
        acl compatibility = Auto

[applework]
        comment = Apple Working Dir
        path = /userdata/work
        browseable = yes
        read only = no
        directory mask = 0777
        create mask = 0666
        force directory mode = 0777
        force create mode = 0666
...
...
---<snap>---------------------



A short snippet of the samba-logfile. User "wewerka" is existing and
has a valid password, though she cannot log in to the new server. I wonder
about username "Standard". As you can see, User "roza" can login.
---<snip>-------------------------------
[2004/12/13 13:31:02, 1] smbd/service.c:make_connection_snum(648)
  10.0.0.77 (10.0.0.77) connect to service applework initially as user roza (u
id=505, gid=100) (pid 1258)
[2004/12/13 13:31:02, 1] smbd/service.c:close_cnum(837)
  10.0.0.77 (10.0.0.77) closed connection to service applework
[2004/12/13 13:31:02, 1] smbd/service.c:make_connection_snum(648)
  10.0.0.77 (10.0.0.77) connect to service applework initially as user roza (u
id=505, gid=100) (pid 1258)
[2004/12/13 13:31:02, 1] smbd/service.c:close_cnum(837)
  10.0.0.77 (10.0.0.77) closed connection to service applework
[2004/12/13 16:32:27, 0] auth/pampass.c:smb_pam_passcheck(810)
  smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User Standard !
[2004/12/13 16:32:31, 0] smbd/service.c:make_connection(800)
  10.0.0.31 (10.0.0.31) couldn't find service .
[2004/12/13 13:31:02, 1] smbd/service.c:close_cnum(837)
  10.0.0.77 (10.0.0.77) closed connection to service applework
[2004/12/13 16:32:27, 0] auth/pampass.c:smb_pam_passcheck(810)
  smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User Standard !
[2004/12/13 16:32:31, 0] smbd/service.c:make_connection(800)
  10.0.0.31 (10.0.0.31) couldn't find service .
[2004/12/13 16:32:40, 0] auth/pampass.c:smb_pam_passcheck(810)
  smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User Standard !
[2004/12/13 16:32:40, 0] auth/pampass.c:smb_pam_passcheck(810)
  smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User Standard !
[2004/12/13 16:33:10, 0] auth/pampass.c:smb_pam_passcheck(810)
  smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User wewerka !
[2004/12/13 16:33:32, 0] auth/pampass.c:smb_pam_passcheck(810)
  smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User wewerka !
[2004/12/13 16:33:56, 0] auth/pampass.c:smb_pam_passcheck(810)
  smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User wewerka !
---<snap>---------------------------




More information about the samba mailing list