Samba 3.5.3 should recent enough to work properly.

You should probably trouble shoot your Windows 98 and XP machines separately.

Do you have any real XP machines? Were you XP machines working prior to this problem?

Do you get the errors in the smbd log everytime you restart samba? Have you restarted samba recently?

Does "smbclient" work if you specify a user name (Administrator or another user?)

Do the accounts look ok in "pdbedit -Lv" ?




On 03/23/12 12:20, Koenraad Lelong wrote:
Hi,

I'm using samba for years now. Today I got complaints from some users they could not login any more. The PC's they used where old Win98 PC's. Unfortunately I still have to support these. It worked fine for years, though. AFAIK nothing changed the last months. And since I do such changes I would know. I have a virtual machine with XP. To do some tests, I made a snapshot just after joining the domain, nobody actually logged in at the domain yet. I tried with the machine in that state and when I try to log in I get the message the domain is not available. I logged in as administrator on the local machine and there I tried to make a network connection. This does also not work.

On the Win98 machines I can go ahead after I get a message some network resources will not be available. When I then manually create a network connection, this works.

Where can I start to look ?
I'm using "Samba version 3.5.3-1.1-2362-SUSE-CODE11". I know it's a bit old. I'm going to see if I can find a newer one.

I scanned the network port, and all port concerning samba are open.
On a linux box, I can mount the shares. I did smbclient -L=server, and that shows all shares of the server.

I sniffed with wireshark, but I see no traffic when a user tries to log in.
What I see in /var/log/samba/smbd puzzles me (it's in Dutch) :

[2012/03/23 16:34:06.760408,  1] smbd/server.c:240(cleanup_timeout_fn)
  Cleaning up brl and lock database after unclean shutdown
[2012/03/23 16:40:28.222148,  1] smbd/server.c:267(remove_child_pid)
  Scheduled cleanup of brl and lock database after unclean shutdown
[2012/03/23 16:40:48.224409,  1] smbd/server.c:240(cleanup_timeout_fn)
  Cleaning up brl and lock database after unclean shutdown
[2012/03/23 16:55:01.362913, 0] lib/util_sock.c:1432(get_peer_addr_internal)
  getpeername failed. Error was Overdrachtseindpunt is niet verbonden
[2012/03/23 16:55:01.366608, 0] lib/util_sock.c:1432(get_peer_addr_internal)
  getpeername failed. Error was Overdrachtseindpunt is niet verbonden
[2012/03/23 16:55:44.453364,  1] smbd/server.c:267(remove_child_pid)
  Scheduled cleanup of brl and lock database after unclean shutdown
[2012/03/23 16:56:04.457068,  1] smbd/server.c:240(cleanup_timeout_fn)
  Cleaning up brl and lock database after unclean shutdown

I hope someone can give some hints where to look.

TIA

Koenraad Lelong

The global section of my smb.conf :

[global]
    workgroup = MY_DOMAIN
    server string = Samba on %L
    interfaces = eth0, lo, 192.168.0.1/20
    passdb backend = tdbsam
    pam password change = Yes
    passwd program = /usr/bin/passwd %u
passwd chat = *New*Password* %n\n *Re-enter*new*password*%n\n *Password*changed*
    username map = /etc/samba/smbusers
    unix password sync = Yes
    lanman auth = Yes
    client lanman auth = Yes
    client plaintext auth = Yes
    log level = 3
    syslog = 0
    log file = /var/log/samba/%m
    max log size = 50
    name resolve order = wins bcast hosts
    time server = Yes
    deadtime = 15
    socket options =
    printcap name = CUPS
    mangle prefix = 5
    add user script = /usr/sbin/useradd -m -s /bin/false '%u'
    delete user script = /usr/sbin/userdel -r '%u'
add group script = /usr/sbin/groupadd '%g' && getent group '%g'|awk -F: '{print $3}'
    delete group script = /usr/sbin/groupdel '%g'
    add user to group script = /usr/sbin/groupmod -A '%u' '%g'
    delete user from group script = /usr/sbin/groupmod -R '%u' '%g'
    set primary group script = /usr/sbin/usermod -g '%g' '%u'
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false '%u'
    shutdown script = /var/lib/samba/scripts/shutdown.sh
    abort shutdown script = /sbin /shutdown -c
    logon script = scripts\%U.bat
    logon drive = F:
    logon home = \\server\%U
    domain logons = Yes
    os level = 65
    preferred master = Yes
    domain master = Yes
    wins support = Yes
    ldap ssl = no
    utmp = Yes
    create mask = 0664
    force create mode = 0660
    directory mask = 0777
    force directory mode = 0770
    map acl inherit = Yes
    cups options = Raw
    veto files = /*.nws/*.{*}/Thumbs.db/
    veto oplock files = /*.doc/*.xls/*.mdb/

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to