Re: setdriver failes

2003-03-20 Thread Patrik Carlsson
Thank you for you answer... But I have checked what it say's in the faq. And I am an printer admin, I'm the owner of the print$ directory. The printer exists in Samba.. Here's the log from samba [2003/03/19 13:01:54, 3] smbd/ipc.c:api_fd_reply(296) Got API command 0x26 on pipe spoolss (pnum

Re: patch for logon time on samba3.0 alpha22

2003-03-20 Thread Andrew Bartlett
On Thu, 2003-03-20 at 18:59, Jianliang Lu wrote: On Thu, 2003-03-20 at 01:38, Jianliang Lu wrote: Hi, I've patched the samba3.0 alpha22 for logon_time, now the user's logon time is updated when he logs on successfully. In attachment is the patch. Does NT do this only for

Re: [PATCH] IDMAP LDAP Backend 2of2

2003-03-20 Thread Andrew Bartlett
On Thu, 2003-03-20 at 17:20, Stefan (metze) Metzmacher wrote: At 21:44 19.03.2003 -0600, Anthony Liguori wrote: This is the second part of the IDMAP LDAP Backend patch. It requires the previous patch in order to compile. Please take special note of the schema changes as they have broader

Re: patch for account policy, min password age, on samba30a22

2003-03-20 Thread Andrew Bartlett
On Thu, 2003-03-20 at 23:08, Jianliang Lu wrote: Hi, I'm working to complete the account policy that today worked only for min password len. The first patch is for tne min passwod age, than others... Now pdbedit is also patched to set/display the min/max password in number of days, not

The new modules system

2003-03-20 Thread Jelmer Vernooij
Hi, I've finally committed my modules patch to CVS. Here are the docs (now in dev-doc as well). Next things I'll work on: - Adapting VFS to use the new modules system - Winsdb (after metze resends his patch) Tomorrow I continue learning for my exams so the VFS patch probably won't come

Re: The new modules system

2003-03-20 Thread Luke Howard
Will this break compatability with auth plugins? -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

RE: Compiling samba 2.2.8 on HP-UX 11.00 - conflicting

2003-03-20 Thread Ladner, Eric (Eric.Ladner)
Comment the definition of vsnprintf out altogether. If there is a header for it in stdio.h, then it's a libc function (or something) and shouldn't be redefinied in the source. Wrap the whole function top to bottom in a comment or find the HAS_VSNPRINTF definition in the main definition header

Bug: mangling method = hash2 destroys short preserve case = no

2003-03-20 Thread Robert Dahlem
Hi, Try this with Samba 2.2.8: mangled names = no short preserve case = no default case = lower mangling method = hash Samba ServerWindows XP - --

winbind win2k group error

2003-03-20 Thread Rui Claro
The thing is: I'm using samba alpha22, installed from the binary rpm, as I'm using RedHat 7.3 I use samba as a Domain member of an AD Windows 2000. If I execute wbinfo -u, I get the AD users. wbinfo -g gets me the AD groups. If I execute getent passwd I see all users (there are only two user

Re: patch for account policy, min password age, on samba30a22

2003-03-20 Thread Jianliang Lu
On Thu, 2003-03-20 at 23:08, Jianliang Lu wrote: Hi, I'm working to complete the account policy that today worked only for min password len. The first patch is for tne min passwod age, than others... Now pdbedit is also patched to set/display the min/max password in number of days,

Re: The new modules system

2003-03-20 Thread Jelmer Vernooij
On Thu, Mar 20, 2003 at 10:45:04PM +1100, Luke Howard wrote about 'Re: The new modules system': Will this break compatability with auth plugins? Currently not as auth and vfs don't use the new modules system yet (only pdb and rpc). I will have to break auth plugin compatibility when I'm

Re: The new modules system

2003-03-20 Thread Luke Howard
Will the migration to the new format be difficult and/or documented? -- Luke From: Jelmer Vernooij [EMAIL PROTECTED] Subject: Re: The new modules system To: Luke Howard [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Date: Thu, 20 Mar 2003 13:12:39 +0100 On Thu, Mar 20, 2003 at 10:45:04PM +1100, Luke

Re: The new modules system

2003-03-20 Thread Andrew Bartlett
On Fri, 2003-03-21 at 00:15, Luke Howard wrote: Will the migration to the new format be difficult and/or documented? Not difficult, and I trust ctrlsoft will update the example module at the same time. Basically we will just change the init function - I don't think it will take you much to

FW: winbind on AIX

2003-03-20 Thread Roylance, Stephen D.
Hi, I posted this to the main Samba list, but didn't get any replies to my questions. I hope someone on the technical list can provide some insight. I apologize in advance if this mail is not appropriate for the technical list. -Steve Roylance -Original Message- From: Roylance, Stephen

Bug in smbclient -M

2003-03-20 Thread Jelmer Vernooij
Hi! Doing some testing, I noticed that smbclient -M is broken in HEAD. It looks like smbclient sends the message over the wire in unicode but marks it as being ASCII. Two package dumps are attached. I'll do some more investigation later today. Jelmer -- Jelmer Vernooij

Repost spoolss_io_devmode: Unknown specversion in devicemode[0xdc]

2003-03-20 Thread daniel . jarboe
spoolss_io_devmode: Unknown specversion in devicemode [0xdc] spoolss_io_devmode: please report to [EMAIL PROTECTED] Samba 2.2.8, when uploading the driver found here: http://www.kyoceramita.com/download/KX200131.exe (Kyocera Mita - KX anything) Logs contain: Mar 19 12:52:16 tcsl nss_wins[2198]:

Unlock the files being used

2003-03-20 Thread Fabiano
Hi people, I need a help, please. I would like to know how I can unlock on server side files that are being used for another user. An example: When the file sample.txt is being used by elvis, john could not access the file. The server says that it is DENY_ALL. I would appreciate an

libsmbclient: smbc_closedir causing huge memory leaks ?

2003-03-20 Thread useriavas
Hi, just coded little application using libsmbclient, but it ate a lot of memory. App is one of kind enumerating all the computers, files, workgroups, shares and so on on the network. Compiled samba latest with -g switch, used dmalloc library, figured out some leaks. Major are like:

Support for Multiple Data Streams?

2003-03-20 Thread Ken Cross
Samba-folk: Samba apparently does not support Alternate Data Streams/Multiple Data Streams. ADS/MDS are the hidden files associated with the Summary tab on a 2K/XP/.Net version of Windows. A file on a SAMBA_3_0 server does not even display the Summary tab on the Properties page. Is this on

Re: Support for Multiple Data Streams?

2003-03-20 Thread jra
On Thu, Mar 20, 2003 at 03:01:51PM -0500, Ken Cross wrote: Samba-folk: Samba apparently does not support Alternate Data Streams/Multiple Data Streams. ADS/MDS are the hidden files associated with the Summary tab on a 2K/XP/.Net version of Windows. A file on a SAMBA_3_0 server does not

Re: Support for Multiple Data Streams?

2003-03-20 Thread Richard Sharpe
On Thu, 20 Mar 2003, Ken Cross wrote: Samba-folk: Samba apparently does not support Alternate Data Streams/Multiple Data Streams. ADS/MDS are the hidden files associated with the Summary tab on a 2K/XP/.Net version of Windows. A file on a SAMBA_3_0 server does not even display the

Re: Support for Multiple Data Streams?

2003-03-20 Thread Richard Sharpe
On Thu, 20 Mar 2003, Ken Cross wrote: Samba-folk: Samba apparently does not support Alternate Data Streams/Multiple Data Streams. ADS/MDS are the hidden files associated with the Summary tab on a 2K/XP/.Net version of Windows. A file on a SAMBA_3_0 server does not even display the

Re: Support for Multiple Data Streams?

2003-03-20 Thread Christopher R. Hertel
Ken, How would you store that information on a Unix filesystem? How do you prevent users or other services from messing things up? There are solutions, but it's a much bigger problem than it seems on the surface. Chris -)- On Thu, Mar 20, 2003 at 03:01:51PM -0500, Ken Cross wrote:

Re: Support for Multiple Data Streams?

2003-03-20 Thread Richard Sharpe
On Thu, 20 Mar 2003, Christopher R. Hertel wrote: Ken, How would you store that information on a Unix filesystem? How do you prevent users or other services from messing things up? There are solutions, but it's a much bigger problem than it seems on the surface. There are some

Re: Bug in smbclient -M

2003-03-20 Thread Jelmer Vernooij
On Thu, Mar 20, 2003 at 05:28:48PM +0100, Jelmer Vernooij wrote about 'Bug in smbclient -M': Doing some testing, I noticed that smbclient -M is broken in HEAD. It looks like smbclient sends the message over the wire in unicode but marks it as being ASCII. Two package dumps are attached. I'll

RE: Support for Multiple Data Streams?

2003-03-20 Thread Ken Cross
Yes, to support it properly, the underlying filesystem should include all streams when you cp/mv/rm/... And a portable backup/restore could be interesting! However, I'm having trouble getting Samba to return goofy names like filename:ADS. It keeps mangling them (even with mangling disabled).

Re: Support for Multiple Data Streams?

2003-03-20 Thread Christopher R. Hertel
On Thu, Mar 20, 2003 at 01:14:29PM -0800, Richard Sharpe wrote: On Thu, 20 Mar 2003, Christopher R. Hertel wrote: Ken, How would you store that information on a Unix filesystem? How do you prevent users or other services from messing things up? There are solutions, but it's a

Re: setdriver fails with WERR_ACCESS_DENIED -- possibly it's theuse client driver = yes

2003-03-20 Thread John Gerth
We are currently using Samba 2.2.7a with CUPS 1.1.17-0.2 on Redhat 8.0 here and have been able to upload and download drivers for our HP and Epson printers under Windows. However, it has taken us many iterations to get this right and you do have to install fairly recent versions of both Samba and

Some more info on permissions and opening files ...

2003-03-20 Thread Richard Sharpe
Hi, I have done some further analysis of what permissions are needed to access files under Windows. Yesterday I was under the mistaken impression that to open a file for writing you need FILE_WRITE_DATA, FILE_WRITE_ATTRIBUTES, and FILE_WRITE_EA. However, this is only if you are using the

Re: patch for account policy, min password age, on samba30a22

2003-03-20 Thread Andrew Bartlett
On Fri, 2003-03-21 at 01:36, Jianliang Lu wrote: On Thu, 2003-03-20 at 23:08, Jianliang Lu wrote: Hi, I'm working to complete the account policy that today worked only for min password len. The first patch is for tne min passwod age, than others... Now pdbedit is also patched to

Re: Compiling samba 2.2.8 on HP-UX 11.00 - conflicting definitionof snprintf

2003-03-20 Thread Marc Jacobsen
Sorry, this is not help for your compile, but you may be interested to know that you can get Samba 2.2.8 compiled and packaged for HP-UX 11 and 11i here: http://master.samba.org/samba/ftp/Binary_Packages/hp/samba-2.2.8/ Hopefully that takes care of the issue for you. Regards, Marc Jacobsen

LDAP Ctrl-Alt-Del Password Change

2003-03-20 Thread rossp
I hope this isn't too horrible of me to mail this to this list. I'm ready to give up on this problem, but I thought I should at least report it somewhere in case its a real bug. I have tried the regular samba list and #samba repeatedly, with no response. I have also scoured all docs I could

Re: SID_NAME_USE

2003-03-20 Thread Tim Potter
On Thu, Mar 20, 2003 at 02:12:17PM +0100, Stefan (metze) Metzmacher wrote: Hi Tim, why did you remove SID_NAME_NONE vars from type 'enum SID_NAME_USE' should be initialize with SID_NAME_NONE I removed it because it wasn't used anywhere!

Compiling Samba 2.2.8 on HPUX 11.0

2003-03-20 Thread Orwig, Paul
To get a clean compile of Samba 2.2.8 on HPUX 11.00 I do the following: (NOTE: I use gcc to compile. The fix forces the HPUX ld for linking. ) vi +493 /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/include/stdio.h ( Comment out snprintf line ) from samba-2.2.8/source directory:

Re: Compiling Samba 2.2.8 on HPUX 11.0

2003-03-20 Thread Tim Potter
On Thu, Mar 20, 2003 at 03:01:58PM -0800, Orwig, Paul wrote: [...] My fix is neither pretty nor proper. What is needed to fix the configure script to handle HPUX 11.0 properly?? I'd love to know as well. Can you send me the output of config.log in private mail? Tim.

Re: Support for Multiple Data Streams?

2003-03-20 Thread Tim Potter
On Thu, Mar 20, 2003 at 03:46:59PM -0500, Ken Cross wrote: Yes, to support it properly, the underlying filesystem should include all streams when you cp/mv/rm/... And a portable backup/restore could be interesting! However, I'm having trouble getting Samba to return goofy names like

Re: Support for Multiple Data Streams?

2003-03-20 Thread jra
On Fri, Mar 21, 2003 at 10:12:47AM +1100, Tim Potter wrote: On Thu, Mar 20, 2003 at 03:46:59PM -0500, Ken Cross wrote: Yes, to support it properly, the underlying filesystem should include all streams when you cp/mv/rm/... And a portable backup/restore could be interesting! However,

Re: Support for Multiple Data Streams?

2003-03-20 Thread Richard Sharpe
On Fri, 21 Mar 2003, Tim Potter wrote: On Thu, Mar 20, 2003 at 03:46:59PM -0500, Ken Cross wrote: Yes, to support it properly, the underlying filesystem should include all streams when you cp/mv/rm/... And a portable backup/restore could be interesting! However, I'm having trouble

Re: Support for Multiple Data Streams?

2003-03-20 Thread Tim Potter
On Thu, Mar 20, 2003 at 11:28:33PM +, [EMAIL PROTECTED] wrote: Yes, to support it properly, the underlying filesystem should include all streams when you cp/mv/rm/... And a portable backup/restore could be interesting! However, I'm having trouble getting Samba to return goofy

HEAD pdb_ldap

2003-03-20 Thread Volker Lendecke
Hi! The attached patch changes some semantics in pdb_get_set. I had the problem that I could not join a HEAD PDC with NT4. HEAD tried to do illegal operations with the LDAP account, for example it tried to set displayName to , which is not allowed. I found we have to track what attributes exist

suggestion: LDAP and pwdMustChange value in pdb_ldap.c

2003-03-20 Thread Rauno Tuul
Hi, Little suggestion to SAMBA developers... as long samba doesn't support password expire time I have in my office a rule, that every domain password must be changed every 90 days. I store user info in LDAP. So I added to smb.conf this line: passwd program = /usr/local/sbin/smbldap-pass.pl %u

Re: HEAD pdb_ldap

2003-03-20 Thread Volker Lendecke
On Fri, Mar 21, 2003 at 12:03:37AM +0100, Volker Lendecke wrote: To enable that, the semantics of IS_SAM_SET changed to: Did this exist in LDAP? and IS_SAM_CHANGED means: Do we have to set it? Ah, and another point: This is certainly not race-free. But that is difficult to do with LDAP.

Re: HEAD pdb_ldap

2003-03-20 Thread Luke Howard
Ah, and another point: This is certainly not race-free. But that is difficult to do with LDAP. This is true. In our code we ended up implementing lazy set accessors that took both a snapshot of the entry and a set of changes as inputs. -- Luke -- Luke Howard | PADL Software Pty Ltd |

IPC PATCH

2003-03-20 Thread Stefan (metze) Metzmacher
Hi Volker, your IPC fix also fixes the usrmgr.exe and other problems I had yesterday. metze - Stefan metze Metzmacher [EMAIL PROTECTED]

Re: Support for Multiple Data Streams?

2003-03-20 Thread Christopher R. Hertel
Stefan (metze) Metzmacher wrote: : in samba we filter out path names witch include ':' and return STATUS_OBJECT_NAME_NOT_FOUND Kewl... So, what do we do if the filename on the server actually *does* have a colon in it? (I can check for myself but it's worth discussing...) Chris -)- --

very interesting!

2003-03-20 Thread Martin Pool
I just noticed this in the libc manual. http://www.gnu.org/manual/glibc-2.2.5/html_node/Backtraces.html It could be pretty cool to have this built in to smb_panic(). -- Martin

Re: very interesting!

2003-03-20 Thread Richard Sharpe
On Fri, 21 Mar 2003, Martin Pool wrote: I just noticed this in the libc manual. http://www.gnu.org/manual/glibc-2.2.5/html_node/Backtraces.html It could be pretty cool to have this built in to smb_panic(). But is it portable? Regards - Richard Sharpe, rsharpe[at]ns.aus.com,

Re: very interesting!

2003-03-20 Thread Martin Pool
On 20 Mar 2003, Richard Sharpe [EMAIL PROTECTED] wrote: On Fri, 21 Mar 2003, Martin Pool wrote: I just noticed this in the libc manual. http://www.gnu.org/manual/glibc-2.2.5/html_node/Backtraces.html It could be pretty cool to have this built in to smb_panic(). But is it

Re: IPC PATCH

2003-03-20 Thread John H Terpstra
On Fri, 21 Mar 2003, Stefan (metze) Metzmacher wrote: Hi Volker, your IPC fix also fixes the usrmgr.exe and other problems I had yesterday. Has this patch been applied to the 3.0.0 tree yet? - John T. -- John H Terpstra Email: [EMAIL PROTECTED]

libsmbclient again :|

2003-03-20 Thread dzvine
Hello samba-technical, i wrote a simple app using this lib and noticed huge memory leaks. My code is just simple sequence like: smbc_init() while() { smbc_opendir() ; smbc_getdents() ; smbc_closedir(); } but library leaks a lot of

Re: libsmbclient again :|

2003-03-20 Thread Richard Sharpe
On Fri, 21 Mar 2003, dzvine wrote: Hello samba-technical, i wrote a simple app using this lib and noticed huge memory leaks. My code is just simple sequence like: smbc_init() while() { smbc_opendir() ; smbc_getdents() ;

Re: IPC PATCH

2003-03-20 Thread Stefan (metze) Metzmacher
At 07:27 21.03.2003 +, John H Terpstra wrote: On Fri, 21 Mar 2003, Stefan (metze) Metzmacher wrote: Hi Volker, your IPC fix also fixes the usrmgr.exe and other problems I had yesterday. Has this patch been applied to the 3.0.0 tree yet? yep metze

Re: Support for Multiple Data Streams?

2003-03-20 Thread Stefan Metzmacher
At 00:32 21.03.2003 -0600, Christopher R. Hertel wrote: Stefan (metze) Metzmacher wrote: : in samba we filter out path names witch include ':' and return STATUS_OBJECT_NAME_NOT_FOUND Kewl... So, what do we do if the filename on the server actually *does* have a colon in it? (I can check for

[PATCH] pdb_ldap group

2003-03-20 Thread Stefan (metze) Metzmacher
Hi Volker, if 'displayName' is not available we should fallback to 'cn' for map-nt_name 'cn' is used as unix group name by nss_ldap. and if nt_name is not available we should fail (so does this patch) or maybe we can use pstrcpy(temp,gidtoname(map-gid)) fstrcpy(map-nt_name,temp) metze

RE: [SECURITY] Samba 2.2.8 available for download

2003-03-20 Thread Green, Paul
The 2.2.8 release notes say: A buffer overrun condition exists in the SMB/CIFS packet fragment re-assembly code in smbd which would allow an attacker to cause smbd to overwrite arbitrary areas of memory in its own process address space. This could allow a skilled attacker to inject binary