Re: Ignoring printer errors

2003-02-11 Thread Martin Zielinski
This might be a bit off-topic (and for samba-general) but when thinking about handling such error codes - what about providing an api to communicate printer settings? CUPS currently does not support the IPP_SET_PRINTER_ATTRIBUTES call, but if implemented, SAMBA could e.g. pass options from the

Re: Ignoring printer errors

2003-02-11 Thread Michael B. Allen
On Mon, 10 Feb 2003 18:44:00 + [EMAIL PROTECTED] wrote: Don't change the printing code. You'll regret it :-) :-). I was also thinking this morning in the shower of moving the error returns to full NTSTATUS for all printing returns... That would make me want to take a shower too. Mike --

Re: [PATCH] ADS changes for joining accounts w/o full Administratorrights

2003-02-11 Thread Andrew Bartlett
On Tue, 2003-02-11 at 20:06, Andrew Bartlett wrote: On Tue, 2003-02-11 at 09:06, Antti Andreimann wrote: Hi! I have done some changes to enable users w/o full administrative access on computer accounts to join a computer into AD domain. The patch and detailed changelog is available

Problem with nt acl support when saving Excel or Word Files

2003-02-11 Thread Michael Steffens
Hi, does anyone have an idea concerning this one? Has anyone else also seen these symptoms? http://lists.samba.org/pipermail/samba-technical/2003-January/041748.html The problem described in this posting occurs here, too. The situation: A user has read/write permissions on a Word/Excel file,

Re: Ignoring printer errors

2003-02-11 Thread Michael Sweet
Martin Zielinski wrote: ... CUPS currently does not support the IPP_SET_PRINTER_ATTRIBUTES call, but if implemented, SAMBA could e.g. pass options from the printer_info_2 struct to the spooler. I'm not sure how well such things would translate, but in the broader scope this would only work if

RE: Problem with nt acl support when saving Excel or Word Files

2003-02-11 Thread MCCALL,DON (HP-USA,ex1)
Hi Michael, what's your umask for the users in question? Don -Original Message- From: Michael Steffens [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 7:12 To: [EMAIL PROTECTED] Subject: Problem with nt acl support when saving Excel or Word Files Hi, does anyone

Re: Problem with nt acl support when saving Excel or Word Files

2003-02-11 Thread Michael Steffens
Hi Don, MCCALL,DON (HP-USA,ex1) wrote: Hi Michael, what's your umask for the users in question? The umask at smbd's startup is 077, but one of the first actions of smbd is setting it to zero. Are there any user specific umask settings for smbd? create mask is default (i.e. 0744). But

Re: Solaris fcntl bug - Update

2003-02-11 Thread Neil Hoggarth
On Thu, 23 Jan 2003, Andy Thomas wrote: Sun it releasing T-patches - T112233-04 for Solaris 9 and T108528-19 for Solaris 8. For the benefit of anyone waiting for the official fix: I've just noticed that the most recent Solaris 9 Recommended Patch Cluster on SunSolve includes patch 112233-04,

Re: [PATCH] ADS changes for joining accounts w/o full Administratorrights

2003-02-11 Thread Antti Andreimann
Ühel kenal päeval (teisipäev, 11. veebruar 2003 13:39) kirjutas Andrew Bartlett: I'm not quite convinced about this. I'm quite willing (but see below) to apply the rest of this patch, but I'll need a good explanation of what this patch does. Well, It's purely because our internal needs

Enumerating from trusted domain - fix to winbindd_util.c

2003-02-11 Thread Ken Cross
Samba-folk: You may or may not have noticed, but wbinfo -m doesn't work on SAMBA_3_0, and -u or -g don't return users/groups from trusted domains. The problem was in winbindd_util.c. init_domain_list would reset the list using free_domain_list and then call rescan_trusted_domains. But if it

Unable to change password from win2k with a samba pdc

2003-02-11 Thread Day, Michael A (Contractor-UAH)
Howdy I've searched mailing lists and have not found anyone with the same problem (as far as I can tell). I've setup a samba pdc (samba-2.2.7-2 rpm for RedHat 8.0) following the instructions on the samba PDC HOWTO: http://us3.samba.org/samba/ftp/docs/htmldocs/Samba-PDC-HOWTO.html I've

Re: Samba 3.0: vfs_netatalk.c

2003-02-11 Thread Herb Lewis
The IRIX manpage shows SCANDIR(3C) NAME scandir, scandir64, alphasort, alphasort64 - scan a directory SYNOPSIS SysV: #include sys/types.h #include dirent.h int scandir(const char *dirname, struct dirent

Re: Problem with nt acl support when saving Excel or Word Files

2003-02-11 Thread Jeff Mandel
I have seen this problem crop up recently with 2.2.7a and Win2k. Never saw this before win2k. It looks the same as mentioned in the previous post. posthttp://lists.samba.org/pipermail/samba-technical/2003-January/041748.html File starts out rw-rw--- usera groupa ends up r--r userb groupb

Re: samba-technical Digest, Vol 2, Issue 46

2003-02-11 Thread kennerly
On 11 Feb 2003 at 21:13, [EMAIL PROTECTED] wrote: Send samba-technical mailing list submissions to [EMAIL PROTECTED] To subscribe or unsubscribe via the World Wide Web, visit http://lists.samba.org/mailman/listinfo/samba-technical or, via email, send a message with subject or

SMBPASSWD 2.2.7a doesnt fallback to using port 139 (Solaris)

2003-02-11 Thread Triebwasser, Mark
I'm trying to register my Samba box on the domain but smbpasswd doesn't seem to want to use port 139. It attempts a connect via port 445 but never tries on port 139. It just goes back to the command prompt: ./smbpasswd -D 9000 -r PDC -j DOMAIN Initialising global parameters

Re: [PATCH] ADS changes for joining accounts w/o full Administratorrights

2003-02-11 Thread Andrew Bartlett
On Wed, 2003-02-12 at 05:55, Antti Andreimann wrote: Ühel kenal päeval (teisipäev, 11. veebruar 2003 13:39) kirjutas Andrew Bartlett: I'm not quite convinced about this. I'm quite willing (but see below) to apply the rest of this patch, but I'll need a good explanation of what this

RE: Samba 3.0: vfs_netatalk.c

2003-02-11 Thread Green, Paul
Anthony Liguori [mailto:[EMAIL PROTECTED]] wrote: scandir() (and it's [alpha|version]sort() brethren) is a BSD/Linux-ism and therefore isn't very portable. Since this is in a VFS module (and therefore only optional) I guess this is ok. then Herb Lewis [mailto:[EMAIL PROTECTED]] found this

Re: Samba 3.0: vfs_netatalk.c

2003-02-11 Thread Christopher R. Hertel
Paul Green wrote: Anthony Liguori [mailto:aliguor at us.ibm.com] wrote: scandir() (and it's [alpha|version]sort() brethren) is a BSD/Linux-ism and therefore isn't very portable. Since this is in a VFS module (and therefore only optional) I guess this is ok. then Herb Lewis

Re: Samba 3.0: vfs_netatalk.c

2003-02-11 Thread Anthony Liguori
One catch is that there is a difference between BSD and System V implementations, but that's something that should be handle-able with ./configure. It seems to me that in either case the data could be sorted using the binary tree stuff or by qsort(). This should be fairly do-able. On

Re: Samba 3.0: vfs_netatalk.c

2003-02-11 Thread Andrew Bartlett
On Wed, 2003-02-12 at 07:52, Christopher R. Hertel wrote: Paul Green wrote: Anthony Liguori [mailto:aliguor at us.ibm.com] wrote: scandir() (and it's [alpha|version]sort() brethren) is a BSD/Linux-ism and therefore isn't very portable. Since this is in a VFS module (and therefore

Re: Samba 3.0: vfs_netatalk.c

2003-02-11 Thread Christopher R. Hertel
On Tue, Feb 11, 2003 at 02:00:18PM -0700, Anthony Liguori wrote: One catch is that there is a difference between BSD and System V implementations, but that's something that should be handle-able with ./configure. It seems to me that in either case the data could be sorted using

Re: Samba 3.0: vfs_netatalk.c

2003-02-11 Thread jra
On Tue, Feb 11, 2003 at 03:23:37PM -0500, Green, Paul wrote: Anthony Liguori [mailto:[EMAIL PROTECTED]] wrote: scandir() (and it's [alpha|version]sort() brethren) is a BSD/Linux-ism and therefore isn't very portable. Since this is in a VFS module (and therefore only optional) I guess

[PATCH] Re: Samba 3.0: vfs_netatalk.c

2003-02-11 Thread Anthony Liguori
If you read the code, then it's pretty obvious that we just need the entries in the directory - unsorted and one at a time. As such, my understanding it that we can re-implement as readdir(). See attachment (See attached file: scandir.patch) Anthony Liguori Linux/Active Directory

Re: Enumerating from trusted domain - fix to winbindd_util.c

2003-02-11 Thread Tim Potter
On Tue, Feb 11, 2003 at 12:44:54PM -0500, Ken Cross wrote: You may or may not have noticed, but wbinfo -m doesn't work on SAMBA_3_0, and -u or -g don't return users/groups from trusted domains. The problem was in winbindd_util.c. init_domain_list would reset the list using free_domain_list

password quality script aka --with-cracklib replacement

2003-02-11 Thread Pierre Belanger
Hi, Here's what I've come up for the password quality script, cracklib replacement after exchanging a few email and reading what came up on the mailing list. Your comments are again very welcome -- I've come up with this but if it's all wrong fell free to blast me ;-) I had good fun doing it and

Dual winbind daemons - fix to winbindd_dual.c

2003-02-11 Thread Ken Cross
Samba-folk: The dual winbindd daemon hasn't been working (at least not on NetBSD). It always bombs out with [2003/02/11 10:03:23, 2] tdb/tdbutil.c:tdb_log(582) tdb(unnamed): tdb_open_ex: /var/samba/locks/winbindd_idmap.tdb (0,162792) is already open in this process [2003/02/11 10:03:23, 0]

Re: password quality script aka --with-cracklib replacement

2003-02-11 Thread Martin Pool
On 11 Feb 2003, Pierre Belanger [EMAIL PROTECTED] wrote: What is it? I have my own comments at the end ... From the documentation I wrote (even if I'm French I think it's not that bad!?!?!?): This looks good to me. Would it be possible to do this as a PAM module called by Samba? (Possibly

background updates of print queues via a dedicated process

2003-02-11 Thread Martin Pool
The Samba 3.0 roadmap mentions this as a wishlist item for 3.x. I'm interested in looking at it. Has anybody else already worked on it? It seemed like it would involve a separate smbd process repeatedly parsing the output of lpq and feeding it into a database, rather than this being done

Re: Problem with nt acl support when saving Excel or Word Files

2003-02-11 Thread Dmitry Melekhov
Michael Steffens wrote: Hi, does anyone have an idea concerning this one? Has anyone else also seen these symptoms? Yes, we have the same problem. No ideas :-(

Re: background updates of print queues via a dedicated process

2003-02-11 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 12 Feb 2003, Martin Pool wrote: The Samba 3.0 roadmap mentions this as a wishlist item for 3.x. I'm interested in looking at it. Has anybody else already worked on it? JF started on it, but do to some bugs it got sidetracked after

Re: background updates of print queues via a dedicated process

2003-02-11 Thread Martin Pool
On 11 Feb 2003, Gerald (Jerry) Carter [EMAIL PROTECTED] wrote: It seemed like it would involve a separate smbd process repeatedly parsing the output of lpq and feeding it into a database, rather than this being done on-demand from a regular smbd child. I suppose when some change is

Re: background updates of print queues via a dedicated process

2003-02-11 Thread Martin Pool
On 12 Feb 2003, Tim Potter [EMAIL PROTECTED] wrote: My idea which I've probably told a couple of you is to use kernel dnotify stuff to work out when jobs are spooled or removed. So a daemon would get a signal when a spool file is created and add that to printing.tdb. When the file completes

Re: Problem with nt acl support when saving Excel or Word Files

2003-02-11 Thread Michael Steffens
Hi Jeff, Jeff Mandel wrote: I found this is office 2000 v 9.3821 SR1 (not the latest) We are trying to load the latest office update to see if that fixes it first. Is anybody experiencing this with samba later than 9.4402 SR1 or on the latest version, whatever that is? Would also prefer to

Re: password quality script aka --with-cracklib replacement

2003-02-11 Thread Andrew Bartlett
On Wed, 2003-02-12 at 15:50, Martin Pool wrote: On 11 Feb 2003, Pierre Belanger [EMAIL PROTECTED] wrote: What is it? I have my own comments at the end ... From the documentation I wrote (even if I'm French I think it's not that bad!?!?!?): This looks good to me. Would it be