Re: [Samba] Bad magic on Winbind authentication

2006-09-29 Thread Felipe Augusto van de Wiel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/26/2006 09:56 AM, [EMAIL PROTECTED] 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, NH

Kind regards,

- --
Felipe Augusto van de Wiel <[EMAIL PROTECTED]>
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-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Bad magic on Winbind authentication

2006-09-26 Thread sonjag
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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Bad magic

2002-11-07 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 4 Nov 2002, Stephen J. Thompson wrote:

> I am trying to connect my windows 2000 clients to printers hosted on my
> samba server. The samba server is acting as a pdc for the domain. The
> user profiles work fine.
> 
> The error I keep getting is:
> 
> [2002/11/04 18:24:11, 0] tdb/tdbutil.c:tdb_log(475)
>   tdb(/var/cache/samba/printing.tdb): rec_free_read bad magic 0x42424242 at 
> offset=5300
> [2002/11/04 18:24:11, 0] tdb/tdbutil.c:tdb_log(475)
>   tdb(/var/cache/samba/printing.tdb): rec_read bad magic 0xd9fee666 at 
> offset=4212
> [2002/11/04 18:26:10, 0] tdb/tdbutil.c:tdb_log(475)
>   tdb(/var/cache/samba/printing.tdb): rec_free_read bad magic 0x42424242 at 
> offset=5300
> [2002/11/04 18:26:10, 0] tdb/tdbutil.c:tdb_log(475)
>   tdb(/var/cache/samba/printing.tdb): rec_read bad magic 0xd9fee666 at 
> offset=4212

Sounds like the printing.tdb got corupted.  Delete this file (it is a 
cache file anyways) and restart samba.




cheers, jerry
 -
 Hewlett-Packard   - http://www.hp.com
 SAMBA Team-- http://www.samba.org
 GnuPG Key  http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2"SAMS Teach Yourself Samba in 24 Hours" 2ed
 "I never saved anything for the swim back." Ethan Hawk in Gattaca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9ypQxIR7qMdg1EfYRAnK2AKDAdcz5IZAcXx7zLcbLRt9/WwHyUwCguYNK
6zWS15b9HlzkL+fjnocMOY4=
=J8pR
-END PGP SIGNATURE-

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



[Samba] Bad magic

2002-11-04 Thread Stephen J. Thompson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello all,

I am trying to connect my windows 2000 clients to printers hosted on my samba 
server. The samba server is acting as a pdc for the domain. The user profiles 
work fine.

The error I keep getting is:

[2002/11/04 18:24:11, 0] tdb/tdbutil.c:tdb_log(475)
  tdb(/var/cache/samba/printing.tdb): rec_free_read bad magic 0x42424242 at 
offset=5300
[2002/11/04 18:24:11, 0] tdb/tdbutil.c:tdb_log(475)
  tdb(/var/cache/samba/printing.tdb): rec_read bad magic 0xd9fee666 at 
offset=4212
[2002/11/04 18:26:10, 0] tdb/tdbutil.c:tdb_log(475)
  tdb(/var/cache/samba/printing.tdb): rec_free_read bad magic 0x42424242 at 
offset=5300
[2002/11/04 18:26:10, 0] tdb/tdbutil.c:tdb_log(475)
  tdb(/var/cache/samba/printing.tdb): rec_read bad magic 0xd9fee666 at 
offset=4212


Can anyone please explain.

btw: I can not find a way to search the archives, is there one?


Regards,


Stephen.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9xr9m0k0FHD8vXU0RAqtgAJsER2bXk8q/Bs/t2A16soRZYg0gRQCfcC+6
qIv6sU0Ui8y4sXqOOgAUfAU=
=rX5q
-END PGP SIGNATURE-

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