[Samba] SAMBA and 2 form factor auth

Gerald (Jerry) Carter jerry at samba.org
Tue Sep 26 15:04:09 GMT 2006


-----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-----


More information about the samba mailing list