samba failure on HP-UX

MCCALL,DON (HP-USA,ex1) don_mccall at hp.com
Fri Feb 23 13:19:58 GMT 2001


Hallo Wulf,
Wie geht's dir heute? 
There's really not enough information yet to say what might be wrong.  Let
me ask 
a couple of questions to narrow things down:
1. did this ever work?
2. on HP-UX, if you don't specify a guest account = in your smb.conf file,
you will
   use the 'nobody' user, which is by default defined as -2,with a group
nogroup, also -2;
   this can cause a lot of problems with samba; I would advise creating a
dummy user (smbnull is
   what the Samba 2.0.7 version that HP-UX ships starting at March 2001
Application cd release)
   and group with positive id's and setting guest account = smbnull.
3. you smb.conf file indicates you should be creating log files for every
machine connection (log.%m)
   are you seeing log files like (for instance) log.WLMO1600  in
/var/opt/samba?  I would expect to 
   see a log.nmb, a log.smb, and then a log.<machinename> for each machine
that attempts to connect.
   Is this happening?  if so, you might want to post the log.<machinename>,
as this is where we are
   going to see any errors with the session setup&x, where the
username/password are authenticated...

Hope this helps,
Don

-----Original Message-----
From: Krueger, Wulf [mailto:Wulf.Krueger at t-systems.de]
Sent: Friday, February 23, 2001 4:17 AM
To: samba-technical at us5.samba.org
Subject: samba failure on HP-UX


OS: HP-UX B.11.00 U 9000/800
Samba: 2.0.7

smb.conf:
--------------------
[global]
        workgroup = <wg-name>
        security = SERVER
        encrypt passwords = Yes
        password server = <server-list>
        username map = /opt/samba/lib/domainusers.map
        debug level = 3
        log file = /var/opt/samba/log.%m
        max log size = 50
        dns proxy = No
        wins server = <IP>
        homedir map = auto.home
        hosts allow = <IP-range>

[test]
        comment = test
        path = /opt/test
        writeable = Yes
        create mask = 0777
        guest ok = Yes
--------------------

Access from NT 4.0 SP4 via "net use \\<servername>\<share> /U:<username>"
gives error 1326 (incorrect password) - yet password and username are
definitely correct.

smbclient -L <hostname> fails as well. (incorrect password)

Browsing doesn't work at all - on NT error 59 "unexpected error" (does
anyone ever *expect* errors? :) ).


Logging with loglevel 3 gives the following:

--------------------
[2001/02/22 18:25:01, 3] locking/shmem_sysv.c:(707)
  Initialised IPC area of size 1048576
[2001/02/22 18:25:01, 2] smbd/server.c:(746)
  Changed root to /
[2001/02/22 18:25:01, 3] smbd/oplock.c:(86)
  open_oplock_ipc: opening loopback UDP socket.
[2001/02/22 18:25:01, 3] lib/util_sock.c:(875)
  bind succeeded on port 0
[2001/02/22 18:25:01, 3] smbd/oplock.c:(113)
  open_oplock ipc: pid = 3346, global_oplock_port = 53006
[2001/02/22 18:25:01, 2] lib/access.c:(257)
  Allowed connection from WLM01600.mnh.telekom.de (164.31.222.54)
[2001/02/22 18:25:01, 3] smbd/process.c:(618)
  Transaction 0 of length 72
[2001/02/22 18:25:01, 2] smbd/reply.c:(96)
  netbios connect: name1=*SMBSERVER       name2=WLM01600
[2001/02/22 18:25:02, 3] locking/shmem_sysv.c:(707)
  Initialised IPC area of size 1048576
[2001/02/22 18:25:02, 2] smbd/server.c:(746)
  Changed root to /
[2001/02/22 18:25:02, 3] smbd/oplock.c:(86)
  open_oplock_ipc: opening loopback UDP socket.
[2001/02/22 18:25:02, 3] lib/util_sock.c:(875)
  bind succeeded on port 0
[2001/02/22 18:25:02, 3] smbd/oplock.c:(113)
  open_oplock ipc: pid = 3347, global_oplock_port = 53014
[2001/02/22 18:25:02, 2] lib/access.c:(257)
  Allowed connection from WLM01600.mnh.telekom.de (164.31.222.54)
[2001/02/22 18:25:02, 3] smbd/process.c:(618)
  Transaction 0 of length 72
[2001/02/22 18:25:02, 2] smbd/reply.c:(96)
--------------------

The connection breaks off and Samba just goes on as if nothing had happened.
Further connections give exactly the same results.

PLEASE, can anybody help me? I'm going insane... (And it's not the Mad Cow
Disease!)

Mit freundlichen Grüßen, Wulf C. Krüger 





More information about the samba-technical mailing list