Re: modules: BOOL vs. int

2003-03-26 Thread Stefan (metze) Metzmacher
At 08:23 27.03.2003 +0100, Stefan (metze) Metzmacher wrote: Hi Jelmer, I noticed that all smb_register_*() fn's return BOOL and the init_module() fn's returns int so this is wrong: int pdb_xml_init(void) { return smb_register_passdb("xml", xmlsam_init, PASSDB_INTERFACE_VERSION); } btw: I

modules: BOOL vs. int

2003-03-26 Thread Stefan (metze) Metzmacher
Hi Jelmer, I noticed that all smb_register_*() fn's return BOOL and the init_module() fn's returns int so this is wrong: int pdb_xml_init(void) { return smb_register_passdb("xml", xmlsam_init, PASSDB_INTERFACE_VERSION); } and here we really should check the return values, and print out w

"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 d

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/sa

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 ch

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

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

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 ei

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

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:

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 th

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 drive

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,

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_con

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: 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] --

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 b

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 Sup

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 messa

(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. *

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

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 pu

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]>@l

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.

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.

[homes] code in Samba 3.0, path= not working?

2003-03-26 Thread Nir Soffer
Hi There! In Samba v3.0 as opposed to Samba v2.2.x, one apparently cannot use a "path" statement within a [homes] section. I tracked this to a change you made in loadparm.c, revision 1.414 (egads, 9 monthes ago), which now uses:      char *home = get_user_home_dir(p); instead of the old:

Re: BUG in auth_sam.c

2003-03-26 Thread Stefan (metze) Metzmacher
After, a bit more research, I can say the bug must be at an other place... I'll try to fix it At 12:48 26.03.2003 +0100, [EMAIL PROTECTED] wrote: Hi all, the pdb_* functions return NTSTATUS now! auth_sam.c line 430 <> /* get the account information */ beco

Re: Core dumping samba (fwd)

2003-03-26 Thread jra
On Wed, Mar 26, 2003 at 08:11:06AM -0600, [EMAIL PROTECTED] wrote: > > > > -- Forwarded message -- > Date: Wed, 26 Mar 2003 08:07:20 -0600 (CST) > From: [EMAIL PROTECTED] > To: Jelmer Vernooij <[EMAIL PROTECTED]> > Subject: Re: Core dumping samba > > Here s the backtrace you req

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

[Samba] print$ share problem URGENT - BUG

2003-03-26 Thread stephane . purnelle
I post this mail in this list because I have not respond from samba list for a BUG in my samba 2.2.8. --- Stéphane PURNELLE [EMAIL PROTECTED] Service Informatique Corman S.A. Tel : 00 32 087/342467 - Réacheminé par Stéphan

Re: Samba 2.2.8 installation

2003-03-26 Thread Bradley W. Langhorst
On Wed, 2003-03-26 at 09:17, Olivier Studer wrote: > Hello, > I have found on the web a package to install samba. But I would like to try a ldap > authentification but with this package the parameter ldap server and some one is not > know. > > I would like to install it with the tar file. But

Samba 2.2.8 installation

2003-03-26 Thread Olivier Studer
Hello, I have found on the web a package to install samba. But I would like to try a ldap authentification but with this package the parameter ldap server and some one is not know. I would like to install it with the tar file. But I can see some README. Could you send me some explian to insta

Re: Core dumping samba (fwd)

2003-03-26 Thread iahmed
-- Forwarded message -- Date: Wed, 26 Mar 2003 08:07:20 -0600 (CST) From: [EMAIL PROTECTED] To: Jelmer Vernooij <[EMAIL PROTECTED]> Subject: Re: Core dumping samba Here s the backtrace you requested: (gdb) backtrace Searching... >0 0xbfff443b in pwrite () from /usr/lib/li

[PATCH] correctly decode URL parts

2003-03-26 Thread Stephan Kulow
Hi! As discussed today, libsmbclient doesn't handle input as smb://%40host/My%20Desktop My patch fixes this. This is a C port of the same function within KDE's URL (originally LGPL, relicensed to GPL for inclusion :) Greetings, Stephan --- libsmb/libsmbclient.c 21 Mar 2003 22:31:25 - 1.64 ++

Re: BUG (samba 2.2.8): smbd -l does not work under solaris

2003-03-26 Thread David Collier-Brown -- Customer Engineering
The routine really should emit a message of the form "sorry, you have to pass me a directory"... I'll check head this evening and try for a patch. --dave tony shepherd wrote: Oh, that is just so annoying This must have changed from 2.0.x to 2.2.x. It was logfile in 2.0.10 (what I am upgra

unsubscibe

2003-03-26 Thread Jessheim vgs.Ullersmo
unsubscibe

Core dumping samba

2003-03-26 Thread iahmed
I have installed Samba 2.2.8 on AT&T SVR4 machine but when I run smbd and nmbd I encounter a core dump. I ran smbd with -i option and I got the following: smbd version 2.2.8 started. Copyright Andrew Tridgell and the Samba Team 1992-2002 INFO: Debug class all level = 3 (pid 19368 from pid 1936

BUG in auth_sam.c

2003-03-26 Thread mx
Hi all, the pdb_* functions return NTSTATUS now! auth_sam.c line 430 <> /* get the account information */ become_root(); ret = pdb_getsampwnam(sampass, user_info->internal_username.str); unbecome_root(); if (ret == False)

Problem with samba 3 alpha 22

2003-03-26 Thread Hetz Ben Hamo
Hi, First I would like to appologise if I'm not posting this to the right mailing list. In my day work, lots of our users are connecting to win2k server with active directory servers (ads), and what I'm trying to do is to connect our Linux users to the ads server. So far, it seems to work fi

Re: SMB URL

2003-03-26 Thread Stephan Kulow
Am Wednesday 26 March 2003 09:42 schrieb Michael B. Allen: > On Wed, 26 Mar 2003 08:20:17 +0100 > > Stephan Kulow <[EMAIL PROTECTED]> wrote: > > > We did reach an important conclusion that would be influential to > > > anyone writing an SMB URL parser. That is, even though SMB URLs do not > > > req

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 h

Re: SMB URL

2003-03-26 Thread Michael B. Allen
On Wed, 26 Mar 2003 08:20:17 +0100 Stephan Kulow <[EMAIL PROTECTED]> wrote: > > We did reach an important conclusion that would be influential to anyone > > writing an SMB URL parser. That is, even though SMB URLs do not require > > Unicode characters be escaped (for practical reasons) they should