[Bug 283811] Re: cups says can't promp for authorization when printing to my samba printer

2009-05-16 Thread Paul Dufresne
By the way: What means Changed in gtk: status: Unknown → Fix Released ?? As I understand it, it means that Gnome have now included a patch in their development version to be able to ask a username and password. So Gnome will (the day your version of Ubuntu will include this new patch) ask a

[Bug 283811] Re: cups says can't promp for authorization when printing to my samba printer

2009-05-04 Thread Paul Dufresne
** Also affects: gtk via http://bugzilla.gnome.org/show_bug.cgi?id=384940 Importance: Unknown Status: Unknown -- cups says can't promp for authorization when printing to my samba printer https://bugs.launchpad.net/bugs/283811 You received this bug notification because you are a

[Bug 73800] Re: SMB Backend Fails when printing to a Windows share

2009-04-28 Thread Paul Dufresne
Just a note to keep in mind about bug #132791. Also bug #283811 which I am more investigating. -- SMB Backend Fails when printing to a Windows share https://bugs.launchpad.net/bugs/73800 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to

[Bug 283811] Re: cups says can't promp for authorization when printing to my samba printer

2009-04-28 Thread Paul Dufresne
Just a note about a similar bug: https://bugs.launchpad.net/bugs/132791 that seems more linked to finding wrong password in cache. -- cups says can't promp for authorization when printing to my samba printer https://bugs.launchpad.net/bugs/283811 You received this bug notification because you

[Bug 283811] Re: cups says can't promp for authorization when printing to my samba printer

2009-04-28 Thread Paul Dufresne
What does puzzle me more about Derg log, is not that Tree connect failed, it is that it tried to connect with a user I did not expect, marie: D [27/Apr/2009:08:52:45 -0400] cupsdIsAuthorized: requesting-user-name=marie D [27/Apr/2009:08:52:45 -0400] cupsdProcessIPPRequest: 7 status_code=0

[Bug 216358] Re: Samba crashes repeatedly to assert_uid

2009-03-26 Thread Paul Dufresne
Thanks anders for that new piece of information. Could you give the output of 'dpkg -l | grep samba' just to be sure that you are running the patch version? This seems to confirmed that the new version does fix Asynchronous I/O result, but not the fact that setreSuid results in EAGAIN error.

[Bug 216358] Re: Samba crashes repeatedly to assert_uid

2009-03-26 Thread Paul Dufresne
Thanks Anders, I should have seen this Read more... link. For me, this helps to know if samba logs have the following line: setresuid failed with EAGAIN. But the latest ppa1 version probably won't do that, you'd have to revert to plain samba first. And the Samba log are many files by default

[Bug 305014] Re: Authentication fails in cups web admin module

2009-03-21 Thread Paul Dufresne
We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Do you still have problems with this? Thanks. -- Authentication fails in cups web admin module https://bugs.launchpad.net/bugs/305014 You received this bug notification because you are a

[Bug 216358] Re: Samba crashes repeatedly to assert_uid

2009-03-20 Thread Paul Dufresne
Well, I don't really can test it either, so it would have to be tested by others. I don't really understand, how this race between AIO and setresuid would affect the result of setresuid. Seems it's fix the result of the (Asynchronous IO), not of setresuid. But I have an even much bigger problem

[Bug 216358] Re: Samba crashes repeatedly to assert_uid

2009-03-20 Thread Paul Dufresne
Sigh. It is even a bit more complex than that: In Unix-like systems, user-level activities are implemented by running processes. Most Unix systems support a ``thread'' as a separate concept; threads share memory inside a process, and the system scheduler actually schedules threads. Linux does

[Bug 314657] Re: smbd segfault in assert_uid

2009-03-16 Thread Paul Dufresne
Just copying info from someone having this problem with no result. Taken from http://linux.derkeiler.com/Mailing-Lists/Fedora/2007-08/msg03497.html I was upgrade our Linux Samba server (Fedora Core 4, kernel 2.6.17, samba 3.0.23d) to Fedora 7, kernel 2.6.22.2-57.fc7, samba 3.0.25bb-2.fc7 (SELinux

[Bug 314657] Re: smbd segfault in assert_uid

2009-03-16 Thread Paul Dufresne
This link suggest bug may have been introduced in samba 3.0.23: http://lists.zerezo.com/samba/msg26421.html -- smbd segfault in assert_uid https://bugs.launchpad.net/bugs/314657 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in

[Bug 314657] Re: smbd segfault in assert_uid

2009-03-16 Thread Paul Dufresne
A relatively good description of the bug: http://www.nabble.com/segfault-with-failed-to-set-uid-td16137340.html -- smbd segfault in assert_uid https://bugs.launchpad.net/bugs/314657 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba

[Bug 314657] Re: smbd segfault in assert_uid

2009-03-16 Thread Paul Dufresne
Just to remember it was reported in Debian as (closed because not reproductible) bug #501773: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501773 -- smbd segfault in assert_uid https://bugs.launchpad.net/bugs/314657 You received this bug notification because you are a member of Ubuntu

[Bug 314657] Re: smbd segfault in assert_uid

2009-03-16 Thread Paul Dufresne
I think I found: o Andrew Tridgell * Avoid a race condition in glibc between AIO and setresuid(). * Become root for AIO operations. taken from the latest (3.0.34 samba changelog): This would explain why https://bugs.launchpad.net/ubuntu/+source/samba/+bug/341816 say that Build the

[Bug 314657] Re: smbd segfault in assert_uid

2009-03-16 Thread Paul Dufresne
** Bug watch added: Debian Bug tracker #510188 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=510188 ** Also affects: samba (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=510188 Importance: Unknown Status: Unknown -- smbd segfault in assert_uid

[Bug 216358] Re: Samba crashes repeatedly to assert_uid

2009-03-16 Thread Paul Dufresne
Ok, I think this time I have found. taken from 3.0.34 samba changelog (latest in 3.0): http://www.samba.org/samba/history/samba-3.0.34.html o Andrew Tridgell * Avoid a race condition in glibc between AIO and setresuid(). * Become root for AIO operations. This would explain why

[Bug 216358] Re: Samba crashes repeatedly to assert_uid

2009-03-16 Thread Paul Dufresne
In fact I believe it comes from that guy: http://webui.sourcelabs.com/rhel/issues/459901 he seems to suggest that the real problem is with the kernel not exactly implementing Posix correctly. I still have a doubt because he speak of setresuid changing the value of AIO, not changing the value

[Bug 216358] Re: Samba crashes repeatedly to assert_uid

2009-03-14 Thread Paul Dufresne
Yeah, I began to realise I was wrong before reading you comment. I have a new, I hope better hypothesis now. It look a bit stupid, but maybe it is trying to become a deleted user. For ZDS (original poster) it would have means he would have deleted the nobody user (normally nobody have id 65534

[Bug 216358] Re: Samba crashes repeatedly to assert_uid

2009-03-14 Thread Paul Dufresne
For Berni, I meant: sudo cat /etc/group | grep 1001 of course. -- Samba crashes repeatedly to assert_uid https://bugs.launchpad.net/bugs/216358 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs

[Bug 341816] Re: samba PANIC: failed to set uid

2009-03-14 Thread Paul Dufresne
Thank you for this bug report. Many other similar bugs have been reported, some on Ubuntu, sometimes on Fedora, or even in FreeBSD. In Ubuntu I speak of bug #216358, bug #314657 and bug #229654. Could you check if user ID 11789 really exist by doing: sudo cat /etc/passwd | grep 11789 sudo cat

[Bug 146367] Re: An extra 'executable' bit is seen when POSIX ACL is used by Samba

2009-03-13 Thread Paul Dufresne
Thanks for this bug report. As this was reported a long time ago, we would like to know: Is it still an issue for you? If so, could you give an exemple of acl permissions that generate this problem. ** Changed in: samba (Ubuntu) Status: Confirmed = Incomplete -- An extra 'executable'

[Bug 24741] Re: samba account_policy_get fails on install

2009-03-13 Thread Paul Dufresne
Still an issue in Jaunty. Dépaquetage de samba (à partir de .../samba_2%3a3.3.1-1ubuntu1_i386.deb) ... Traitement des actions différées (« triggers ») pour « man-db »... Traitement des actions différées (« triggers ») pour « ufw »... Paramétrage de samba (2:3.3.1-1ubuntu1) ... Generating

[Bug 314657] Re: smbd segfault in assert_uid

2009-03-13 Thread Paul Dufresne
Thanks you, for your comment. Happy to see that you are there to answer more questions. Then, looking the backtrace, I remark: #2 0x00613c7b in smb_panic (why=value optimized out) at lib/util.c:1639 #3 0x00618cf1 in assert_uid (ruid=4294967295, euid=10009) at

[Bug 314657] Re: smbd segfault in assert_uid

2009-03-13 Thread Paul Dufresne
BTW, I determined that user 0 is root, and -1 is used to say, do not change this value (real user or effective user). http://linux.die.net/man/2/setresuid Now my very BIG GUESS is that it could be that the code in Samba use -1 without a type cast to uid_t. And that the code would be ok say, on

[Bug 314657] Re: smbd segfault in assert_uid

2009-03-13 Thread Paul Dufresne
Seems in .orig of jaunty (lib/sec_util.c) the functions seems identical. Oh well, seems there is enough info for at least let a developer verify my hypothesis. Confirming the bug. ** Changed in: samba (Ubuntu) Status: Incomplete = Confirmed -- smbd segfault in assert_uid

[Bug 314657] Re: smbd segfault in assert_uid

2009-03-13 Thread Paul Dufresne
Well, at first glace it does seems my guess is right. I have downloaded samba 3.0.28aorig.tar.gz (need to learn the command to extract sources and apply ubuntu patches) and found this in util_sec.c: void set_effective_gid(gid_t gid) { #if USE_SETRESUID setresgid(-1,gid,-1); #endif #if

[Bug 320509] Re: winbind crash winbindd_async_request

2009-03-13 Thread Paul Dufresne
Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately we can't fix it without more information. Please include the information requested at https://wiki.ubuntu.com/DebuggingSamba#samba-server. ** Changed in: samba (Ubuntu) Status: New =

[Bug 261952] Re: passwd does not work whith special smb.conf options (maybe a libpam-smbpass bug?)

2009-03-13 Thread Paul Dufresne
We are closing this bug report because it seems to be caused by a bad configuration value rather than being a true bug, as described in the previous comments. Please reopen it if you think it is wrong, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click

[Bug 311961] Re: 8.10 system-config-printer lost SMB connection selection

2009-03-13 Thread Paul Dufresne
We are closing this bug report as you requested in the previous comment. Thanks again! ** Changed in: samba (Ubuntu) Status: New = Invalid -- 8.10 system-config-printer lost SMB connection selection https://bugs.launchpad.net/bugs/311961 You received this bug notification because you are

[Bug 292130] Re: Copying from RISC OS to intrepid with Samba writes zeros ad infinitum

2009-03-13 Thread Paul Dufresne
Thank you for giving the requested info. Marking as Confirmed. ** Changed in: samba (Ubuntu) Status: Incomplete = Confirmed -- Copying from RISC OS to intrepid with Samba writes zeros ad infinitum https://bugs.launchpad.net/bugs/292130 You received this bug notification because you are

[Bug 336796] Re: Winbind dont obey winbind use default domain = yes for getent group, wbinfo -g work fine

2009-03-13 Thread Paul Dufresne
Seems complete enough for a developer to say, if it is true or not. Confirming. ** Changed in: samba (Ubuntu) Status: New = Confirmed -- Winbind dont obey winbind use default domain = yes for getent group, wbinfo -g work fine https://bugs.launchpad.net/bugs/336796 You received this bug

[Bug 216358] Re: Samba crashes repeatedly to assert_uid

2009-03-13 Thread Paul Dufresne
I now tend to think this is caused by the -1 not being casted to appropriate type in: setresgid(-1,gid,-1); and in: assert_uid(-1, uid); in lib/sec_util.c as I said in bug #314657 causing problems on 64 bits machines. But I am unsure. -- Samba crashes repeatedly to assert_uid

[Bug 264982] Re: Segfault in Samba

2009-03-12 Thread Paul Dufresne
*** This bug is a duplicate of bug 314657 *** https://bugs.launchpad.net/bugs/314657 ** This bug has been marked a duplicate of bug 314657 smbd segfault in assert_uid -- Segfault in Samba https://bugs.launchpad.net/bugs/264982 You received this bug notification because you are a member

[Bug 314657] Re: smbd segfault in assert_uid

2009-03-12 Thread Paul Dufresne
Marking bug #264982 as a duplicate of this one, because it does hang on assert_uid too, although from a totally different backtrace. Not sure if it is really same cause, but since there is no answer on that bug, seems a better end, than marking it invalid for no answer. -- smbd segfault in

[Bug 314657] Re: smbd segfault in assert_uid

2009-03-12 Thread Paul Dufresne
A closed (not because fixed) Debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468296 suggests that this could be linked with roaming profiles: Problem resolved, the workstation is not using roaming profiles anymore. Probably this was due to misconfigured (better: unconfigured) profile

[Bug 216358] Re: Samba crashes repeatedly to assert_uid

2009-03-12 Thread Paul Dufresne
Bug #314657 and bug #229654 seems to be duplicates. Well, I would make them duplicates of this one, but, as it was marked invalid... hum, in fact looks more like Steve thinks his explanation for invaliding is doubtful. Guess I'll mark those duplicate of this one, and change to Incomplete. **

[Bug 216358] Re: Samba crashes repeatedly to assert_uid

2009-03-12 Thread Paul Dufresne
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468296 suggests it could be linked to roaming profiles. -- Samba crashes repeatedly to assert_uid https://bugs.launchpad.net/bugs/216358 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to

[Bug 315427] Re: winbind is not started before samba, but should

2009-03-12 Thread Paul Dufresne
Clear enough for a developer to check and decide, so I Confirm this bug. ** Changed in: samba (Ubuntu) Status: New = Confirmed -- winbind is not started before samba, but should https://bugs.launchpad.net/bugs/315427 You received this bug notification because you are a member of Ubuntu

[Bug 337037] Re: MS Office reports Access Denied when saving to samba share

2009-03-12 Thread Paul Dufresne
Fixed upstream in 3.3.2 http://www.samba.org/samba/history/samba-3.3.2.html: * Fix saving of files on Samba share using MS Office 2007 (bug #6160). https://bugzilla.samba.org/show_bug.cgi?id=6160 ** Also affects: samba via https://bugzilla.samba.org/show_bug.cgi?id=6160 Importance: Unknown