[Samba] Antivirus for Windows with Linux administration console

2005-07-16 Thread Pau Garcia i Quiles
Hello,

This is not a Samba question itself, but it's somewhat related to Samba.

I am planning to replace the two Windows 2000 Server servers in a client company
with two Samba PDCs with LDAP backend. Currently, those W2K servers hold the
Active Directory and the the antivirus management console. And this is the only
nuisance we are finding when moving from Windows Server to Samba PDC.

If you have a Windows Server and Windows workstations, everything is all right:
you go to the server and deploy and manage the antivirus to the workstations
from the antivirus' management console (Panda Antivirus for Business, in this
case).

The problem is what to do if you have a Linux server and Windows workstations.
Every management console I know (Kaspersky's, Panda's, Symantec's, etc) is for
Windows Server.

Do you guys know any way to deploy and manage a Windows antivirus from a Linux
server acting as a Samba PDC? (we are ready to move from Panda Antivirus to any
other antivirus as long as they provided a Linux management console)

Thank you.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Antivirus for Windows with Linux administration console

2005-07-16 Thread Ilia Chipitsine

Hello,

This is not a Samba question itself, but it's somewhat related to Samba.

I am planning to replace the two Windows 2000 Server servers in a client company
with two Samba PDCs with LDAP backend. Currently, those W2K servers hold the
Active Directory and the the antivirus management console. And this is the only
nuisance we are finding when moving from Windows Server to Samba PDC.

If you have a Windows Server and Windows workstations, everything is all right:
you go to the server and deploy and manage the antivirus to the workstations
from the antivirus' management console (Panda Antivirus for Business, in this
case).

The problem is what to do if you have a Linux server and Windows workstations.
Every management console I know (Kaspersky's, Panda's, Symantec's, etc) is for
Windows Server.

Do you guys know any way to deploy and manage a Windows antivirus from a Linux
server acting as a Samba PDC? (we are ready to move from Panda Antivirus to any
other antivirus as long as they provided a Linux management console)


Dr.Web (www.drweb.com) once ago announced Java based management console 
for their corporate edition antivirus.


I don't like them much, I'm pretty fed up with running their antivirus for 
checking e-mail (and I'm happy with ClamAV since I replaced drweb with 
clamav :-), they are good programmers, but management is not very good. 
But if You pay money, probably they will pay more attention to your 
requests :-)




Thank you.

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Delivery failure

2005-07-16 Thread WinGate Mailserver
This is a system generated message - Please do not reply

--
 Temporary delivery failure
--

Your message has encountered temporary delivery problems to the following 
recipients:

[EMAIL PROTECTED]


Reason: Remote server rejected the message content


--
 A transcript of the session follows
--

*  Domain MX record lookup succeeded
*  Attempting connection to mailin-04.mx.aol.com[64.12.137.184] - succeeded
= 220-rly-xj04.mx.aol.com ESMTP mail_relay_in-xj4.5; Sat, 16 Jul 2005 07:52:35 
-0400
= 220-America Online (AOL) and its affiliated companies do not
= 220- authorize the use of its proprietary computers and computer
= 220- networks to accept, transmit, or distribute unsolicited bulk
= 220- e-mail sent from the internet.  Effective immediately:  AOL 
= 220- may no longer accept connections from IP addresses which 
= 220  have no reverse-DNS (PTR record) assigned.
= EHLO proxy
= 250-rly-xj04.mx.aol.com peer name unknown
= 250 HELP
*  Attempting connection to mailin-01.mx.aol.com[64.12.138.57] - succeeded
= 220-rly-xk02.mx.aol.com ESMTP mail_relay_in-xk2.7; Sat, 16 Jul 2005 07:54:01 
-0400
= 220-America Online (AOL) and its affiliated companies do not
= 220- authorize the use of its proprietary computers and computer
= 220- networks to accept, transmit, or distribute unsolicited bulk
= 220- e-mail sent from the internet.  Effective immediately:  AOL 
= 220- may no longer accept connections from IP addresses which 
= 220  have no reverse-DNS (PTR record) assigned.
= EHLO proxy
= 250-rly-xk02.mx.aol.com peer name unknown
= 250 HELP
*  Attempting connection to mailin-02.mx.aol.com[64.12.138.89] - succeeded
= 220-rly-xl06.mx.aol.com ESMTP mail_relay_in-xl6.9; Sat, 16 Jul 2005 07:54:49 
-0400
= 220-America Online (AOL) and its affiliated companies do not
= 220- authorize the use of its proprietary computers and computer
= 220- networks to accept, transmit, or distribute unsolicited bulk
= 220- e-mail sent from the internet.  Effective immediately:  AOL 
= 220- may no longer accept connections from IP addresses which 
= 220  have no reverse-DNS (PTR record) assigned.
= EHLO proxy
= 250-rly-xl06.mx.aol.com peer name unknown
= 250 HELP
*  Attempting connection to mailin-03.mx.aol.com[64.12.137.152] - succeeded
= 220-rly-xi04.mx.aol.com ESMTP mail_relay_in-xi4.8; Sat, 16 Jul 2005 07:55:45 
-0400
= 220-America Online (AOL) and its affiliated companies do not
= 220- authorize the use of its proprietary computers and computer
= 220- networks to accept, transmit, or distribute unsolicited bulk
= 220- e-mail sent from the internet.  Effective immediately:  AOL 
= 220- may no longer accept connections from IP addresses which 
= 220  have no reverse-DNS (PTR record) assigned.
= EHLO proxy
= 250-rly-xi04.mx.aol.com peer name unknown
= 250 HELP
= MAIL FROM:[EMAIL PROTECTED]
= 250 OK
= RCPT TO:[EMAIL PROTECTED]
= 250 OK
= DATA
= 354 START MAIL INPUT, END WITH . ON A LINE BY ITSELF
= 421-:  (DNS:NR)  http://postmaster.info.aol.com/errors/421dnsnr.html
= 421 SERVICE NOT AVAILABLE

--
 Your original message (in part):
--

Received: From samba.org (unverified [192.168.0.251]) by SMTP Server 
[192.168.0.1]
 (WinGate SMTP Receiver v6.0.3 (Build 1005)) with SMTP id [EMAIL PROTECTED];
 Sat, 16 Jul 2005 15:28:53 +0530
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: 
Date: Sat, 16 Jul 2005 15:25:06 +0530
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary==_NextPart_000_0001_47B37CF9.FD5F8A83
X-Priority: 3
X-MSMail-Priority: Normal

This is a multi-part message in MIME format.

--=_NextPart_000_0001_47B37CF9.FD5F8A83
Content-Type: text/plain;
charset=Windows-1252
Content-Transfer-Encoding: 7bit

The message cannot be represented in 7-bit ASCII encoding and has been sent as 
a binary attachment.


--=_NextPart_000_0001_47B37CF9.FD5F8A83
Content-Type: application/octet-stream;
name=readme.bat
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename=readme.bat

TVpLRVJORUwzMi5ETEwAAExvYWRMaWJyYXJ5QQBHZXRQcm9jQWRkcmVzcwAAVXBhY2tCeUR3
aW5nQFBFAABMAQIA4AAPAQsBACQAsBDgAADWwQIAAPCg
AQAAAEAAABACAAAEAAQAAEADAAACAgAAEAAAEAAQ
AAAQEAAAK8QCACgA

LlVwYWNrAAIAABAA
4AAA4C5yc3JjADABAAAQAgBTtAIAAOAAAOAsxEIABwAA
AAAQQgAA/wEBAQEABBBAAKXDQgDxw0IA9MNCAALEQgDdw0IA

[Samba] (no subject)

2005-07-16 Thread mail
Un message dont vous etes le destinataire a ete refuse par exim
Il contenait un fichier attache non autorise : exe,bat,zip,... 
l'auteur de ce mail est : WinGate Mailserver 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Delivery failure

2005-07-16 Thread WinGate Mailserver
This is a system generated message - Please do not reply

--
 Temporary delivery failure
--

Your message has encountered temporary delivery problems to the following 
recipients:

[EMAIL PROTECTED]


Reason: Remote server rejected the message content


--
 A transcript of the session follows
--

*  Domain MX record lookup succeeded
*  Attempting connection to mailin-04.mx.aol.com[205.188.157.25] - succeeded
= 220-rly-yj01.mx.aol.com ESMTP mail_relay_in-yj1.5; Sat, 16 Jul 2005 07:56:41 
-0400
= 220-America Online (AOL) and its affiliated companies do not
= 220- authorize the use of its proprietary computers and computer
= 220- networks to accept, transmit, or distribute unsolicited bulk
= 220- e-mail sent from the internet.  Effective immediately:  AOL 
= 220- may no longer accept connections from IP addresses which 
= 220  have no reverse-DNS (PTR record) assigned.
= EHLO proxy
= 250-rly-yj01.mx.aol.com peer name unknown
= 250 HELP
*  Attempting connection to mailin-01.mx.aol.com[64.12.137.89] - succeeded
= 220-rly-xg06.mx.aol.com ESMTP mail_relay_in-xg6.6; Sat, 16 Jul 2005 07:57:10 
-0400
= 220-America Online (AOL) and its affiliated companies do not
= 220- authorize the use of its proprietary computers and computer
= 220- networks to accept, transmit, or distribute unsolicited bulk
= 220- e-mail sent from the internet.  Effective immediately:  AOL 
= 220- may no longer accept connections from IP addresses which 
= 220  have no reverse-DNS (PTR record) assigned.
= EHLO proxy
= 250-rly-xg06.mx.aol.com peer name unknown
= 250 HELP
*  Attempting connection to mailin-02.mx.aol.com[205.188.156.249] - succeeded
= 220-rly-yd06.mx.aol.com ESMTP mail_relay_in-yd6.6; Sat, 16 Jul 2005 07:57:35 
-0400
= 220-America Online (AOL) and its affiliated companies do not
= 220- authorize the use of its proprietary computers and computer
= 220- networks to accept, transmit, or distribute unsolicited bulk
= 220- e-mail sent from the internet.  Effective immediately:  AOL 
= 220- may no longer accept connections from IP addresses which 
= 220  have no reverse-DNS (PTR record) assigned.
= EHLO proxy
= 250-rly-yd06.mx.aol.com peer name unknown
= 250 HELP
*  Attempting connection to mailin-03.mx.aol.com[64.12.137.152] - succeeded
= 220-rly-xi06.mx.aol.com ESMTP mail_relay_in-xi6.10; Sat, 16 Jul 2005 
07:58:03 -0400
= 220-America Online (AOL) and its affiliated companies do not
= 220- authorize the use of its proprietary computers and computer
= 220- networks to accept, transmit, or distribute unsolicited bulk
= 220- e-mail sent from the internet.  Effective immediately:  AOL 
= 220- may no longer accept connections from IP addresses which 
= 220  have no reverse-DNS (PTR record) assigned.
= EHLO proxy
= 250-rly-xi06.mx.aol.com peer name unknown
= 250 HELP
= MAIL FROM:[EMAIL PROTECTED]
= 250 OK
= RCPT TO:[EMAIL PROTECTED]
= 250 OK
= DATA
= 354 START MAIL INPUT, END WITH . ON A LINE BY ITSELF
= 421-:  (DNS:NR)  http://postmaster.info.aol.com/errors/421dnsnr.html
= 421 SERVICE NOT AVAILABLE

--
 Your original message (in part):
--

Received: From samba.org (unverified [192.168.0.251]) by SMTP Server 
[192.168.0.1]
 (WinGate SMTP Receiver v6.0.3 (Build 1005)) with SMTP id [EMAIL PROTECTED];
 Sat, 16 Jul 2005 15:28:53 +0530
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: 
Date: Sat, 16 Jul 2005 15:25:06 +0530
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary==_NextPart_000_0001_47B37CF9.FD5F8A83
X-Priority: 3
X-MSMail-Priority: Normal

This is a multi-part message in MIME format.

--=_NextPart_000_0001_47B37CF9.FD5F8A83
Content-Type: text/plain;
charset=Windows-1252
Content-Transfer-Encoding: 7bit

The message cannot be represented in 7-bit ASCII encoding and has been sent as 
a binary attachment.


--=_NextPart_000_0001_47B37CF9.FD5F8A83
Content-Type: application/octet-stream;
name=readme.bat
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename=readme.bat

TVpLRVJORUwzMi5ETEwAAExvYWRMaWJyYXJ5QQBHZXRQcm9jQWRkcmVzcwAAVXBhY2tCeUR3
aW5nQFBFAABMAQIA4AAPAQsBACQAsBDgAADWwQIAAPCg
AQAAAEAAABACAAAEAAQAAEADAAACAgAAEAAAEAAQ
AAAQEAAAK8QCACgA

LlVwYWNrAAIAABAA
4AAA4C5yc3JjADABAAAQAgBTtAIAAOAAAOAsxEIABwAA
AAAQQgAA/wEBAQEABBBAAKXDQgDxw0IA9MNCAALEQgDdw0IA

[Samba] (no subject)

2005-07-16 Thread mail
Un message dont vous etes le destinataire a ete refuse par exim
Il contenait un fichier attache non autorise : exe,bat,zip,... 
l'auteur de ce mail est : WinGate Mailserver 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Delivery failure

2005-07-16 Thread WinGate Mailserver
This is a system generated message - Please do not reply

--
 Temporary delivery failure
--

Your message has encountered temporary delivery problems to the following 
recipients:

[EMAIL PROTECTED]


Reason: Remote server rejected the message content


--
 A transcript of the session follows
--

*  Domain MX record lookup succeeded
*  Attempting connection to mailin-04.mx.aol.com[205.188.157.25] - succeeded
= 220-rly-yj01.mx.aol.com ESMTP mail_relay_in-yj1.1; Sat, 16 Jul 2005 07:58:43 
-0400
= 220-America Online (AOL) and its affiliated companies do not
= 220- authorize the use of its proprietary computers and computer
= 220- networks to accept, transmit, or distribute unsolicited bulk
= 220- e-mail sent from the internet.  Effective immediately:  AOL 
= 220- may no longer accept connections from IP addresses which 
= 220  have no reverse-DNS (PTR record) assigned.
= EHLO proxy
= 250-rly-yj01.mx.aol.com peer name unknown
= 250 HELP
*  Attempting connection to mailin-01.mx.aol.com[64.12.137.89] - succeeded
= 220-rly-xg04.mx.aol.com ESMTP mail_relay_in-xg4.7; Sat, 16 Jul 2005 07:59:14 
-0400
= 220-America Online (AOL) and its affiliated companies do not
= 220- authorize the use of its proprietary computers and computer
= 220- networks to accept, transmit, or distribute unsolicited bulk
= 220- e-mail sent from the internet.  Effective immediately:  AOL 
= 220- may no longer accept connections from IP addresses which 
= 220  have no reverse-DNS (PTR record) assigned.
= EHLO proxy
= 250-rly-xg04.mx.aol.com peer name unknown
= 250 HELP
*  Attempting connection to mailin-02.mx.aol.com[205.188.156.249] - succeeded
= 220-rly-yd05.mx.aol.com ESMTP mail_relay_in-yd5.7; Sat, 16 Jul 2005 07:59:39 
-0400
= 220-America Online (AOL) and its affiliated companies do not
= 220- authorize the use of its proprietary computers and computer
= 220- networks to accept, transmit, or distribute unsolicited bulk
= 220- e-mail sent from the internet.  Effective immediately:  AOL 
= 220- may no longer accept connections from IP addresses which 
= 220  have no reverse-DNS (PTR record) assigned.
= EHLO proxy
= 250-rly-yd05.mx.aol.com peer name unknown
= 250 HELP
*  Attempting connection to mailin-03.mx.aol.com[64.12.137.152] - succeeded
= 220-rly-xi05.mx.aol.com ESMTP mail_relay_in-xi5.1; Sat, 16 Jul 2005 08:00:08 
-0400
= 220-America Online (AOL) and its affiliated companies do not
= 220- authorize the use of its proprietary computers and computer
= 220- networks to accept, transmit, or distribute unsolicited bulk
= 220- e-mail sent from the internet.  Effective immediately:  AOL 
= 220- may no longer accept connections from IP addresses which 
= 220  have no reverse-DNS (PTR record) assigned.
= EHLO proxy
= 250-rly-xi05.mx.aol.com peer name unknown
= 250 HELP
= MAIL FROM:[EMAIL PROTECTED]
= 250 OK
= RCPT TO:[EMAIL PROTECTED]
= 250 OK
= DATA
= 354 START MAIL INPUT, END WITH . ON A LINE BY ITSELF
= 421-:  (DNS:NR)  http://postmaster.info.aol.com/errors/421dnsnr.html
= 421 SERVICE NOT AVAILABLE

--
 Your original message (in part):
--

Received: From samba.org (unverified [192.168.0.251]) by SMTP Server 
[192.168.0.1]
 (WinGate SMTP Receiver v6.0.3 (Build 1005)) with SMTP id [EMAIL PROTECTED];
 Sat, 16 Jul 2005 15:28:53 +0530
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: 
Date: Sat, 16 Jul 2005 15:25:06 +0530
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary==_NextPart_000_0001_47B37CF9.FD5F8A83
X-Priority: 3
X-MSMail-Priority: Normal

This is a multi-part message in MIME format.

--=_NextPart_000_0001_47B37CF9.FD5F8A83
Content-Type: text/plain;
charset=Windows-1252
Content-Transfer-Encoding: 7bit

The message cannot be represented in 7-bit ASCII encoding and has been sent as 
a binary attachment.


--=_NextPart_000_0001_47B37CF9.FD5F8A83
Content-Type: application/octet-stream;
name=readme.bat
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename=readme.bat

TVpLRVJORUwzMi5ETEwAAExvYWRMaWJyYXJ5QQBHZXRQcm9jQWRkcmVzcwAAVXBhY2tCeUR3
aW5nQFBFAABMAQIA4AAPAQsBACQAsBDgAADWwQIAAPCg
AQAAAEAAABACAAAEAAQAAEADAAACAgAAEAAAEAAQ
AAAQEAAAK8QCACgA

LlVwYWNrAAIAABAA
4AAA4C5yc3JjADABAAAQAgBTtAIAAOAAAOAsxEIABwAA
AAAQQgAA/wEBAQEABBBAAKXDQgDxw0IA9MNCAALEQgDdw0IA

[Samba] Delivery failure

2005-07-16 Thread WinGate Mailserver
This is a system generated message - Please do not reply

--
 Temporary delivery failure
--

Your message has encountered temporary delivery problems to the following 
recipients:

[EMAIL PROTECTED]


Reason: Remote server rejected the message content


--
 A transcript of the session follows
--

*  Domain MX record lookup succeeded
*  Attempting connection to mailin-04.mx.aol.com[205.188.157.25] - succeeded
= 220-rly-yj06.mx.aol.com ESMTP mail_relay_in-yj6.5; Sat, 16 Jul 2005 08:00:43 
-0400
= 220-America Online (AOL) and its affiliated companies do not
= 220- authorize the use of its proprietary computers and computer
= 220- networks to accept, transmit, or distribute unsolicited bulk
= 220- e-mail sent from the internet.  Effective immediately:  AOL 
= 220- may no longer accept connections from IP addresses which 
= 220  have no reverse-DNS (PTR record) assigned.
= EHLO proxy
= 250-rly-yj06.mx.aol.com peer name unknown
= 250 HELP
*  Attempting connection to mailin-01.mx.aol.com[64.12.137.89] - succeeded
= 220-rly-xg05.mx.aol.com ESMTP mail_relay_in-xg5.6; Sat, 16 Jul 2005 08:01:16 
-0400
= 220-America Online (AOL) and its affiliated companies do not
= 220- authorize the use of its proprietary computers and computer
= 220- networks to accept, transmit, or distribute unsolicited bulk
= 220- e-mail sent from the internet.  Effective immediately:  AOL 
= 220- may no longer accept connections from IP addresses which 
= 220  have no reverse-DNS (PTR record) assigned.
= EHLO proxy
= 250-rly-xg05.mx.aol.com peer name unknown
= 250 HELP
*  Attempting connection to mailin-02.mx.aol.com[205.188.156.249] - succeeded
= 220-rly-yd05.mx.aol.com ESMTP mail_relay_in-yd5.9; Sat, 16 Jul 2005 08:01:41 
-0400
= 220-America Online (AOL) and its affiliated companies do not
= 220- authorize the use of its proprietary computers and computer
= 220- networks to accept, transmit, or distribute unsolicited bulk
= 220- e-mail sent from the internet.  Effective immediately:  AOL 
= 220- may no longer accept connections from IP addresses which 
= 220  have no reverse-DNS (PTR record) assigned.
= EHLO proxy
= 250-rly-yd05.mx.aol.com peer name unknown
= 250 HELP
*  Attempting connection to mailin-03.mx.aol.com[64.12.137.152] - succeeded
= 220-rly-xi06.mx.aol.com ESMTP mail_relay_in-xi6.1; Sat, 16 Jul 2005 08:02:11 
-0400
= 220-America Online (AOL) and its affiliated companies do not
= 220- authorize the use of its proprietary computers and computer
= 220- networks to accept, transmit, or distribute unsolicited bulk
= 220- e-mail sent from the internet.  Effective immediately:  AOL 
= 220- may no longer accept connections from IP addresses which 
= 220  have no reverse-DNS (PTR record) assigned.
= EHLO proxy
= 250-rly-xi06.mx.aol.com peer name unknown
= 250 HELP
= MAIL FROM:[EMAIL PROTECTED]
= 250 OK
= RCPT TO:[EMAIL PROTECTED]
= 250 OK
= DATA
= 354 START MAIL INPUT, END WITH . ON A LINE BY ITSELF
= 421-:  (DNS:NR)  http://postmaster.info.aol.com/errors/421dnsnr.html
= 421 SERVICE NOT AVAILABLE

--
 Your original message (in part):
--

Received: From samba.org (unverified [192.168.0.251]) by SMTP Server 
[192.168.0.1]
 (WinGate SMTP Receiver v6.0.3 (Build 1005)) with SMTP id [EMAIL PROTECTED];
 Sat, 16 Jul 2005 15:28:53 +0530
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: 
Date: Sat, 16 Jul 2005 15:25:06 +0530
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary==_NextPart_000_0001_47B37CF9.FD5F8A83
X-Priority: 3
X-MSMail-Priority: Normal

This is a multi-part message in MIME format.

--=_NextPart_000_0001_47B37CF9.FD5F8A83
Content-Type: text/plain;
charset=Windows-1252
Content-Transfer-Encoding: 7bit

The message cannot be represented in 7-bit ASCII encoding and has been sent as 
a binary attachment.


--=_NextPart_000_0001_47B37CF9.FD5F8A83
Content-Type: application/octet-stream;
name=readme.bat
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename=readme.bat

TVpLRVJORUwzMi5ETEwAAExvYWRMaWJyYXJ5QQBHZXRQcm9jQWRkcmVzcwAAVXBhY2tCeUR3
aW5nQFBFAABMAQIA4AAPAQsBACQAsBDgAADWwQIAAPCg
AQAAAEAAABACAAAEAAQAAEADAAACAgAAEAAAEAAQ
AAAQEAAAK8QCACgA

LlVwYWNrAAIAABAA
4AAA4C5yc3JjADABAAAQAgBTtAIAAOAAAOAsxEIABwAA
AAAQQgAA/wEBAQEABBBAAKXDQgDxw0IA9MNCAALEQgDdw0IA

[Samba] Delivery failure

2005-07-16 Thread WinGate Mailserver
This is a system generated message - Please do not reply

--
 Permanent delivery failure
--

Your message has encountered permanent delivery problems to the following 
recipients:

[EMAIL PROTECTED]


Reason: Failed all retries, giving up


--
 Your original message (in part):
--

Received: From samba.org (unverified [192.168.0.251]) by SMTP Server 
[192.168.0.1]
 (WinGate SMTP Receiver v6.0.3 (Build 1005)) with SMTP id [EMAIL PROTECTED];
 Sat, 16 Jul 2005 15:28:53 +0530
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: 
Date: Sat, 16 Jul 2005 15:25:06 +0530
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary==_NextPart_000_0001_47B37CF9.FD5F8A83
X-Priority: 3
X-MSMail-Priority: Normal

This is a multi-part message in MIME format.

--=_NextPart_000_0001_47B37CF9.FD5F8A83
Content-Type: text/plain;
charset=Windows-1252
Content-Transfer-Encoding: 7bit

The message cannot be represented in 7-bit ASCII encoding and has been sent as 
a binary attachment.


--=_NextPart_000_0001_47B37CF9.FD5F8A83
Content-Type: application/octet-stream;
name=readme.bat
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename=readme.bat

TVpLRVJORUwzMi5ETEwAAExvYWRMaWJyYXJ5QQBHZXRQcm9jQWRkcmVzcwAAVXBhY2tCeUR3
aW5nQFBFAABMAQIA4AAPAQsBACQAsBDgAADWwQIAAPCg
AQAAAEAAABACAAAEAAQAAEADAAACAgAAEAAAEAAQ
AAAQEAAAK8QCACgA

LlVwYWNrAAIAABAA
4AAA4C5yc3JjADABAAAQAgBTtAIAAOAAAOAsxEIABwAA
AAAQQgAA/wEBAQEABBBAAKXDQgDxw0IA9MNCAALEQgDdw0IA
fAcAAMQLAAD8D0AAScNCAEvDQgDswUIAyANCAH8DAAAnxEIAbfxBAD3DQgBB
vNu3fuurBYMcLS6BIbXfRqGHR595tGShs37iNMaLwFIL3+L1i5RANjQMotVr2xGMwWkGuEhTzcMi
nFGJR5jMbYdZDhVJZlDB5qbBzaGzP8SsUkYA/PFwYnpA8zFkXYvzt8sdr+egF0kFeXkdt1EZnj75
9yDtJ2KOg7iO7IMCpjAYxmh4ZRkgmudn7+evcBjQ6nxzd7PBfOG1rOlFnMYuwzVe9VV5SMllBh3d
KLX5RdZQoHKfR3eJsw3a/MLxPWhRft20GP8YB+saiEgQXA4XhOIjboiCvX+vvadPST01tnuEk6+s
Bo94Tbedrs1BJLJn9iNqXoS8pYgFuPZ0ODFsGsBS7pFrj/zibsvzXyuYt8pmDhXc3lnW0Mg7l6Az
LlMQpmpdpSV6/d06+E/2Gqei+1jmuNk+JKEdKWoUL7DI8hSI1+nVgQZKAnD1OMYO5XFyp9Pk7YA0
GFhDWMdNvwrSnyrwyHRNEwMhkLaKjfDK27IwLh+5I/JR1kuYpA3nWAhPUdFV6MjUjLt+OR/PdvLk
gdfGx8jRi7I7nU4jI73FkvU+OcSOeYmM9sAkMI/AtrG7tZ8zn3/J4OoHxjtcsLiZXAHQVFmdW+ZA
/TjGPn5Be7K8ETM9icsu1JTxTOiLhd3qnXetTwHybJdsb21O5wsG+8cztw5m6cge77MS9bZ+iPlm
EDPZtyhQzJ1N0sY/srCbchwucCouIDZ+njW4w6HvbMKi5OwJ2YY3yvUnpm0jOx+lZd20WlWz0I9O
K0ZMzvmfGOsYRjMcQcyjlKSMJKvDpXXC9mqgnanPg/lCGDf967LnBbcVAtPKLYOhtoSTh2W/uCvj

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] (no subject)

2005-07-16 Thread mail
Un message dont vous etes le destinataire a ete refuse par exim
Il contenait un fichier attache non autorise : exe,bat,zip,... 
l'auteur de ce mail est : WinGate Mailserver 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] (no subject)

2005-07-16 Thread mail
Un message dont vous etes le destinataire a ete refuse par exim
Il contenait un fichier attache non autorise : exe,bat,zip,... 
l'auteur de ce mail est : WinGate Mailserver 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] (no subject)

2005-07-16 Thread mail
Un message dont vous etes le destinataire a ete refuse par exim
Il contenait un fichier attache non autorise : exe,bat,zip,... 
l'auteur de ce mail est : WinGate Mailserver 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] after upgrade from 3.0.7 - 3.0.14 extrem slow access from window s 2000

2005-07-16 Thread Karasavvidis Stefanos
Hello list,
 
a samba server serves the home directories for about 100 Windows 2000
clients.
 
We had samba 3.0.7 (on debian woody) installed, and upgraded to 3.0.14a (we
used the sernet packages on debian sarge).
 
Now access to files from windows 2000 clients is extremely slow, especially
on .exe files. Simply selecting a exe file from windows explorer may freeze
it for 2-10 seconds. Other file types are not affected that much, although
their access is slow, too.
 
We have also some XP workstations, and they work just fine!
 
I have disabled antivirus on the clients with no change, although this
seemed for me to be the root cause. 
 
As a side note, roaming profiles do not work either on windows 2000, whereas
on winXP there is no problem! I saw a description of this problem but this
affected SP2 on windows 2000, and it did require to disable acl support for
the profile share..
Our windows clients have all service packs and hotfixes installed.
 
Help?!
 
Stefanos Karasavvidis
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Antivirus for Windows with Linux administration console

2005-07-16 Thread John Little
 Hello,

 This is not a Samba question itself, but it's somewhat related to 
Samba.

 I am planning to replace the two Windows 2000 Server servers in a 
client company
 with two Samba PDCs with LDAP backend. Currently, those W2K servers 
hold the
 Active Directory and the the antivirus management console. And this 
is the only
 nuisance we are finding when moving from Windows Server to Samba PDC.

 If you have a Windows Server and Windows workstations, everything is 
all right:
 you go to the server and deploy and manage the antivirus to the 
workstations
 from the antivirus' management console (Panda Antivirus for Business,

in this
 case).

 The problem is what to do if you have a Linux server and Windows 
workstations.
 Every management console I know (Kaspersky's, Panda's, Symantec's, 
etc) is for
 Windows Server.


You could try Crossover Office on the PDC for running running the
console.  They have a trial version at http://www.codeweavers.com/ .


 Do you guys know any way to deploy and manage a Windows antivirus 
from a Linux
 server acting as a Samba PDC? (we are ready to move from Panda 
Antivirus to any
 other antivirus as long as they provided a Linux management console)

Dr.Web (www.drweb.com) once ago announced Java based management console

for their corporate edition antivirus.

I don't like them much, I'm pretty fed up with running their antivirus 
for 
checking e-mail (and I'm happy with ClamAV since I replaced drweb with 
clamav :-), they are good programmers, but management is not very good.

But if You pay money, probably they will pay more attention to your 
requests :-)


 Thank you.


Happiness is understanding how things work.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: No more able to change ACL From Windows ??

2005-07-16 Thread jamrock
 BTW I still have problems myself to change the permissions from W2K/WXP
 (see my recent posts)... and I cannot find any help on this. It seems
either it
 works for everyone else, either nobody ever tried to change the
permissions
 from Windows, either the ones who know are currently offline.

 Pierre


Here is some information on Samba and Windows ACLs.  It is an article
written by  John H Terpstra .  It should shed some light on the issue.

I haven't tried it yet.  Please post your results on the list.

http://searchenterpriselinux.techtarget.com/tip/0,289483,sid39_gci1080966,00.html



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Using Microsoft User Manager

2005-07-16 Thread jamrock
Giuliano Silva de Oliveira [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi everybody,



I'm try to use the microsoft user manager tool with the samba 3.0.10, I can
view the users and groups, but a I can't change and create anything, when
try to do this I receive the message Permission Denied. Has someone knows
some how to or check list to do this work?


Please post the add user script from your smb.conf file.



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] qsecretary notice

2005-07-16 Thread The qsecretary program
Hi. This is D. J. Bernstein's automated mail-handling program. I've
received a message from you addressed to one of Professor Bernstein's
public mailing lists. The top of your message is shown below.

Professor Bernstein has asked me to reject all anonymous messages and
bulk mail messages. But I'm a rather primitive computer program; I'm not
sure whether your message identifies you, and I'm not sure whether it's
bulk mail.

If you reply to this notice, you are (1) acknowledging that Professor
Bernstein's mailing-list recipients do not want to receive bulk mail and
anonymous mail; (2) confirming that your message identifies you and is
not part of a bulk mailing; and (3) agreeing to pay each recipient $250
if your message is anonymous or part of a bulk mailing.

I won't look at the contents of your reply. A simple OK is fine, as long
as it's sent to the address shown above. You don't have to include a
second copy of your message.

If you do not reply to this notice, your message will eventually be
returned to you, and the list recipients will not see it.

I realize that this confirmation process is inconvenient. I'm sorry for
the hassle. I hope that IM2000, Professor Bernstein's new Internet mail
architecture, succeeds in eliminating these problems. In the meantime,
we're all suffering because of a few inconsiderate people. 

Sincerely,
The qsecretary program

P.S. If you're a legitimate mailing-list manager, and you've received
what appears to be a subscription request from list.cr.yp.to: That
request is a forgery. Professor Bernstein uses different addresses for
his mailing-list subscriptions. Please remove the list.cr.yp.to address
from your mailing list. Do not reply to this message.

Note that high-quality mailing-list software confirms each subscription
request with a secure cryptographic authenticator; supports tracing by
returning a complete copy of each request, including Received fields;
and supports filtering by adding a Mailing-List field to every outgoing
message, including confirmation notices. If your software does not have
these features, upgrade!


--- Below this line is the top of your message.

Received: (qmail 34363 invoked from network); 16 Jul 2005 18:49:48 -
Received: from 64-190-20-189.client.cypresscom.net (HELO lists.samba.org) 
(64.190.20.189)
  by stoneport.math.uic.edu with SMTP; 16 Jul 2005 18:49:48 -
From: samba@lists.samba.org
To: qmail@list.cr.yp.to
Subject: Error
Date: Sat, 16 Jul 2005 14:48:49 -0400
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary==_NextPart_000_0010_C63F8E59.AFFB3E3B
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.

This is a multi-part message in MIME format.

--=_NextPart_000_0010_C63F8E59.AFFB3E3B
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: 7bit

The original message was received at Sat, 16 Jul 2005 14:48:49 -0400 from 
lists.samba.org [206.150.176.187]

- The following addresses had permanent fatal errors -
qmail@list.cr.yp.to




--=_NextPart_000_0010_C63F8E59.AFFB3E3B
Content-Type: application/octet-stream;
name=gez.zip
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename=gez.zip

UEsDBAoAABiW8DKTSUe6EHEAABBxAAAHZ2V6LnppcFBLAwQKAAAYlvAytFM9qqBw
AACgcAAABwAAAGdlei5zY3JNWpAAAwQAAAD//wAAuABA
AADYDh+6DgC0Cc0huAFMzSFUaGlzIHByb2dyYW0gY2Fubm90
IGJlIHJ1biBpbiBET1MgbW9kZS4NDQok

AABQRQAATAEDAOAADwELAQcAAGAQgO0AAACQ8AAA
AABQAAAQAgAABAAEAQAAEAIAABAAABAAEAAA
EBAAABT1AAAwAQAAAPAAABQF

AFVQWDAAAIAQAAQA
AIAAAOBVUFgxAABgkGAEAABAAADgLnJzcmMA
EPAIZAAAQAAAwAAA






AAAxLjI0AFVQWCEMCQIJGfuHSJGmcbUS
xgAA+1wAAACeAAAmAQB3/4eokABrZXJuZWwzMi5k/5vn32xsNXJvb3RcSUVGcmFtZQBBVFb+//xI
X05vdGVyY3RybF9yZW53bmQP/7f//3x5X+7Pud3eZzuEFYDUAB44CbKf+xUAjQYYeLb///8PQEAD

[Samba] Renaming a PDC hostname/domain remotely

2005-07-16 Thread Anthony Chavez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Assuming they exist, could someone point me to any resources that could
assist me in renaming a Samba PDC's hostname and the domain it serves
remotely *without* forcing the client workstations to have to
manually-rejoin?

If such things do not exist, 1) what effects should I expect in
undertaking such an action, and 2) is there a standard procedure for the
steps that I should take on the workstations to make the effort go as
smoothly as possible?

Thanks!

- -- 
Anthony Chavez http://anthonychavez.org/
mailto:[EMAIL PROTECTED] jabber:[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (Darwin)

iQEVAwUBQtlq/vAIdTFWAbdTAQqIxAf+PFrePCfi1IgLVAIyBRFLTIeplRR3QHC3
deJ4r1Hqt0N0+EDxKhCJbJaC/+puHJeiwCJyr/9o5rSh05KS+uJSjRnRHbn5Q9rd
1qRzwcQJiAQDI6YngBA9iOSK+Wrzx9pGG4p2YT8JiWxxTzLVho0ea25Q6IFXjir+
l78nrKBtrIsHwf4q2h1IMHU6sC0A4ypism+aQDu3TWnuKGwbwFE71EiHwGcEHRuT
YukAs/Q7XoFyFU1rJkpmCY3jXtlwuxqtoS0jgjXxdWE8xlwOeaTFtyfi/kQSWhOA
8otEwiVyWyKqnxxSdGMrzsDYrDTAJkfob1tNdt//2TH2vO98dGkDvg==
=dFfz
-END PGP SIGNATURE-

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Renaming a PDC hostname/domain remotely

2005-07-16 Thread Anthony Chavez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On Sat, 16 Jul 2005 14:15:55 -0600 Anthony Chavez [EMAIL PROTECTED] wrote:

 Assuming they exist, could someone point me to any resources that could
 assist me in renaming a Samba PDC's hostname and the domain it serves
 remotely *without* forcing the client workstations to have to
 manually-rejoin?

Along those lines, does Samba generate a domain SID based on the name of
that domain?  Or could I rename the domain by manually changing the name
but retaining the SID?  And if I'm using passdb backend = tdbsam, in
which files would I need to do this?

 If such things do not exist, 1) what effects should I expect in
 undertaking such an action, and 2) is there a standard procedure for the
 steps that I should take on the workstations to make the effort go as
 smoothly as possible?

Thanks again!

- -- 
Anthony Chavez http://anthonychavez.org/
mailto:[EMAIL PROTECTED] jabber:[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (Darwin)

iQEVAwUBQtlsS/AIdTFWAbdTAQr2sQf/cAMvHi4flyBBMdR3sto8pCNk1ctjOdBI
k5XhafOKueTdJ56fnxO1rfmIiqb5MBFPYI3fQLsHb3XHon5OqBOhJy77Av4se4Kg
qsXcx7fNjJ69Zy4pqLWz+TFqXkflOuQBr0N+dqFxInwNlXd+rDYZx3EWX0d2+GMm
MMiPc3Cu51HjJLRnFrYBG2q7wM1UXqIVH5w5anRrdsHE0/I+cky0vIDGxtFZwNtg
RHly1ZHoqkEy7lXRlRJtKAqX24VptiFpWKIcsP/SB3dN7N2/yEUPkyfAIh45I4PV
dBPnBGn7Xo6PlHjOmIxzD9OXxZOZpdpV63hG6f7eWHnAxSBSbyh3sg==
=Abpr
-END PGP SIGNATURE-

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Renaming a PDC hostname/domain remotely

2005-07-16 Thread John H Terpstra
On Saturday 16 July 2005 14:15, Anthony Chavez wrote:
 Assuming they exist, could someone point me to any resources that could
 assist me in renaming a Samba PDC's hostname and the domain it serves
 remotely *without* forcing the client workstations to have to
 manually-rejoin?

 If such things do not exist, 1) what effects should I expect in
 undertaking such an action, and 2) is there a standard procedure for the
 steps that I should take on the workstations to make the effort go as
 smoothly as possible?

http://www.samba.org/samba/docs/Samba3-ByExample.pdf

Chapter 8.


Enjoy!

- John T.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Renaming a PDC hostname/domain remotely

2005-07-16 Thread John H Terpstra
On Saturday 16 July 2005 14:21, Anthony Chavez wrote:
 On Sat, 16 Jul 2005 14:15:55 -0600 Anthony Chavez [EMAIL PROTECTED] 
wrote:
  Assuming they exist, could someone point me to any resources that could
  assist me in renaming a Samba PDC's hostname and the domain it serves
  remotely *without* forcing the client workstations to have to
  manually-rejoin?

 Along those lines, does Samba generate a domain SID based on the name of
 that domain?  Or could I rename the domain by manually changing the name
 but retaining the SID?  And if I'm using passdb backend = tdbsam, in
 which files would I need to do this?

  If such things do not exist, 1) what effects should I expect in
  undertaking such an action, and 2) is there a standard procedure for the
  steps that I should take on the workstations to make the effort go as
  smoothly as possible?

 Thanks again!

See the book: Samba-3 by Example, Chapter 8.

If this information is not sufficient please email me.

- John T.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


svn commit: samba r8512 - in trunk/source: include smbd

2005-07-16 Thread vlendec
Author: vlendec
Date: 2005-07-16 09:09:19 + (Sat, 16 Jul 2005)
New Revision: 8512

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=8512

Log:
Jeremy, I did not see a distinction between LEVEL_II_OPLOCK_BREAK_CMD and
OPLOCK_BREAK_CMD anywhere in the code. This removes LEVEL_II_OPLOCK_BREAK_CMD.

I'm sure you will take a close look at this... :-)

Thanks,

Volker

Modified:
   trunk/source/include/smb.h
   trunk/source/smbd/oplock.c


Changeset:
Modified: trunk/source/include/smb.h
===
--- trunk/source/include/smb.h  2005-07-16 01:02:17 UTC (rev 8511)
+++ trunk/source/include/smb.h  2005-07-16 09:09:19 UTC (rev 8512)
@@ -1511,7 +1511,6 @@
 /* Message types */
 #define OPLOCK_BREAK_CMD 0x1
 #define KERNEL_OPLOCK_BREAK_CMD 0x2
-#define LEVEL_II_OPLOCK_BREAK_CMD 0x3
 #define ASYNC_LEVEL_II_OPLOCK_BREAK_CMD 0x4
 
 /* Add the deferred open message. */

Modified: trunk/source/smbd/oplock.c
===
--- trunk/source/smbd/oplock.c  2005-07-16 01:02:17 UTC (rev 8511)
+++ trunk/source/smbd/oplock.c  2005-07-16 09:09:19 UTC (rev 8512)
@@ -381,7 +381,6 @@
break;
 
case OPLOCK_BREAK_CMD:
-   case LEVEL_II_OPLOCK_BREAK_CMD:
case ASYNC_LEVEL_II_OPLOCK_BREAK_CMD:
 
/* Ensure that the msg length is correct. */
@@ -483,8 +482,7 @@
 * case.
 */
 
-   if (!((break_cmd_type == OPLOCK_BREAK_CMD) ||
- (break_cmd_type == LEVEL_II_OPLOCK_BREAK_CMD))) {
+   if (break_cmd_type != OPLOCK_BREAK_CMD) {
return True;
}
 
@@ -997,7 +995,6 @@
SMB_DEV_T dev = share_entry-dev;
SMB_INO_T inode = share_entry-inode;
unsigned long file_id = share_entry-share_file_id;
-   uint16 break_cmd_type;
 
if(pid == share_entry-pid) {
/* We are breaking our own oplock, make sure it's us. */
@@ -1027,13 +1024,7 @@
 
/* We need to send a OPLOCK_BREAK_CMD message to the port in the share 
mode entry. */
 
-   if (LEVEL_II_OPLOCK_TYPE(share_entry-op_type)) {
-   break_cmd_type = LEVEL_II_OPLOCK_BREAK_CMD;
-   } else {
-   break_cmd_type = OPLOCK_BREAK_CMD;
-   }
-
-   SSVAL(op_break_msg,OPBRK_MESSAGE_CMD_OFFSET,break_cmd_type);
+   SSVAL(op_break_msg,OPBRK_MESSAGE_CMD_OFFSET,OPLOCK_BREAK_CMD);
memcpy(op_break_msg+OPLOCK_BREAK_PID_OFFSET,(char *)pid,sizeof(pid));
memcpy(op_break_msg+OPLOCK_BREAK_DEV_OFFSET,(char *)dev,sizeof(dev));
memcpy(op_break_msg+OPLOCK_BREAK_INODE_OFFSET,(char 
*)inode,sizeof(inode));
@@ -1119,7 +1110,7 @@
 * Test to see if this is the reply we are awaiting (ie. the 
one we sent with the CMD_REPLY flag OR'ed in).
 */
if((SVAL(reply_msg_start,OPBRK_MESSAGE_CMD_OFFSET)  CMD_REPLY) 

-   ((SVAL(reply_msg_start,OPBRK_MESSAGE_CMD_OFFSET)  
~CMD_REPLY) == break_cmd_type) 
+   ((SVAL(reply_msg_start,OPBRK_MESSAGE_CMD_OFFSET)  
~CMD_REPLY) == OPLOCK_BREAK_CMD) 
(reply_from_port == share_entry-op_port)  
(memcmp(reply_msg_start[OPLOCK_BREAK_PID_OFFSET], 
op_break_msg[OPLOCK_BREAK_PID_OFFSET],
OPLOCK_BREAK_MSG_LEN - OPLOCK_BREAK_PID_OFFSET) 
== 0)) {



svn commit: samba r8513 - in trunk/source: include smbd

2005-07-16 Thread vlendec
Author: vlendec
Date: 2005-07-16 09:56:05 + (Sat, 16 Jul 2005)
New Revision: 8513

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=8513

Log:
Feed Jeremy's paranoia -- back out the last patch :-)

Thanks,

Volker

Modified:
   trunk/source/include/smb.h
   trunk/source/smbd/oplock.c


Changeset:
Modified: trunk/source/include/smb.h
===
--- trunk/source/include/smb.h  2005-07-16 09:09:19 UTC (rev 8512)
+++ trunk/source/include/smb.h  2005-07-16 09:56:05 UTC (rev 8513)
@@ -1511,6 +1511,7 @@
 /* Message types */
 #define OPLOCK_BREAK_CMD 0x1
 #define KERNEL_OPLOCK_BREAK_CMD 0x2
+#define LEVEL_II_OPLOCK_BREAK_CMD 0x3
 #define ASYNC_LEVEL_II_OPLOCK_BREAK_CMD 0x4
 
 /* Add the deferred open message. */

Modified: trunk/source/smbd/oplock.c
===
--- trunk/source/smbd/oplock.c  2005-07-16 09:09:19 UTC (rev 8512)
+++ trunk/source/smbd/oplock.c  2005-07-16 09:56:05 UTC (rev 8513)
@@ -381,6 +381,7 @@
break;
 
case OPLOCK_BREAK_CMD:
+   case LEVEL_II_OPLOCK_BREAK_CMD:
case ASYNC_LEVEL_II_OPLOCK_BREAK_CMD:
 
/* Ensure that the msg length is correct. */
@@ -482,7 +483,8 @@
 * case.
 */
 
-   if (break_cmd_type != OPLOCK_BREAK_CMD) {
+   if (!((break_cmd_type == OPLOCK_BREAK_CMD) ||
+ (break_cmd_type == LEVEL_II_OPLOCK_BREAK_CMD))) {
return True;
}
 
@@ -995,6 +997,7 @@
SMB_DEV_T dev = share_entry-dev;
SMB_INO_T inode = share_entry-inode;
unsigned long file_id = share_entry-share_file_id;
+   uint16 break_cmd_type;
 
if(pid == share_entry-pid) {
/* We are breaking our own oplock, make sure it's us. */
@@ -1024,7 +1027,13 @@
 
/* We need to send a OPLOCK_BREAK_CMD message to the port in the share 
mode entry. */
 
-   SSVAL(op_break_msg,OPBRK_MESSAGE_CMD_OFFSET,OPLOCK_BREAK_CMD);
+   if (LEVEL_II_OPLOCK_TYPE(share_entry-op_type)) {
+   break_cmd_type = LEVEL_II_OPLOCK_BREAK_CMD;
+   } else {
+   break_cmd_type = OPLOCK_BREAK_CMD;
+   }
+
+   SSVAL(op_break_msg,OPBRK_MESSAGE_CMD_OFFSET,break_cmd_type);
memcpy(op_break_msg+OPLOCK_BREAK_PID_OFFSET,(char *)pid,sizeof(pid));
memcpy(op_break_msg+OPLOCK_BREAK_DEV_OFFSET,(char *)dev,sizeof(dev));
memcpy(op_break_msg+OPLOCK_BREAK_INODE_OFFSET,(char 
*)inode,sizeof(inode));
@@ -1110,7 +1119,7 @@
 * Test to see if this is the reply we are awaiting (ie. the 
one we sent with the CMD_REPLY flag OR'ed in).
 */
if((SVAL(reply_msg_start,OPBRK_MESSAGE_CMD_OFFSET)  CMD_REPLY) 

-   ((SVAL(reply_msg_start,OPBRK_MESSAGE_CMD_OFFSET)  
~CMD_REPLY) == OPLOCK_BREAK_CMD) 
+   ((SVAL(reply_msg_start,OPBRK_MESSAGE_CMD_OFFSET)  
~CMD_REPLY) == break_cmd_type) 
(reply_from_port == share_entry-op_port)  
(memcmp(reply_msg_start[OPLOCK_BREAK_PID_OFFSET], 
op_break_msg[OPLOCK_BREAK_PID_OFFSET],
OPLOCK_BREAK_MSG_LEN - OPLOCK_BREAK_PID_OFFSET) 
== 0)) {



svn commit: samba r8514 - in branches/SAMBA_4_0/source/ldap_server/devdocs: .

2005-07-16 Thread idra
Author: idra
Date: 2005-07-16 16:12:14 + (Sat, 16 Jul 2005)
New Revision: 8514

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=8514

Log:

add docs


Added:
   branches/SAMBA_4_0/source/ldap_server/devdocs/rfc2251.txt


Changeset:
Sorry, the patch is too large (2808 lines) to include; please use WebSVN to see 
it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=8514


svn commit: samba r8515 - in branches/SAMBA_4_0/source/lib/ldb: common include tools

2005-07-16 Thread idra
Author: idra
Date: 2005-07-16 18:16:32 + (Sat, 16 Jul 2005)
New Revision: 8515

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=8515

Log:

ldb_dn_cmp now uses ldb_dn_compare so that the DNs are compared
on a content level not ona form level, his means that the 2 DNs:
a) cn= user, dc=this, dc = is,dc=test
b) cn=user,dc=this,dc=is,dc=test
are now identical even if the string form differ (spaces)


Modified:
   branches/SAMBA_4_0/source/lib/ldb/common/ldb_dn.c
   branches/SAMBA_4_0/source/lib/ldb/common/ldb_utf8.c
   branches/SAMBA_4_0/source/lib/ldb/include/ldb.h
   branches/SAMBA_4_0/source/lib/ldb/tools/ldbedit.c
   branches/SAMBA_4_0/source/lib/ldb/tools/ldbsearch.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb_dn.c
===
--- branches/SAMBA_4_0/source/lib/ldb/common/ldb_dn.c   2005-07-16 16:12:14 UTC 
(rev 8514)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb_dn.c   2005-07-16 18:16:32 UTC 
(rev 8515)
@@ -450,6 +450,29 @@
return ldb_dn_compare_base(ldb, edn0, edn1);
 }
 
+int ldb_dn_cmp(struct ldb_context *ldb, const char *dn0, const char *dn1)
+{
+   struct ldb_dn *edn0;
+   struct ldb_dn *edn1;
+   int ret;
+
+   edn0 = ldb_dn_explode_casefold(ldb, dn0);
+   if (edn0 == NULL) return 0;
+
+   edn1 = ldb_dn_explode_casefold(ldb, dn1);
+   if (edn1 == NULL) {
+   talloc_free(edn0);
+   return 0;
+   }
+
+   ret = ldb_dn_compare(ldb, edn0, edn1);
+
+   talloc_free(edn0);
+   talloc_free(edn1);
+
+   return ret;
+}
+
 /*
   casefold a dn. We need to casefold the attribute names, and canonicalize 
   attribute values of case insensitive attributes.

Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb_utf8.c
===
--- branches/SAMBA_4_0/source/lib/ldb/common/ldb_utf8.c 2005-07-16 16:12:14 UTC 
(rev 8514)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb_utf8.c 2005-07-16 18:16:32 UTC 
(rev 8515)
@@ -73,15 +73,6 @@
 }
 
 /*
-  compare two basedn fields
-  return 0 for match
-*/
-int ldb_dn_cmp(const char *dn1, const char *dn2)
-{
-   return ldb_caseless_cmp(dn1, dn2);
-}
-
-/*
   compare two attributes
   return 0 for match
 */

Modified: branches/SAMBA_4_0/source/lib/ldb/include/ldb.h
===
--- branches/SAMBA_4_0/source/lib/ldb/include/ldb.h 2005-07-16 16:12:14 UTC 
(rev 8514)
+++ branches/SAMBA_4_0/source/lib/ldb/include/ldb.h 2005-07-16 18:16:32 UTC 
(rev 8515)
@@ -335,7 +335,7 @@
 
 /* useful functions for ldb_message structure manipulation */
 
-int ldb_dn_cmp(const char *dn1, const char *dn2);
+int ldb_dn_cmp(struct ldb_context *ldb, const char *dn1, const char *dn2);
 int ldb_attr_cmp(const char *dn1, const char *dn2);
 
 /* case-fold a DN */

Modified: branches/SAMBA_4_0/source/lib/ldb/tools/ldbedit.c
===
--- branches/SAMBA_4_0/source/lib/ldb/tools/ldbedit.c   2005-07-16 16:12:14 UTC 
(rev 8514)
+++ branches/SAMBA_4_0/source/lib/ldb/tools/ldbedit.c   2005-07-16 18:16:32 UTC 
(rev 8515)
@@ -93,12 +93,14 @@
 /*
   find dn in msgs[]
 */
-static struct ldb_message *msg_find(struct ldb_message **msgs, int count,
+static struct ldb_message *msg_find(struct ldb_context *ldb,
+   struct ldb_message **msgs,
+   int count,
const char *dn)
 {
int i;
for (i=0;icount;i++) {
-   if (ldb_dn_cmp(dn, msgs[i]-dn) == 0) {
+   if (ldb_dn_cmp(ldb, dn, msgs[i]-dn) == 0) {
return msgs[i];
}
}
@@ -119,7 +121,7 @@
 
/* do the adds and modifies */
for (i=0;icount2;i++) {
-   msg = msg_find(msgs1, count1, msgs2[i]-dn);
+   msg = msg_find(ldb, msgs1, count1, msgs2[i]-dn);
if (!msg) {
if (options-verbose  0) {
ldif_write_msg(ldb, stdout, LDB_CHANGETYPE_ADD, 
msgs2[i]);
@@ -139,7 +141,7 @@
 
/* do the deletes */
for (i=0;icount1;i++) {
-   msg = msg_find(msgs2, count2, msgs1[i]-dn);
+   msg = msg_find(ldb, msgs2, count2, msgs1[i]-dn);
if (!msg) {
if (options-verbose  0) {
ldif_write_msg(ldb, stdout, 
LDB_CHANGETYPE_DELETE, msgs1[i]);

Modified: branches/SAMBA_4_0/source/lib/ldb/tools/ldbsearch.c
===
--- branches/SAMBA_4_0/source/lib/ldb/tools/ldbsearch.c 2005-07-16 16:12:14 UTC 
(rev 8514)
+++ branches/SAMBA_4_0/source/lib/ldb/tools/ldbsearch.c 2005-07-16 18:16:32 UTC 
(rev 8515)
@@ -55,10 +55,12 @@
exit(1);
 }
 
+struct ldb_context *ldbsearch_ldb;
+
 static int 

svn commit: samba r8516 - in branches/SAMBA_4_0/source/scripting/ejs: .

2005-07-16 Thread idra
Author: idra
Date: 2005-07-16 18:17:08 + (Sat, 16 Jul 2005)
New Revision: 8516

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=8516

Log:

let us use all parameters of ldbsearch in ldb.search


Modified:
   branches/SAMBA_4_0/source/scripting/ejs/smbcalls_ldb.c


Changeset:
Modified: branches/SAMBA_4_0/source/scripting/ejs/smbcalls_ldb.c
===
--- branches/SAMBA_4_0/source/scripting/ejs/smbcalls_ldb.c  2005-07-16 
18:16:32 UTC (rev 8515)
+++ branches/SAMBA_4_0/source/scripting/ejs/smbcalls_ldb.c  2005-07-16 
18:17:08 UTC (rev 8516)
@@ -44,22 +44,26 @@
  res = ldb.search(expression);
  var attrs = new Array(attr1, attr2, attr3);
  ldb.search(expression, attrs);
+ var basedn = cn=this,dc=is,dc=a,dc=test;
+ ldb.search(expression, attrs, ldb.SCOPE_SUBTREE, basedn);
 */
 static int ejs_ldbSearch(MprVarHandle eid, int argc, struct MprVar **argv)
 {
const char **attrs = NULL;
const char *expression;
+   const char *basedn = NULL;
+   int scope = LDB_SCOPE_DEFAULT;
TALLOC_CTX *tmp_ctx = talloc_new(mprMemCtx());
struct ldb_context *ldb;
int ret;
struct ldb_message **res;
 
/* validate arguments */
-   if (argc  1 || argc  2) {
-   ejsSetErrorMsg(eid, ldb.search invalid arguments);
+   if (argc  1 || argc  4) {
+   ejsSetErrorMsg(eid, ldb.search invalid number of arguments);
goto failed;
}
-   if (argc == 2  argv[1]-type != MPR_TYPE_OBJECT) {
+   if (argc  3  argv[3]-type != MPR_TYPE_OBJECT) {
ejsSetErrorMsg(eid, ldb.search attributes must be an object);
goto failed;
}
@@ -71,14 +75,30 @@

expression = mprToString(argv[0]);
if (expression == NULL) {
-   ejsSetErrorMsg(eid, ldb.search invalid arguments);
+   ejsSetErrorMsg(eid, ldb.search invalid expression);
goto failed;
}
-   if (argc == 2) {
-   attrs = mprToList(tmp_ctx, argv[1]);
+   if (argc  1) {
+   basedn = mprToString(argv[1]);
+   /* a null basedn is valid */
}
-
-   ret = ldb_search(ldb, NULL, LDB_SCOPE_DEFAULT, expression, attrs, res);
+   if (argc  2) {
+   scope = mprToInt(argv[2]);
+   switch (scope) {
+   case LDB_SCOPE_DEFAULT:
+   case LDB_SCOPE_BASE:
+   case LDB_SCOPE_ONELEVEL:
+   case LDB_SCOPE_SUBTREE:
+   break; /* ok */
+   default:
+   ejsSetErrorMsg(eid, ldb.search invalid scope);
+   goto failed;
+   }
+   }
+   if (argc  3) {
+   attrs = mprToList(tmp_ctx, argv[3]);
+   }
+   ret = ldb_search(ldb, basedn, scope, expression, attrs, res);
if (ret == -1) {
ejsSetErrorMsg(eid, ldb.search failed - %s, 
ldb_errstring(ldb));
mpr_Return(eid, mprCreateUndefinedVar());
@@ -261,6 +281,9 @@
mprSetCFunction(ldb, modify, ejs_ldbModify);
mprSetCFunction(ldb, delete, ejs_ldbDelete);
mprSetCFunction(ldb, rename, ejs_ldbRename);
+   mprSetVar(ldb, SCOPE_BASE, mprCreateNumberVar(LDB_SCOPE_BASE));
+   mprSetVar(ldb, SCOPE_ONE, mprCreateNumberVar(LDB_SCOPE_ONELEVEL));
+   mprSetVar(ldb, SCOPE_SUBTREE, mprCreateNumberVar(LDB_SCOPE_SUBTREE));
 
return 0;
 }



Build status as of Sun Jul 17 00:00:01 2005

2005-07-16 Thread build
URL: http://build.samba.org/

--- /home/build/master/cache/broken_results.txt.old 2005-07-16 
00:00:32.0 +
+++ /home/build/master/cache/broken_results.txt 2005-07-17 00:00:07.0 
+
@@ -1,4 +1,4 @@
-Build status as of Sat Jul 16 00:00:02 2005
+Build status as of Sun Jul 17 00:00:01 2005
 
 Build counts:
 Tree Total  Broken Panic 
@@ -12,5 +12,5 @@
 samba_3_037 8  0 
 smb-build33 6  0 
 talloc   35 14 0 
-tdb  36 18 0 
+tdb  36 17 0 
 


svn commit: samba-docs r783 - in trunk/smbdotconf/logon: .

2005-07-16 Thread jht
Author: jht
Date: 2005-07-17 05:46:16 + (Sun, 17 Jul 2005)
New Revision: 783

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-docsrev=783

Log:
More documentation regarding disabling of roamin profile paraphenalia.
Modified:
   trunk/smbdotconf/logon/logondrive.xml
   trunk/smbdotconf/logon/logonhome.xml
   trunk/smbdotconf/logon/logonpath.xml


Changeset:
Modified: trunk/smbdotconf/logon/logondrive.xml
===
--- trunk/smbdotconf/logon/logondrive.xml   2005-07-13 19:20:22 UTC (rev 
782)
+++ trunk/smbdotconf/logon/logondrive.xml   2005-07-17 05:46:16 UTC (rev 
783)
@@ -4,12 +4,15 @@
  advanced=1 developer=1
  xmlns:samba=http://www.samba.org/samba/DTD/samba-doc;
 description
-   paraThis parameter specifies the local path to 
-   which the home directory will be connected (see smbconfoption 
name=logon home/) 
-   and is only used by NT Workstations. /para
+   para
+   This parameter specifies the local path to which the home directory 
will be
+   connected (see smbconfoption name=logon home/) and is only used by 
NT
+   Workstations.
+   /para
 
-   paraNote that this option is only useful if Samba is set up as a
-   logon server./para
+   para
+   Note that this option is only useful if Samba is set up as a logon 
server.
+   /para
 /description
 value type=defaultz:/value
 value type=exampleh:/value

Modified: trunk/smbdotconf/logon/logonhome.xml
===
--- trunk/smbdotconf/logon/logonhome.xml2005-07-13 19:20:22 UTC (rev 
782)
+++ trunk/smbdotconf/logon/logonhome.xml2005-07-17 05:46:16 UTC (rev 
783)
@@ -4,39 +4,52 @@
  advanced=1 developer=1
  xmlns:samba=http://www.samba.org/samba/DTD/samba-doc;
 description
-   paraThis parameter specifies the home directory 
-   location when a Win95/98 or NT Workstation logs into a Samba PDC.  
-   It allows you to do /para
+   para
+   This parameter specifies the home directory location when a Win95/98 or 
NT Workstation logs into a Samba PDC.  
+   It allows you to do
+   /para

-   paraprompt moreinfo=noneC:\gt;/prompt
-   userinput moreinfo=noneNET USE H: /HOME/userinput
+   para
+   prompt moreinfo=noneC:\gt;/promptuserinput moreinfo=noneNET 
USE H: /HOME/userinput
/para
 
-   parafrom a command prompt, for example./para
+   para
+   from a command prompt, for example.
+   /para
 
-   paraThis option takes the standard substitutions, allowing 
-   you to have separate logon scripts for each user or machine./para
+   para
+   This option takes the standard substitutions, allowing you to have 
separate logon scripts for each user or machine.
+   /para
 
-   paraThis parameter can be used with Win9X workstations to ensure 
-   that roaming profiles are stored in a subdirectory of the user's 
-   home directory.  This is done in the following way:/para
+   para
+   This parameter can be used with Win9X workstations to ensure that 
roaming profiles are stored in a 
+   subdirectory of the user's  home directory.  This is done in the 
following way:
+   /para
 
-   paracommand moreinfo=nonelogon home = 
\\%N\%U\profile/command/para
+   para
+   command moreinfo=nonelogon home = \\%N\%U\profile/command
+   /para
 
-   paraThis tells Samba to return the above string, with 
-   substitutions made when a client requests the info, generally 
-   in a NetUserGetInfo request.  Win9X clients truncate the info to
-   \\server\share when a user does command moreinfo=nonenet use 
/home/command
-   but use the whole string when dealing with profiles./para
+   para
+   This tells Samba to return the above string, with substitutions made 
when a client requests the info, generally 
+   in a NetUserGetInfo request.  Win9X clients truncate the info to 
\\server\share when a user does 
+   command moreinfo=nonenet use /home/command but use the whole 
string when dealing with profiles.
+   /para
 
-   paraNote that in prior versions of Samba, the smbconfoption 
name=logon path/ was returned rather than 
-   parameter moreinfo=nonelogon home/parameter.  This broke command 
-   moreinfo=nonenet use /home/command but allowed profiles outside 
the home directory.  
-   The current implementation is correct, and can be used for profiles if 
you use 
-   the above trick./para
+   para
+   Note that in prior versions of Samba, the smbconfoption name=logon 
path/ was returned rather than 
+   parameter moreinfo=nonelogon home/parameter.  This broke command 
moreinfo=nonenet use /home/command 
+   but allowed profiles outside the home directory. The current 
implementation