Re: Large RPC bug found, I think

2003-03-26 Thread Ronan Waide
On March 26, [EMAIL PROTECTED] said:
 What is the bug you're trying to fix ? ie. What is the behaviour
 that Windows shows that is not correct with the Samba code ?

The bug I'm seeing is that Samba isn't getting a response to the
WriteAndX request it's sending and times out.
 
 Also, I'd feel happier if you tested and compared with Win2000/WinXP
 rather than WinNT as NT is rather old these days

Yup, but I'm working with what I've got. I'll see if I can run a chack
against a Win2K box, but solving this problem for NT4 gets an
immediate problem off my list.
 
 Jeremy.

Cheers,
Waider.
-- 
[EMAIL PROTECTED] / Yes, it /is/ very personal of me.
It's too bad that most people don't get the fact that an object-oriented
 programming style has exactly nothing to do with the programming
 language you use. - Jamie Zawinski


unsubscibe

2003-03-26 Thread Jessheim vgs.Ullersmo
unsubscibe



Winbind on AIX

2003-03-26 Thread Roylance, Stephen D.
This is pretty much functionally complete, the memory stuff seems OK and
getgrset is implemented.

The AIX API has a getgracct call, that returns the group struct without the list
of members.  Considering that some domain groups can be pretty big, doing
getgr[nam|id] can take a while for those.  Is there a wasy to get the struct
group from winbind without the member list so I can implement this call?  It
isn't required, so I don't think implenting it by doing WINBINDD_GETGR[NAM|ID]
and throwing away the member list is worth doing.

I'd also love to hear from people who are willing to give this a spin.

-Steve

 winbind_aix.c 


winbind_aix.c
Description: Binary data


tdb_pack prototype mismatch in printing/printing.c

2003-03-26 Thread Waider
It appears that store_queue_struct is expecting a different version of
tdb_pack, since it's feeding an extra NULL to tdb_pack in place of the
format argument. This causes smbd to explode. (Samba HEAD, as ever)

Cheers,
Waider.
-- 
[EMAIL PROTECTED] / Chances are I'm not at home right now.


New to LINUX and SMB

2003-03-26 Thread Art Bondoc
I am new to Linux and Samba environment and in the process of testing these
products.  Would anyone be kind enough to direct me on some good
documentation (for newbies) on how to install samba on a linux box, gnome as
my windows manager, to be shared with Windows products.


Thanks
Art



Re: tdb_pack prototype mismatch in printing/printing.c

2003-03-26 Thread jra
On Wed, Mar 26, 2003 at 07:26:58PM +, Waider wrote:
 It appears that store_queue_struct is expecting a different version of
 tdb_pack, since it's feeding an extra NULL to tdb_pack in place of the
 format argument. This causes smbd to explode. (Samba HEAD, as ever)

Fixed, thanks.

Jeremy.


Re: Winbind on AIX

2003-03-26 Thread mosborne

I'm trying to test this on AIX 4.3.3 ML 11 with Samba 2.2.8, but get an error
when I try to compile it because I don't have winbind_client.h. What is this
file?

This is a wonderful thing you're doing. I would love to have windbind on my
AIX boxes.





Roylance, Stephen D. [EMAIL PROTECTED]@lists.samba.org on 03/26/2003
07:05:18 AM

Sent by:[EMAIL PROTECTED]


To:Samba-Technical (E-mail) [EMAIL PROTECTED]
cc:
Subject:Winbind on AIX


This is pretty much functionally complete, the memory stuff seems OK and
getgrset is implemented.

The AIX API has a getgracct call, that returns the group struct without the
list
of members.  Considering that some domain groups can be pretty big, doing
getgr[nam|id] can take a while for those.  Is there a wasy to get the struct
group from winbind without the member list so I can implement this call?  It
isn't required, so I don't think implenting it by doing WINBINDD_GETGR[NAM|ID]
and throwing away the member list is worth doing.

I'd also love to hear from people who are willing to give this a spin.

-Steve






RE: Winbind on AIX

2003-03-26 Thread Roylance, Stephen D.
I haven't tried it with 2.2.8, I'd like to know if it works.
winbind_aix.c should be in source/nsswitch and use this to build it:
gcc -o WINBIND winbind_aix.c  -lsys -lcsys -lc  -I../include -I.. -Xlinker
-bM:SRE -Xlinker -ewb_aix_init wb_common.o

It should create the file WINBIND which you can put in /usr/lib/security.

Thanks for trying it,
Steve Roylance

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 26, 2003 2:44 PM
 To: Roylance, Stephen D.
 Cc: Samba-Technical (E-mail)
 Subject: Re: Winbind on AIX
 
 
 
 I'm trying to test this on AIX 4.3.3 ML 11 with Samba 2.2.8, 
 but get an error
 when I try to compile it because I don't have 
 winbind_client.h. What is this
 file?
 
 This is a wonderful thing you're doing. I would love to have 
 windbind on my
 AIX boxes.
 
 
 
 
 
 Roylance, Stephen D. 
 [EMAIL PROTECTED]@lists.samba.org on 03/26/2003
 07:05:18 AM
 
 Sent by:
 [EMAIL PROTECTED]
 
 
 To:Samba-Technical (E-mail) [EMAIL PROTECTED]
 cc:
 Subject:Winbind on AIX
 
 
 This is pretty much functionally complete, the memory stuff 
 seems OK and
 getgrset is implemented.
 
 The AIX API has a getgracct call, that returns the group 
 struct without the
 list
 of members.  Considering that some domain groups can be 
 pretty big, doing
 getgr[nam|id] can take a while for those.  Is there a wasy to 
 get the struct
 group from winbind without the member list so I can implement 
 this call?  It
 isn't required, so I don't think implenting it by doing 
 WINBINDD_GETGR[NAM|ID]
 and throwing away the member list is worth doing.
 
 I'd also love to hear from people who are willing to give this a spin.
 
 -Steve
 
 
 
 


Re: [jcifs] Re: SMB URL

2003-03-26 Thread Christopher R. Hertel
On Wed, Mar 26, 2003 at 03:42:34AM -0500, Michael B. Allen wrote:
:
  The other part missing is the query handling. Currently libsmbclient relies
  on ~/.smb/smb.conf for the workgroup (which is a bit problematic when you
  want to copy files from one workgroup to another from a linux client ;(
  Above that it gives a ?WORKGROUP=COOLO - no such file
 
 I'm not sure I understand this. Do you mean domain? Does libsmbclient
 support the forms:
 
   smb://domain;user:[EMAIL PROTECTED]/share/path/to/file
 
 and
 
   smb://workgroup/

I'm just throwing in a side-comment on terminology...

After a lot of discussion I (personally) have settled on the following:

  Workgroup:  The scope of the browse environment.
  NT Domain:  An authentication domain.

It's flakey, but the terminology is flakey to begin with.

Regarding that definition of workgroup...  If you have two subnets and all 
of the nodes belong to the FOO workgroup then:
  - if there is a DMB, and the LMBs on both subnets are exchanging browse 
lists with the DMB, then you have a single workgroup named FOO.
  - if there is no DMB, or if the LMBs are not exchanging browse 
information (perhaps one is a B node, or perhaps there are different 
WINS serves) then you have two separate workgroups, both nmaed FOO.

Again, it's flakey, but it's the best I've been able to come up with.

Chris -)-

-- 
Samba Team -- http://www.samba.org/ -)-   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)-   [EMAIL PROTECTED]
OnLineBook -- http://ubiqx.org/cifs/-)-   [EMAIL PROTECTED]


(resend - smaller version) BUG: encrypt passwords=no,security=user,samba 2.2.8, W2K user auth fails

2003-03-26 Thread tony shepherd
This is a re-send of the report I sent yesterday that was help up because 
it was too large.  I have compressed the attachments to make it more 
acceptable :).  I also fixed a typo in the subject line...

-

folks

**
I am not on this mail list.  Can all replied please be Cc'ed to me as well.
**
I have come across the following bug using samba 2.2.8 (in the throws of 
upgrading from 2.0.10 to fix security vul).

I discovered this bug using a W2K system; it was not present when testing 
with win98.  I am running the samba server on a solaris 9 system.

I am using encrypt passwords = no and security=user and using the Unix 
passwords for authentication.  Registry modification have been made to the 
windows system.

To replicate the bug, I do the following:

* log onto w2k system as user ts74081, passwd: fred
* try and open the share: \\huey\ts74081.  As my password is different 
between the windows system and the samba server, it prompts me for a 
username/password pair.  I give the correct values but I still get rejected.
* I then try to access the share as a different user (one that does not 
exist on the system):  username fred, passwd fred.  Naturally it fails.
* I then try again with the proper username/password pair and I get 
authenticated correctly and the share is made available.

If I do not try and authenticate as a different user before retrying with 
the proper username, it will continue to fail to authenticate.

I have attached debug 3 logs of the above scenario as well as the smb.conf 
I am using.

If I change the security parameter to security=share, the above bug does 
not show itself.

thanks

tony


log.smbd.gz
Description: Binary data


smb.conf
Description: Binary data


RE: Compile error in server.c

2003-03-26 Thread Andrew Bartlett
On Wed, 2003-03-26 at 09:00, James Willard wrote:
 Ahh.. Okay... That was the magic solution, running autogen.sh. I did not
 realize that was also a necessary component to run.
 
 On a side note, does anybody know when we can expect net ads password
 to function without a segfault? It will be really cool to have that
 feature.

Fixed in HEAD/3.0 CVS.  

Andrew Bartlett
-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


signature.asc
Description: This is a digitally signed message part


RE: Compile error in server.c

2003-03-26 Thread James Willard
Yes, it is! That was the reason for my almost daily cvs updates from
which I had the compile error that was quickly resolved by running
autogen.sh. Thank you very much, Samba team, for getting the net ads
password code working. It helps out -so- much.

Thanks,

James Willard
[EMAIL PROTECTED]

-Original Message-
From: Andrew Bartlett [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 26, 2003 4:47 PM
To: James Willard
Cc: 'Anthony Liguori'; 'Jelmer Vernooij'; Multiple recipients of list
SAMBA-TECHNICAL
Subject: RE: Compile error in server.c
Importance: High


On Wed, 2003-03-26 at 09:00, James Willard wrote:
 Ahh.. Okay... That was the magic solution, running autogen.sh. I did 
 not realize that was also a necessary component to run.
 
 On a side note, does anybody know when we can expect net ads 
 password to function without a segfault? It will be really cool to 
 have that feature.

Fixed in HEAD/3.0 CVS.  

Andrew Bartlett
-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net



RE: [jcifs] Re: SMB URL

2003-03-26 Thread Allen, Michael B (RSCH)


 -Original Message-
 From: Christopher R. Hertel [SMTP:[EMAIL PROTECTED]
 Sent: Wednesday, March 26, 2003 4:26 PM
 To:   Michael B. Allen
 Cc:   Stephan Kulow; [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject:  Re: [jcifs] Re: SMB URL
 
 On Wed, Mar 26, 2003 at 03:42:34AM -0500, Michael B. Allen wrote:
 :
   The other part missing is the query handling. Currently libsmbclient relies
   on ~/.smb/smb.conf for the workgroup (which is a bit problematic when you
   want to copy files from one workgroup to another from a linux client ;(
   Above that it gives a ?WORKGROUP=COOLO - no such file
  
  I'm not sure I understand this. Do you mean domain? Does libsmbclient
  support the forms:
  
smb://domain;user:[EMAIL PROTECTED]/share/path/to/file
  
  and
  
smb://workgroup/
 
 I'm just throwing in a side-comment on terminology...
 
 After a lot of discussion I (personally) have settled on the following:
 
   Workgroup:  The scope of the browse environment.
   NT Domain:  An authentication domain.
 
 It's flakey, but the terminology is flakey to begin with.
 
This is how I always distinguished workgroups and domains.

Mike



Error joining Samba domain with Windows 2000 Pro

2003-03-26 Thread John Brown
I am getting the following message when I try to add my Windows 2000 Pro SP3
machine to the Samba domain.

The following error occurred validating the name x
This condition may be caused by a DNS lookup problem...

The specified domain either does not exist or could not be contacted.

I can see and access the server from the workgroup.





Re: Error joining Samba domain with Windows 2000 Pro

2003-03-26 Thread Richard Sharpe
On Wed, 26 Mar 2003, John Brown wrote:

 I am getting the following message when I try to add my Windows 2000 Pro SP3
 machine to the Samba domain.
 
 The following error occurred validating the name x
 This condition may be caused by a DNS lookup problem...
 
 The specified domain either does not exist or could not be contacted.
 
 I can see and access the server from the workgroup.

I have seen this when nmbd is not running.

Regards
-
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com



Re: [jcifs] Re: SMB URL

2003-03-26 Thread Christopher R. Hertel
On Wed, Mar 26, 2003 at 07:55:58PM -0500, Allen, Michael B (RSCH) wrote:
:
  It's flakey, but the terminology is flakey to begin with.
  
   This is how I always distinguished workgroups and domains.

Okay.  Then it's probably just me that's flakey.

Chrudz -)-

-- 
Samba Team -- http://www.samba.org/ -)-   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)-   [EMAIL PROTECTED]
OnLineBook -- http://ubiqx.org/cifs/-)-   [EMAIL PROTECTED]


Next alpha of 3.0 planned for Friday

2003-03-26 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

FYI...

This is just a heads up for everyone.  I'm planning 
the 3.0alpha23 release for this Friday.  If you have code 
that needs to be merged of commited to the SAMBA_3_0 cvs tree, 
please get in checked in by 8am EST on Friday of the week.

I'm also planning on spending some time reviewing how soon we 
can turn the alpha releases into beta.  I'll post a plan to the
samba-technical list early next week.




cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 You can never go home again, Oatman, but I guess you can shop there.  
--John Cusack - Grosse Point Blank (1997)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+gmSFIR7qMdg1EfYRAj50AJ9CQSMyN6oxr9OaPp0DgLT2RqGW1QCgo2I7
jUBQ3/OVT+7un5NTh3foLlA=
=9NPP
-END PGP SIGNATURE-



Re: [patch] uppercase workgroup in browse request

2003-03-26 Thread Christopher R. Hertel
Stephan Kulow wrote:
 
 Hi!
 
 I noticed a difference between testsmbc smb://MYGRP and testsmbc
 smb://mygrp (it doesn't make a difference for SAMBA servers, but it
 does for XP and for winME) So please apply the included patch.

Hang on...

Do I read this correctly?  Are we forgetting to up-case the workgroup name?
(...it always helps to provide a little clue along with the patch.)  :)

Samba decodes NetBIOS names and then performs a case-insensitive comparison
on the original name.  Windows (the versions I've tested) simply compares
the wire-format strings.  That's faster, but it's also case sensitive.  I
don't currently have any ME or XP systems to test.

Then again, Windows also allows applications to register names with lower
case characters (consider INet~Services1C), which is icky.

Chris -)-

 
 Greetings, Stephan
 
 Index: libsmb/clirap.c
 ===
 RCS file: /cvsroot/samba/source/libsmb/clirap.c,v
 retrieving revision 1.30
 diff -u -3 -p -u -r1.30 clirap.c
 --- libsmb/clirap.c 15 Mar 2003 06:45:19 -  1.30
 +++ libsmb/clirap.c 25 Mar 2003 15:25:20 -
 @@ -233,8 +233,10 @@ BOOL cli_NetServerEnum(struct cli_state
 SIVAL(p,0,stype);
 p += 4;
 
 -   p += push_pstring_base(p, workgroup, param);
 -
 +   pstrcpy_base(p, workgroup, param);
 +   strupper(p);
 +   p += strlen(p);
 +
 if (cli_api(cli,
  param, PTR_DIFF(p,param), 8,/* params, length, max */
  NULL, 0, CLI_BUFFER_SIZE,   /* data, length, max */

-- 
Samba Team -- http://www.samba.org/ -)-   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)-   [EMAIL PROTECTED]
OnLineBook -- http://ubiqx.org/cifs/-)-   [EMAIL PROTECTED]


Re: Next alpha of 3.0 planned for Friday

2003-03-26 Thread Stefan (metze) Metzmacher
At 20:40 26.03.2003 -0600, Gerald (Jerry) Carter wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
FYI...

This is just a heads up for everyone.  I'm planning
the 3.0alpha23 release for this Friday.  If you have code
that needs to be merged of commited to the SAMBA_3_0 cvs tree,
please get in checked in by 8am EST on Friday of the week.
I'm not sure if the new LDAP modify stuff works without problems.
I have problems with that I can't change user entries via usrmgr.exe
the LDAP server returns 'can't add attribute'
(here the attribute should be modified)
and before this changes all works well (I hvae not touched the ldap server)

It would be nice if this could be fixed till alpha23

metze
-
Stefan metze Metzmacher [EMAIL PROTECTED] 



Re: CVS update: samba/source/include

2003-03-26 Thread Stefan (metze) Metzmacher
Hi Chris,

I think the file safe_string.h should be equal in 3_0 and HEAD can you sync 
them?

here's the current diff between them, there're no logic differences only 
formating changes:

===
RCS file: /cvsroot/samba/source/include/safe_string.h,v
retrieving revision 1.12.2.8
retrieving revision 1.25
diff -u -r1.12.2.8 -r1.25
--- samba/source/include/safe_string.h  2003/03/27 05:17:28 1.12.2.8
+++ samba/source/include/safe_string.h  2003/03/27 05:11:25 1.25
@@ -113,23 +113,23 @@
 #endif /* HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS */

+/* the addition of the DEVELOPER checks in safe_strcpy means we must
+ * update a lot of code. To make this a little easier here are some
+ * functions that provide the lengths with less pain */
+#define pstrcpy_base(dest, src, pstring_base) \
+safe_strcpy(dest, src, sizeof(pstring)-PTR_DIFF(dest,pstring_base)-1)
+
 #define safe_strcpy_base(dest, src, base, size) \
 safe_strcpy(dest, src, size-PTR_DIFF(dest,base)-1)
-/* String copy functions - macro hell below adds 'type checking' (limited,
-   but the best we can do in C) and may tag with function name/number to
-   record the last 'clobber region' on that string */
+/* String copy functions - macro hell below adds 'type checking'
+   (limited, but the best we can do in C) and may tag with function
+   name/number to record the last 'clobber region' on that string */
 #define pstrcpy(d,s) safe_strcpy((d), (s),sizeof(pstring)-1)
 #define pstrcat(d,s) safe_strcat((d), (s),sizeof(pstring)-1)
 #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1)
 #define fstrcat(d,s) safe_strcat((d),(s),sizeof(fstring)-1)
-
-/* the addition of the DEVELOPER checks in safe_strcpy means we must
- * update a lot of code. To make this a little easier here are some
- * functions that provide the lengths with less pain */
-#define pstrcpy_base(dest, src, pstring_base) \
-safe_strcpy(dest, src, sizeof(pstring)-PTR_DIFF(dest,pstring_base)-1)
 /* Inside the _fn variants of these is a call to clobber_region(), -

---

metze
-
Stefan metze Metzmacher [EMAIL PROTECTED] 



Discovering the local IP on a multi-homed host.

2003-03-26 Thread Christopher R. Hertel
Is there a simple, portable way to discover the outgoing IP address of a 
datagram socket on a multi-homed host?

...that is...

I want to send a browser message.  I know the destination address (a host 
address or the local broadcast address).  Once I open the socket I can use 
getsockname(2) to discover the outgoing port number (that is, the source 
port).  The problem is that getsockname(2) returns INADDR_ANY (0.0.0.0), 
which is reasonable since the system doesn't know the outbound interface 
address until the message gets routed.

So, is there any portable way to ask the system which IP address (which 
interface, I suppose) will be used as the source address before sending 
the datagram?

Chris -)-

-- 
Samba Team -- http://www.samba.org/ -)-   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)-   [EMAIL PROTECTED]
OnLineBook -- http://ubiqx.org/cifs/-)-   [EMAIL PROTECTED]


RE: [Samba] print$ share problem URGENT - BUG

2003-03-26 Thread Marc Kaplan
You wrote:
Why I have no answer for my questions ?

You only sent the original posting to this list a few hours ago. If you need
this kind of immediate support, where somebody gets back to you within hours
(or maybe even minutes) guaranteed you might consider paying for it, see the
Commercial Support section on: http://us1.samba.org/samba/support/

-Marc


RE: [Samba] print$ share problem URGENT - BUG

2003-03-26 Thread Peter Hurley
I do not know why your logs are showing an smb_panic(), but the failure
to make a connection to {2227a280-3aea} is because the printer
driver is attempting to open the Printers InProcServer on the remote
print server.  

***Snippet from logs***
[2003/03/26 14:33:08, 0] smbd/service.c:make_connection(252)
  donglesvr (10.217.7.11) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
***

Since the print server is a Samba machine (that has no registry or
capability to run InProcServers), that service doesn't exist.  I had
this happen to me when trying to add additional drivers from my W2k
workstation to our 2.2.7a Samba server for a new HP2200 network printer.

The solution I used was to add them manually via rpcclient on the Samba
server itself.  It took me quite a while.  Basically the process is:
1)  expand the driver files on your local W2k workstation, via the
extract command line utility.
2)  copy the driver files up to the appropriate directory on the
[print$] share.  See section 6.2.1 of the Samba HOWTO for the directory
structure.
Basically, NT4/W2K/XP drivers go in W32X86 and 95/98/Me go into WIN40.
3)  on the samba server, run rpcclient.
4)  at the rpcclient prompt, use adddriver to install the files into
the appropriate architecture location.  The tricky part of this is
looking at the *.INF file to determine what parameters go where in the
adddriver command. The format is:

adddriver Architecture LongPrinterName:DriverFile:DataFile:
ConfigFile:HelpFile:LanguageMonitorFile:DataType:ListOfFiles

See rpcclient() man page for list of Architectures.
The ListOfFiles are the files not already specified in the other
parameters.

For example,

adddriver Windows NT x86 HP LaserJet 2200 Series PCL 6:
HPBF3222.DLL:HPBF3224.PMD:HPBF3220.DLL:HPBF3220.HLP:HPBMMON.DLL:RAW:
HPBAFD32.DLL,HPBFTM32.DLL,HPDOMON.DLL,HPBHEALR.DLL

5)  when you have added the driver successfully, then you use the
setdriver command (still at the rpcclient prompt) to associate the
printer share with the driver.

For example,

setdriver hp2200 HP LaserJet 2200 Series PCL 6

Now automatic driver download should work.

This process was so painful, eventually I'm going to look at the
Imprints package to see if that works (there's a reference to this
package in section 6.3 of the Samba HOWTO).

Thanks,

Peter Hurley
[EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
On Behalf Of Stéphane Purnelle
Sent: Wednesday, March 26, 2003 4:33 PM
To: [EMAIL PROTECTED]; samba US; samba-tech
Subject: Re: [Samba] print$ share problem URGENT - BUG

Why I have no answer for my questions ?

I repeat the situation : 
RedHat 8.0 with samba 2.2.8 compiled wiwth ldapsam and acl-support
I need the print$ share and this system dont't work.
I explain : 
when I add a driver, the system copy the data to the share, but after
the copy, w2k display a message the process cannot finish.  

If I look in the log of machine, I found a 

...
  ===
[2003/03/26 14:29:50, 0] lib/fault.c:fault_report(39)

 INTERNAL ERROR: Signal 11 in pid 16328 (2.2.8)

  Please read the file BUGS.txt in the distribution

[2003/03/26 14:29:50, 0] lib/fault.c:fault_report(41)

  ===

[2003/03/26 14:29:50, 0] lib/util.c:smb_panic(1094)
  PANIC: internal error
.

[2003/03/26 14:32:36, 1] smbd/ipc.c:api_fd_reply(292)
  api_fd_reply: INVALID PIPE HANDLE: 7351
[2003/03/26 14:32:41, 1] smbd/ipc.c:api_fd_reply(292)
  api_fd_reply: INVALID PIPE HANDLE: 7352
[2003/03/26 14:33:08, 0] smbd/service.c:make_connection(252)
  donglesvr (10.217.7.11) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}

My print$ share is in a other share

//sys/samba.pub/printer

sys is a share
printer is the print$ share  


How can I found the service {2227a280-3aea-1069-a2de-08002b-30309d} ?

can anybody help me. 

My samba server need to be in production and fastly. 

Le mer 26/03/2003 à 14:41, [EMAIL PROTECTED] a écrit :
 Hello
 
 I try to install drivers from CD to print$ share.
 I use the APW for that, but when the system have finish to copy
drivers,
 w2k says that he cannot complete the process.
 
 And the log of the machine says :
 
 [2003/03/26 11:56:41, 0] passdb/pdb_ldap.c:ldap_connect_system(316)
   ldap_connect_system: Binding to ldap server as
 cn=manager,dc=corman,dc=be
 [2003/03/26 14:26:53, 0] smbd/service.c:make_connection(252)
   donglesvr (10.217.7.11) couldn't find service
 ::{2227a280-3aea-1069-a2de-08002b30309d}
 [2003/03/26 14:28:04, 0] passdb/pdb_ldap.c:ldap_connect_system(316)
   ldap_connect_system: Binding to ldap server as
 cn=manager,dc=corman,dc=be
 [2003/03/26 14:28:04, 0] passdb/pdb_ldap.c:ldap_connect_system(316)
   ldap_connect_system: Binding to ldap server as
 cn=manager,dc=corman,dc=be
 [2003/03/26 14:28:04, 0] 

Re: [Samba] print$ share problem URGENT - BUG

2003-03-26 Thread jra
On Wed, Mar 26, 2003 at 10:33:13PM +0100, Stéphane Purnelle wrote:
 Why I have no answer for my questions ?
 
 I repeat the situation : 
 RedHat 8.0 with samba 2.2.8 compiled wiwth ldapsam and acl-support
 I need the print$ share and this system dont't work.
 I explain : 
 when I add a driver, the system copy the data to the share, but after
 the copy, w2k display a message the process cannot finish.  
 
 If I look in the log of machine, I found a 
 
 ...
   ===
 [2003/03/26 14:29:50, 0] lib/fault.c:fault_report(39)
 
  INTERNAL ERROR: Signal 11 in pid 16328 (2.2.8)
 
   Please read the file BUGS.txt in the distribution
 
 [2003/03/26 14:29:50, 0] lib/fault.c:fault_report(41)
 
   ===

Please add the following line to your smb.conf file :

 panic action = /bin/sleep 9

and reproduce the problem. You will find a sleep process
left on the machine. Using ps, find the parent of this
process (it will be an smbd process), then attach to
it using gdb. Type 'bt' to get a backtrace of the problem
and please mail it to the list.

Thanks,

Jeremy.


Re: [Samba] print$ share problem URGENT - BUG

2003-03-26 Thread Andrew Bartlett
On Thu, Mar 27, 2003 at 01:14:58AM +, [EMAIL PROTECTED] wrote:
 On Wed, Mar 26, 2003 at 10:33:13PM +0100, Stéphane Purnelle wrote:
  Why I have no answer for my questions ?
  
  I repeat the situation : 
  RedHat 8.0 with samba 2.2.8 compiled wiwth ldapsam and acl-support
  I need the print$ share and this system dont't work.
  I explain : 
  when I add a driver, the system copy the data to the share, but after
  the copy, w2k display a message the process cannot finish.  
  
  If I look in the log of machine, I found a 
  
  ...
===
  [2003/03/26 14:29:50, 0] lib/fault.c:fault_report(39)
  
   INTERNAL ERROR: Signal 11 in pid 16328 (2.2.8)
  
Please read the file BUGS.txt in the distribution
  
  [2003/03/26 14:29:50, 0] lib/fault.c:fault_report(41)
  
===
 
 Please add the following line to your smb.conf file :
 
  panic action = /bin/sleep 9
 
 and reproduce the problem. You will find a sleep process
 left on the machine. Using ps, find the parent of this
 process (it will be an smbd process), then attach to
 it using gdb. Type 'bt' to get a backtrace of the problem
 and please mail it to the list.
 
 Thanks,
 
   Jeremy.

I've been having touble getting gdb to work - ever since
I upgraded to the RH 2.2.18-27.8.0 errata kernels...

I wonder if all our changing uid back and forth has caused
the kernel to decide we shouldn't be ptrace'ed...

I'm glad jelmer added that backtrace() code...

Andrew Bartlett


Re: [Samba] print$ share problem URGENT - BUG

2003-03-26 Thread Stéphane Purnelle
Why I have no answer for my questions ?

I repeat the situation : 
RedHat 8.0 with samba 2.2.8 compiled wiwth ldapsam and acl-support
I need the print$ share and this system dont't work.
I explain : 
when I add a driver, the system copy the data to the share, but after
the copy, w2k display a message the process cannot finish.  

If I look in the log of machine, I found a 

...
  ===
[2003/03/26 14:29:50, 0] lib/fault.c:fault_report(39)

 INTERNAL ERROR: Signal 11 in pid 16328 (2.2.8)

  Please read the file BUGS.txt in the distribution

[2003/03/26 14:29:50, 0] lib/fault.c:fault_report(41)

  ===

[2003/03/26 14:29:50, 0] lib/util.c:smb_panic(1094)
  PANIC: internal error
.

[2003/03/26 14:32:36, 1] smbd/ipc.c:api_fd_reply(292)
  api_fd_reply: INVALID PIPE HANDLE: 7351
[2003/03/26 14:32:41, 1] smbd/ipc.c:api_fd_reply(292)
  api_fd_reply: INVALID PIPE HANDLE: 7352
[2003/03/26 14:33:08, 0] smbd/service.c:make_connection(252)
  donglesvr (10.217.7.11) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}

My print$ share is in a other share

//sys/samba.pub/printer

sys is a share
printer is the print$ share  


How can I found the service {2227a280-3aea-1069-a2de-08002b-30309d} ?

can anybody help me. 

My samba server need to be in production and fastly. 

Le mer 26/03/2003 à 14:41, [EMAIL PROTECTED] a écrit :
 Hello
 
 I try to install drivers from CD to print$ share.
 I use the APW for that, but when the system have finish to copy drivers,
 w2k says that he cannot complete the process.
 
 And the log of the machine says :
 
 [2003/03/26 11:56:41, 0] passdb/pdb_ldap.c:ldap_connect_system(316)
   ldap_connect_system: Binding to ldap server as
 cn=manager,dc=corman,dc=be
 [2003/03/26 14:26:53, 0] smbd/service.c:make_connection(252)
   donglesvr (10.217.7.11) couldn't find service
 ::{2227a280-3aea-1069-a2de-08002b30309d}
 [2003/03/26 14:28:04, 0] passdb/pdb_ldap.c:ldap_connect_system(316)
   ldap_connect_system: Binding to ldap server as
 cn=manager,dc=corman,dc=be
 [2003/03/26 14:28:04, 0] passdb/pdb_ldap.c:ldap_connect_system(316)
   ldap_connect_system: Binding to ldap server as
 cn=manager,dc=corman,dc=be
 [2003/03/26 14:28:04, 0] passdb/pdb_ldap.c:ldap_connect_system(316)
   ldap_connect_system: Binding to ldap server as
 cn=manager,dc=corman,dc=be
 [2003/03/26 14:29:41, 1] smbd/service.c:make_connection(636)
   donglesvr (10.217.7.11) connect to service print$ as user root (uid=0,
 gid=0) (pid 16328)
 [2003/03/26 14:29:49, 1] smbd/service.c:make_connection(636)
   donglesvr (10.217.7.11) connect to service print$ as user root (uid=0,
 gid=0) (pid 16328)
 [2003/03/26 14:29:49, 1] smbd/service.c:close_cnum(677)
   donglesvr (10.217.7.11) closed connection to service print$
 [2003/03/26 14:29:49, 1] smbd/service.c:make_connection(636)
   donglesvr (10.217.7.11) connect to service print$ as user root (uid=0,
 gid=0) (pid 16328)
 [2003/03/26 14:29:50, 1] smbd/service.c:close_cnum(677)
   donglesvr (10.217.7.11) closed connection to service print$
 [2003/03/26 14:29:50, 0] lib/fault.c:fault_report(38)
   ===
 [2003/03/26 14:29:50, 0] lib/fault.c:fault_report(39)
   INTERNAL ERROR: Signal 11 in pid 16328 (2.2.8)
   Please read the file BUGS.txt in the distribution
 [2003/03/26 14:29:50, 0] lib/fault.c:fault_report(41)
   ===
 [2003/03/26 14:29:50, 0] lib/util.c:smb_panic(1094)
   PANIC: internal error
 [2003/03/26 14:29:50, 0] passdb/pdb_ldap.c:ldap_connect_system(316)
   ldap_connect_system: Binding to ldap server as
 cn=manager,dc=corman,dc=be
 [2003/03/26 14:29:50, 1] smbd/service.c:make_connection(636)
   donglesvr (10.217.7.11) connect to service print$ as user root (uid=0,
 gid=0) (pid 16602)
 [2003/03/26 14:30:18, 1] smbd/service.c:close_cnum(677)
   donglesvr (10.217.7.11) closed connection to service print$
 [2003/03/26 14:30:18, 1] smbd/service.c:make_connection(636)
   donglesvr (10.217.7.11) connect to service print$ as user root (uid=0,
 gid=0) (pid 16602)
 [2003/03/26 14:31:05, 1] smbd/service.c:make_connection(636)
   donglesvr (10.217.7.11) connect to service print$ as user root (uid=0,
 gid=0) (pid 16602)
 [2003/03/26 14:31:05, 1] smbd/service.c:close_cnum(677)
   donglesvr (10.217.7.11) closed connection to service print$
 [2003/03/26 14:31:05, 1] smbd/service.c:make_connection(636)
   donglesvr (10.217.7.11) connect to service print$ as user root (uid=0,
 gid=0) (pid 16602)
 [2003/03/26 14:31:06, 1] smbd/service.c:close_cnum(677)
   donglesvr (10.217.7.11) closed connection to service print$
 [2003/03/26 14:31:06, 0] lib/fault.c:fault_report(38)
   ===
 [2003/03/26 14:31:06, 0] lib/fault.c:fault_report(39)
   INTERNAL ERROR: Signal 11 in pid 16602 (2.2.8)
   Please read the