Re: what happened to log level?

2002-08-01 Thread Simo Sorce
Yes, sorry, that's my error. the debug level changed to address the debug classes. Now it is a string parameter not an integer anymore so that you can specify different log levels for any subclass. like all:2 passdb:5 rpc:10 In the transition I forgot to change swat. It's in my todo list! I'll

Re: No /etc/passwd file

2002-08-01 Thread Fredrik Ohrn
On Wed, 31 Jul 2002, Corey Caverly wrote: I have currently compiled SAMBA with the LDAP option and I SAMBA is as of now authenticating with the LDAP server but I am looking to do two things One... I do not want SAMBA to look on the localhost to access the user list. In other words I

Re: Netbench results on a linux 4-way system

2002-08-01 Thread Goetz Rieger
Hey Andrew, On Wed, 31 Jul 2002 12:56:04 -0500 Andrew Theurer [EMAIL PROTECTED] wrote: great stuff. As you can think, I have never got the chance to run real netbench-runs. So I am not very familiar with interpreting the results Could you publish more data, like the plot throughput against

RE: [Samba] Samba and VPN

2002-08-01 Thread Aleksandr Koltsoff
ok. just a quick reply to this. I do appreciate the prompt replies to my last mail, at least someone does seem interested in this stuff, so I will continue. I'll report back on the deep secrets of the perverted minds of MS here. I hope to continue with this tomorrow evening (EET). by that time

RE: [Samba] Samba and VPN

2002-08-01 Thread C.Lee Taylor
To make a long story short, cross-domain and cross-subnet browsing will not work with samba. especially if domains are limited to one subnet. That's it. If anyone is willing/capable of helping me with this, I'd be grateful. However since my original mail received no responses at all,

RE: [Samba] Samba and VPN

2002-08-01 Thread Simo Sorce
On Thu, 2002-08-01 at 09:58, Aleksandr Koltsoff wrote: ok. just a quick reply to this. I do appreciate the prompt replies to my last mail, at least someone does seem interested in this stuff, so I will continue. I'll report back on the deep secrets of the perverted minds of MS here. I hope to

Re: Fine points of ACL conversion

2002-08-01 Thread Alexander Bokovoy
Hi, Matt! On Wed, Jul 31, 2002 at 12:03:26PM -0700, ZINKEVICIUS,MATT (HP-Loveland,ex1) wrote: access. So order is very important. However, does it accumulate perms. It accumulates and continues as long as none of the request bits have been denied. If there are no more ACEs and the full set

Visual Studio 6 + Samba 2.2.5 misbehaves.

2002-08-01 Thread Fredrik Ohrn
Hello! I just noticed 2 problems when using Visual Studio 6 to edit files located on a Samba share. 1. This file has been modified outside of the source editor. To reproduce: Create a C++ file and save it on the share. Type some text, within a couple of seconds it will pop up a message box

RE: [Samba] Samba and VPN

2002-08-01 Thread Jean Francois Micouleau
On Thu, 1 Aug 2002, Aleksandr Koltsoff wrote: ok. just a quick reply to this. I do appreciate the prompt replies to my last mail, at least someone does seem interested in this stuff, so I will continue. I'll report back on the deep secrets of the perverted minds of MS here. I hope to

Re: Eliminating gettimeofday from construct_reply

2002-08-01 Thread Andrew Bartlett
Richard Sharpe wrote: Hi, I looked at this issue, and it looks possible to accumulate the timeouts that have occured in receive_message_or_smb and count those up. Given that the resolution of the dead time parameter is in minutes, this would seem to not get too far out of whack.

Re: Visual Studio 6 + Samba 2.2.5 misbehaves.

2002-08-01 Thread Mike Gerdts
This sounds like you have clocks out of sync. Be sure that the time on your workstation, the Samba server, and any NFS servers that Samba may get shares from all have clocks that are in sync. I highly suggest using NTP between all servers. Once you have NTP running on a unix server, you can

Re: Visual Studio 6 + Samba 2.2.5 misbehaves.

2002-08-01 Thread Steven Mackenzie
Mike Gerdts wrote: net time /setsntp:unixservername I think I've been having this problem too -- thanks! Do I need to put that command in a profile so that it's executed at each logon, or can I run the command once only (on each workstation) ... ?

Re: Visual Studio 6 + Samba 2.2.5 misbehaves.

2002-08-01 Thread Fredrik Ohrn
On Thu, 1 Aug 2002, Steven Mackenzie wrote: Mike Gerdts wrote: net time /setsntp:unixservername I think I've been having this problem too -- thanks! Do I need to put that command in a profile so that it's executed at each logon, or can I run the command once only (on each

Re: Visual Studio 6 + Samba 2.2.5 misbehaves.

2002-08-01 Thread Fredrik Ohrn
On Thu, 1 Aug 2002, Andrew Bartlett wrote: As a basic rule, setting 'deadtime' is a bad idea. Is there any reason to set this paramater? Once upon a time our servers got pretty bogged down during daytime, deadtime and other quick fixes helped alleviate this. With all the hardware upgrades

Re: Visual Studio 6 + Samba 2.2.5 misbehaves.

2002-08-01 Thread Andrew Bartlett
Mathew McKernan wrote: Hi Fredrik, This problem has been found with any server. Whether it be Samba or 2k or NT. I have had this problem with a NT server, as we didn't have a NTP server at the time, I used net time \\server /set /yes in the logon script. Made life a lot easier. I use the

Re: Visual Studio 6 + Samba 2.2.5 misbehaves.

2002-08-01 Thread bdavids1
As others have said, this is a time syncronization issue which is not Samba specific. When the file is saved to the server, the timestamp put on the file is the Server's time. Assume for a moment that the server time is ahead of the workstation time. Visual basic will periodically check the

RE: Eliminating gettimeofday from construct_reply

2002-08-01 Thread Green, Paul
Andrew Bartlett [mailto:[EMAIL PROTECTED]] wrote: Richard Sharpe wrote: Hi, I looked at this issue, and it looks possible to accumulate the timeouts that have occured in receive_message_or_smb and count those up. Given that the resolution of the dead time parameter is in

Re: pam_smbpass and LDAP - part two....

2002-08-01 Thread Bartlomiej Solarz-Niesluchowski
Good morning! When I changing openssl library in redhat 7.3 from version 0.9.6b-18 to 0.9.6b-24 module pam_smbpass has problems: Aug 1 13:07:23 portraits sshd[1082]: PAM unable to dlopen(/lib/security/pam_ldap.so) Aug 1 13:07:23 portraits sshd[1082]: PAM [dlerror: /lib/libssl.so.2:

Re: pam_smbpass and LDAP - part two....

2002-08-01 Thread Steve Langasek
On Thu, Aug 01, 2002 at 04:22:17PM +0200, Bartlomiej Solarz-Niesluchowski wrote: Good morning! When I changing openssl library in redhat 7.3 from version 0.9.6b-18 to 0.9.6b-24 module pam_smbpass has problems: Aug 1 13:07:23 portraits sshd[1082]: PAM unable to

smbpasswd-passwd how to{smbpasswd database is corrupt. username not in unix passwd database}

2002-08-01 Thread san
Dear Samba Users I tried pwdump to extract username from win2k, later when i replaced it smbpasswd directly, now when i am trying to login thru windows 2000 pro workstation, i am getting the following error [2002/08/01 19:40:03, 0] smbd/reply.c:reply_sesssetup_and_X(890) restrict anonymous

Re: smbpasswd-passwd how to{smbpasswd database is corrupt. usernamenot in unix passwd database}

2002-08-01 Thread Richard Sharpe
On Thu, 1 Aug 2002, san wrote: Dear Samba Users I tried pwdump to extract username from win2k, later when i replaced it smbpasswd directly, now when i am trying to login thru windows 2000 pro workstation, i am getting the following error [2002/08/01 19:40:03, 0]

Re: Samba function test

2002-08-01 Thread Andrew Bartlett
Jim Myers wrote: Andrew, you mentioned that Samba should produce the same error codes as a Windows remote share. Here's an interesting case: The test below runs correctly on native NTFS, but fails as shown below with a remote Win2K share. Samba produces the same error code as the remote

Re:Eliminating gettimeofday from construct_reply

2002-08-01 Thread Steven French
Pardon my skepticism, but is there any evidence that calling gettimeofday from this location in the code is actually contributing in any material way to the performance of Samba? Any measurements? Yes, Andrew Theurer had done profiling of various netbench runs and gettimeofday was one of the

RE: Fine points of ACL conversion

2002-08-01 Thread Richard Sharpe
On Wed, 31 Jul 2002, ZINKEVICIUS,MATT (HP-Loveland,ex1) wrote: 1. If it encounters a DENY (negative) ACE that denies any of the bits requested, it denies access. Correct 2. If it encounters ALLOW ACLs that allows any of the bits, but not all, it continues? Is this true. Does it

Re: Netbench results on a linux 4-way system

2002-08-01 Thread Richard Sharpe
On Wed, 31 Jul 2002, Andrew Theurer wrote: I though I'd share some NetBench results on one of our servers. [snip] Results: Baseline 576 Mbps ext3 data=writeback 623 Mbps samba smblog=1673 Mbps sendfile/zerocopy

Re: Netbench results on a linux 4-way system

2002-08-01 Thread David Collier-Brown
Andrew Theurer wrote: Some other things I think may be worth investigating: gettimeofday(). Samba calls this a lot, one for every reply I think, to check for connection timeout. This means we go into kernel mode every single time we call this, something I'd like to avoid. And I also don't

Re: Netbench results on a linux 4-way system

2002-08-01 Thread David Collier-Brown
Andrew Theurer wrote: Hyperthreading. With 2 physical processors, I can get 25% better results!!! with 4 physical processors, I only get 2% better. I may be running into other bottlenecks on the 4 physical/8 logical CPU case, so I hope there is room for improvement. However there are

RE: Eliminating gettimeofday from construct_reply

2002-08-01 Thread Richard Sharpe
On Thu, 1 Aug 2002, Green, Paul wrote: Andrew Bartlett [mailto:[EMAIL PROTECTED]] wrote: Richard Sharpe wrote: Hi, I looked at this issue, and it looks possible to accumulate the timeouts that have occured in receive_message_or_smb and count those up. Given that

Re: Eliminating gettimeofday from construct_reply

2002-08-01 Thread Andrew Theurer
On Thursday 01 August 2002 8:10 am, Green, Paul wrote: Andrew Bartlett [mailto:[EMAIL PROTECTED]] wrote: Richard Sharpe wrote: Hi, I looked at this issue, and it looks possible to accumulate the timeouts that have occured in receive_message_or_smb and count those up. Given

RE: Eliminating gettimeofday from construct_reply

2002-08-01 Thread Esh, Andrew
Title: RE: Eliminating gettimeofday from construct_reply In the Samba profile results, the last column is the total time spent within the named routine, since profiling was started. Divide by the number of calls to get the average time per call. -Original Message- From: Green, Paul

Re: Eliminating gettimeofday from construct_reply

2002-08-01 Thread Andrew Theurer
From man readprofile: The readprofile command uses the /proc/profile information to print ascii data on standard output. The output is organized in three columns: the first is the number of clock ticks, the second is the name of the C function in the kernel where those many

RE: Eliminating gettimeofday from construct_reply

2002-08-01 Thread Richard Sharpe
OK, Here is some profiling data from Samba. I profiled around each of the GetTimeOfDay calls in construct_reply. So, it does not count all gettimeofday calls. I was more interested in the fastpath. I then ran a test that read a single 50MB file from the server. The file would pretty much be

Win2K resetting connections. Is there a service pack?

2002-08-01 Thread Richard Sharpe
Hi, I just ran into a problem with a Win2K machine where if multiple connections occur on port 445, when the first one issues a NegProt, the rest get a reset. It is compounded by the fact that the server does not want to accept sessions on port 139 (that is, the NetBIOS session requests are

Re: Win2K resetting connections. Is there a service pack?

2002-08-01 Thread Christopher R. Hertel
On Fri, Aug 02, 2002 at 04:33:33AM +0930, Richard Sharpe wrote: Hi, I just ran into a problem with a Win2K machine where if multiple connections occur on port 445, when the first one issues a NegProt, the rest get a reset. Is it the NegProt or the SessionSetup? If the VC number in the

Re: Win2K resetting connections. Is there a service pack?

2002-08-01 Thread Richard Sharpe
On Thu, 1 Aug 2002, Christopher R. Hertel wrote: On Fri, Aug 02, 2002 at 04:33:33AM +0930, Richard Sharpe wrote: Hi, I just ran into a problem with a Win2K machine where if multiple connections occur on port 445, when the first one issues a NegProt, the rest get a reset. Is it

Re: Win2K resetting connections. Is there a service pack?

2002-08-01 Thread Christopher R. Hertel
On Fri, Aug 02, 2002 at 04:49:55AM +0930, Richard Sharpe wrote: : It's the NegProt. Once the first NegProt is issued on any open TCP connection, all the others get RSTs if they have not got past that point. It is bizare. They come from another planet, I tell you. Odd. Are these all

Re: Netbench results on a linux 4-way system

2002-08-01 Thread Andrew Theurer
David Collier-Brown wrote: Andrew Theurer wrote: Hyperthreading. With 2 physical processors, I can get 25% better results!!! with 4 physical processors, I only get 2% better. I may be running into other bottlenecks on the 4 physical/8 logical CPU case, so I hope there is room for

Re: Win2K resetting connections. Is there a service pack?

2002-08-01 Thread Richard Sharpe
On Thu, 1 Aug 2002, Christopher R. Hertel wrote: On Fri, Aug 02, 2002 at 04:49:55AM +0930, Richard Sharpe wrote: : It's the NegProt. Once the first NegProt is issued on any open TCP connection, all the others get RSTs if they have not got past that point. It is bizare. They come from

Re: Netbench results on a linux 4-way system

2002-08-01 Thread David Collier-Brown
Andrew Theurer wrote: One other thing, P4 by default sends all ints to CPU0. This _was_ a problem for 4 physical/8 logical processors. A single physical processor is enough to handle all the ints from these network cards at the throughput we are seeing. However, when you split the physical

Samba/CUPS cleanup issue

2002-08-01 Thread Brian M Hoy
Hello, We are converting our Samba setup from using System V style printing to CUPS and it is working brilliantly. The only issue I have found is that all the temporary Samba spool files (smbprn.*) remain in the spool directory after printing. They are not deleted like they were under System V

Re: Win2K resetting connections. Is there a service pack?

2002-08-01 Thread Christopher R. Hertel
On Fri, Aug 02, 2002 at 05:12:41AM +0930, Richard Sharpe wrote: On Thu, 1 Aug 2002, Christopher R. Hertel wrote: On Fri, Aug 02, 2002 at 04:49:55AM +0930, Richard Sharpe wrote: : It's the NegProt. Once the first NegProt is issued on any open TCP connection, all the others get RSTs if

RE: Win2K resetting connections. Is there a service pack?

2002-08-01 Thread Javid Abdul-AJAVID1
am just curious why its going for port 445 ? -Original Message- From: Richard Sharpe [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 2:20 PM To: Christopher R. Hertel Cc: [EMAIL PROTECTED] Subject: Re: Win2K resetting connections. Is there a service pack? On Thu, 1 Aug 2002,

RE: Win2K resetting connections. Is there a service pack?

2002-08-01 Thread Richard Sharpe
On Thu, 1 Aug 2002, Javid Abdul-AJAVID1 wrote: am just curious why its going for port 445 ? NetBIOS-less SMB. Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]

RE: Fine points of ACL conversion

2002-08-01 Thread ZINKEVICIUS,MATT (HP-Loveland,ex1)
From: Richard Sharpe [mailto:[EMAIL PROTECTED]] H, the MSDN article I looked at did not say that, but does not address that situation either. It kind of implies that any deny bit in the set requested causes a deny. There used to be an MSDN article on Computing Effective Rights but

cannot enum domains in head - BUFFER_OVERFLOW in log

2002-08-01 Thread Bradley W. Langhorst
I'm trying to get domain group mapping to work on my test domain (today's HEAD) but when I query the domain controller from an XP client for groups i get no results. So i thought i'd try rpcclient to do a enumdomgroups - NT_STATUS_UNSUCCESSFUL (see below) smbgroupedit shows a bunch of groups. I

joining to domain of current head

2002-08-01 Thread Bradley W. Langhorst
the HEAD code seems to have reverted to automagic machine account creation... I thought that was disabled - thus the addition of the add machine script parameter. I think I like the automagic add better but we can only have one... if i put a valid script like this in smb.conf add machine script

Re: Win2K resetting connections. Is there a service pack?

2002-08-01 Thread Andrew Bartlett
Richard Sharpe wrote: Hi, I just ran into a problem with a Win2K machine where if multiple connections occur on port 445, when the first one issues a NegProt, the rest get a reset. Yes, they get reset if they have not yet issued a SessionSetup. It is compounded by the fact that the

How are capabilities like can set the time and can manage printershandled

2002-08-01 Thread Richard Sharpe
Hi, Are all these things strictly local decisions or are they now all encoded in groups, or are there some capability bits associated with users? Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]

unresolved symbols in pam_smbpass (again)

2002-08-01 Thread Steve Langasek
It appears that pam_smbpass is once again broken in HEAD, due to unresolved symbols. The attached diff attempts a somewhat more permanent solution to the problem. Cheers, Steve Langasek postmodern programmer Index: Makefile.in

Re: wierd samba problems - NEED COMMENTS

2002-08-01 Thread David Collier-Brown
Javid Abdul-AJAVID1 wrote: Hi Am attaching the log here, i reaaly appreciate your time on this. just as an example couple of folder that are not seen by explorer for this user: public_html, G15_PSOs files: w17_test_status.pdf Ok, the server is returning all of public_html, G15_PSOs

Missing files as seen by Explorer on a client (was Need help on this)

2002-08-01 Thread David Collier-Brown
Abdul Javid {AJAVID1} wrote: I am trying to find why some files and directories are not visible from W2K windows explorers though they exist on unix home directory permissions are fine ( 755 )on unix side following is the portion of log ( level 10 ) [2002/07/31 16:16:05, 8]

RE: Missing files as seen by Explorer on a client (was Need help on this) **********FIXED******************

2002-08-01 Thread Javid Abdul-AJAVID1
I really appreciate all your responses on this. I might not have fixed it by looking at samba logs but i noticed there was directory in user unix directory with wildcard * as folder name once i removed it, samba showed up all the files and directory. am not sure what would * as folder name

Re: Missing files as seen by Explorer on a client (was Need helpon this) **********FIXED******************

2002-08-01 Thread David Collier-Brown
Javid Abdul-AJAVID1 wrote: I really appreciate all your responses on this. I might not have fixed it by looking at samba logs but i noticed there was directory in user unix directory with wildcard * as folder name Thank you, kind sir! Now, I'll do a quick test on my