From: Volker Lendecke on
On Thu, Jan 14, 2010 at 07:26:55AM -0600, Peacock, Joshua wrote:
> This seems to be very similar to the following post
> http://lists.samba.org/archive/samba-technical/2009-May/064512.html

Reading that thread Miguel promised to recompile after
changing the hint I gave him in

http://lists.samba.org/archive/samba-technical/2009-May/064520.html

We did not hear back from him, so I would guess this has
fixed it for him. You might also want to try this.

Please give feedback for it if it works, we might want to
add a configure check for it and put it into the normal
Samba distro.

Thanks,

Volker
From: Peacock, Joshua on
https://bugzilla.samba.org/show_bug.cgi?id=6330

Miguel sent me the following bug report which states its fixed in 3.3.5

Does this mean it needs to be compiled with an option to define
HAVE_BROKEN_READLINK?

Thanks

Josh

-----Original Message-----
From: Volker Lendecke [mailto:Volker.Lendecke(a)SerNet.DE]
Sent: Thursday, January 14, 2010 8:22 AM
To: Peacock, Joshua
Cc: samba(a)lists.samba.org
Subject: Re: [Samba] AIX and DFS

On Thu, Jan 14, 2010 at 07:26:55AM -0600, Peacock, Joshua wrote:
> This seems to be very similar to the following post
> http://lists.samba.org/archive/samba-technical/2009-May/064512.html

Reading that thread Miguel promised to recompile after changing the hint
I gave him in

http://lists.samba.org/archive/samba-technical/2009-May/064520.html

We did not hear back from him, so I would guess this has fixed it for
him. You might also want to try this.

Please give feedback for it if it works, we might want to add a
configure check for it and put it into the normal Samba distro.

Thanks,

Volker
This message is intended only for the persons or entities to which it is
addressed. The information transmitted herein may contain proprietary or
confidential material. Review, reproduction, retransmission, distribution,
disclosure or other use, and any consequent action taken by persons or
entities other than intended recipients, are prohibited and may be unlawful.
If you are not the intended recipient, please delete this information from
your system and contact the sender. The information contained herein is
subject to change without notice. Although reasonable precautions have been
taken to ensure that no viruses are present, the sender makes no warranty
or guaranty with respect thereto, and is not responsible for any loss or
damage arising from the receipt or use of this e-mail or attachments hereto.

--
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 Thu, Jan 14, 2010 at 09:05:27AM -0600, Peacock, Joshua wrote:
> https://bugzilla.samba.org/show_bug.cgi?id=6330

Heh, too much going on for my aging brain...

> Miguel sent me the following bug report which states its fixed in 3.3.5
>
> Does this mean it needs to be compiled with an option to define
> HAVE_BROKEN_READLINK?

It should have figured that out itself if it is indeed fixed
in 3.3.5. Can you post your config.log file somewhere?

Thanks,

Volker
From: Peacock, Joshua on
Thanks for all your help. I am using packages from pware.

But I downloaded the the source for 3.3.7 and just ran a configure and I
get the following in the config.log

samba_cv_HAVE_BROKEN_READLINK=no

Which I thought would need to be set to yes.

I don't have access to a ftp/sftp site that I can give you access too.
How would you like me to get you the log file (92k)?

This is AIX 6.1

Thanks

-----Original Message-----
From: Volker Lendecke [mailto:Volker.Lendecke(a)SerNet.DE]
Sent: Thursday, January 14, 2010 9:48 AM
To: Peacock, Joshua
Cc: samba(a)lists.samba.org
Subject: Re: [Samba] AIX and DFS

On Thu, Jan 14, 2010 at 09:05:27AM -0600, Peacock, Joshua wrote:
> https://bugzilla.samba.org/show_bug.cgi?id=6330

Heh, too much going on for my aging brain...

> Miguel sent me the following bug report which states its fixed in
> 3.3.5
>
> Does this mean it needs to be compiled with an option to define
> HAVE_BROKEN_READLINK?

It should have figured that out itself if it is indeed fixed in 3.3.5.
Can you post your config.log file somewhere?

Thanks,

Volker
This message is intended only for the persons or entities to which it is
addressed. The information transmitted herein may contain proprietary or
confidential material. Review, reproduction, retransmission, distribution,
disclosure or other use, and any consequent action taken by persons or
entities other than intended recipients, are prohibited and may be unlawful.
If you are not the intended recipient, please delete this information from
your system and contact the sender. The information contained herein is
subject to change without notice. Although reasonable precautions have been
taken to ensure that no viruses are present, the sender makes no warranty
or guaranty with respect thereto, and is not responsible for any loss or
damage arising from the receipt or use of this e-mail or attachments hereto.

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
From: William Jojo on
Peacock, Joshua wrote:
> Thanks for all your help. I am using packages from pware.
>
> But I downloaded the the source for 3.3.7 and just ran a configure and I
> get the following in the config.log
>
> samba_cv_HAVE_BROKEN_READLINK=no
>
> Which I thought would need to be set to yes.
>
> I don't have access to a ftp/sftp site that I can give you access too.
> How would you like me to get you the log file (92k)?
>
>

Just following this thread I did some digging and I think readlink is
working as written. :-)

http://www1.hrz.tu-darmstadt.de/hhlr/doku/sw/apidiffs.html#readlink
http://publib.boulder.ibm.com/infocenter/aix/v6r1/index.jsp?topic=/com.ibm.aix.basetechref/doc/basetrf2/symlink.htm

I think we either need to add AIX to the ifdef or properly handle the
ERANGE. The former looks easier. ;-)

At any rate, Joshua, are you using the 32- or 64-bit version of 3.3.7? I
have a 32-bit patched smbd replacement you can test with the original
patch Volker suggested. I can make a 64-bit if you need that. Interested?

Cheers,
Bill


> This is AIX 6.1
>
> Thanks
>
> -----Original Message-----
> From: Volker Lendecke [mailto:Volker.Lendecke(a)SerNet.DE]
> Sent: Thursday, January 14, 2010 9:48 AM
> To: Peacock, Joshua
> Cc: samba(a)lists.samba.org
> Subject: Re: [Samba] AIX and DFS
>
> On Thu, Jan 14, 2010 at 09:05:27AM -0600, Peacock, Joshua wrote:
>
>> https://bugzilla.samba.org/show_bug.cgi?id=6330
>>
>
> Heh, too much going on for my aging brain...
>
>
>> Miguel sent me the following bug report which states its fixed in
>> 3.3.5
>>
>> Does this mean it needs to be compiled with an option to define
>> HAVE_BROKEN_READLINK?
>>
>
> It should have figured that out itself if it is indeed fixed in 3.3.5.
> Can you post your config.log file somewhere?
>
> Thanks,
>
> Volker
> This message is intended only for the persons or entities to which it is
> addressed. The information transmitted herein may contain proprietary or
> confidential material. Review, reproduction, retransmission, distribution,
> disclosure or other use, and any consequent action taken by persons or
> entities other than intended recipients, are prohibited and may be unlawful.
> If you are not the intended recipient, please delete this information from
> your system and contact the sender. The information contained herein is
> subject to change without notice. Although reasonable precautions have been
> taken to ensure that no viruses are present, the sender makes no warranty
> or guaranty with respect thereto, and is not responsible for any loss or
> damage arising from the receipt or use of this e-mail or attachments hereto.
>
>

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