Re: [Samba] Building with debug symbols and different optimisation levels

2013-07-18 Thread Edward Robbins
Thanks, but I think I've figured out how to do it (though it's definitely a
hack). I'll check the IRC channel if I'm still stuck.

I note that here: https://wiki.samba.org/index.php/Waf there is a note that
this support should be added ("add better optimizations options - we should
add more control over the use of -O2, -O1 etc in configure"). I'd be keen
to see this happen!

Also, sorry for the double post. I thought my first mail had been rejected
due to the different domain name than the one I registered for the mailing
list with (gmail vs googlemail).

Cheers,
Ed


On Thu, Jul 18, 2013 at 2:25 PM, Michael Wood  wrote:

> On 18 July 2013 12:54, Edward Robbins  wrote:
>
>> Hello,
>> I would like to build samba at different optimisation levels with debug
>> symbols, in order to test a static analysis tool I have developed. I have
>> found the configure option "--enable-developer", which I presume enables
>> debug symbols and sets optimisation to O0, and "--enable-debug" (is the
>> difference between these two options just the warning levels?), however I
>> would also like to be able to enable debug symbols and set the
>> optimisation
>> level to O2.
>>
>> I've been searching but cannot find a way to do this in the build system,
>> I
>> can't even find where the optimisation level is set, however, I am
>> unfamiliar with waf. Is there a (even hacky) way to do this?
>>
>
> Try asking on the IRC channel, or on samba-technical if you don't get an
> answer here.
>
> --
> Michael Wood 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Building with debug symbols and different optimisation levels

2013-07-18 Thread Michael Wood
On 18 July 2013 12:54, Edward Robbins  wrote:

> Hello,
> I would like to build samba at different optimisation levels with debug
> symbols, in order to test a static analysis tool I have developed. I have
> found the configure option "--enable-developer", which I presume enables
> debug symbols and sets optimisation to O0, and "--enable-debug" (is the
> difference between these two options just the warning levels?), however I
> would also like to be able to enable debug symbols and set the optimisation
> level to O2.
>
> I've been searching but cannot find a way to do this in the build system, I
> can't even find where the optimisation level is set, however, I am
> unfamiliar with waf. Is there a (even hacky) way to do this?
>

Try asking on the IRC channel, or on samba-technical if you don't get an
answer here.

-- 
Michael Wood 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Shares on failover IP

2013-07-18 Thread Sandbox
Hi,


I have a failover configuration.

The domain controller's IP: 10.23.14.150 as dc01
The failover IP is: 10.23.14.155 as dcha

I added an A and a CNAME record to the dns for the failover IP.


It is working, i can see the shares, but I could not enter to any share as
user, as Administrator it works.
I tried to add the interface variable (i am not sure this is available in
samba4), that wasn't helped.

Thanks, Robert
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Building with debug symbols and different optimisation levels

2013-07-18 Thread Edward Robbins
Hello,
I would like to build samba at different optimisation levels with debug
symbols, in order to test a static analysis tool I have developed. I have
found the configure option "--enable-developer", which I presume enables
debug symbols and sets optimisation to O0, and "--enable-debug" (is the
difference between these two options just the warning levels?), however I
would also like to be able to enable debug symbols and set the optimisation
level to O2.

I've been searching but cannot find a way to do this in the build system, I
can't even find where the optimisation level is set, however, I am
unfamiliar with waf. Is there a (even hacky) way to do this?

Thanks,
Ed
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Samba4 and classicupgrade and winbind

2013-07-18 Thread Stéphane PURNELLE
Hi,

I found the source of my problem with set_nt_acl_no_snum: fset_nt_acl 
returned NT_STATUS_INVALID_OWNER (I hope).

The problem is dut to winbind.

In my ldap tree, I have uid and gid.
Why samba 4 don't use theses informations ?

log file available

I don't want to use winbind.
I just want to use pam_ldap or nslcd for have unix information from samba 
ldb

regards

Stéphane

---
Stéphane PURNELLE Admin. Systèmes et Réseaux 
Service Informatique   Corman S.A.   Tel : 00 32 (0)87/342467
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Building with debug symbols and different optimisation levels

2013-07-18 Thread Edward Robbins
Hello,
I would like to build samba at different optimisation levels with debug
symbols, in order to test a static analysis tool I have developed. I have
found the configure option "--enable-developer", which I presume enables
debug symbols and sets optimisation to O0, however I would also like to be
able to enable debug symbols and set the optimisation level to O2.

I cannot find a way to do this in the build system (however, I am
unfamiliar with waf). Is there a (even hacky) way to do this?

Thanks,
Ed
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] failover shares

2013-07-18 Thread Sandbox
Hi,


I have a failover configuration.

The domain controller's IP: 10.23.14.150 as dc01
The failover IP is: 10.23.14.155 as dcha

I added an A and a CNAME record to the dns for the failover IP.


It is working, i can see the shares, but I could not enter to any share as
user, as Administrator it works.
I tried to add the interface variable (i am not sure this is available in
samba4), that wasn't helped.

Thanks, Robert
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba