[Samba] Net ADS JOIN error

2003-02-06 Thread Alessandro . Bruni
Hi all,

After having spend 2 days to resolve my problem to configure Samba 3.0 (the
path to the libgcc_s was wrong) I've finally installed it and I'm trying to
join the W2K AD domain with the command:

1. kinit [EMAIL PROTECTED] (asking password and getting the ticket from
the W2K)

2. net ads join [EMAIL PROTECTED] (doesn't work)

error message :

[2003/02/06 15:09:02, 0] lib/charcnv.c:init_iconv(93)
  Conversion from UCS-2LE to CP850 not supported
[2003/02/06 15:09:02, 0] lib/charcnv.c:init_iconv(93)
  Conversion from UTF8 to CP850 not supported
[2003/02/06 15:09:02, 0] lib/charcnv.c:init_iconv(93)
  Conversion from ASCII to CP850 not supported
[2003/02/06 15:09:02, 0] lib/charcnv.c:init_iconv(93)
  Conversion from CP850 to UCS-2LE not supported
[2003/02/06 15:09:02, 0] lib/charcnv.c:init_iconv(93)
  Conversion from CP850 to UTF8 not supported
[2003/02/06 15:09:02, 0] lib/charcnv.c:init_iconv(93)
  Conversion from CP850 to ASCII not supported
[2003/02/06 15:09:02, 0] lib/charcnv.c:init_iconv(93)
  Conversion from CP850 to UTF8 not supported
[2003/02/06 15:09:02, 0] lib/charcnv.c:init_iconv(93)
  Conversion from UTF8 to CP850 not supported
[EMAIL PROTECTED] password: 
[2003/02/06 15:09:08, 1] libsmb/clikrb5.c:krb5_mk_req2(234)
  krb5_get_credentials failed for s-tnet1luxdc01$@OUR.DOMAIN.INT (No
credentials found with supported encryption types)
[2003/02/06 15:09:08, 0] libads/kerberos.c:ads_kinit_password(133)
  kerberos_kinit_password [EMAIL PROTECTED] failed:
Preauthentication failed
[2003/02/06 15:09:08, 1] utils/net_ads.c:ads_startup(150)
  ads_connect: Invalid credentials

Is there somebody that can help me to [2003/02/06 15:09:02, 0]
lib/charcnv.c:init_iconv(93)
  Conversion from UCS-2LE to CP850 not supported
[2003/02/06 15:09:02, 0] lib/charcnv.c:init_iconv(93)
  Conversion from UTF8 to CP850 not supported
[2003/02/06 15:09:02, 0] lib/charcnv.c:init_iconv(93)
  Conversion from ASCII to CP850 not supported
[2003/02/06 15:09:02, 0] lib/charcnv.c:init_iconv(93)
  Conversion from CP850 to UCS-2LE not supported
[2003/02/06 15:09:02, 0] lib/charcnv.c:init_iconv(93)
  Conversion from CP850 to UTF8 not supported
[2003/02/06 15:09:02, 0] lib/charcnv.c:init_iconv(93)
  Conversion from CP850 to ASCII not supported
[2003/02/06 15:09:02, 0] lib/charcnv.c:init_iconv(93)
  Conversion from CP850 to UTF8 not supported
[2003/02/06 15:09:02, 0] lib/charcnv.c:init_iconv(93)
  Conversion from UTF8 to CP850 not supported
[EMAIL PROTECTED] password: 
[2003/02/06 15:09:08, 1] libsmb/clikrb5.c:krb5_mk_req2(234)
  krb5_get_credentials failed for s-tnet1luxdc01$@OUR.DOMAIN.INT (No
credentials found with supported encryption types)
[2003/02/06 15:09:08, 0] libads/kerberos.c:ads_kinit_password(133)
  kerberos_kinit_password [EMAIL PROTECTED]@OUR.DOMAIN.INT
failed: Malformed representation of principal
[2003/02/06 15:09:08, 1] utils/net_ads.c:ads_startup(150)
  ads_connect: Invalid credentials

I've no access to a W2K server but only to a XP with Administrator right for
our OU (Organisational Unit).  ( I hate M$)

Can someone help me on this matter, because I'm getting mad with this stuff.

Many thanks guys

PS Clive: I've read your document join W2K domain, but I'm blocked now by
this thing to make it work. Sorry to botter you.



Alessandro BRUNI
Local Systems  Mail Administrator  
European Commission 
Directorate General TRADE   

E-mail : [EMAIL PROTECTED]
Web site : http://europa.eu.int/comm/trade




-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Error in configure Last CVS and 3.0.alpha21 on Solaris 8

2003-02-04 Thread Alessandro . Bruni

  ld: fatal: library -lpopt: not found
 
The last line is the important one, I think: you need the popt
library. On Solaris 8, for example, I believe that   even the
pre-packaged versions from sunfreeware.com require that the popt package be
installed at the same time.
Look at www.sunfreeware.com for a pre-compiled binary or source code.
 You shouldn't need it.  Samba has a built-in popt in the event that you
 don't...it should be detecting this.  Are you sure this is the problem? 
 This is one of the last steps before it finishes...you can try
 --with-included-popt.  If that doesn't help, you've got a different
 problem.

I've try to with and without the POPT package, with and without the
--with-included-popt, but didn't fix my problem, still the same message 
What can it be ?
I'm following the procedure describe in the document from Clive Elsum and
the only problem I've found is the installation of OpenSSH (I've installed
instead of compiling it the package from Sunfreeware)


Alessandro Bruni

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Error in configure Last CVS and 3.0.alpha21 on Solaris 8

2003-02-03 Thread Alessandro . Bruni
Hi all,

I'm having problems trying to configure samba with the lastest source.
The command I'm using is

env CPPFLAGS=-I/usr/local/kerberos/include -I/usr/local/ldap/include
LDFLAGS=-L/usr/local/kerberos/lib -L/usr/local/ldap/lib
./configure --with-ads --with-ldap --with-kerberos=/usr/local/kerberos
--with-pam --with-winbind

and the error is

checking whether to check to support sendfile... no
checking whether to build winbind... yes
checking whether struct passwd has pw_comment... yes
checking whether struct passwd has pw_age... yes
checking for poptGetContext in -lpopt... no
checking whether to use included popt... yes
checking configure summary... configure: error: summary failure. Aborting
config

In the config.log nothing I can understand

configure:16008: gcc -o conftest -O-I/usr/local/kerberos/include
-I/usr/local/ldap/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-L/usr/local/kerberos/lib -L/usr/local/ldap/lib conftest.c -lpopt  -lsec
-lgen -lresolv -lsocket -lnsl -ldl  -lcom_err -lk5crypto -lkrb5
-lgssapi_krb5 -llber -lldap 15
ld: fatal: library -lpopt: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 15997 configure
#include confdefs.h
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply.  */
char poptGetContext();

int main() {
poptGetContext()
; return 0; }
configure:16032: checking whether to use included popt
configure:16086: checking configure summary
configure:16095: gcc -o conftest -O-I/usr/local/kerberos/include
-I/usr/local/ldap/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-L/usr/local/kerberos/lib -L/usr/local/ldap/lib conftest.c -lsec -lgen
-lresolv -lsocket -lnsl -ldl  -lcom_err -lk5crypto -lkrb5 -lgssapi_krb5
-llber -lldap 15
configure: failed program was:
#line 16091 configure
#include confdefs.h
#include ./tests/summary.c

I've made some search in the newsgroup, but nothing seems to be fixed.

Anyone has some ideas to fix it?

Thanks in advance

Alessandro Bruni
Brussels, Belgium
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba