[Samba] invalid argument when connecting to password server

Angela Taylor angela.taylor at nscorp.com
Tue Feb 12 08:48:02 GMT 2002

Hi all,

I've just installed Samba 2.0.7 on an AIX 4.3.2 box.  I was keeping it
pretty simple -- one share, no valid user lines yet -- but I was still
having trouble with authentication when trying to access a share from an
NT box or when running smbclient from the command line.

I tracked it as far as the logs, where I see

[2002/02/12 11:19:11, 1] lib/util_sock.c:open_socket_out(936)
  error connecting to 10.xxx.yyy.zzz:139 (Invalid argument)

(where the 10.. is the correct IP for the NT password server in

[2002/02/12 11:19:11, 0] smbd/password.c:server_cryptkey(1025)
  password server not available
[2002/02/12 11:19:15, 1] smbd/password.c:server_validate(1069)
  password server  is not connected

where the last line has 2 spaces between "server" and "is" as if there
is supposed to be some variable for the password server but which is
null instead.

What is the incorrect argument in the log file?  Any ideas on whether
the problem is with how I configured Samba, or if it's on the NT side?
The problem happens more often than not; only about 1 out of every 8
attempts to connect to the password server succeeds.

Here's my smb.conf:

# Date: 2002/02/11 14:28:35

# Global parameters
        workgroup = NSCORP
        netbios name = SNOOPYE1
        netbios aliases = SNOOPY
        server string = Snoopy
        security = SERVER
        encrypt passwords = Yes
        null passwords = Yes
        password server = NTPASSWDS
        password level = 16
        username level = 16
        log file = /var/samba/log/log.%m
        max log size = 50
        load printers = No

        comment = All Printers
        path = /tmp
        guest ok = Yes
        printable = Yes

        comment = pvcs
        path = /pvcs
        writeable = Yes

I'd appreciate any suggestions.....


More information about the samba mailing list