compiling error

Elrond elrond at samba.org
Mon Jun 19 12:21:45 GMT 2000


On Sat, Jun 17, 2000 at 03:46:24AM +1000, Michael C. Ferguson wrote:
> 
> >       Compiling lib/domain_namemap.c
> >       lib/domain_namemap.c:179: conflicting types for `map_wk_name_to_sid'
> >       include/proto.h:377: previous declaration of `map_wk_name_to_sid'
> >       make: *** [lib/domain_namemap.o] Error 1

Should be fixed now.

> I got the same error, using "./configure --with-profiles --with-pam \
> --with-smbmount --with-krb5=/usr/kerberos --with-ssl \
> --with-sslinc=/usr/local/include/openssl". I'm running RH6.2, Linux 2.2.16,
> and OpenSSL 0.9.5a. My C++ is very rusty, but it seems like namespaces might
> be a better option than declared static functions ?

Samba is written in C and not C++ (there are reasons for
this). And C has no namespaces or somesuch. So static is
the only option one has.

I have to note: Unless you want to do speed-analysis, you
should not configure "--with-profiles".

> I have a few other newbish unrelated questions... If I compile with Kerberos
> 5, will 98 clients authenticate using it? Same with SSL, will sockets be
> encrypted if I compile with SSL support? This is my first time to really
> mess with both these options; I'm completely clueless as to what they
> accomplish. The current build I'm using (cvs on 6/14) was compiled with krb5
> and works well.

I guess, kerberos will just allow samba to authenticate
users against krb, _if_ they use plaintext-passwords on the
nect.
No idea about ssl.


    Elrond


More information about the samba-ntdom mailing list