I am running Ubuntu with LTSP authenticating to ADS on a Windows 2003 server SP1. My windows side of the network is running fine. The Linux terminals are not able to login all users... weirdly, some can, some can't. In my log.winbindd-idmap file, I get a slew of entries similar to this: [2006/09/25 22:54:21, 0] tdb/tdbutil.c:tdb_log(772) tdb(/var/lib/samba/winbindd_idmap.tdb): rec_free_read bad magic 0x42424242 at offset=17476 I have tried to add a user to the Linux machine and the new Linux users can't login either. I'm not sure if they should-- maybe Linux can only see its admin and ADS users. wbinfo -u gives me a list of all of my users, including those who can and can't login. Solutions I've seen around are deleting files in /var/lib/samba and restarting Winbind. Tried that, still not working. Any suggestions? Thanks! Sonja Gonzalez Tech Coord Ellis School Fremont, NH
Felipe Augusto van de Wiel
2006-Sep-29 13:17 UTC
[Samba] Bad magic on Winbind authentication
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/26/2006 09:56 AM, sonjag@comcast.net escreveu:> I am running Ubuntu with LTSP authenticating to ADS on a Windows 2003 server > SP1. My windows side of the network is running fine. The Linux terminals are not > able to login all users... weirdly, some can, some can't. In my > log.winbindd-idmap file, I get a slew of entries similar to this: > > [2006/09/25 22:54:21, 0] tdb/tdbutil.c:tdb_log(772) > tdb(/var/lib/samba/winbindd_idmap.tdb): rec_free_read bad magic 0x42424242 at > offset=17476 > > I have tried to add a user to the Linux machine and the new Linux users can't > login either. I'm not sure if they should-- maybe Linux can only see its admin > and ADS users. > > wbinfo -u gives me a list of all of my users, including those who can and can't > login. > > Solutions I've seen around are deleting files in /var/lib/samba and restarting > Winbind. Tried that, still not working. Any suggestions?Yes. Send you smb.conf and some information (uid, gid, home, shell) about a user that can login and a user that can't login. We also need the configuration of nsswitch (libnss). 'getent passwd' is working as expected? And I find hard to understand the exact problem. a) New users created in Win can't login in Linux? b) New users created in Linux can't login in Win? c) New users created in Win can't login in Win? d) New users created in Linux can't login in Linux? Kind regards,> Thanks! > Sonja Gonzalez > Tech Coord > Ellis School > Fremont, NHKind regards, - -- Felipe Augusto van de Wiel <felipe@paranacidade.org.br> Coordenadoria de Tecnologia da Informa??o (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFFHRzZCj65ZxU4gPQRArReAJwLSvOuefOVUEpRQy8zS1jj2DPRsgCgtSFV d5zCs4rPKOq4wbdO1c9KQDo=QNLx -----END PGP SIGNATURE-----
Maybe Matching Threads
- REPOST: Samba 2.2.5 under Debian 3.0 i386: Still frequent connections.tdb corruption
- Corrupt Database and couldn't map SID.
- corrupt tdb problems
- Samba 2.2.5 under Debian 3.0 i386: Still frequent connections.tdb corruption
- Not all users correctly winbind-ing on Server 2003 SP1 with 3.0.20b