[Samba] could not initialise lsa pipe - unable to join domain

Gerald (Jerry) Carter jerry at samba.org
Wed Mar 17 17:37:05 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Craig Silva wrote:
| Have installed Redhat ES 3.1 and updated to samba-3.02-6.3E
|
| The PDC is solaris running PC netlink.
|
| Can join the domain if running samba 2.28.
|
| Have tried net oldjoin as well as net join but to no avail.

|   000010 smb_io_rpc_hdr_ba
|           0010 max_tsize: 0800
|           0012 max_rsize: 0800
|           0014 assoc_gid: 000000f5
|           0018 len: 0000
|           001a str:

It's a bug in the ASU / Syntax / PC Netlink code.
Maybe not specifically a bug but it is not
setting the pipe name in the rpc bind response.

Try this patch.  You might hit another problem
after this.  I'm working on a similar problem with a person
trying to migrate an ASU server to a Samba PDC.

Let me know how it goes.



cheers, jerry
- ----------------------------------------------------------------------
Hewlett-Packard            ------------------------- http://www.hp.com
SAMBA Team                 ---------------------- http://www.samba.org
GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song" --Switchfoot (2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAWIzAIR7qMdg1EfYRAsBEAKDtmGsNps2zLZUMmGLsdovuR7kBiQCfSfCA
odavEYdTynD1sM95l8w7r5o=
=NE33
-----END PGP SIGNATURE-----
-------------- next part --------------
Index: rpc_client/cli_pipe.c
===================================================================
RCS file: /data/cvs/samba/source/rpc_client/cli_pipe.c,v
retrieving revision 1.79.2.44
diff -u -r1.79.2.44 cli_pipe.c
--- rpc_client/cli_pipe.c	28 Feb 2004 18:41:16 -0000	1.79.2.44
+++ rpc_client/cli_pipe.c	16 Mar 2004 16:09:35 -0000
@@ -1223,6 +1223,7 @@
 {
 	int i = 0;
 
+# if 0	/* JERRY -- apparently ASU forgets to fill in the server pipe name sometimes */
 	if ( hdr_ba->addr.len <= 0)
 		return False;
 		
@@ -1240,6 +1241,7 @@
 		DEBUG(2,("bind_rpc_pipe: pipe name %s unsupported\n", hdr_ba->addr.str));
 		return False;
 	}
+#endif 	/* JERRY */
 
 	/* check the transfer syntax */
 	if ((hdr_ba->transfer.version != transfer->version) ||


More information about the samba mailing list