Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: cant login - bounces straight to... login!

  1. #11
    Join Date
    Aug 2005
    Location
    East London, South Africa
    Beans
    38
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: cant login - bounces straight to... login!

    good stuff.

    sudo apt-get remove libpam-smbpass

    worked for me as well.
    vijay

  2. #12
    Join Date
    Oct 2005
    Beans
    161
    Distro
    Ubuntu Budgie 18.04 Bionic Beaver

    Re: cant login - bounces straight to... login!

    only problem for me now is that samba users cant access my system anymore, and sudo smbpasswd -a mujaheiden gives a

    Code:
    tdb(/var/lib/samba/secrets.tdb): transaction_read: failed at off=540702821 len=24
    tdb(/var/lib/samba/secrets.tdb): transaction_read: failed at off=540702821 len=24
    tdb(/var/lib/samba/secrets.tdb): transaction_read: failed at off=540702821 len=24
    tdb(/var/lib/samba/secrets.tdb): transaction_read: failed at off=540702821 len=24
    tdb(/var/lib/samba/secrets.tdb): transaction_read: failed at off=1650750572 len=24
    pdb_generate_sam_sid: Failed to store generated machine SID.
    PANIC (pid 32258): could not generate a machine SID
    BACKTRACE: 6 stack frames:
     #0 smbpasswd(log_stack_trace+0x2d) [0xb7f7118c]
     #1 smbpasswd(smb_panic+0x80) [0xb7f712e9]
     #2 smbpasswd(get_global_sam_sid+0x6f3) [0xb7f12417]
     #3 smbpasswd(main+0x645) [0xb7ee24e0]
     #4 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7b77685]
     #5 smbpasswd [0xb7ee19d1]
    smb_panic(): calling panic action [/usr/share/samba/panic-action 32258]
    smb_panic(): action returned status 0
    Segmentation fault
    I guess thats the missing libpam-smbpass

    so im going to try to remove the cups thing, because that secondary.... grmbl...

    AH: I located the exact problem, so instead of removing the libpam-smbpass

    this should suffice; sudo rm /var/lib/samba/secrets.tdb

    (See https://bugs.launchpad.net/ubuntu/+s...58/comments/13)

  3. #13
    Join Date
    Apr 2008
    Beans
    15

    Re: cant login - bounces straight to... login!

    I had the same problem. It started when I replaced the Network card in my Lexmark printer. Nothing would print so I deleted the printer in Cups and then added it back in. When I rebooted I got the same issue as you. I followed the solution at the above post and it worked. I rebooted into repair mode, Choose Drop to root and at the command typed; rm /var/lib/samba/secrets.tdb I was able to log in with no more problems at this writing. (I haven't tried printing to my Lexmark yet)

  4. #14
    Join Date
    May 2008
    Location
    Westville, South Africa
    Beans
    12
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: cant login - bounces straight to... login!

    I recently had the cannot login problem. Only I had made the problem worse by having set my menu.lst file to a 0 second timeout. Basically, I couldn't get to recovery mode. I solved the problem through the use of a live cd.

    This bug report really helped.
    https://lists.ubuntu.com/archives/ub...ch/011217.html

    After commenting out the appropriate line, I was able to login and my cups/samba still work. Not sure about what that line does, but I am back on line.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •