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
---
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
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
--
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() ;
>
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 m
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]
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().
>
> B
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, rsh
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
"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 -)-
-
Hi Volker,
your IPC fix also fixes the usrmgr.exe and other problems I had yesterday.
metze
-
Stefan "metze" Metzmacher <[EMAIL PROTECTED]>
At 13:14 20.03.2003 -0800, Richard Sharpe wrote:
There are some interesting issues here. Alternate Data Streams can be
accessed via CIFS, but there is no special support built into the
protocol.
They are simply accessed syntactically. An ADS has a name like
:, and NTFS maps that to the named $DATA
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
>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 | www.
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 %
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!
> >
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
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 ha
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!
> >
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
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.
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.
Volk
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 exi
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:
./config
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!
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 find
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
Ada
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 p
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,
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).
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 POSI
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
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:
> Samb
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 S
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 S
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
> no
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 anyb
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: smbc_closedi
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 assistenc
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
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
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]:
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
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 D
> 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
>
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 u
Hi,
Try this with Samba 2.2.8:
mangled names = no
short preserve case = no
default case = lower
mangling method = hash
Samba ServerWindows XP
- --
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 fi
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 c
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 +1
Hi Tim,
why did you remove SID_NAME_NONE
vars from type 'enum SID_NAME_USE' should be initialize with SID_NAME_NONE
metze
-
Stefan "metze" Metzmacher <[EMAIL PROTECTED]>
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
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 conver
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 seconds.
in attach is the patch.
Jianliang Lu
TieSse s.p.a
Will this break compatability with auth plugins?
-- Luke
--
Luke Howard | PADL Software Pty Ltd | www.padl.com
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 until
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 br
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
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
59 matches
Mail list logo