Re: Patch to fix SMB browsing bugs



On Sun, 2004-11-28 at 02:14 +0000, Nielsen wrote:
> Alexander Larsson wrote:
> > This totally sucks ass in the case where guest login works, but gives
> > you limited permissions. In fact, this is already a problem. If you
> > accidentally mistype your password on the first try you might get logged
> > in as guest.
> > 
> > Fixing this in libsmbclient is a pretty small amount of work though, so
> > its likely that it can be fixed by us.
> 
> BTW, I submitted a patch yesterday to bugzilla.samba.org and 
> samba-technical list samba org

The patch is ABI incompatible with the kerberos patch i posted:
http://lists.samba.org/archive/samba-technical/2004-July/036442.html

+/* Flags for SMBCCTX->flags */
+#define SMBCCTX_FLAG_NO_AUTO_ANON       0x1 /* don't try to do automatic anon login */

+#define SMB_CTX_FLAG_USE_KERBEROS (1 << 0)
+#define SMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS (1 << 1)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a genetically engineered Jewish werewolf trapped in a world he never 
made. She's a wealthy hypochondriac schoolgirl on the trail of a serial 
killer. They fight crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]