Thanks! That worked for the unix clients!

Now, with Windows I have the error of

"\\<IP-ADDRESS> is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.

The account is not authorized to log in from this station."

But when I disable PAM authentication and use the smbpasswd file, the error goes away.

Thanks again!

r


Gerald (Jerry) Carter wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Russell Handorf wrote:
fileserver:~# smbclient -U rhandorf -L \\\\localhost
Password:
Domain=[<snip>] OS=[Unix] Server=[Samba 3.0.14a-Debian]

       Sharename       Type      Comment
       ---------       ----      -------
       netlogon        Disk      Network Logon Service
       public          Disk             IPC$            IPC       IPC
Service (samba file services)
       ADMIN$          IPC       IPC Service (samba file services)
       rhandorf        Disk      Home directory of rhandorf
session setup failed: NT_STATUS_LOGON_FAILURE
NetBIOS over TCP disabled -- no workgroup available

======

So, why does it auth twice? Why doesnt SAMBA keep the first auth session as a success, and of course fail
on the second when my token has changed?

Restrict the connection to port 139 (-p 139)
and smbclient will resuse the first connection.
The problem is that the first one uses port 445 by default
but you can only get browse lists over port 139.  So it
has to retry.






cheers, jerry
=====================================================================
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFGUFpIR7qMdg1EfYRAj1pAKCiSoGjsNLVBbwrsH/9J6Sg2CNd8gCg3qN3
Uf5kW0g+mf5UQOCbdfrsMKI=
=IdZ1
-----END PGP SIGNATURE-----
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to