Re: interesting fact about StrCaseCmp

2003-02-18 Thread jra
On Tue, Feb 18, 2003 at 06:23:41PM +1100, Martin Pool wrote: > One little malloc() could hardly make it any worse, although I will do > a test tomorrow to check. "One little malloc()" - I'll remind you of that quote later :-). But please do the test, that's the only way we can really be sure if

XP can't enumerate user info.

2003-02-18 Thread Vich
Hi all, I have installed Samba 3.0 alpha 21 on my FreeBSD for a long time. I enable ACL and it works fine when I connect from Win2k client. I can add and delete acl entry. Recently, I use WinXP to connect to my server. When I try to add new ACL entry, I get a popup message to ask username/pas

Re: ideas for optimizations with large groups

2003-02-18 Thread Chris Wakelin
I've just compiled the CVS version of 2.2.x and it seems to have fixed the problem. I'd been merrily patching each new version of Samba as it came out ;-) Thanks, Chris On Tue, 18 Feb 2003 06:10:42 + [EMAIL PROTECTED] wrote: > On Wed, Mar 06, 2002 at 11:24:23AM +, Chris Wakelin wrote:

Printing DBs by service name, not printer name

2003-02-18 Thread Andrew Bartlett
I'm wondering, why are our printing databases (for things like the print queue) indexed by service name, rather than printer name? Doesn't this mean we will get 'weird stuff' happening if we have two names for a printer? I'm getting some very weird behavior where printer name is based on %m, with

Re: interesting fact about StrCaseCmp

2003-02-18 Thread Simo Sorce
Look at other parts in the code, a nice idea is to compare character by character until the string is an ASCII one, as soon as we detect a non ascii character we revert to the standard method and re-compare the strings, Tridge has gained very good optimizations with this twchnique. Simo. On Tue,

W2K, krb5 and samba-3.0alpha21

2003-02-18 Thread Dieter Kluenter
Hi, I run a MIT KRB5 KDC and succesfully can authenticate my W2K Clients and users against the KDC. User- and machine-data are stored in a OpenLDAP directory server, but no passwords, as I want to make use of Kerberos. Although I compiled samba-3.0alpha21 --with-krb5 created a cifs/machine.domain p

Patches for winbindd over TCP and a "failover port" option

2003-02-18 Thread Nir Soffer
Our product uses Samba as a component. In our product we were forced to modify certain parts of Samba, namely: Winbindd running over TCP (to a remote host) Smbd listening to an additional "failover" port. Allow listening on non-broadcast interfaces. All these changes are very minimal. In order

Re: Patches for winbindd over TCP and a "failover port" option

2003-02-18 Thread Guenther Deschner
hi, On Tue, Feb 18, 2003 at 05:57:55PM +0200, Nir Soffer wrote: > Our product uses Samba as a component. In our product we were forced to > modify certain parts of Samba, namely: > > Winbindd running over TCP (to a remote host) this sounds very interesting. > Smbd listening to an additional "f

Re: Patches for winbindd over TCP and a "failover port" option

2003-02-18 Thread Neil Hoggarth
On Tue, 18 Feb 2003, Guenther Deschner wrote: > you have forgotten to add that patchfile :) Note that since last month the Samba listserver has started filtering message attachments: http://lists.samba.org/pipermail/samba-technical/2003-January/041954.html Inline your patches in the message bod

REPOST: Patches for winbindd over TCP and a "failover port" option

2003-02-18 Thread Nir Soffer
Very well then - but this might seriously screw up wrapping: Our product uses Samba as a component. In our product we were forced to modify certain parts of Samba, namely: Winbindd running over TCP (to a remote host) Smbd listening to an additional "failover" port. Allow listening on non-broadcas

Re: Patches for winbindd over TCP and a "failover port" option

2003-02-18 Thread Richard Sharpe
On Tue, 18 Feb 2003, Guenther Deschner wrote: > hi, > > On Tue, Feb 18, 2003 at 05:57:55PM +0200, Nir Soffer wrote: > > Our product uses Samba as a component. In our product we were forced to > > modify certain parts of Samba, namely: > > > > Winbindd running over TCP (to a remote host) This, o

password quality script - pre-release

2003-02-18 Thread Pierre Belanger
Hi, I first want to thank *everyone* who participated in the previous thread and when needed, took the time to add their valuable comments. I attached "password-quality.c" (it's just this part) -- I hope I got this right -- if not let me know what to change and I'll do it. At the end of the file,

Re: password quality script - pre-release

2003-02-18 Thread Pierre Belanger
Shot me -- I added one line just before sending my previous mail. If you intend to compile it on your own, change "prresult" to "presult" line #261. I'm actually thinking to leave that line there, with a higher log level. Voila. Pierre B.

RE: Annoying Minor Bug In Winbind 2.2.x

2003-02-18 Thread Boyce, Nick
a single left brace char, which results in : MYBOX:/usr/local/src/samba-2.2.7a/source/lib# patch util_sock.c patch-util_sock-20030218 patching file util_sock.c patch: malformed patch at line 25: { So assuming line-wrap did something Bad to that line, I edited the patch file

RE: Annoying Minor Bug In Winbind 2.2.x

2003-02-18 Thread Esh, Andrew
t; with this patch - first, if I save the patch as it appeared > in my Outlook > window, then line 25 consists of a single left brace char, > which results in > : > >MYBOX:/usr/local/src/samba-2.2.7a/source/lib# patch util_sock.c > patch-util_sock-20030218 >patch

Re: interesting fact about StrCaseCmp

2003-02-18 Thread Ludolf Holzheid
In the embedded/real time world, malloc() and friends are strongly deprecated as you can't predict how long they will take. They have to go through a linked list of unknown length and may even start a garbage collection. If StrCaseCmp() is really that sensitive w.r.t. processor cycles, you be

Re: interesting fact about StrCaseCmp

2003-02-18 Thread jra
On Tue, Feb 18, 2003 at 10:49:28PM +0100, Ludolf Holzheid wrote: > > In the embedded/real time world, malloc() and friends are strongly > deprecated as you can't predict how long they will take. They have to > go through a linked list of unknown length and may even start a > garbage collection.

"net ads join" core dump in ldap_get_values_len

2003-02-18 Thread Chere Zhou
Hello, I am using 3.0a21. If I use "kinit user@DOMAIN" with a user that does not have privilege to join a machine into the domain, I get core dump using "net ads join". This happens when the computer account does not exist in the domain. If the computer account exists in the domain, I get th

Hi.

2003-02-18 Thread Prashant Somashekar
(i also sent this mail to samba-bugs (address posted in README) Hi. I recently downloaded samba-3.0alpha21, because I had an integration with windows 2003 Active Directory project. I am trying to use smbclient to authenticate to the Active Directory schema via Kerberos. I am able to log in an

Re: Annoying Minor Bug In Winbind 2.2.x

2003-02-18 Thread 'Martin Pool'
On 18 Feb 2003, "Boyce, Nick" <[EMAIL PROTECTED]> wrote: > I'm sorry - I'm probably doing something dumb, but I still get failures even > with this patch - first, if I save the patch as it appeared in my Outlook > window, then line 25 consists of a single left brace char, which results in > : You

Re: interesting fact about StrCaseCmp

2003-02-18 Thread Martin Pool
On 18 Feb 2003, Ludolf Holzheid <[EMAIL PROTECTED]> wrote: > In the embedded/real time world, malloc() and friends are strongly > deprecated as you can't predict how long they will take. They have > to go through a linked list of unknown length and may even start a > garbage collection. Well tha

SMB_QUERY_FILE_ALL_INFO not correct in SNIA spec?

2003-02-18 Thread Joey Collins
Good evening ladies and gents, The SNIA definition of the data required for SMB_QUERY_FILE_ALL_INFO does not appear to be correct. Furthermore, Ethereal's interpretation does not seem right, either. Here's what SNIA says: TIME CreationTime; TIME LastAccessTime; TIME LastWriteTime

Re: SMB_QUERY_FILE_ALL_INFO not correct in SNIA spec?

2003-02-18 Thread Richard Sharpe
On Tue, 18 Feb 2003, Joey Collins wrote: > The SNIA definition of the data required for SMB_QUERY_FILE_ALL_INFO > does not appear to be correct. Furthermore, Ethereal's interpretation > does not seem right, either. That is quite possible. We often rely on the SNIA doc, and then change things if

Re: SMB_QUERY_FILE_ALL_INFO not correct in SNIA spec?

2003-02-18 Thread Christopher R. Hertel
Richard Sharpe wrote: > > On Tue, 18 Feb 2003, Joey Collins wrote: : > > My questions: > > > > 1) Can anyone else confirm my interpretation? > > If you can send us a capture, we can look at it to see if we agree with > your interpretation, and perhaps modify Ethereal as well. Before modifying Et

RE: Samba and PPP

2003-02-18 Thread Ulf Bertilsson
> Hello! > > Could anyone of you tell me, how to configure my Samba > server to work with > PPP interfaces? > I have an Amiga machine running Samba v2.0.7. And a Windoze95 PC > connected to it via null-modem cable. > The problem is: Samba ignores all non-broadcast interfaces. > So smbd and >

Re: SMB_QUERY_FILE_ALL_INFO not correct in SNIA spec?

2003-02-18 Thread Michael B. Allen
On Tue, 18 Feb 2003 22:30:44 -0800 (PST) Richard Sharpe <[EMAIL PROTECTED]> wrote: > On Tue, 18 Feb 2003, Joey Collins wrote: > > > The SNIA definition of the data required for SMB_QUERY_FILE_ALL_INFO > > does not appear to be correct. Furthermore, Ethereal's interpretation > > does not seem righ

Re: [Samba] RE: Samba processes

2003-02-18 Thread John H Terpstra
On Tue, 18 Feb 2003, Javid Abdul-AJAVID1 wrote: Abdul, We saw your first posting. Please be patient. Both smbd and nmbd run as root. All user interaction with the file system is done as the user who initiated the process. Please refer to the source code to see what happens. Samba has to ba able

Samba processes

2003-02-18 Thread Javid Abdul-AJAVID1
Hi Am noticing smbd processes are running as root and occassionally I see a child process as userid Just curios under what circumstances the smbd runs as user id process ( unix id ) and running as root is a security risk? Thanks in advance -Abdul

RE: Samba processes

2003-02-18 Thread Javid Abdul-AJAVID1
-Original Message- From: Javid Abdul-AJAVID1 [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 11:18 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Samba processes Hi Am noticing smbd processes are running as root and occassionally I see a child process as userid J

RE: [Samba] RE: Samba processes

2003-02-18 Thread Javid Abdul-AJAVID1
Thanks John Wondering y some smbd client connections show up as userid though parent is root not all client connections are show up as root. Is there a way to know when a client connection from windows side will shoup as root or user id. Thanks again -Original Message- From: John H Te