From: Volker Lendecke on
On Fri, Nov 06, 2009 at 05:53:05PM -0600, Paras pradhan wrote:
> Hi all,
>
> What does this mean?
>
> root(a)web # ./net ads join -U samba
> Enter samba's password:
> Bus Error (core dumped)
>
>
> Is it similar to seg fault?

Yes. Are you running on Solaris? Which version? Can you run
that under gdb and send a "bt full" when it crashed?

Volker
From: Paras pradhan on
Yes. Solaris 9. I don't see gdb here and I am struggling with the adb
.. Don't know how to use adb.

Paras.



On Fri, Nov 6, 2009 at 6:07 PM, Volker Lendecke
<Volker.Lendecke(a)sernet.de> wrote:
> On Fri, Nov 06, 2009 at 05:53:05PM -0600, Paras pradhan wrote:
>> Hi all,
>>
>> What does this mean?
>>
>> root(a)web # ./net ads join -U samba
>> Enter samba's password:
>> Bus Error (core dumped)
>>
>>
>> Is it similar to seg fault?
>
> Yes. Are you running on Solaris? Which version? Can you run
> that under gdb and send a "bt full" when it crashed?
>
> Volker
>
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
From: Volker Lendecke on
On Fri, Nov 06, 2009 at 06:15:22PM -0600, Paras pradhan wrote:
> Samba is 3.4.3. Any issue with this version to run on solaris 9 sparc 64?

No, not any problems that we are aware of, but apparently
you found one. But unfortunately without that backtrace
there is not much we can do. BTW, you have to compile with
-g for debugging symbols, ./configure.developer instead of
../configure is one way to do this.

Volker
From: Paras pradhan on
Trying to build samba with configure.developer.

One thing I would like to know of samba is referenceing the correct
Openldap libraries or not. At the end of ./configure.developer I can
see

---
Using libraries:
LIBS = -lsendfile -lresolv -lrt -ldl -lsocket -lnsl -liconv
KRB5_LIBS = -L/opt/local/lib -R/opt/local/lib -L/opt/local/lib
-R/opt/local/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv
-lsocket -lnsl -ldl
LDAP_LIBS = -lldap -llber
DNSSD_LIBS =
AUTH_LIBS =
--


Both krb5 and openldap are complied and installed at /opt/local

and here is my configure parameters

--
./configure.developer --prefix=/opt/local --with-ldap --with-ads
--with-krb5=/opt/local/ --with-winbind
---


Some other info
CFLAGS ="-O2".
LDFLAGS = "-L/opt/local/lib -Wl,-R/opt/local/lib".
CPPFLAGS = "-I/opt/local/include".

Basically I am using this link to refer:

http://www.occam.com/tools/ad_auth.html

Thanks!
Paras.


On Sat, Nov 7, 2009 at 1:59 AM, Volker Lendecke
<Volker.Lendecke(a)sernet.de> wrote:
> On Fri, Nov 06, 2009 at 06:15:22PM -0600, Paras pradhan wrote:
>> Samba is 3.4.3. Any issue with this version to run on solaris 9 sparc 64?
>
> No, not any problems that we are aware of, but apparently
> you found one. But unfortunately without that backtrace
> there is not much we can do. BTW, you have to compile with
> -g for debugging symbols, ./configure.developer instead of
> ./configure is one way to do this.
>
> Volker
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkr1KOUACgkQbZMKAi3WUkmJTwCglThIXcqCrrIWDVdfD5ENae/w
> dDEAni9tvoEu1+P/l0TKSAM0TlJMxkoD
> =W8I/
> -----END PGP SIGNATURE-----
>
>
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
From: Paras pradhan on
../configure.developer stucks at building iconv.

here is the o/p:
lib/iconv.c: In function `iconv_swab':
lib/iconv.c:498: implicit declaration of function `swab'
The following command failed:
gcc -I/opt/local/include -O2 -g -g -Wall -Wshadow -Wpointer-arith
-Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER
-Werror-implicit-function-declaration -I.
-I/usr/local/samba-3.4.3/source3
-I/usr/local/samba-3.4.3/source3/iniparser/src -Iinclude -I./include
-I. -I. -I./../lib/replace -I./../lib/talloc -I./../lib/tevent
-I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -DHAVE_CONFIG_H
-I/opt/local/include -I/opt/local/include -D_LARGEFILE_SOURCE
-D_REENTRANT -D_FILE_OFFSET_BITS=64 -DLDAP_DEPRECATED -DSUNOS5
-I/usr/local/samba-3.4.3/source3/lib -I.. -I../source4
-D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -c lib/iconv.c -o
lib/iconv.o
make: *** [lib/iconv.o] Error 1
--

But if i use ./configure it is working.


Paras.



On Mon, Nov 9, 2009 at 11:10 AM, Paras pradhan <pradhanparas(a)gmail.com> wrote:
> Trying to build samba with configure.developer.
>
> One thing I would like to know of samba is referenceing the correct
> Openldap libraries or not. At the end of ./configure.developer I can
> see
>
> ---
> Using libraries:
>    LIBS = -lsendfile -lresolv -lrt -ldl -lsocket -lnsl -liconv
>    KRB5_LIBS = -L/opt/local/lib -R/opt/local/lib -L/opt/local/lib
> -R/opt/local/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv
> -lsocket -lnsl -ldl
>    LDAP_LIBS = -lldap -llber
>    DNSSD_LIBS =
>    AUTH_LIBS =
> --
>
>
> Both krb5 and openldap are complied and installed at /opt/local
>
> and here is my configure parameters
>
> --
>  ./configure.developer --prefix=/opt/local --with-ldap --with-ads
> --with-krb5=/opt/local/ --with-winbind
> ---
>
>
> Some other info
> CFLAGS ="-O2".
> LDFLAGS = "-L/opt/local/lib -Wl,-R/opt/local/lib".
> CPPFLAGS = "-I/opt/local/include".
>
> Basically I am using this link to refer:
>
> http://www.occam.com/tools/ad_auth.html
>
> Thanks!
> Paras.
>
>
> On Sat, Nov 7, 2009 at 1:59 AM, Volker Lendecke
> <Volker.Lendecke(a)sernet.de> wrote:
>> On Fri, Nov 06, 2009 at 06:15:22PM -0600, Paras pradhan wrote:
>>> Samba is 3.4.3. Any issue with this version to run on solaris 9 sparc 64?
>>
>> No, not any problems that we are aware of, but apparently
>> you found one. But unfortunately without that backtrace
>> there is not much we can do. BTW, you have to compile with
>> -g for debugging symbols, ./configure.developer instead of
>> ./configure is one way to do this.
>>
>> Volker
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.9 (GNU/Linux)
>>
>> iEYEARECAAYFAkr1KOUACgkQbZMKAi3WUkmJTwCglThIXcqCrrIWDVdfD5ENae/w
>> dDEAni9tvoEu1+P/l0TKSAM0TlJMxkoD
>> =W8I/
>> -----END PGP SIGNATURE-----
>>
>>
>
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba