[Bug 303458] Re: segfault in pam_smbpass.so

2010-10-22 Thread mintaka
Probably same behavior.

After upgrading from Ubuntu 9 to Ubuntu 10.04 LTS - Lucid Lynx
vsftpd server failed to login users. 

Problem was solved after libpam-smbpass was ununstalled.


>From log files:
[auth-log]:
Oct 22 10:33:53 HP6720s1 vsftpd: pam_winbind(vsftpd:auth): pam_get_item 
returned a password
Oct 22 10:33:53 HP6720s1 vsftpd: pam_winbind(vsftpd:auth): internal module 
error (retval = PAM_AUTHINFO_UNAVAIL(9), user = 'mintaka')
Oct 22 10:36:12 HP6720s1 vsftpd: pam_listfile(vsftpd:auth): Refused user 
mintaka for service vsftpd
Oct 22 10:36:12 HP6720s1 vsftpd: pam_unix(vsftpd:auth): authentication failure; 
logname= uid=0 euid=0 tty=ftp ruser=user334 rhost=192.168.1.1  user=user334
Oct 22 10:36:12 HP6720s1 vsftpd: pam_winbind(vsftpd:auth): getting password 
(0x0388)


[kern-log]:
Oct 22 10:09:09 HP6720s1 kernel: [30161.017119] lo: Disabled Privacy Extensions
Oct 22 10:09:13 HP6720s1 kernel: [30164.34] vsftpd[3389]: segfault at 0 ip 
7faf4012afa1 sp 7fffd477b810 error 6 in pam_smbpass.so[7faf400a9000+1
6f000]


[vsftpd-log]:
Fri Oct 22 10:10:45 2010 [pid 1] [user334] FAIL LOGIN: Client "192.168.1.1"
Fri Oct 22 10:10:51 2010 [pid 2] CONNECT: Client "192.168.1.1"

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-08-25 Thread Sam Morris
Just ran into this *again*. It needs to be fixed in *all* currently
supported Ubuntu releases, not just the current one...

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-06-11 Thread Thierry Carrez
This is apparently avoided in Jaunty through the apparmor fix, no sightings so 
far.
Closing as Fix Released, and nominating bug 357581 for Intrepid SRU.

** Changed in: samba (Ubuntu)
   Status: Confirmed => Fix Released

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-04-08 Thread Mantas Kriaučiūnas
** Also affects: baltix
   Importance: Undecided
   Status: New

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-04-08 Thread Thierry Carrez
Created bug 357581 to fix apparmor smbpass abstraction. I'm not sure it
will ultimately fix this problem, but it would surely explain why the
bug appeared in Samba 3.2 (LDB files weren't in use before) and why this
seems to be Ubuntu-specific (our cupsd/apparmor thing is Ubuntu-
specific). There would still be a bug in samba for failing so badly in
this case but the root cause might be avoided.

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-04-07 Thread Thierry Carrez
Still struggling to reproduce this.

There seems to be something CUPS-related that results in secrets.tdb
corruption with "Unable to open tdb '/var/lib/samba/group_mapping.ldb'"
error messages. Once corrupted, this file seems to trigger libpam-
smbpass segfaults.

Following the error message lead, it might come from CUPS apparmor
profile, preventing access to LDB. Bug 217787 created an
abstractions/smbpass that is noticeably missing /var/lib/samba/*.ldb
files:

/var/lib/samba/*.tdb rwk,

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-04-02 Thread Steve Langasek
** Changed in: samba (Ubuntu)
 Assignee: Rafael Soares (rafaelsoaresbr) => (unassigned)

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-04-02 Thread Rafael Soares
** Changed in: samba (Ubuntu)
   Status: Fix Committed => Confirmed

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-04-02 Thread Rafael Soares
"
Release: Jaunty

Since a recent upgrade (around the 16th of March), sudo has been broken.
Entering the correct password causes sudo to simply exit and not run the
command, it was found that this could be fixed by commenting/removing
the line

"auth optional pam_smbpass.so migrate"

in /etc/pam.d/common-auth

If the above line is present and not commented out, sudo or even su, will not 
work.
"

** Changed in: samba (Ubuntu)
   Status: Confirmed => Fix Committed

** Changed in: samba (Ubuntu)
 Assignee: (unassigned) => Rafael Soares (rafaelsoaresbr)

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-04-02 Thread Jose Antonio Martin Prieto
I have just suffered this bug too, and it was after installing cups.
I removed libpam-smbpass, then I renamed secrets.tbd and installed 
libpam-smbpass again.
Now I can login again, and I have Samba, but I don't have CUPS. Is there any 
way to install cups and work this bug around?

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-03-27 Thread Sam Morris
I found that the corrupted secrets.tdb prevented samba from starting:

[2009/03/27 12:16:44,  0] smbd/server.c:main(1213)
  smbd version 3.2.3 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008
[2009/03/27 12:16:44,  0] lib/util_tdb.c:tdb_wrap_log(886)
  tdb(/var/lib/samba/secrets.tdb): transaction_read: failed at off=1601070448 
len=24
[2009/03/27 12:16:44,  0] lib/util_tdb.c:tdb_wrap_log(886)
  tdb(/var/lib/samba/secrets.tdb): transaction_read: failed at off=1601070448 
len=24
[2009/03/27 12:16:44,  0] lib/util_tdb.c:tdb_wrap_log(886)
  tdb(/var/lib/samba/secrets.tdb): transaction_read: failed at off=1601070448 
len=24
[2009/03/27 12:16:44,  0] lib/util_tdb.c:tdb_wrap_log(886)
  tdb(/var/lib/samba/secrets.tdb): transaction_read: failed at off=1601070448 
len=24
[2009/03/27 12:16:44,  0] lib/util_tdb.c:tdb_wrap_log(886)
  tdb(/var/lib/samba/secrets.tdb): transaction_read: failed at off=1650750572 
len=24
[2009/03/27 12:16:44,  0] passdb/machine_sid.c:pdb_generate_sam_sid(166)
  pdb_generate_sam_sid: Failed to store generated machine SID.
[2009/03/27 12:16:44,  0] lib/util.c:smb_panic(1663)
  PANIC (pid 28036): could not generate a machine SID
[2009/03/27 12:16:44,  0] lib/util.c:log_stack_trace(1767)
  BACKTRACE: 6 stack frames:
   #0 /usr/sbin/smbd(log_stack_trace+0x2d) [0xb7bc542c]
   #1 /usr/sbin/smbd(smb_panic+0x80) [0xb7bc5589]
   #2 /usr/sbin/smbd(get_global_sam_sid+0x6f3) [0xb7acc257]
   #3 /usr/sbin/smbd(main+0x9f7) [0xb7a65530]
   #4 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb757f685]
   #5 /usr/sbin/smbd [0xb7a62af1]
[2009/03/27 12:16:44,  0] lib/util.c:smb_panic(1668)
  smb_panic(): calling panic action [/usr/share/samba/panic-action 28036]
[2009/03/27 12:16:44,  0] lib/util.c:smb_panic(1676)
  smb_panic(): action returned status 0
[2009/03/27 12:16:44,  0] lib/fault.c:dump_core(201)
  dumping core in /var/log/samba/cores/smbd

I deleted secrets.tdb and the segfault went away. That was OK for me
because I had also purged libpam-smbpass and I am using security = share
for now anyway. :)

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 303458] Re: segfault in pam_smbpass.so

2009-03-25 Thread Steve Langasek
On Tue, Mar 24, 2009 at 12:58:40PM -, Thierry Carrez wrote:
> Steve,
> The smbpasswd-syslog.patch you submitted to Samba [1] as a fix to Debian
> bug 434372 never made it to a Samba release. Since this sudo segfault
> issue seems to only affect our build (and only since Intrepid) I was
> wondering if the patch was not introducing an issue when run against the
> 3.2 or 3.3 line... It looks alright to me, but...

It's possible, but I can't see any bugs in the patch and there are no
warnings in the build log related to this code.

And it's still not reproducible for me. :/

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-03-24 Thread Peter Antoniac
** Tags added: likely-dup

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-03-24 Thread Thierry Carrez
This is probably a duplicate to bug 292791, though nobody there
explicitly reported secrets.tdb corruption.

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-03-24 Thread Thierry Carrez
Steve,
The smbpasswd-syslog.patch you submitted to Samba [1] as a fix to Debian bug 
434372 never made it to a Samba release. Since this sudo segfault issue seems 
to only affect our build (and only since Intrepid) I was wondering if the patch 
was not introducing an issue when run against the 3.2 or 3.3 line... It looks 
alright to me, but...

[1] https://bugzilla.samba.org/show_bug.cgi?id=4831

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-03-24 Thread Thierry Carrez
In duplicate bug 346571, reporter is using the Jaunty version so we can
assume it's still present in jaunty.

Reporter confirms the secrets.tdb file contains text that should rather appear 
in a log file:
Unable to open tdb '/var/lib/samba/group_mapping.ldb'
Failed to connect to '/var/lib/samba/group_mapping.ldb'
ltdb: tdb((null)): tdb_open_ex: could not open file /var/lib/samba/group_mappin$
Unable to open tdb '/var/lib/samba/group_mapping.ldb'
Failed to connect to '/var/lib/samba/group_mapping.ldb

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-03-23 Thread Thierry Carrez
I was wondering if this wasn't Ubuntu-specific since I couldn't find any
report elsewhere of a similar problem. It's also introduced in 8.10, and
we didn't have any report of it persisting in 9.04 alpha (so far).

The tdb file corruption mentioned in comment 15 and comment 16 is
interesting. Since it's logfile-related and we maintain a pam_smbpass.so
delta that relates to logfiles, i was wondering if there wasn't a
connection here. Specifically, smbpasswd-syslog.patch bypasses
setup_logging...

** Changed in: samba (Ubuntu)
   Importance: Undecided => High
   Status: New => Confirmed

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-03-22 Thread Sam Morris
Can we *please* get some triage on this bug? It has now made three
laptops where I work inoperable to those who do not know to disable the
pam_smpass module.

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-02-23 Thread Josh Matthews
Corrected the misspelling of 'tdbsam' on line 6 of the above posted
smb.conf. New config is working fine and pam hasn't segfaulted as of
yet.

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-02-23 Thread Josh Matthews
And now I'm just muddying the water. Even with my corrected (and
testparm approved) smb.conf and samba daemons stopped, I get the pam
segfault because of pam_smbpass.so.

It should be noted that by returning to the default smb.conf, pam is
happy once more. I have attached the smb.conf that makes pam go boom.

** Attachment added: "smb.conf that makes pam a sad panda"
   http://launchpadlibrarian.net/23023349/Terminal%20Saved%20Output.txt

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-02-23 Thread Josh Matthews
Correction, it wasn't a typo for the directory, it was a typo for the
line. Here is the line at issue:

path /data/apps

Which is missing the '=' operator. This is what caused samba to choke,
and pam to follow suit.

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-02-23 Thread Shazburg
Came across this issue just last night and found the cause to be less
than insidious.

Seems that after I finished editing smb.conf, the daemon reloaded the
new file automagically. This is when the trouble started.

As it turns out, my new config had a typo and was specifying a directory
that did not exist. I believe this is what was causing samba to go
tango-uniform and thus causing pam to segfault.

One boot into recovery mode and a restore to the default smb.conf later,
and all is well again. I will be editing my smb.conf under a different
name until it has passed testparm. I will report back should another
fail occur.

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-02-21 Thread Michael Gefen
i had this issue, and resolved it by reinstalling libpam-smbpass.
now it came back.

i guess i'll have to remove that library. what are the ipacts on the
system in doing so?

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-02-19 Thread Carles Fernández Julià
I encountered this bug today, and the only strange thing I did was
installing a new printer through the CUPS web interface. I just removed
the pam_smbpass package and everything was ok.

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-02-10 Thread Sam Morris
I see the same log messages in secrets.tdb on my affected machines as
well.

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-02-10 Thread Keith Constable
I encountered this bug today.  For me, the problem was the
/var/lib/secrets.tdb file.  It appears that a portion of the file was
clobbered by some log messages:

^...@^@^...@ltdb: tdb((null)): tdb_open_ex: could not open file 
/var/lib/samba/group_mapping.ldb: Permission denied
Unable to open tdb '/var/lib/samba/group_mapping.ldb'
Failed to connect to '/var/lib/samba/group_mapping.ldb'
ltdb: tdb((null)): tdb_open_ex: could not open file 
/var/lib/samba/group_mapping.ldb: Permission denied
Unable to open tdb '/var/lib/samba/group_mapping.ldb'
Failed to connect to '/var/lib/samba/group_mapping.ldb'
ltdb: tdb((null)): tdb_open_ex: could not open file 
/var/lib/samba/group_mapping.ldb: Permission denied
Unable to open tdb '/var/lib/samba/group_mapping.ldb'
Failed to connect to '/var/lib/samba/group_mapping.ldb'
ltdb: tdb((null)): tdb_open_ex: could not open file 
/var/lib/samba/group_mapping.ldb: Permission denied
Unable to open tdb '/var/lib/samba/group_mapping.ldb'
Failed to connect to '/var/lib/samba/group_mapping.ldb'

It's primarily a binary file, so I was surprised to discover this.
After (re)moving the file, everything was peachy.  Perhaps some output
in a script is being redirected improperly somewhere?

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-01-21 Thread kobayashimaru
Today I also had a problem with libpam-smbpass. I couldn't login (in GDM
and on console). This is from my /var/log/messages:

Jan 21 20:13:35 bender kernel: [   66.228600] gdm[6571]: segfault at 0 ip 7f
78559f6dbc sp 7fff65d7c3e0 error 4 in pam_smbpass.so[7f785598f000+149000]
Jan 21 20:13:48 bender kernel: [   79.569333] login[4439]: segfault at 0 ip 
7fed09b9cdbc sp 7fff13ec7db0 error 4 in pam_smbpass.so[7fed09b35000+149000]

I have nothing done to my system yesterday (didn't install, remove or update 
any packets).
But when I read, that it could be cups related: yesterday the cups server 
crashed for some reason. Maybe it has corrupted the /var/lib/samba directory?

This is a nasty bug.

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-01-17 Thread Thierry Carrez
So we still have a problem with a corrupted file inside /var/lib/samba
causing libpam-smbpass segfault. The file might well be secrets.tdb
since deleting it often fixes the issue...

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-01-16 Thread Sam Morris
Should this be merged with #302092?

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2009-01-05 Thread Paul Dixon
I had the same problem on a fresh install of Ubuntu 8.10 amd64.

I followed the instructions given by Thierry Carrez above, and removed
samba and libpam-smbpass, deleted /var/lib/samba, created a new empty
directory to replace it, and reinstalled samba and libpam-smbpass.
Rebooted and all was well.

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2008-12-22 Thread Derek Morton
Could this error be related to this bug: http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=478752, namely the last message, which lists CUPS
as the offender. I've recently uncommented the line listed in this
message and haven't seen any more errors, however it did take about 10
hours for it to manifest itself the second time.

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2008-12-09 Thread zedtux
Is this a good idea to use gdb during a sudo command to check what
happen ?

( I just hear that gdb is a debugger... but I don't know how to use it
and how it work ! )

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2008-12-08 Thread Dimitri Zamoun
i have the same probleme with my 32bits processor.

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2008-12-08 Thread Thierry Carrez
There was probably a problem with corrupted contents in
/var/lib/samba... this tends to occur a little too often in my taste and
pam_smbpass integration makes it fail quite badly. I'm not exactly sure
what we can do to avoid it though.

** Changed in: samba (Ubuntu)
   Status: Incomplete => New

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2008-12-08 Thread zedtux
Thanks for your help !

I said, in my comment 4, that I have try to rm -rf /var/lib/samba and re-intall 
package.
But, I have not try to uninstall every samba packages... :(

And now, as I need a working computer ( working on a project ), I have
re-install everything and now, no errors.

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2008-12-08 Thread Thierry Carrez
zedtux:
OK, then we can try to cleanup by hand:
$ sudo rm -rf /var/lib/samba
$ sudo mkdir /var/lib/samba

pam_smbpass.so is known to segfault if the /var/lib/samba directory
doesn't exist, or if it is non-empty, filled by something it doesn't
like. I never saw it segfault when using an existing, but empty
/var/lib/samba... yet :)

(As I said in comment 3, to clean up, you should have purged *both*
samba-common and libpam-smbpass, ensure that /var/lib/samba has been
removed, and then reinstall libpam-smbpass (which will reinstall samba-
common in the process). That's because the  /var/lib/samba directory is
installed by the samba-common package, not the libpam-smbpass one.)

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2008-12-05 Thread zedtux
So, I have back in rescue mode and do all possible updates.

After that, I did an ls /var/lib/samba and saw many files.
So did the apt-get remove --purge libpam-sbmpass and then, execute again an ls 
/var/lib/samba.
Files still there !

So, I did a rm -rf /var/lib/samba, and then apt-get install libpam-
sbmpass.

Next step, I continue boot process and try, in a terminal to do sudo
apt-get update and again segmentation fault !


Tail told me, during the sudo apt-get update :
Dec  5 17:07:09 zUbuntu kernel: [  370.131994] sudo[11276]: segfault at 0 ip 
7fd92f278dbc sp 7fff391b2e30 error 4 in 
pam_smbpass.so[7fd92f211000+149000]

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2008-12-02 Thread Thierry Carrez
About the workaround: could you confirm that /var/lib/samba is removed
after you purged libpam-smbpass and samba-common ?

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2008-12-02 Thread zedtux
I have already done the workaround of the comment ( I tell that at the
end of my ticket ).

No, it's a fresh new installation. ( and new hard drive ! ).

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2008-12-02 Thread Thierry Carrez
Could you try the workaround in:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/302092/comments/4

Is it a 8.04 box that was upgraded to 8.10 ? Did sudo start to fail as
soon as you upgraded, or did it start to fail some time after ?

** Changed in: samba (Ubuntu)
   Status: New => Incomplete

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 303458] Re: segfault in pam_smbpass.so

2008-12-01 Thread Leann Ogasawara
** Changed in: samba (Ubuntu)
Sourcepackagename: linux => samba

-- 
segfault in pam_smbpass.so
https://bugs.launchpad.net/bugs/303458
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs