Help with spoolss printing

2003-03-04 Thread Mike Brodbelt
Hi, I've got a network with an NT4 PDC and a Samba file/print server, running Samba 2.2.3 as packaged with Debian Woody. The machine has been working quite happily for ages (started life with Samba 1.9.18 a long time ago), and the printer sharing has always been done as Lan Manager printers.

Anonymous domain joining

2003-03-04 Thread Tom Alsberg
Hi there. I am trying to achieve something that will let any machine be a member of the domain, without needing authentication as an admin to join. The basic idea is that all machines will be in the domain in the server's opinion, and joining it will be necessary only for Windows to know it is

Re: Anonymous domain joining

2003-03-04 Thread Tom Alsberg
Just a few notes I forgot - this is with Windows NT, 2000, and XP clients, and I am working on the post-3.0-HEAD branch. -- Tom On Tue, Mar 04, 2003 at 03:32:24PM +0200, Tom Alsberg wrote: Hi there. I am trying to achieve something that will let any machine be a member of the domain,

decode port_type field in enumports

2003-03-04 Thread Waider
Hi folks, this patch against CVS HEAD provides decoding for the port_type field when you do enumports 2 in rpcclient. Cheers, Waider. Index: include/rpc_spoolss.h === RCS file: /cvsroot/samba/source/include/rpc_spoolss.h,v

smb.conf inside ldap

2003-03-04 Thread Stefan Voelkel
Hello, I would like to hold the smb.conf inside an ldap server. Is there any work going on in implementing a ldap-config-file-backend? Do people already think about a schema for this? If not where can I ask to get help in designing that schema? I thought of something like this: Auxiliary

Re: smb.conf inside ldap

2003-03-04 Thread Guenther Deschner
hi, On Tue, Mar 04, 2003 at 04:05:26PM +0100, Stefan Voelkel wrote: Hello, I would like to hold the smb.conf inside an ldap server. Is there any work going on in implementing a ldap-config-file-backend? not that i know. but there was some effort in samba-tng for this. you might have a

Re: CVS update: samba/source/printing

2003-03-04 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 4 Mar 2003 [EMAIL PROTECTED] wrote: Date: Tue Mar 4 09:33:34 2003 Author: abartlet Update of /data/cvs/samba/source/printing In directory dp.samba.org:/tmp/cvs-serv25296/printing Modified Files: nt_printing.c Log

Re: file descriptors consumed by printing

2003-03-04 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 2 Mar 2003, Richard Sharpe wrote: On Mon, 3 Mar 2003, Tim Potter wrote: On Sun, Mar 02, 2003 at 10:10:53PM -0800, Richard Sharpe wrote: This seems like a good way to do it. Does anyone have any objections if I do so?

RE: mount points / free disk space / dfree command

2003-03-04 Thread Panko, Kevin
I went and read some of the CIFS spec[1], and it seems to me that the QUERY_FS_INFO trans2 request only includes an identifier for the current connection. Given this information, samba can only attempt to determine the amount of space on the root of the share. This explains why using the dfree

Re: Help with spoolss printing

2003-03-04 Thread Mike Brodbelt
Gerald (Jerry) Carter wrote: Please retest against 2.2.8pre2. OK - I'll need to build my own packages, which I was hoping to avoid, so testing against the new version will probably take me a day or so. Running the rpcclient enumdrivers command returns no output. Inspection of the logfiles

Re: Help with spoolss printing

2003-03-04 Thread Mike Brodbelt
Mike Brodbelt wrote: Gerald (Jerry) Carter wrote: Please retest against 2.2.8pre2. OK - I'll need to build my own packages, which I was hoping to avoid, so testing against the new version will probably take me a day or so. Having tried this, 2.2.8 doesn't compile for me. Found the

reply_read_and_X and is_locked

2003-03-04 Thread Peter Godman
Hello Samba Hackers! I am debugging a performance problem associated with backing samba with a distributed filesystem. On this filesystem, querying whether a file is locked may involve a network roundtrip. Locking a file is substantially less likely to involve a roundtrip, at least if the file

Re: Help with spoolss printing

2003-03-04 Thread Steve Langasek
On Tue, Mar 04, 2003 at 03:46:17PM +, Mike Brodbelt wrote: Mike Brodbelt wrote: Gerald (Jerry) Carter wrote: Please retest against 2.2.8pre2. OK - I'll need to build my own packages, which I was hoping to avoid, so testing against the new version will probably take me a day

2.2.8pre2 Won't Configure On Digital Unix 4.0D

2003-03-04 Thread Boyce, Nick
I decided to have a look at 2.2.8pre2 on a Digital Unix box we run here - and configure runs fine like this : ./configure --with-winbind ... checking whether or not getgroups returns EGID too many times... no checking whether struct passwd has pw_comment... yes checking

Norton Ghost, rpc_server

2003-03-04 Thread grobe
Hi List! It's some time ago now that I asked wether it is possible to join a domain with a Windows 2000 client using the Norton Ghost console and Samba as pdc. I now found some info in Samba's logfiles, and so I can ask now for the feature that would be needed. Ghost uses an account that is to

Re: Help with spoolss printing

2003-03-04 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 4 Mar 2003, Steve Langasek wrote: Have you tried the backported 2.2.7a packages available at http://people.debian.org/~peloy/samba/? Jerry, have there been more printing fixes since then that he'll need in order to get this working? I

Re: Help with spoolss printing

2003-03-04 Thread Mike Brodbelt
Gerald (Jerry) Carter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 4 Mar 2003, Steve Langasek wrote: Have you tried the backported 2.2.7a packages available at http://people.debian.org/~peloy/samba/? Jerry, have there been more printing fixes since then that he'll need in

Re: [PATCH] file change notification

2003-03-04 Thread Michael B. Allen
On Mon, 3 Mar 2003 22:03:02 +0100 [EMAIL PROTECTED] (Juergen Hasch) wrote: Hi, attached is a modified version of Hal's file change notification patch. It's against Samba HEAD and works for me. Changes: - use push_ucs2() to send unicode file names - make some functions static (make proto

session ids

2003-03-04 Thread Greg
Hi, can someone explain to me a little about how samba uses the session ids? I particularly have a problem on FreeBSD-4.4 with session ids running out. from log file: [2003/03/05 12:36:41, 1] smbd/reply.c:reply_sesssetup_and_X(1005) Rejecting user 'stephen': authentication failed [2003/03/05

3.0a21 and HEAD: only primary group of a domain user is set on smbd

2003-03-04 Thread Chere Zhou
Dear list, I know that on 2.2.5, when we get user info from winbindd, we also initialize group information based on the group list got from winbind, and do a setgroups for the process, so that all of the groups the user is a member of is set on the smbd. Now on 3.0a21 and HEAD, I do not see

Re: Norton Ghost, rpc_server

2003-03-04 Thread Bradley W. Langhorst
On Tue, 2003-03-04 at 14:42, [EMAIL PROTECTED] wrote: Hi List! It's some time ago now that I asked wether it is possible to join a domain with a Windows 2000 client using the Norton Ghost console and Samba as pdc. I now found some info in Samba's logfiles, and so I can ask now for the

RE: 3.0a21 and HEAD: only primary group of a domain user is set onsmbd

2003-03-04 Thread Ken Cross
The behavior you're seeing is because LDAP is being used to get the group membership rather that RPC. Last month I posted a patch to fix this, but to my knowledge it hasn't been incorporated. (I'm not bitching, just explaining...) If you're interested, check the archives for message entitled

Connecting to Win2K via port 445 and etc

2003-03-04 Thread Richard Sharpe
Hi, based on a change that Jeremy made today relating to Win2K via 445, I wonder if the following code in cli_send_tconX (head) is perhaps still a bit wrong if (cli-port == 445) { slprintf(fullshare, sizeof(fullshare)-1, %s, share); }

Re: 3.0a21 and HEAD: only primary group of a domain user is set onsmbd

2003-03-04 Thread jra
On Tue, Mar 04, 2003 at 10:38:12PM -0500, Ken Cross wrote: The behavior you're seeing is because LDAP is being used to get the group membership rather that RPC. Last month I posted a patch to fix this, but to my knowledge it hasn't been incorporated. (I'm not bitching, just explaining...)

[PATCH] draft: better string overflow checking (was: memorycorruption in SAMBA_3_0)

2003-03-04 Thread Martin Pool
I was thinking about Andrew's fstring-overflow patch from a few weeks ago: for developer builds, it touches the last byte of a string buffer to check that it's as long as it should be. This should be reasonably helpful in catching string overflows on the heap, but not so good on the stack,

Re: more rpcclient bughunting: PRINTER_ALL_ACCESS vs MAXIMUM_ALLOWED_ACCESS

2003-03-04 Thread Tim Potter
On Tue, Mar 04, 2003 at 05:39:25PM +, Ronan Waide wrote: using setdriver in rpcclient wasn't working for me, so I traced execution and discovered that it uses open_printer_ex with an access level of MAXIMUM_ALLOWED_ACCESS. This only grants me read access to the printer when I am in fact a

RE: Samba and PPP

2003-03-04 Thread Ulf Bertilsson
Hi, Ulf Bertilsson! On 19-Feb-03, you wrote: UB ppp0: UB flags=40F1UP,POINTOPOINT,NOTRAILERS,RUNNING,NOARP,SANA MTU=1500 UB inet 192.168.255.254 -- 192.168.255.253 netmask UB Hardware type: PPP UB UB Use ifconfig -h for usage. UB 16.System: UB --- cut

RE: 3.0a21 and HEAD: only primary group of a domain user is set onsmbd

2003-03-04 Thread Andrew Bartlett
On Wed, 2003-03-05 at 14:38, Ken Cross wrote: The behavior you're seeing is because LDAP is being used to get the group membership rather that RPC. Last month I posted a patch to fix this, but to my knowledge it hasn't been incorporated. (I'm not bitching, just explaining...) Your patch

Re: number of groups of NT account causes authentication problems

2003-03-04 Thread Richard Sharpe
On Tue, 4 Mar 2003, Gopal Bhat wrote: Hi, I did more experiments with this problem and found that 'SMBD' fails to authenticate when the Number of Groups an NT user belongs grows more than 14 (i.e. 15 or more). Thanks, Gopal I can't have a look until tomorrow, but I wonder, is it possible

Re: number of groups of NT account causes authentication problems

2003-03-04 Thread Gopal Bhat
Hi, I did more experiments with this problem and found that 'SMBD' fails to authenticate when the Number of Groups an NT user belongs grows more than 14 (i.e. 15 or more). Thanks, Gopal Gopal Bhat wrote: I am facing a strange problem related to authentication of NT users accessing the SAMBA

Re: number of groups of NT account causes authentication problems

2003-03-04 Thread John H Terpstra
On Tue, 4 Mar 2003, Gopal Bhat wrote: Hi, I did more experiments with this problem and found that 'SMBD' fails to authenticate when the Number of Groups an NT user belongs grows more than 14 (i.e. 15 or more). In my experience this is VERY much a platform issue and not a Samba specific