Re[2]: [Samba] solving samba error

2004-05-24 Thread Collen Blijenberg MLHJ
Dunno, still got the error, but it's not realy
affecting the preformance of our samba servers..

it's only irritating, when you try to use log scripts
and other things that depend of that..

l8r..
-
Collen Blijenberg   (Montessori Lyceum Herman Jordan)

Saturday, May 22, 2004, 4:59:51 AM, you wrote:

  You see, what i mean jerry, with the 0.0.0.0 thing!!
  i think the getpeer error comes from
  samba trying to connect to 0.0.0.0 instead of the
  actual ip adress.
  -
  MWC [2004/04/05 10:25:11, 0]
  lib/util_sock.c:write_socket_data(388)
  MWC write_socket_data: write failure. Error = Connection reset
MWC by peer
  MWC [2004/04/05 10:25:11, 0] lib/util_sock.c:write_socket(413)
  MWC write_socket: Error writing 5 bytes to socket 16: ERRNO =
MWC Connection
  MWC reset by
  MWC peer

MWC does it have anything to do with the global option interfaces =?
MWC My original line didn't include 127.0.0.1/8.


MWC -- 
MWC.~.http://toylet.homeip.net
MWC   / v \   Linux 2.4.26
MWC /( _ )\  10:56am up 14:45 1 user
MWC^ ^1.04 1.02

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


[Samba] Warning: A possible virus has been detected in one of your messages.

2004-05-24 Thread control

A virus or an infected file has been detected in a message:

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Old times

Messages containing infected attachments will no longer
be forwarded.

If you wish to send emails with attachment, we strongly
recommend that you enclose your attachment in formats
like .ZIP.

This is the size of the email in question:
-rw---1 root mail41775 May 24 08:10 msg.T11B

This is what our filter said about the issue:
-
X-Procmail-AV: Probably a NetSky.P/Q/C or similar virus detected.
-

These filenames were found in the message:
letter.zip
Content-Disposition: attachment;

If you want this mail anyway, please click here:
mailto:[EMAIL PROTECTED]/msg.T11B

Should that fail, click here in stead:
mailto:[EMAIL PROTECTED]


__

RECIPIENT:
__

You are our customer, therefore we did this effort to protect you
from viruses.
If you do not want the antivirus scanning for your emails, please
click here: mailto:[EMAIL PROTECTED]
otherwise no action is required on your part. A copy of this
message has been delivered to the sender.


__

SENDER:
__

Please update your virus detection software and clean
your system before attempting to resend this message.

If you are one of our customers, we suggest that you
use our WebMail system at:

http://YOURDOMAIN/webmail



**

Regards,

AntiVirus System
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Warning: A possible virus has been detected in one of your messages.

2004-05-24 Thread control

A virus or an infected file has been detected in a message:

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Mail Delivery (failure [EMAIL PROTECTED])

Messages containing infected attachments will no longer
be forwarded.

If you wish to send emails with attachment, we strongly
recommend that you enclose your attachment in formats
like .ZIP.

This is the size of the email in question:
-rw---1 root mail42077 May 24 08:10 msg.HmOz

This is what our filter said about the issue:
-
X-Procmail-AV: (vbs|wsf|vbe|wsh|hta|scr|pif|cmd) files not allowed
-

These filenames were found in the message:
message.scr

If you want this mail anyway, please click here:
mailto:[EMAIL PROTECTED]/msg.HmOz

Should that fail, click here in stead:
mailto:[EMAIL PROTECTED]


__

RECIPIENT:
__

You are our customer, therefore we did this effort to protect you
from viruses.
If you do not want the antivirus scanning for your emails, please
click here: mailto:[EMAIL PROTECTED]
otherwise no action is required on your part. A copy of this
message has been delivered to the sender.


__

SENDER:
__

Please update your virus detection software and clean
your system before attempting to resend this message.

If you are one of our customers, we suggest that you
use our WebMail system at:

http://YOURDOMAIN/webmail



**

Regards,

AntiVirus System
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] VFS calls after disconnect ?

2004-05-24 Thread yves . lejeune
Hello,

I am developing a VFS module which makes connexions to a database,
and disconnects from the database when SMB_VFS_DISCONNECT is called.
I have trouble when a map network drive is started: it seems that a 
double parallel connexion is
made, with a pattern like:
- SMB_VFS_CONNECT: my module connects to the database
- SMB_VFS_CONNECT: my module does nothing, since it is already 
initialized
- some other VFS calls
- SMB_VFS_DISCONNECT: my module disconnects from the database
-  some other VFS call, e.g. VFS_STAT, which fails because I 
disconnected from my database 
- SMB_VFS_CONNECT: my module connects to the database
- then the connection works well

If a Windows program maps the network drive and uses it immediately, it 
can fail if it uses it
before the initial SMB_VFS_DISCONNECT.

The share is used from Windows 2000 Professional.

Is is normal to have the initial double SMB_VFS_CONNECT and 
SMB_VFS_DISCONNECT ?
Should I count the number of SMB_VFS_CONNECT, and really disconnect only 
when the same
number of SMB_VFS_DISCONNECT is called ?
Or did I miss something else ?

Best regards,
Yves Lejeune.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] recovering files from .recyle

2004-05-24 Thread Mike Stewart
Thanks Robin,

I'm not sure if my Samba was compiled with the vfs options but I'll set up a
test machine with 2.2.8a and see what happens :-).  As far as the users
accessing the .recycle directory I won't be too concerned... in fact I
probably won't even tell then it exists, if it works I can earn a few
chocolate bars for doing something very complex and technical to recover
lost files for them :-)))

Mike

Monday morning, week's only just started so I'm still in good gumour.


- Original Message - 
From: Robin M. [EMAIL PROTECTED]
To: Mike Stewart [EMAIL PROTECTED]
Cc: Robin M. [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, May 21, 2004 4:11 PM
Subject: Re: [Samba] recovering files from .recyle


 On Fri, 21 May 2004, Mike Stewart Top-Posted:

  Hi Robin, sorry I can't help but I didn't know there was such an
option
  so I've looked at the how-to and it's not helping me :-( how did you set
it
  up as it's something I would really like to try.
 
  The how-to I'm looking at is for Samba v3 but I'm using Samba 2.2.8a -
do
  you know if it's possible in that version ?
 
 I have not tried version 2 of samba but I have read the documentation for
 version two and it seems to have all the same features, althoug the syntax
 is slightly different. This is what I have in my smb.conf. So far I can
 see that a directory .recycle is created but it does not show up in my
 windows browser, yet. I still have to get to the point where users can
 restore items.


 snip
 ;recyclebin options for samba version 3
 recycle:exclude = *.tmp *.temp *.o *.obj ~$*
 recycle:keeptree = True
 recycle:touch = True
 recycle:versions = True
 recycle:noversions = .doc|.xls|.ppt
 recycle:repository = .recycle
 recycle:maxsize = 1000
 create mask = 0777
 directory mask = 0777
 vfs objects = recycle
 /snip




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.687 / Virus Database: 448 - Release Date: 19/05/2004


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


[Samba] Samba 3.0.4, Solaris + active directory support

2004-05-24 Thread Austin, Ben

Hi,

I'm attempting to install samba 3.0.4 with active directory support on
Solaris 8. Is there any Howto document around?? Any help would be greatly
appreciated. 

Thanks in advance.

Ben


Our name has changed.  Please update your address book to the following format: 
[EMAIL PROTECTED].

This message contains information that may be privileged or confidential and is the 
property of the Capgemini Group. It is intended only for the person to whom it is 
addressed. If you are not the intended recipient,  you are not authorized to read, 
print, retain, copy, disseminate,  distribute, or use this message or any part 
thereof. If you receive this  message in error, please notify the sender immediately 
and delete all  copies of this message.

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


[Samba] Virus in mail from you.

2004-05-24 Thread amavis
Our virus checker has found potentially malicious code in a mail by
you. Delivery has been stopped. For further questions, please contact
[EMAIL PROTECTED]

The recipient(s) for this message were:
[EMAIL PROTECTED]

The message has been quarantined as 40b1b38f-578c.


CLAM Anti Virus found:
 Worm.SomeFool.Z


Message headers follow:
Return-Path: [EMAIL PROTECTED]
Received: from assistancescolaire.com (unknown [193.252.42.111])
by imc001.infomedia.fr (Postfix) with ESMTP id BE78833217
for [EMAIL PROTECTED]; Mon, 24 May 2004 04:34:10 -0400 (EDT)
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Information
Date: Mon, 24 May 2004 16:23:25 +0400
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary==_NextPart_000_0003_5D2A.426E
X-Priority: 1
X-MSMail-Priority: High
Message-Id: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba 3.0.4, Solaris + active directory support

2004-05-24 Thread Austin, Ben


Hi,

I'm attempting to install samba 3.0.4 with active directory support on
Solaris 8. Is there any Howto document around?? Any help would be greatly
appreciated. 

Thanks in advance.

Ben



Our name has changed.  Please update your address book to the following format: 
[EMAIL PROTECTED].

This message contains information that may be privileged or confidential and is the 
property of the Capgemini Group. It is intended only for the person to whom it is 
addressed. If you are not the intended recipient,  you are not authorized to read, 
print, retain, copy, disseminate,  distribute, or use this message or any part 
thereof. If you receive this  message in error, please notify the sender immediately 
and delete all  copies of this message.

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


RE: [Samba] Samba 3.0.4, Solaris + active directory support

2004-05-24 Thread Yohann Ferreira
Look at the Samba-How-To-Collection.pdf file, section Domain MemberShip
See ya !
Bertram

From: Austin, Ben [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: [Samba] Samba 3.0.4, Solaris + active directory support
Date: Mon, 24 May 2004 09:34:19 +0100
Hi,
I'm attempting to install samba 3.0.4 with active directory support on
Solaris 8. Is there any Howto document around?? Any help would be greatly
appreciated.
Thanks in advance.
Ben

Our name has changed.  Please update your address book to the following 
format: [EMAIL PROTECTED].

This message contains information that may be privileged or confidential 
and is the property of the Capgemini Group. It is intended only for the 
person to whom it is addressed. If you are not the intended recipient,  you 
are not authorized to read, print, retain, copy, disseminate,  distribute, 
or use this message or any part thereof. If you receive this  message in 
error, please notify the sender immediately and delete all  copies of this 
message.

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
_
Recevez par e-mail des émoticônes pour MSN Messenger 
http://g.msn.fr/FR1001/2275?url=http://www.msn.fr/ilovemessenger/premium/Default.asp?Ath=f

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


[Samba] Re: Windows XP machine not connecting to Samba 3.04 after upgrade

2004-05-24 Thread Wolfgang Riedmann
Hi,

as I wrote before: I'm not able to connect a Windows XP Pro notebook
to a Samba 3.0.4 server. All the other machines (most Windows XP Pro,
but also a few Windows 2000 and Windows 98) can connect without any
problem.
This one machine is not part of the NT domain because it needs to
connect 1 or 2 times a week only, and is on the road most of the
time.
The machine could connect flawlessy when the server was Samba 2.2.8a,
and even to 3.0.2.

I have searched with Google the internet and the newsgroups, but
couldn't find anything usable.

I have set log level to 2 but nothing usable could be found.

I have disabled packet signing on this machine - no change.

I have tried other users. All users can connect from all machines,
from this machine no user can connect.

Wolfgang

--
-- Wolfgang Riedmann
-- Individuelle EDV-Lösungen - Soluzioni informatiche personalizzate
-- I-39012 Meran, V. Laurin-Str. 2d
-- http://www.riedmann.it - [EMAIL PROTECTED]


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


[Samba] client access denied

2004-05-24 Thread Ronald Sigauke
Running TRU64 5.1+ on client servers.Client has dedicated network.
Samba configured and running on both servers.Windows 2000 clients on same 
subnet mask as the servers connect to the shares without any problems but those 
on other subnet mask cannot connect even though they can see the servers in 
network neighbourhood.

security=share

Message produced when trying to connect is :

//servername is not accessible
There are currently no logon servers available to service the logon request.





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


[Samba] Samba 3.0.4, Solaris + active directory support

2004-05-24 Thread Austin, Ben

Hi,

I'm attempting to install samba 3.0.4 with active directory support on
Solaris 8. Is there any Howto document around?? Any help would be greatly
appreciated. 

Thanks in advance.

Ben





Our name has changed.  Please update your address book to the following format: 
[EMAIL PROTECTED].

This message contains information that may be privileged or confidential and is the 
property of the Capgemini Group. It is intended only for the person to whom it is 
addressed. If you are not the intended recipient,  you are not authorized to read, 
print, retain, copy, disseminate,  distribute, or use this message or any part 
thereof. If you receive this  message in error, please notify the sender immediately 
and delete all  copies of this message.

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


[Samba] SMB Signature problem against WIN2K3 server using samba3.0.0 release( Samba Developers Response requested)

2004-05-24 Thread Ram Panguluri
There are many discussions about this problem, but none of the
developers of samba stepped in and gave any good explanation.
 
Is this solved in Samba3.0.0 official release? (In what's new section of
3.0.0rc4, the 14th point is win2k3 security settings related matter. Is
this the fix for SMB signature?)
 
In one of the discussions there is a mention of disabling security
option of Digitally Sign Communications and resetting the Admin password
to make it work with Win2K3.  Is this required for getting samba3.0.0 to
work with win2k3 server?
 
In one of the discussions there is a suggestion to use MIT Krb 1.3.1 for
encryption type match. I am using the correct version only. Here is the
output:
$ strings libkrb5.so | grep BRAND
KRB5_BRAND: krb5-1-3-1-final 1.3.1 20030730
Is this not enough to make samba3.0.0 work?
  
Any other discussions/comments on this problem are appreciated.
 
Thanks
=
Ram Panguluri
Member of Technical Staff
Juniper Networks Inc.
=
This email contains material that is confidential. The content of this
email is for the sole use of the intended recipient(s). Any review or
distribution by persons other than the intended recipient(s) without the
express permission of Juniper Networks Inc. is strictly prohibited. If
you are not the intended recipient, please contact the sender and
delete/destroy all copies of this email and any related attachments.
Juniper does not guarantee the accuracy or completeness of third party
materials or information.
 
 
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] samba 3 ads/domain member server has some problems

2004-05-24 Thread Farkas Levente
hi,
after we migrate our samba server SERVER from 2.x to 3.0.4 (which was 
not so easy and I can recommend everyone the convmv tool to convert the 
old filenames to the new one utf8), and we (finaly) able to join to the 
ADS server (the samba server is a simple ADS memeber server).
we have a few problems:

- the win2000 clients can see the shares on the samba server if and only 
if they are member of the same domain and the user login to the same 
domain as the samba server. ie. if we has DOM1 and the win2000 client 
login to local workstation (or other domain) rather than the domain of 
the samba server the we got the following error:
\\SERVER is not accessible.
 The trust relationship between this workstation and the primary domain 
failed.

- another problem is that the win9x clients are no longer able to 
connect to the samba sever. they alway got a prompt for the password for 
\\SERVER\IPC$. but of course they don't know such a password.

- the worst thing is that I try to use samba 3.0.4 as security = DOMAIN 
rather then the new ADS, but it's even worst! it seems that samba 3 is 
no longer able to take part as a NT style domain member in an ads 
enviroment (while at the same time samba 2 is able to do that and can be 
used from both win9x and win2000 clients.

does anyone has any success with samba 3 or with the above problems. it 
would be very important for us.
thank in advance for any help.
yours.

--
  Levente   Si vis pacem para bellum!
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba 3.0.4 fails to compile on Solaris 9

2004-05-24 Thread khalid . m . alvi
I have been trying to compile Samba 3.0.4 on a SunFire v880 running Solaris
9 but make generates a fatal error.  My goal is to get Samba compiled
with the --with-ldapsam option so that I can use SunOne Directory Server
5.2 as the back-end repository for user authentication.  I have gcc version
3.3.2 installed in /usr/local/bin/gcc which I have used to successfully
compile other applications.

This is one of my ./configure attempts:

# ./configure --prefix=/usr/local/samba-3.0.4 --with-ldapsam --with-ldap \
 --with-quotas

Using libraries:
LIBS = -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl
LDAP_LIBS = -lldap -llber
AUTH_LIBS =
checking configure summary... yes
configure: creating ./config.status
config.status: creating include/stamp-h
config.status: creating Makefile
config.status: creating script/findsmb
config.status: creating smbadduser
config.status: creating script/gen-8bit-gap.sh
config.status: creating include/config.h

# make
Using FLAGS =  -O  -Iinclude -I/sysadmin/samba/samba-3.0.4/source/include
-I/sys
admin/samba/samba-3.0.4/source/ubiqx
-I/sysadmin/samba/samba-3.0.4/source/smbwra
pper  -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/sysadmin/samba/samba-3.0
.4/source
  LIBS = -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl
  LDSHFLAGS = -G
  LDFLAGS =
Compiling dynconfig.c
In file included from include/includes.h:891,
 from dynconfig.c:21:
include/proto.h:589: error: parse error before LDAP_CONST
*** Error code 1
make: Fatal error: Command failed for target `dynconfig.o'

 I have tried various options with configure but they all generate the same
exact error.  My attempts includes running ./configure with no options at
all and with --with-included-popt option as was suggested in one of the
threads.  (I downloaded popt and installed it in /usr/local.) What am I
doing wrong? Any help will be greatly appreciated.

Doing ./configure -help indicates that the option --with-ldap has the
default value of yes and the option --with-ldapsam has the default value
of no.  So I downloaded the precompiled version of Samba 3.0.2a from
www.sunfreeware.com to take advantage of the defaults but when I configure
it for LDAP and try to start it, the smbd and nmbd logs say that ldap
server and ldap ports are unknown parameters.  Any suggestions?

Khalid Alvi





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


[Samba] Samba 3 write performance drop on files 16 MB

2004-05-24 Thread DKrause
 I have been running performance tests on our Debian-Samba 3 file
 server.  It is running the 2.4 kernel on a ProLiant DL380 G3 server
 (Full Specs below).  For a windows client, we are running Windows 2003
 server on the exact same hardware.  They are both running at Gigabit
 speed.  
 What we have found is that on files 16MB and smaller we can get better
 performance Windows client to Linux Server through SMB than we can get
 Windows to local disk.  (Both servers have the same disk subsystem)
 We get around 120,000KB/sec throughput.  But after 16MB, the
 performance drops until it flatlines from 32MB on at 5000 to
 7000KB/sec throughput.  This drop does not occur on either server
 running the tests locally, which shows the drop is not due to memory
 caching or controller caching.  Additionally, SMB reads stay constant
 at around 50 to 60,000KB per second.
 I ran ethereal and found one surprising difference between the 16MB
 and 32MB transfers.  For approximately .8 seconds before the transfer
 begins, the following conversation occurs over and over:
 
 WindowsLinux Write AndX Request
 LinuxWindows Write AndX Response
 WindowsLinux Trans2 Request, QUERY_FILE_INFO, FID: 0x212a, Query File
 Standard Info
 LinuxWindows Trans2 Response, QUERY_FILE_INFO
 
 I have tried all of the recommended SAMBA performance tweaks that I
 can find, but none seem to affect this dropoff.  Has anyone seen this?
 It appears to be a bug in either Samba or Windows 2003.
 
 Thanks,
 David
 
 HEWLETT PACKARD COMPUTER: ProLiant DL380 G3 
 Dual P4 2.8 GHz Xeon Socket Processors with 512KB cache (FULL
 processor speed) 
 1GB RAM PC2100 DDR SDRAM 200MHz
 400MHz System Bus Speed
 Dual NC7781 PCI-X Gigabit NICs
 Integrated 5i Plus 64MB cache 
 RAID 5 Hard disk array: 6x 146GB 1.0 Hot-Plug Universal U320 SCSI 10K
 RPM
 
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Samba 3.0.4 fails to compile on Solaris 9

2004-05-24 Thread ww m-pubsyssamba

Hi Khalid,

I've been looking at some possible configurations with Samba on Solaris
and SunONE Directory server for some time so I'll tell you what I know.

Firstly are you aware that currently Samba does not work with Sun's libLDAP
libraries? You must install openLDAP libraries in order to get any LDAP/AD
functionality working on Solaris. This may be why your compile is failing.
Secondly I know that having both Sun and OpenLDAP libraries can cause some
conflicts, to the extent I am not currently using LDAP as a backend for
anything on my Solarirs Samba machines. I have raised the problem with Sun
UK and I know this issue is also raised with Sun Germany, who have apparently
identified a problem but are yet to confirm whether they will fix it.
Sorry I don't have anything more helpful to contribute but just thought I
should warn you.
Incidentally there is no issues I'm aware of between SunONE DS and Samba,
only the LDAP libraries found on Solaris machines...

thanks Andy.


I have been trying to compile Samba 3.0.4 on a SunFire v880 running Solaris
9 but make generates a fatal error.  My goal is to get Samba compiled
with the --with-ldapsam option so that I can use SunOne Directory Server
5.2 as the back-end repository for user authentication.  I have gcc version
3.3.2 installed in /usr/local/bin/gcc which I have used to successfully
compile other applications.

This is one of my ./configure attempts:

# ./configure --prefix=/usr/local/samba-3.0.4 --with-ldapsam --with-ldap \
 --with-quotas

Using libraries:
LIBS = -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl
LDAP_LIBS = -lldap -llber
AUTH_LIBS =
checking configure summary... yes
configure: creating ./config.status
config.status: creating include/stamp-h
config.status: creating Makefile
config.status: creating script/findsmb
config.status: creating smbadduser
config.status: creating script/gen-8bit-gap.sh
config.status: creating include/config.h

# make
Using FLAGS =  -O  -Iinclude -I/sysadmin/samba/samba-3.0.4/source/include
-I/sys
admin/samba/samba-3.0.4/source/ubiqx
-I/sysadmin/samba/samba-3.0.4/source/smbwra
pper  -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/sysadmin/samba/samba-3.0
.4/source
  LIBS = -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl
  LDSHFLAGS = -G
  LDFLAGS =
Compiling dynconfig.c
In file included from include/includes.h:891,
 from dynconfig.c:21:
include/proto.h:589: error: parse error before LDAP_CONST
*** Error code 1
make: Fatal error: Command failed for target `dynconfig.o'

 I have tried various options with configure but they all generate the same
exact error.  My attempts includes running ./configure with no options at
all and with --with-included-popt option as was suggested in one of the
threads.  (I downloaded popt and installed it in /usr/local.) What am I
doing wrong? Any help will be greatly appreciated.

Doing ./configure -help indicates that the option --with-ldap has the
default value of yes and the option --with-ldapsam has the default value
of no.  So I downloaded the precompiled version of Samba 3.0.2a from
www.sunfreeware.com to take advantage of the defaults but when I configure
it for LDAP and try to start it, the smbd and nmbd logs say that ldap
server and ldap ports are unknown parameters.  Any suggestions?

Khalid Alvi





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


Re: [Samba] Samba 3.0.4 fails to compile on Solaris 9

2004-05-24 Thread Mac

I have been trying to compile Samba 3.0.4 on a SunFire v880 running Solaris
9 but make generates a fatal error.  My goal is to get Samba compiled
with the --with-ldapsam option so that I can use SunOne Directory Server
5.2 as the back-end repository for user authentication.  I have gcc version
3.3.2 installed in /usr/local/bin/gcc which I have used to successfully
compile other applications.



I tripped over something similar to this on the same hardware and O/S
(although it's nothig to do with the hardware, Ibelieve).

THe problem is proably that ./configure has found the Solaris supplied
LDAP which simply isn't good enough for Samba.

Here's my notes on how I solved it:-

26-Apr-2004 Compiling OpenLDAP-2.1.30 from www.openldap.org
needed:-
setenv CC gcc
./configure --prefix=/usr/local/openldap/2.1.30 --disable-slapd
make depend
make


set path = ( $path /usr/local/gcc/bin )
setenv LDFLAGS '-L /usr/local/openldap/2.1.30/lib'
setenv CFLAGS '-I /usr/local/openldap/2.1.30/include'
./configure --exec-prefix=/usr/local/samba/3.0.2a \
--mandir=/usr/local/samba/3.0.2a/man \
--with-configdir=/usr/local/samba/etc \
--with-codepagedir=/usr/local/samba/share \
--with-ads


I was trying to get AD support to work, but I think your problem and mine
are both LDAP based.

One thing I did then note, was that I had to set:-

LD_LIBRARY_PATH

to have

/usr/local/openldap/2.1.30/lib

in it, or all the Samba programs fell over with an 'ld.so' error on startup.

I stuck this in the init.d/samba script for autostart and in my .cshrc and/or .profile
to get it to work interactively.

Hope this helps,



   Mac
  Assistant Systems Adminstrator @nibsc.ac.uk
[EMAIL PROTECTED]
   Work: +44 1707 641565  Everything else: +44 7956 237670 (anytime)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] problem adding PC to domain

2004-05-24 Thread David Baker
I am running Red Hat 9 and Samba 3.0.4.  I have a Win2K PC.  I have made the
registry change regarding requiresignorseal and signsecurechannel.  When I
try to join the domain it pops up the username and password.  I put in root
and it's password (which I have added/enabled with Swat).  However I get the
following results.
 
 
The following error occurred attempting to join the domain domain:
The user name could not be found.
 
 
Here is my smb.conf file.
[global]

workgroup = DOMAIN

server string = rh1

max log size = 0

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u

logon script = login.bat

logon home = \\%L\%U\.profile

domain logons = Yes

os level = 65

preferred master = Yes

domain master = Yes

dns proxy = No

ldap ssl = no

admin users = root

[netlogon]

comment = The domain logon service

path = /etc/samba

browseable = No

[public]

comment = Public

path = /public

read only = No

[homes]

comment = Home Directories

valid users = %S

read only = No

create mask = 0664

directory mask = 0775

browseable = No

 
 
 
Any ideas?
 
Thanks in advance.
 
David
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] recovering files from .recyle

2004-05-24 Thread Mike Stewart
Hi Matze/Robin.  I put the lines Matze suggested into my [Mike] share but
running testparm gives the following errors (it does pass vfs objects =
recycle  OK though).  The lines Robin suggested gave the same errors.

Am I doing wrong ?  Samba 2.2.7a/Slackware Linux

Thanks, Mike.

Errors -

Load smb config files from /etc/samba/smb.conf
Processing section [Ray]
Processing section [Karen]
Processing section [Private]
Processing section [Mike]
Unknown parameter encountered: recycle:repository
Ignoring unknown parameter recycle:repository
Unknown parameter encountered: recycle:versions
Ignoring unknown parameter recycle:versions
Unknown parameter encountered: recycle:keeptree
Ignoring unknown parameter recycle:keeptree
Loaded services file OK.


My smb.conf is :

[global]
workgroup = PTADMIN
netbios name = PTSAMBA
server string = PT Samba Server %v
encrypt passwords = Yes
update encrypted = Yes
ssl CA certDir = /etc/ssl/certs
log file = /var/log/samba/log.%m
max log size = 50
time server = Yes
preferred master = False
local master = No
domain master = False
wins server = 172.16.1.50
hosts allow = 172.16.15.52
veto files = /*.mp3/
hide files =
/DesktopFolderDB/resource.frk/TheVolumeSettingsFolder/TheFindByContentFolder
/

[Ray]
comment = Ray's home directory
path = /staff/ray
write list = ray rayrand
read only = No
inherit permissions = Yes
hosts allow = ray rayrand

[Karen]
comment = Karen's home directory
path = /staff/karen
write list = karen ray
read only = No
hosts allow = karen mike ray

[Private]
comment = For Ray/Mike ONLY
path = /staff
admin users = mike ray rayrand
read only = No
hosts allow = mike ray rayrand PTMaytas

[Mike]
comment = Mike's home directory
path = /staff/mike
write list = mike
read only = No
hosts allow = mike

vfs object = recycle
recycle:repository=.recycle/%U
recycle:versions=True
recycle:keeptree=True


 Robin M. wrote:

 I have created a recylce bin following the how-to, but I cannot figure
out
 how end users can restore items from the samba recycle bin.
 
 
 
 If you have this in your share:

 vfs object = recycle
 recycle:repository=.recycle/%U
 recycle:versions=True
 recycle:keeptree=True

 every user can go to his recycle-folder and restore his own data.

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




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.687 / Virus Database: 448 - Release Date: 16/05/2004


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


Re: [Samba] samba for Rational Clearcase.

2004-05-24 Thread Eric Boehm
On Sat, May 22, 2004 at 02:12:27AM -0400, Shashidhar SR wrote:
 Shashidhar == Shashidhar  [EMAIL PROTECTED] writes:

Shashidhar Hello,

Shashidhar I am Shashidhar SR Working for Siemens Communication
Shashidhar Software in Bangalore, INDIA as a Configuration
Shashidhar Manager for Clearcase.

Shashidhar I need some help regarding the samba configuration at
Shashidhar our site.

Shashidhar First Let me Explain our Environment:

Your question would be better answered on the ClearCase mailing list

See

http://www-136.ibm.com/developerworks/rational/

OR

http://www-106.ibm.com/developerworks/forums/dw_forum.jsp?forum=333cat=24hideBody=true

Shashidhar - We are Using samba 2.2.8a on Solaris 9.  - We are
Shashidhar using samba as an interop from Solaris 9 box to
Shashidhar winnt/w2k/win-xp clients.  - On Solaris we have
Shashidhar installed IBM Rational Clearcase and we have around 20
Shashidhar VOBs created.

Shashidhar Now we are successfully able to access the
Shashidhar files/directories which are stored on unix from
Shashidhar windows clients.

Shashidhar Some times we get an error saying Incorrect function
Shashidhar on the windows clients, when trying to access some
Shashidhar .txt/.cpp/.h or any other text files.  and this error
Shashidhar is very sporadic, for some people it's works and for
Shashidhar others it dosen't, eventhough the permissions are same
Shashidhar for all the users.

This is usually a permission problem related to the ALBD service
account. It may also be due to a permission problem on the VOB storage
directories.

What does the view_log on the client say?

What does the samba log for the client say? Do you have 

  log file = /usr/local/samba/var/log.%m

in your smb.conf file? This will make it easier to debug by creating a
separate log file for each client.

I've attached a text file with some initial troubleshooting steps you
can follow. This file is extracted from some WEB pages I wrote about
setting up and configuring Samba for ClearCase.


-- 
Eric M. Boehm  /\  ASCII Ribbon Campaign
[EMAIL PROTECTED]   \ /  No HTML or RTF in mail
X   No proprietary word-processing
Respect Open Standards / \  files in mail

  text_file_delta error


Unable to construct cleartext for object X in VOB
Error: Type manager text_file_delta failed construct_version
operation.

This is probably the most common error to occur in an interop
environment. The error is most likely due to a failure to map the ALBD
service account to a valid UNIX™ account.

The client may see this as the error message Incorrect Function.. The
error text above will be logged in the view_log on the view server host.


  Steps to debug the problem

   1.

  Identify the ALBD service account. There are several methods that
  can use used to find the account used to run the ALBD service.

 1.

Windows NT 4.0

   1. Select Start - Settings - Control Panel - Services
   2. Double Click on the Atria Location Broker service
   3.

  Text Box This account contains the name of the ALBD
  service account. service.

 2.

Windows 2000/XP

   1. Start - Run - services.msc
  OR
  Start - Settings - Control Panel - Administrative
  Tools - Services
   2. Double Click on the Atria Location Broker service
   3. Click on Log On Tab
   4.

  Text Box This account contains the name of the ALBD
  service account. service.

 3.

All versions of Windows

   1. Start - Run - regedit
   2. Find key
  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Albd
   3.

  Value ObjectName contains the name of the ALBD
  service account.

   2.

  Does the ALBD service account have a corresponding UNIX™ account?

 1.

YES. Proceed to the next step

 2.

NO. Check to see if the Samba username.map file contains an
entry to map the ALBD service account to a valid UNIX™
account that also has access to the VOB(s). See Configuring
username.map config_username_map.html for information on
how to set up this file.

If username.map has been modified, new connections will pick
up the changes. If you want to affect existing connections,
you will need to do one of:

   1.

  Send a HUP signal to all running smbd processes. This
  will cause the smbd processes to reread the
  configuration file. You must be root to send the signal.

  kill -HUP `smbstatus -p`
  

   2.


Re: [Samba] kerberos5 / gssapi support in mount.cifs?

2004-05-24 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Timo Veith wrote:
| Hi,
|
| allow me another question. Is it planned or already
| implemented to support  gssapi with mount.cifs?
It is planned according to what I understand from Steve French.
Just not done yet.


cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
...a hundred billion castaways looking for a home. --- Sting
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAsfNvIR7qMdg1EfYRAl4uAKCYbzoa8ei5N45cOnZ4R8I8prIQUwCfTj7F
o1TAv4HlkBoDiP5twQhuSFw=
=8Ixh
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] sambaID

2004-05-24 Thread Susan Evans
I am receiving the following error message in my slapd.conf file.

index attribute sambaID undefined.
I am running Samba 3.0.2 on a Linux Enterprise 3.0 server. I have the
samba.schema in my /etc/openldap/schema directory. Obviously the sambaID
is not in the samba schema file. Is there an updated copy of the samba
schema file for version 3.0.2?  I have looked.
Thank you
Susan

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


Re: [Samba] Samba, pam, and kerberos

2004-05-24 Thread pll+samba

In a message dated: Wed, 19 May 2004 21:13:39 EDT
Adam Tauno Williams said:

 Im not a complete expert in this area, but. If you try winbind its got to
 have a correctly configured kerberos client to contact the AD. Could you try
 this but specify your MIT Kerberos kdc instead.

Samba cannot currently acquire Kerberos tickets on behalf of the client

I'm not asking for Samba to acquire Kerberos tickets, nor do I 
require that the client get tickets.  All I want to do is use 
Kerberos to *authenticate* the clients.

In theory, shouldn't I be able to have the client send the password 
to Samba, then have Samba use PAM to see if that password is 
legitimate?  What PAM does with it (i.e. pass it off to Kerberos) 
should be transparent to Samba and the the client.  

(though, I'm likely to need to have the clients configured to use 
cleartext passwords, which is not great, and really defeats the point 
of Kerberos ! :(
-- 
Seeya,
Paul

GPG Key fingerprint = 1660 FECC 5D21 D286 F853  E808 BB07 9239 53F1 28EE

 If you're not having fun, you're not doing it right!


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


Re: [Samba] Samba, pam, and kerberos

2004-05-24 Thread pll+samba

In a message dated: Wed, 19 May 2004 22:05:07 EDT
Adam Tauno Williams said:

 Ahh well, worth a shot.

There is some development effort to integrate OpenLDAP, Samba, 
Heimdal.  So you will be able to do this someday.

Why Heimdal?  Why not MIT, is it a US encryption export problem, or 
is Heimdal perceived to be better than MIT for some reason?
(or, is it because that's what OpenLDAP used and has working, so it's 
less effort to get Samba to work with that?).
-- 
Seeya,
Paul

GPG Key fingerprint = 1660 FECC 5D21 D286 F853  E808 BB07 9239 53F1 28EE

 If you're not having fun, you're not doing it right!


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


[Samba] Virtual users

2004-05-24 Thread Dwight Tovey

I'd like a bit of a Sanity Check to make sure I understand the process.

We are setting up filesharing on a Linux server via Samba (3.0.2).  We
would like to give the users personal space (home directories), but we
don't want to add them as Linux users (no entries in /etc/passwd).  The
users are defined in an LDAP directory.

If I understand it correctly, in order to do this we will need to use
winbindd and define a range of UIDs and GIDs for winbindd to use.  When a
user goes to connect to the server, winbindd will authenticate against
LDAP, then map this user to a uid/gid from this range and add this mapping
to a database that it maintains.

Questions:
It looks like winbindd doesn't authenticate directly through LDAP but
instead goes through PAM.  Is this correct or did I miss something?

Can we define the user's home directory as an attribute in LDAP?

Is it possible to define group mappings?

Anthing else I should be concerned about?

Thanks in advance for any info.
/dwight

-- 
Dwight N. Tovey
email: [EMAIL PROTECTED]
web: http://www.dtovey.net/~dwight
---
If you have never been hated by your child, you have never been a parent.

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


[Samba] smb domain members..

2004-05-24 Thread Collen Blijenberg MLHJ
Well, i got the follow..

i got a pdc and bdc up and running under samba 3.0.4.. (no worry here)
no i need to install a application server (also a samba server)

and i'm wondering, what i could do/use best..
i need to spread the unix users  groups to this app-server. (acl
support)

so what to use, winbindd, nss or just use a rdist to copy the passwd
files ??

i  was playing with winbind.. but i can not make the users  groups
(wbinfo work fine) to be shown in samba..

anny sugestions, how to use winbind with domain member servers ??
l8r  thx
-
Collen Blijenberg (Systeem/Netwerk Beheerder)

Montessori Lyceum 
Herman Jordan
Zeist

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


[Samba] XP difficulties on 2.09

2004-05-24 Thread David Rankin
Guys,

I think the answer to my question is to upgrade samba. However, since
this is my production machine, I thought I would try and understand the
problems I'm having a little better to insure that an upgrade will correct
my issues. My setup - Mandrake 7.2, samba 2.09. Win98, ME and XP clients.
The 98 and ME machines have no problems. The XP machine has some
intermittent slowness accessing files and printing to a printer hanging off
a ME machine. The smb log shows the following:

This seems to be associated with the printing delay:

[2004/05/24 08:38:22, 0] smbd/nttrans.c:call_nt_transact_ioctl(2516)
  call_nt_transact_ioctl: Currently not implemented.

This seems to be associated with the file access slowness:

[2004/05/24 08:49:27, 0] smbd/oplock.c:oplock_break(976)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file rankinlawfirm/clients/Rosenberger,
Fran/Pleadings/NOTICE Second Amended- Deposition Crawford.doc (dev = 308,
inode = 1371033).
[2004/05/24 08:49:27, 0] smbd/oplock.c:oplock_break(1050)
  oplock_break: client failure in oplock break in file
rankinlawfirm/clients/Rosenberger, Fran/Pleadings/NOTICE Second Amended-
Deposition Crawford.doc
[2004/05/24 08:49:27, 0] smbd/reply.c:reply_lockingX(4163)
  reply_lockingX: Error : oplock break from client for fnum = 5056 and no
oplock granted on this file (rankinlawfirm/clients/Rosenberger,
Fran/Pleadings/NOTICE Second Amended- Deposition Crawford.doc).

Obviously the file access problem is oplock related. I haven't a clue as
to the call_nt_transact_ioctl message. Anybody know if an upgrade to 2.2.9
or 3.0.4 will resolve the issues? Any bits of wisdom will be greatly
appreciated.


--
David C. Rankin, J.D., P.E.
RANKIN * BERTIN, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax
www.rankin-bertin.com
--

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


[Samba] Build Errors, torture tests 3.0.x/HP-UX 11i

2004-05-24 Thread Ryan Novosielski
I get the following errors when building the torture suite under HP-UX 11i
with HP AnsiC. They are actually somewhat similar to the errors that I get
trying to build the whole package with gcc:

Compiling torture/torture.c
In file included from include/includes.h:109,
 from torture/torture.c:23:
/usr/include/sys/socket.h:484: error: parse error before sendfile
/usr/include/sys/socket.h:484: error: parse error before bsize_t
/usr/include/sys/socket.h:486: error: parse error before sendpath
/usr/include/sys/socket.h:486: error: parse error before bsize_t
/usr/include/sys/socket.h:493: error: parse error before sendfile64
/usr/include/sys/socket.h:493: error: parse error before bsize64_t
/usr/include/sys/socket.h:495: error: parse error before sendpath64
/usr/include/sys/socket.h:495: error: parse error before bsize64_t
In file included from /usr/include/sys/mp.h:55,
 from /usr/include/sys/malloc.h:59,
 from /usr/include/net/netmp.h:53,
 from /usr/include/net/if.h:59,
 from include/includes.h:275,
 from torture/torture.c:23:
/usr/include/machine/sys/setjmp.h:45: error: redefinition of `struct label_t'
In file included from torture/torture.c:23:
include/includes.h:495: error: conflicting types for `socklen_t'
/usr/include/sys/socket.h:199: error: previous declaration of `socklen_t'
*** Error exit code 1

Stop.

...any suggestions for me? Is this supposed to work under HP-UX?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PLEASE TEST NFS quota module

2004-05-24 Thread Stefan (metze) Metzmacher
Hi *,
I have worked on a nfs quota module, based on some some patches I got 
and the old sun nfs quota implementeation in smbd/quota.c

for be it build's and load fine...
quota set support is missing
But I haven't a nfs share with quotas, so I can't test it, I'm not shure 
if this can work ok...

So what I need is someone who tests this and maybe fix some bugs...
Feedback please
--
metze
Stefan Metzmacher metze at samba.org www.samba.org
Index: Makefile.in
===
--- Makefile.in (revision 839)
+++ Makefile.in (working copy)
@@ -31,6 +31,7 @@
 [EMAIL PROTECTED]@
 [EMAIL PROTECTED]@
 [EMAIL PROTECTED]@
[EMAIL PROTECTED]@
 [EMAIL PROTECTED]@
 [EMAIL PROTECTED]@
 [EMAIL PROTECTED]@
@@ -346,6 +347,7 @@
 VFS_EXPAND_MSDFS_OBJ = modules/vfs_expand_msdfs.o
 VFS_SHADOW_COPY_OBJ = modules/vfs_shadow_copy.o
 VFS_AFSACL_OBJ = modules/vfs_afsacl.o
+VFS_NFS_QUOTA_OBJ = modules/vfs_nfs_quota.o
 
 PLAINTEXT_AUTH_OBJ = auth/pampass.o auth/pass_check.o
 
@@ -816,7 +818,7 @@
@echo Linking $@
@$(CC) $(FLAGS) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) \
$(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
-   $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) @POPTLIBS@
+   $(ACL_LIBS) $(PASSDB_LIBS) $(VFS_LIBS) $(LIBS) @POPTLIBS@
 
 bin/[EMAIL PROTECTED]@: $(NMBD_OBJ) @BUILD_POPT@ bin/.dummy
@echo Linking $@
@@ -947,7 +949,7 @@
 
 bin/[EMAIL PROTECTED]@: $(VFSTEST_OBJ) @BUILD_POPT@ bin/.dummy
@echo Linking $@
-   @$(CC) $(FLAGS) -o $@ $(VFSTEST_OBJ) $(LDFLAGS) $(TERMLDFLAGS) $(TERMLIBS) 
$(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) $(ACL_LIBS) $(LIBS) @POPTLIBS@ $(KRB5LIBS) 
$(LDAP_LIBS)
+   @$(CC) $(FLAGS) -o $@ $(VFSTEST_OBJ) $(LDFLAGS) $(TERMLDFLAGS) $(TERMLIBS) 
$(VFS_LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) $(ACL_LIBS) $(LIBS) @POPTLIBS@ 
$(KRB5LIBS) $(LDAP_LIBS)
 
 bin/[EMAIL PROTECTED]@: $(SMBICONV_OBJ) @BUILD_POPT@ bin/.dummy
@echo Linking $@
@@ -1223,6 +1225,11 @@
@$(SHLD) $(LDSHFLAGS) -o $@ $(VFS_AFSACL_OBJ:.o=.po) \
@[EMAIL PROTECTED] [EMAIL PROTECTED]
 
+bin/[EMAIL PROTECTED]@: $(VFS_NFS_QUOTA_OBJ:.o=.po)
+   @echo Building plugin $@
+   @$(SHLD) $(LDSHFLAGS) -o $@ $(VFS_NFS_QUOTA_OBJ:.o=.po) @NFS_QUOTA_LIBS@ \
+   @[EMAIL PROTECTED] [EMAIL PROTECTED]
+
 bin/[EMAIL PROTECTED]@: $(WBINFO_OBJ) @BUILD_POPT@ bin/.dummy
@echo Linking $@
@$(LINK) -o $@ $(WBINFO_OBJ) $(LIBS) @POPTLIBS@
Index: modules/vfs_nfs_quota.c
===
--- modules/vfs_nfs_quota.c (revision 0)
+++ modules/vfs_nfs_quota.c (revision 0)
@@ -0,0 +1,292 @@
+/* 
+ * NFS Quotas
+ *
+ * Copyright (C) Stefan (metze) Metzmacher 2003
+ * Copyright (C) Alan Romeril [EMAIL PROTECTED] 2000
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *  
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *  
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include includes.h
+
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_QUOTA
+
+static SMB_BIG_UINT nfs_quota_disk_free(vfs_handle_struct *handle, connection_struct 
*conn, const char *path,
+   BOOL small_query, SMB_BIG_UINT *bsize,
+   SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize);
+static int nfs_quota_get_quota(vfs_handle_struct *handle, connection_struct *conn, 
enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dq);
+static int nfs_quota_set_quota(vfs_handle_struct *handle, connection_struct *conn, 
enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dq);
+
+
+#include rpcsvc/rquota.h
+
+/
+normalise for DOS usage 
+/
+static void nfs_disk_norm(BOOL small_query, SMB_BIG_UINT *bsize,SMB_BIG_UINT 
*dfree,SMB_BIG_UINT *dsize)
+{
+   /* check if the disk is beyond the max disk size */
+   SMB_BIG_UINT maxdisksize = lp_maxdisksize();
+   if (maxdisksize) {
+   /* convert to blocks - and don't overflow */
+   maxdisksize = ((maxdisksize*1024)/(*bsize))*1024;
+   if (*dsize  maxdisksize) *dsize = maxdisksize;
+   if (*dfree  maxdisksize) *dfree = maxdisksize-1; 
+   /* the -1 should stop applications getting div by 0
+  errors */
+   }  
+
+   while (*dfree  WORDMAX || 

[Samba] vscan permission

2004-05-24 Thread Francesco Defilippo
Hello, I have installed samba-vscan module but when I
try to read a test file:
May 24 12:14:12 va2 smbd_vscan-clamav[15035]: ERROR: file 
/home/testav/eicar.com not found, not readable or an error occured

why ?
my smb.conf for homes:
[homes]
   comment = home of %U, %u
   read only = No
   valid users = %U
   create mask = 0644
   directory mask = 0775
   browseable = No
   vfs object = vscan-clamav
   vscan-clamav: config-file = /etc/samba/vscan-clamav.conf

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


Re: [Samba] vscan permission

2004-05-24 Thread Andreas
On Mon, May 24, 2004 at 04:37:51PM +0200, Francesco Defilippo wrote:
 May 24 12:14:12 va2 smbd_vscan-clamav[15035]: ERROR: file 
 /home/testav/eicar.com not found, not readable or an error occured
 
 why ?

If you are using a vscan-clamav build which uses the clamd daemon (the
default, afaik), then you need to make sure that the clamav user
has access to that file.

The latest vscan-clamav version, however, has an option to be built with
libvlamac support instead of clamd. In that case, it uses the same privileges
as the user connected to the share to perform the scan.

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


Re: [Samba] vscan permission

2004-05-24 Thread daves-jr




Hi Francesco

My solution isn't best but ...
Try to set clamav user to uid 0
Was unique way that I found...
---
Emerson Henrique Kfuri Pereira

Divisão de Atendimento e Consultoria
CECOM - Reitoria - UFMG
Telefone: 34994009
---


   
 Francesco 
 Defilippo 
 francesco.defiliPara
 [EMAIL PROTECTED]   [EMAIL PROTECTED]   
 Enviado Por:   cc
 samba-bounces+dav 
 [EMAIL PROTECTED] Assunto
 ts.samba.org  [Samba] vscan permission
   
   
 24/05/2004 11:37  
   
   
   




Hello, I have installed samba-vscan module but when I
try to read a test file:

May 24 12:14:12 va2 smbd_vscan-clamav[15035]: ERROR: file
/home/testav/eicar.com not found, not readable or an error occured

why ?

my smb.conf for homes:

[homes]
comment = home of %U, %u
read only = No
valid users = %U
create mask = 0644
directory mask = 0775
browseable = No
vfs object = vscan-clamav
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf



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


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


Re: [Samba] vscan permission

2004-05-24 Thread Andreas
On Mon, May 24, 2004 at 11:56:16AM -0300, [EMAIL PROTECTED] wrote:
 Hi Francesco
 
 My solution isn't best but ...
 Try to set clamav user to uid 0
 Was unique way that I found...

If you have ACL support in the filesystem (kernel 2.6, for example),
than you can also give permission to the clamav user to read the whole
/home dir/subdir, for example. But perhaps best would be to recompile
vscan-clamav with libclamav support.

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


[Samba] AD UID association

2004-05-24 Thread Gustavo Papaleo
Hi,
 
I'm planning a migration from a Microsoft Exchange Server to 
Linux+Sendmail+Samba. There are thousands of users in AD that should login via POP3 to 
receive their messages. It's working perfectly but I'll have to login each user so 
winbind could create UID association for each one of them (actually I'm doing it with 
wbinfo -a user%password). Of course I'll try not to reset all the passwords to 
accomplish this but I can't find a way to do the association stuff without the 
password 
Is there anyway to do it?
 
Thanx in advance,
Gustavo Papaléo
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
Microsoft Certified Systems Administrator
Certificação Profissional Conectiva Linux
e-partner - Building IT Solutions
www.e-partner.com.br blocked::http://www.e-partner.com.br/  
Av. José de Alencar, 386 /conj. 802-803
Menino Deus - CEP: 90880-480 - Porto Alegre - RS / Brasil
Telefone: 55 51 3231.9888 - Ramal 214
Fax: 55 51 3231.9779 
Plantão 24h: 55 51 9249.1869
 
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: PLEASE TEST NFS quota module

2004-05-24 Thread Stefan (metze) Metzmacher
Stefan (metze) Metzmacher schrieb:
Hi *,
I have worked on a nfs quota module, based on some some patches I got 
and the old sun nfs quota implementeation in smbd/quota.c

for be it build's and load fine...
quota set support is missing
But I haven't a nfs share with quotas, so I can't test it, I'm not shure 
if this can work ok...

So what I need is someone who tests this and maybe fix some bugs...
this patch is against SAMBA_3_0 branch not against trunk...

--
metze
Stefan Metzmacher metze at samba.org www.samba.org


signature.asc
Description: OpenPGP digital signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] friendly printer name

2004-05-24 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Christoph Klein wrote:
| On a Windows Server, you change the name of a printer,
~  so that it is  different to the share name. We use
~  8-letter sharenames for being  compatible to old
~  Win9x-Clients, but we would like to have longer, more
| comprehendable names for our Win2k/XP users. The printer
~  name on Windows in the Properties under the
~  general-tab; the textbox next to the printer icon
~  can be altered and pressing ok saves the new name on the
| server.
Here's a patch that seems to work for me.  I've just done
basic testing from 2000 and 98se, but it seems to work.
It's been checked into trunk (not 3.0).  Use at your own
risk.


cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
...a hundred billion castaways looking for a home. --- Sting
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAshH4IR7qMdg1EfYRAuX6AKCME6lHG26PUQiVHGX/UeJVXLQP3ACfVcNz
sPvOGdE2nZFZDs3qQupaoIE=
=4pO2
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Re: PLEASE TEST NFS quota module

2004-05-24 Thread Stefan (metze) Metzmacher
Stefan (metze) Metzmacher schrieb:
Stefan (metze) Metzmacher schrieb:
Hi *,
I have worked on a nfs quota module, based on some some patches I got 
and the old sun nfs quota implementeation in smbd/quota.c

for be it build's and load fine...
quota set support is missing
But I haven't a nfs share with quotas, so I can't test it, I'm not 
shure if this can work ok...

So what I need is someone who tests this and maybe fix some bugs...

this patch is against SAMBA_3_0 branch not against trunk...
sorry for the spam...
you need to specify something like this
smb.conf:
---
log level = 0 quota:10
[nfsshare]
path = /mount/nfsshare
vfs objects = nfs_quota
---
--
metze
Stefan Metzmacher metze at samba.org www.samba.org


signature.asc
Description: OpenPGP digital signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

RE: [Samba] Samba 3 write performance drop on files 16 MB

2004-05-24 Thread DKrause
I tried W2K3 to W2K3 server, still on same hardware.  It does not get as
high of performance initially, but it also does not drop off after 16MB.
It stayed at about 25 to 30,000KB/sec.

-Original Message-
From: Jeremy Allison [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 24, 2004 11:49 AM
To: Krause, David
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] Samba 3 write performance drop on files  16 MB


On Sat, May 22, 2004 at 10:40:48AM -0400, [EMAIL PROTECTED] wrote:
  I have been running performance tests on our Debian-Samba 3 file
  server.  It is running the 2.4 kernel on a ProLiant DL380 G3 server
  (Full Specs below).  For a windows client, we are running Windows
2003
  server on the exact same hardware.  They are both running at Gigabit
  speed.
 
  What we have found is that on files 16MB and smaller we can get
better
  performance Windows client to Linux Server through SMB than we can
get
  Windows to local disk.  (Both servers have the same disk subsystem)
  We get around 120,000KB/sec throughput.  But after 16MB, the
  performance drops until it flatlines from 32MB on at 5000 to
  7000KB/sec throughput.  This drop does not occur on either server
  running the tests locally, which shows the drop is not due to memory
  caching or controller caching.  Additionally, SMB reads stay
constant
  at around 50 to 60,000KB per second.
  I ran ethereal and found one surprising difference between the 16MB
  and 32MB transfers.  For approximately .8 seconds before the
transfer
  begins, the following conversation occurs over and over:
 
  WindowsLinux Write AndX Request
  LinuxWindows Write AndX Response
  WindowsLinux Trans2 Request, QUERY_FILE_INFO, FID: 0x212a, Query
File
  Standard Info
  LinuxWindows Trans2 Response, QUERY_FILE_INFO
 
  I have tried all of the recommended SAMBA performance tweaks that I
  can find, but none seem to affect this dropoff.  Has anyone seen
this?
  It appears to be a bug in either Samba or Windows 2003.

Have you tried this against a W2K3 server ? If it behaves
the same way then it's a client issue, if not we need to
examine how Samba differs.

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


Re: [Samba] Windows XP slow access to network places shortcut?

2004-05-24 Thread Kevin P. Fleming
Clint Sharp wrote:
Your fileserver already has wins support = yes, which means it's acting 
as a WINS server.  Remove all the remote browse announce stuff from all 
your configs, set all your clients to use your fileserver as your WINS 
server, and see what happens to your performance.  Let me know if it 
doesn't improve after doing that.
This problem can be cured by setting the appropriate registry settings 
on the XP workstation to not try to use packet signing when talking to 
the Samba server. Search the list archives for that term, you should 
find the appropriate entries. If you have a W2K3 domain controller you 
can also do it via Group Policy there.

The root cause appears to be that when XP is making a connection to the 
server it's trying to use packet signing even though Samba doesn't 
support what it wants, and it takes some time for the connection to 
fall back. When you browse via Network Places, the connection has to 
be made each time you click on a directory, rather than only once when 
you use a mapped drive.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] High CPU utilization

2004-05-24 Thread Gary MacKay
Apparently nobody has a suggestion to why smbd process all of a sudden starts 
sucking CPU like crazy? Restarted samba and then restarting the entire server 
does not fix it. Searching the archives shows I'm not the only one with this 
problem. The archives do not show what to do about it yet. Grr...

Redhat 9.0
Samba 3.04 ( I have 2.2.7 servers that have done this to me also)
- Gary
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Pointer to ACL enabled Red Hat 9 kernel RPM?

2004-05-24 Thread Michael St. Laurent
Does anyone know of an ACL/extended attributes enabled version of the Red
Hat 9 kernel exist in RPM form?

-- 
Michael St. Laurent
Hartwell Corporation
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


FW: [Samba] Kerberos case sensitive with Mac OS X on Samba 3.0.x

2004-05-24 Thread ww m-pubsyssamba
Haven't heard back on this for some time, anyone any comments?

thanks Andy.

Hi Jeremy/All,

I've attached two gzips with both a good authentication (Kinit obtained using 
the same case as account is
stored in AD) and also a bad authentication (Where I've obtained a ticket for a 
username in all lower case
where the account is stored with mixed case in AD).

thanks Andy.

PS the account is stored in /etc/passwd in the same case as AD, ie in my problem it is 
mixed case in
both locations.



-Original Message-
From: Jeremy Allison [mailto:[EMAIL PROTECTED]
Posted At: 05 May 2004 19:26
Posted To: Samba
Conversation: [Samba] Kerberos case sensitive with Mac OS X on Samba
3.0.x
Subject: Re: [Samba] Kerberos case sensitive with Mac OS X on Samba
3.0.x


On Wed, May 05, 2004 at 06:39:38PM +0100, ww m-pubsyssamba wrote:
 Hi List,
 
   I'm having an issue between Samba and OS X with regards to Kerberos 
 authentication to a Samba AD member server.
 I'm using local UNIX accounts and entries in the passdb instead of Windind on the 
 samba server, ie create account by adding
 to /etc/passwd then smbpasswd -a username. From an OS X client system if I obtain a 
 ticket for user UserA like
 kinit [EMAIL PROTECTED] then when I run klist I see the default principal remebers 
 the case I used to obtain the ticket.
 Now when I try and access my Samba member server I successfully recieve a ticket for 
 the Samba server and am able to access
 the server as expected.
 However if I then try kinit [EMAIL PROTECTED] (username is wrong case) I again 
 successfully recieve my TGT but with
 the default principal listed in lower case and when I try and access the Samba 
 server I get this error could not connect to server 
 because user or password was incorrect. This is a big problem because when using 
 the Apple AD plugin for authentication it 
 always requested the ticket with a lower case username! Also this problem does not 
 affect Kerberos authentiction to a Windows 
 member server only Samba.
 Can anyone shed any light on this, whose fault is it? Samba or Apple?

Can you send in a debug level 10 log so we can try and determine where
the problem is ?

Thanks,

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

[Samba] Samba on Backup Server + Auth Q

2004-05-24 Thread Ow Mun Heng
Guys,

Quick Question with Long Background :-)

File server (FS1)
Backup of File Server (FS2)

Previously, the arrangement is I rsync copies of the files from FS1 to
FS2 every-night and this box FS2 is only accessible via SSH and nothing
else.

So, in the event of file curruption, they will have to contact me with
details and I will try to fish out the files.

Now, to make this easier, I've made FS2 as a samba server with read-only
priviledges, serving the backup files for self retrieval.

No problems till now.

Question :
I would like to further limit access to FS2 to only authenticate users.
(eg: users authenticated/recognised by FS1)

Is this possible? I can think of several ways to achieve this :

1. Set up an NFS/samba (read-only) mount from FS1 to FS2, and then share
that folder under the existing FS1 share directory. This way, I wouldn't
have issues of authentication, since it's NFS/Samba mounted by Linux.

2. Rsync a copy of the smbpasswd file from FS1 to FS2 every
(night/hour?). The problem with this solution which I can see is the
user changes his/her password through a web interface
(changepassword.cgi) and then FS2 will not be able to recognise the user
and denies access. (@ least until the rsync occurs)

3. Set up some kind of authentication forwarding. Right now, users are
authenticated against a MS PDC, new users are added manually to the
Linux FS1 for File Server (write) Access. Is there a way to pass
authentication through FS1 to FS2??

Maybe this is not a samba question. 
-- 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Success story

2004-05-24 Thread Jamrock
We have been using Samba on my company's network for over a year now.

Two weeks ago, we did our first implementation for a customer.  We moved
them  from an old NT 4.0 box.  It is a small company with between 15 - 20
workstations.

They now have a Samba domain controller and a Windows 2000 member server
running the accounting software.  The transition was smooth and things seem
to be going well.

Congrats Samba Team on a good product.

By the way, John.  I got my copy of Samba - 3 By Example a few weeks ago.
It answered a lot of questions, especially re: the use of OpenLDAP.

Peace.



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


[Samba] Errors authenticating on schedualed tasks

2004-05-24 Thread Jennifer Zynn
 I run a Samba 3.0.2a domain controller under Solaris X86, with
 a Windows 2003 server computer joined to the domain.  I am receiving
 a problem when I try and schedual a task (using Task Schedular), and 
 using the Run As feature.  I attempt to put the user DOMAIN\user
 for Run As.  Windows reports the error 0x80070005: Access is denied
 and when I check Samba's logs I see:
 
 [2004/05/21 12:34:19, 0] rpc_server/srv_netlog.c:api_net_sam_logon(201)
   api_net_sam_logon: Failed to unmarshall NET_Q_SAM_LOGON.
 [2004/05/21 12:34:19, 0] rpc_server/srv_pipe.c:api_rpcTNP(1531)
   api_rpcTNP: NETLOGON: NET_SAMLOGON failed.
 [2004/05/21 12:34:19, 0] rpc_server/srv_netlog.c:api_net_sam_logon(201)
   api_net_sam_logon: Failed to unmarshall NET_Q_SAM_LOGON.
 [2004/05/21 12:34:19, 0] rpc_server/srv_pipe.c:api_rpcTNP(1531)
   api_rpcTNP: NETLOGON: NET_SAMLOGON failed.
 
 I also have a Samba 2.2.x domain controller on another network
 with a Windows 2000 server.  I do not have this problem when attempting
 this.  Im pretty sure my windows side is fine.  The user I am attempting
 this with is in Administrators group, and can login to the system just
 fine.
 
 Thanks for any help.
 
 -- 
 Jennifer Zynn
 Sys Admin
 Center For Communications Research
 
 


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


Re: [Samba] High CPU utilization

2004-05-24 Thread Ryan Novosielski
I find this often happens if you are having nameserver trouble. That's one
of the coincidences I have noticed in the past, but there are probably
others... being out of locks or resources for example. Hope this helps at
all.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Mon, 24 May 2004, Gary MacKay wrote:

 Apparently nobody has a suggestion to why smbd process all of a sudden starts
 sucking CPU like crazy? Restarted samba and then restarting the entire server
 does not fix it. Searching the archives shows I'm not the only one with this
 problem. The archives do not show what to do about it yet. Grr...

 Redhat 9.0
 Samba 3.04 ( I have 2.2.7 servers that have done this to me also)

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

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


Re: [Samba] Pointer to ACL enabled Red Hat 9 kernel RPM?

2004-05-24 Thread tobias . bluhm
You'd do better asking the acl list - 
http://acl.bestbits.at/mailman/listinfo/acl-devel.

A quick search through the archive gave me this hit:

http://acl.bestbits.at/pipermail/acl-devel/2003-October/001594.html

I've had better results using a generic kernel for that sort of stuff on 
RedHat - but then I don't require a true-blue RH box . . . . 

Good Luck.

-
toby bluhm
it support, development systems
philips medical systems, cleveland ohio
[EMAIL PROTECTED]
440-483-5323









Michael St. Laurent [EMAIL PROTECTED]
Sent by: 
[EMAIL PROTECTED]
05/24/2004 12:12 PM

 
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
cc: (bcc: Tobias Bluhm/CLE/MS/PHILIPS)
Subject:[Samba] Pointer to ACL enabled Red Hat 9 kernel RPM?
Classification: 




Does anyone know of an ACL/extended attributes enabled version of the Red
Hat 9 kernel exist in RPM form?

-- 
Michael St. Laurent
Hartwell Corporation
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



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


Re: [Samba] High CPU utilization

2004-05-24 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ryan Novosielski wrote:
| I find this often happens if you are having nameserver
| trouble. That's one of the coincidences I have noticed in
| the past, but there are probably others... being out
| of locks or resources for example. Hope this helps at
| all.
If a restart doesn't stop the CPU piggishness, I would
recommend getting a network trace.  Look for a client
that is sending an abnormal amount of traffic.  This has
been reported to happen when you set 'disable spoolss = yes'
and support 2k/XP clients.


cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
...a hundred billion castaways looking for a home. --- Sting
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAskj6IR7qMdg1EfYRAiNVAKCMaZaUhvqdb3DpTQGGUjYqGRNPeACePMTT
e6BZgVOtllIXktWZ2ennMG4=
=k8rH
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] SMB Signature problem against WIN2K3 server using samba3.0.0 release( Samba Developers Response requested)

2004-05-24 Thread Jeremy Allison
On Mon, May 24, 2004 at 04:28:09PM +0530, Ram Panguluri wrote:
 There are many discussions about this problem, but none of the
 developers of samba stepped in and gave any good explanation.
  
 Is this solved in Samba3.0.0 official release? (In what's new section of
 3.0.0rc4, the 14th point is win2k3 security settings related matter. Is
 this the fix for SMB signature?)
  
 In one of the discussions there is a mention of disabling security
 option of Digitally Sign Communications and resetting the Admin password
 to make it work with Win2K3.  Is this required for getting samba3.0.0 to
 work with win2k3 server?
  
 In one of the discussions there is a suggestion to use MIT Krb 1.3.1 for
 encryption type match. I am using the correct version only. Here is the
 output:
 $ strings libkrb5.so | grep BRAND
 KRB5_BRAND: krb5-1-3-1-final 1.3.1 20030730
 Is this not enough to make samba3.0.0 work?

There have been several updates to the SMB signing code since 3.0.0
was released. I'd suggest you upgrade to 3.0.4 and test that first.

Thanks,

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


Re: [Samba] VFS calls after disconnect ?

2004-05-24 Thread Jeremy Allison
On Mon, May 24, 2004 at 10:03:09AM +0200, [EMAIL PROTECTED] wrote:
 
 Is is normal to have the initial double SMB_VFS_CONNECT and 
 SMB_VFS_DISCONNECT ?
 Should I count the number of SMB_VFS_CONNECT, and really disconnect only 
 when the same
 number of SMB_VFS_DISCONNECT is called ?

Yes, use a reference count here.

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


[Samba] KERBEROS_V4 rejected as an authentication type

2004-05-24 Thread Sahibzada Junaid Noor
HI,

  ok this is what the error is when i try to use FTP
to my linux box. before i configured kerberos this
error didnt come up.

  i havent touched the pam.d( i have no plans of doing
so.)

i havent even touched the nsswitch.conf.

i just edited the krb5.conf file. and well the
smb.conf

one thing more. i thought i was using kerberos Version
5 rather V 4

but down the error uses V4. Now does it mean VERSION 4
OR V( The roman 5) and what is the 4 for then?

[EMAIL PROTECTED] root]# ftp localhost
Connected to localhost.localdomain.
220 (vsFTPd 1.1.3)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (localhost:root):


=

  Sahibzada Junaid Noor  
  Ph   #  (+92) (051) 5950 940
  Cell #   (+92) (0333) 5223586
  Qazi plaza,Third Floor,Commerical Market,Chaklala Scheme 3,
  Rawalpindi
  Islamic Republic of Pakistan 






__
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:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Where can I find Windowz vs Samba performance Tests

2004-05-24 Thread Jake Johnson
I need to present some performance stats and was looking for some good diagrams of 
samba vs windows.

-- 
Thanks,
Jake Johnson
[EMAIL PROTECTED]

__
Plutoid - http://www.plutoid.com - Shop Plutoid for the best prices
on rings, earrings, necklaces, diamonds and other fine jewelry.

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


Re: [Samba] recovering files from .recyle

2004-05-24 Thread Robin M.
On Mon, 24 May 2004, Mike Stewart wrote:

 Hi Matze/Robin.  I put the lines Matze suggested into my [Mike] share but
 running testparm gives the following errors (it does pass vfs objects =
 recycle  OK though).  The lines Robin suggested gave the same errors.

 Am I doing wrong ?  Samba 2.2.7a/Slackware Linux

I am using the stock samba 3 rpm from samba.org
You may have to have certain options set at compile time for this feature,
and the syntax for version 2 is slightly different.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] vscan permission

2004-05-24 Thread francesco defilippo
Andreas wrote:
On Mon, May 24, 2004 at 04:37:51PM +0200, Francesco Defilippo wrote:
 

May 24 12:14:12 va2 smbd_vscan-clamav[15035]: ERROR: file 
/home/testav/eicar.com not found, not readable or an error occured

why ?
   

If you are using a vscan-clamav build which uses the clamd daemon (the
default, afaik), then you need to make sure that the clamav user
has access to that file.
The latest vscan-clamav version, however, has an option to be built with
libvlamac support instead of clamd. In that case, it uses the same privileges
as the user connected to the share to perform the scan.
:-[.. thnx now works!
francesco.

   SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] What is faster...windows vs Samba

2004-05-24 Thread Jake Johnson
Do you have the comparison with the same hardware?
Thanks,
Jake

On Wed, Jul 09, 2003 at 08:07:37AM +0200, INBOX wrote:
 samba
 
 
 - Original Message - 
 From: Jake Johnson [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, July 09, 2003 5:18 AM
 Subject: [Samba] What is faster...windows vs Samba
 
 
  Hello,
  I am just curious...which is faster?  Obviously if the machines are the
  same size and all conditions are equal except for the OS.
  
  Regards,
  Jake Johnson
  [EMAIL PROTECTED]
  
  __
  Plutoid - http://www.plutoid.com - Shop Plutoid for the best prices on
  Rims, Car Audio, and Performance Parts.
  
  -- 
  To unsubscribe from this list go to the following URL and read the
  instructions:  http://lists.samba.org/mailman/listinfo/samba
  
 

-- 
Thanks,
Jake Johnson
[EMAIL PROTECTED]

__
Plutoid - http://www.plutoid.com - Shop Plutoid for the best prices
on rings, earrings, necklaces, diamonds and other fine jewelry.

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


Re: [Samba] Printing not working after upgrading to 3.0.4

2004-05-24 Thread Skip Morrow
It's working now.  I think it was a combination of several of these things.  
This was actually a pretty good troubleshooting-samba-printing-in-general 
guide.  The bottom line is, I am now up and printing again.  Your logical 
thought process just pointed me in the Right Direction (tm).

Thanks.

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


RE: [Samba] Merely Opening Excel Files Increments Last-Modificationdate on Samba Shares

2004-05-24 Thread Eric Heintzberger
I have found the following regarding this problem:

1. It occurs only on files that (a) the user does not
own AND (b) samba is forcing write permissions on
(e.g. with the force group or force create mode).

2. Problem does *not* occur when force create mode
and similar are left out of share definition, and you
rely on the default standard 644 file modes and 755
directory modes. 

3. Problem does *not* occur if you use the force
user options, even if you also use force group and
force create mode -- though these are porbably
unnedded in that scenario. 

I opted for solution (3), because all valid users of
the share in question need write access to all files. 
Though it results in a lack fine-grained access
control.   

--- Terry L. Eleiott [EMAIL PROTECTED]
wrote:
 Has this issue, Excel file date modification being
 updated upon opening and
 closing without modification, been resolved?  I am
 experiencing the same
 problem with samba 3.0.2-6.3E.
 
 Thanks,
 Terry
 
 -Original Message-
 From:

[EMAIL PROTECTED]

[mailto:[EMAIL PROTECTED]
 On Behalf
 Of Eric Heintzberger
 Sent: Saturday, April 17, 2004 8:17 PM
 To: RRuegner
 Cc: [EMAIL PROTECTED]
 Subject: Re: [Samba] Merely Opening Excel Files
 Increments
 Last-Modificationdate on Samba Shares
 
 Thanks for the information. The problems and
 solutions
 you cite *are* related, I think, because I have
 found
 that my problem occurs only on Excel files that the
 user does not own -- an important fact I didn't see
 before. 
 
 --- RRuegner [EMAIL PROTECTED] wrote:
  Eric Heintzberger schrieb:
  
   Thank you for responding to my post. 
   
   As for your question, my concern is not that (as
  you
   put it) the date of last modification [is] the
  date
   of the file. It is, rather, this:
   
   If today I do cat file.txt on a text file
 whose
   last-modifiation date is December 23, 2003, I
  would
   not expect ls -l file.txt to display April 17,
  2004
   as the last-modification date.
   
   Similarly, if right now I simply open, then
 close
  an
   xls file, without saving any changes, I would
 not
   expect its last-modification date to change to
  now. 
   
   The last-modification date should not change as
 a
   result of just reading the file. There would
 have
  to
   be some writing too.
   
   Are you saying that MS-Excel is designed so that
   reading an xls file in MS-excel actually writes
   changes to the file, even if the end-user does
 not
   save or auto-save any changes?
   
   Regards, 
   
   --- RRuegner [EMAIL PROTECTED] wrote:
   
  Eric Heintzberger schrieb:
  
  Hello Everyone!
  
  Perhaps some of you have some advice for
 dealing
  
  with
  
  this problem? I've done quite a bit of googling
  on
  this one, but I can't find anything useful. 
  
  Ever since I started using Samba as PDC, I have
  
  had
  
  this problem: when users merely open MS-Excel
  
  files on
  
  samba shares, the file's Last-Modification date
 
  
  is
  
  incremented to the current time. 
  
  I have seen similar behavior with MS-Word files
  
  long
  
  ago when using WINNT4 as PDC, and it was caused
  by
  
  a
  
  macro-virus, but in this case, it doesn't seem
 to
  
  be
  
  virus-related. 
  
  If the same Excel file is copied to a user's
  local
  
  C
  
  drive, the problem ceases.
  
  The problem of modifying-by-merely-opening
 began,
  
  I
  
  think, when I  changed the PDC to samba.  
  
  I had this problem using Samba 2.7* on RedHat
 7.2
  
  over
  
  a year ago. I'm currently using samba 2.2.8a on
  FreeBSD 4.9 with a similar configuration, and I
  
  still
  
  have the problem. 
  
  Is it possible to stop this problem using
  
  adjustable
  
  configuration parameters in smb.conf? 
  
  Here's my smb.conf, in case it's needed:
  
  ---
  [global]
  netbios name = netbiosname
  workgroup = workgroup
  security = user
  domain logons = yes
  time server = yes
  server string = Samba %v on %L
  log file = /var/log/samba/%m.log
  max log size = 2000
  
  ### Security Settings ###
  hosts allow = [omitted for this post] 127.
  hosts deny = ALL
  invalid users = root
  ;Unreadable files shouldn't even appear
  ;hide unreadable = yes
  ;Prevent browsing by default
  browseable = no
  
  ### Users and Passwords ###
  [omitted for this post]
  
  ### Performance ###
  deadtime = 15
  getwd cache = yes
  lpq cache time = 45
  socket options = IPTOS_LOWDELAY TCP_NODELAY
  oplocks = yes
  level2 oplocks = yes
  #veto oplock files = /*.xls/*.XLS/
  
  ### Domain ###
  local master = yes
  os level = 65
  domain master = yes
  preferred master = yes
  domain logons = yes
  logon script = %U.bat
  logon drive = M:
  logon path = \\netbiosname\profiles\%U
  
  # Name Resolution
  wins support = yes
  wins proxy = yes
  dns proxy = yes
  
  # Case
  preserve case = yes
 
=== message truncated ===





__
Do you Yahoo!?
Friends.  Fun.  Try the all-new 

Re: [Samba] AD UID association

2004-05-24 Thread Andrew Bartlett
On Tue, 2004-05-25 at 01:17, Gustavo Papaleo wrote:
 Hi,
  
 I'm planning a migration from a Microsoft Exchange 
 Server to Linux+Sendmail+Samba. There are thousands of users in 
 AD that should login via POP3 to receive their messages. It's 
 working perfectly but I'll have to login each user so winbind 
 could create UID association for each one of them (actually 
 I'm doing it with wbinfo -a user%password). Of course I'll 
 try not to reset all the passwords to accomplish this but I 
 can't find a way to do the association stuff without the password 
 Is there anyway to do it?

The SID-UID association is created the first time it's needed.  'getent
passwd' is a really fast way to create a lot of them ;-)

Actually, calling wbinfo -a should not create the association at all, so
I'm not sure exactly what you mean.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Samba, pam, and kerberos

2004-05-24 Thread Andrew Bartlett
On Mon, 2004-05-24 at 23:49, [EMAIL PROTECTED] wrote:
 In a message dated: Wed, 19 May 2004 22:05:07 EDT
 Adam Tauno Williams said:
 
  Ahh well, worth a shot.
 
 There is some development effort to integrate OpenLDAP, Samba, 
 Heimdal.  So you will be able to do this someday.
 
 Why Heimdal?  Why not MIT, is it a US encryption export problem, or 
 is Heimdal perceived to be better than MIT for some reason?
 (or, is it because that's what OpenLDAP used and has working, so it's 
 less effort to get Samba to work with that?).

Heimdal was chosen (by me) because there is an existing OpenLDAP backend
for Heimdal, and it was easy to modify it to talk to a Samba/LDAP
accounts database.

(Reportedly, the MIT folks freak when you suggest putting passwords into
LDAP ;-)

This is not intended for use with Windows clients at this stage, as we
don't implement many of the other parts of Active Directory.  But I want
unix clients to be able to use kerberos, in sites where the effort to
re-get everybody's passwords would be prohibitive.

The project (which involves interoperability patches for a number of
pieces of software) is known collectively as 'lorikeet', and has an svn
repository on samba.org.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Where can I find Windowz vs Samba performance Tests

2004-05-24 Thread Andrew Bartlett
On Tue, 2004-05-25 at 06:11, Jake Johnson wrote:
 I need to present some performance stats and was looking for 
 some good diagrams of samba vs windows.

http://www.microsoft.com/getthefacts claims to provide this, but
somehow, I don't consider it a trusted source.  ;-)

Performance stats are always a nasty game - they are really only valid
for a particular OS/Hardware platform.  That said, I do have is this
very nice story and graph from ITWeek:

http://www.itweek.co.uk/News/1144312

http://www.itweek.co.uk/ITWeek/itw_graph_1144289.jsp

Overall, it now performs 2.5 times faster than Windows Server 2003.

However, most people don't run Samba for graph-able performance
changes.  They run Samba because that's what fits their choice of
platforms, their need for stability, and immense flexibility.  The
performance boost is a very nice byproduct. ;-)

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] problem whit samba

2004-05-24 Thread Ever Jimenez Acevedo
hola tengo un problema con samba, estoy usando core 2 escritorio gnome y 
Kde, y me marka en el caso de gnome que no tengo provilegios para ver el 
recurso en red, y en al caso de kde, konqueror tuvo un error y finalizo 
el recurso del protocolo
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] smbclient output

2004-05-24 Thread Igor Kryltsov
Hi,

Does anybody knows what is a difference between
  .   D0  Tue Apr 20 03:24:04 2004
  ..  D0  Tue Apr 20 03:24:04 2004
  FC-22.doc77824  Sun Nov 24 21:34:50 2002
  FC-22.pdf   155461  Wed Mar 31 00:59:31 2004

and
  .   DA0  Tue Apr 20 03:24:04 2004
  ..  DA0  Tue Apr 20 03:24:04 2004
  FC-22.docA77824  Sun Nov 24 21:34:50 2002
  FC-22.pdf A155461  Wed Mar 31 00:59:31 2004


Why sometimes you have A  and sometimes not? What meaning does it have?
I am trying to get directory listing on remote Win share from php script and
use regexp to extract file/dir names.


Thks a lot,

Igor




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


[Samba] Re: smbclient output

2004-05-24 Thread Igor Kryltsov
I found an answer by myself  (happens sometimes still):

A - archiving bit

R - read only

S - system

H - hidden

etc etc



Regards,

Igor

Igor Kryltsov [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hi,

 Does anybody knows what is a difference between
   .   D0  Tue Apr 20 03:24:04 2004
   ..  D0  Tue Apr 20 03:24:04 2004
   FC-22.doc77824  Sun Nov 24 21:34:50 2002
   FC-22.pdf   155461  Wed Mar 31 00:59:31 2004

 and
   .   DA0  Tue Apr 20 03:24:04
2004
   ..  DA0  Tue Apr 20 03:24:04
2004
   FC-22.docA77824  Sun Nov 24 21:34:50 2002
   FC-22.pdf A155461  Wed Mar 31 00:59:31 2004


 Why sometimes you have A  and sometimes not? What meaning does it have?
 I am trying to get directory listing on remote Win share from php script
and
 use regexp to extract file/dir names.


 Thks a lot,

 Igor




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




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


[Samba] Can't join domain - new machine name

2004-05-24 Thread Ninti Systems
I have just implemented an NT Domain using samba 3.0.4 on Slackware 9.1,
a very simple LAN with 4 or 5 clients. Clients: Win XP Pro.

Everything looks OK so far, apart from this issue:

I create machine accounts for existing client machines using their
existing names ... works fine, they can join domain.

Except that we want to rename the existing machines using a new
consistent format (client1, client2, etc)

If I create new machine accounts then try to join the existing client
machines to the domain using the new names (ie I'm trying to change the
clients name at the same time as I join it to the domain), I get an
error about an RPC call failing.

Any ideas?

Thanks
Michael Hall

-- 
--
Ninti Systems: Smart IT Solutions
Michael Hall
Mobile: 0429 095 392
Ph/Fax: 08 8953 1442   
Email:  office at ninti dot com dot au
Web:http://ninti.com.au
--

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


[Samba] Trouble with ACLs

2004-05-24 Thread Michael St. Laurent
I've got ACLs enabled in the kernel now and I can add and/or remove them
using the unix command line program (setfacl/getfacl).  However, there still
seems to be a problem.  When I try to add an ACL type permission to a file
(through Samba) I get the following in the log file:

[2004/05/24 18:14:57, 0] smbd/posix_acls.c:create_canon_ace_lists(1381)
create_canon_ace_lists: unable to map SID
S-1-5-21-356471451-824197641-1237804090-1180 to uid or gid.

I'm fairly certain that Samba was compiled with the --with-acl-support
option so I think the problem is with my smb.conf file.

Below is the relevant section:

[global]
workgroup = MERCURY
server string = Hart-NAS Storage Server
security = DOMAIN
encrypt passwords = Yes
password server = *
winbind trusted domains only = Yes
idmap gid = 3-4
idmap uid = 3-4
log file = /var/log/samba/log.%m
log level = 0
max log size = 50
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192
SO_SNDBUF=8192
load printers = No
printcap name = /etc/samba/smbprinters
add user script = /usr/local/sbin/add_smb_user %u
os level = 0
local master = No
dns proxy = No
wins server = 10.11.10.6
write cache size = 524288
max xmit = 65535

-- 
Michael St. Laurent
Hartwell Corporation
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] problem adding PC to domain

2004-05-24 Thread mrojava4
Change the add user script to add machine script.  See the howto
chapter 29.

Mark


 I am running Red Hat 9 and Samba 3.0.4.  I have a Win2K PC.  I have made
 the
 registry change regarding requiresignorseal and signsecurechannel.  When I
 try to join the domain it pops up the username and password.  I put in
 root
 and it's password (which I have added/enabled with Swat).  However I get
 the
 following results.


 The following error occurred attempting to join the domain domain:
 The user name could not be found.


 Here is my smb.conf file.
 [global]

 workgroup = DOMAIN

 server string = rh1

 max log size = 0

 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

 add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M
 %u

 logon script = login.bat

 logon home = \\%L\%U\.profile

 domain logons = Yes

 os level = 65

 preferred master = Yes

 domain master = Yes

 dns proxy = No

 ldap ssl = no

 admin users = root

 [netlogon]

 comment = The domain logon service

 path = /etc/samba

 browseable = No

 [public]

 comment = Public

 path = /public

 read only = No

 [homes]

 comment = Home Directories

 valid users = %S

 read only = No

 create mask = 0664

 directory mask = 0775

 browseable = No




 Any ideas?

 Thanks in advance.

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


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


[Samba] debian unstable 3.0.4-3 panics

2004-05-24 Thread Mark Goldey
I recently upgraded to debian unstable, and obtained samba 3.0.4-3.  My 
functioning network between debian and 2 WinXP boxes stopped working.  
/var/log/samba/log.sbmd contained the following (see below). 

I've seen several people report this and ask for help; no one had a good 
answer.  This thread, though, suggests something that works:  removing 
the [printers] block.  (The post is here 
http://www.spinics.net/lists/samba/msg21446.html).  It worked for me, too. 

I hope this information is useful.  My log follows.
Fatal error: Cannot allocate memory
[2004/05/24 22:36:36, 0] lib/fault.c:fault_report(36)
 ===
[2004/05/24 22:36:36, 0] lib/fault.c:fault_report(37)
 INTERNAL ERROR: Signal 6 in pid 2909 (3.0.4-Debian)
 Please read the appendix Bugs of the Samba HOWTO collection
[2004/05/24 22:36:36, 0] lib/fault.c:fault_report(39)
 ===
[2004/05/24 22:36:36, 0] lib/util.c:smb_panic2(1388)
 smb_panic(): calling panic action [/usr/share/samba/panic-action 2909]
[2004/05/24 22:36:37, 0] lib/util.c:smb_panic2(1396)
 smb_panic(): action returned status 0
[2004/05/24 22:36:37, 0] lib/util.c:smb_panic2(1398)
 PANIC: internal error
[2004/05/24 22:36:37, 0] lib/util.c:smb_panic2(1406)
 BACKTRACE: 23 stack frames:
  #0 /usr/sbin/smbd(smb_panic2+0x111) [0x81cd0d1]
  #1 /usr/sbin/smbd(smb_panic+0x1a) [0x81ccfba]
  #2 /usr/sbin/smbd [0x81babe8]
  #3 /lib/libc.so.6 [0x401bc658]
  #4 /lib/libc.so.6(abort+0x178) [0x401bd9e8]
  #5 /usr/lib/libgcrypt.so.7 [0x4038cf37]
  #6 /usr/lib/libgcrypt.so.7 [0x4038dc95]
  #7 /usr/lib/libgcrypt.so.7 [0x403be558]
  #8 /usr/lib/libgcrypt.so.7 [0x403be44e]
  #9 /usr/lib/libgcrypt.so.7(gcry_mpi_scan+0x2a1) [0x403c3741]
  #10 /usr/lib/libgnutls.so.7(_gnutls_mpi_scan+0x39) [0x40354e29]
  #11 /usr/lib/libgnutls.so.7(_gnutls_dh_calc_mpis+0x7b) [0x4035c89b]
  #12 /usr/lib/libgnutls.so.7(gnutls_global_init+0xc2) [0x40356d82]
  #13 /usr/lib/libcups.so.2(httpInitialize+0x5d) [0x40120b3d]
  #14 /usr/lib/libcups.so.2(httpConnectEncrypt+0x22) [0x40120cb2]
  #15 /usr/lib/libcups.so.2(httpConnect+0x38) [0x40120c88]
  #16 /usr/sbin/smbd(cups_printer_fn+0x41) [0x81b23b1]
  #17 /usr/sbin/smbd(pcap_printer_fn+0x8b) [0x81b1fbb]
  #18 /usr/sbin/smbd(add_all_printers+0x22) [0x81b7712]
  #19 /usr/sbin/smbd(reload_services+0x6a) [0x823a0ca]
  #20 /usr/sbin/smbd(main+0x26e) [0x823a89e]
  #21 /lib/libc.so.6(__libc_start_main+0xc6) [0x401a8dc6]
  #22 /usr/sbin/smbd(ldap_msgfree+0x89) [0x80780c1]
[2004/05/24 22:47:19, 0] smbd/server.c:main(757)
 smbd version 3.0.4-Debian started.
 Copyright Andrew Tridgell and the Samba Team 1992-2004
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Virus Alert

2004-05-24 Thread cabvs1
The mail message (file: email-body) you sent to [EMAIL PROTECTED] contains a virus. 
(on cabvs1)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Virus Alert

2004-05-24 Thread cabvs1
The mail message (file: message.scr) you sent to [EMAIL PROTECTED] contains a virus. 
(on cabvs1)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: Smaba 2.2.8. Cant get file properties

2004-05-24 Thread Boyce, Nick
On 23rd.May.2004 Michael Lemke wrote :

 I've just installed Samba 2.2.8 from the   
 http://www.pi-net.dyndns.org/anonymous/jyc/
[...]
 I connect my W98 SE box over an ssh tunnel for port 139 
 and I can see the VMS directories.  I can even delete and 
 copy files.  Cool.  
[...]
 Do I have to forward other ports?

I think you'd need to also forward UDP port 138 (NBT datagram service) over your 
tunnel - though you can probably do without UDP port 137 (NBT name lookup service) if 
you hard-code IP addresses in your setup ...

 But whenever I try to get file properties via the right 
 mouse click or ALT/Enter the box freezes for about 2 minutes

... erm, I don't actually know whether UDP port 138 has anything to do with that ...

Actually I'm not at all sure what SMB UDP-port-138 really does - but on the assumption 
it has something to do with carrying important asynchronous event information 
(expedited data) about your SMB TCP-port-139 session, I'd try to enable it if 
possible.

PS: I'd be very interested to know which SSH implementation for VMS you're using, and 
where you found it ...

Cheers
Nick Boyce
EDS, Bristol, UK
PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:

http://www.catb.org/~esr/faqs/smart-questions.html


RE: Smaba 2.2.8. Cant get file properties

2004-05-24 Thread Boyce, Nick
On 24th.May.2004 Michael Lemke wrote :

 I've just installed Samba 2.2.8 from the 
 http://www.pi-net.dyndns.org/anonymous/jyc/
[...]
 I connect my W98 SE box over an ssh tunnel for port 139
 and I can see the VMS directories.  I can even delete and copy files.  
 Cool.
 [...]
 Do I have to forward other ports?

I think you'd need to also forward UDP port 138 (NBT datagram service) 
over your tunnel - though you can probably do without UDP port 137 (NBT 
name lookup service) if you hard-code IP addresses in your setup ...
 
 Hm, in the meantime I am also forwarding port 137 and 138 but 
 it doesn't make any difference.  Do I have to do anything special 
 for UDP? 

I've just been googling for info on this, as I was interested - I use PuTTY,
not Terraterm, and the PuTTY SSH tunnels config dialog doesn't provide any
way of specifying whether it's TCP or UDP that you want forwarded ... as if
it's a silly question.

As indeed it seems to be - if you Google for forward udp ssh tunnel you'll
find loads of comments to the effect that it's not possible to SSH-tunnel
UDP packets ... something to do with performance problems, though I don't
understand that ...

For a discussion of setting up PuTTY tunnels, see :
   http://www.cyberknights.com.au/doc/PuTTY-tunnelling-HOWTO.html
which has the following comment :

   What won't work through a PuTTY tunnel

   Anything that uses UDP like the SMB/CIFS (MS-Windows) or 
   NFS network file systems and many video-conferencing 
   protocols, likewise ICMP (PuTTY tunnels only TCP)

Apparently you *can* use an IPSEC tunnel to do this, if you want ...

Hey - a successful Monday ... I've learned something :)

Good luck
Nick Boyce
EDS, Bristol, UK

PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:

http://www.catb.org/~esr/faqs/smart-questions.html


svn commit: samba-web r70 - branches

2004-05-24 Thread tpot
Author: tpot
Date: 2004-05-24 06:50:42 + (Mon, 24 May 2004)
New Revision: 70

Added:
   branches/tmp.samba.org/
Log:
Take a copy of the mainline branch to implement a staging area at
http://tmp.samba.org.  This is for deryck to go nuts and make big 
changes without affecting the production site.


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=samba-webpath=/rev=70nolog=1


svn commit: samba-web r71 - branches/tmp.samba.org

2004-05-24 Thread tpot
Author: tpot
Date: 2004-05-24 07:01:28 + (Mon, 24 May 2004)
New Revision: 71

Modified:
   branches/tmp.samba.org/local_header.html
Log:
Add a note mentioning that this isn't the real samba.org and to look
elsewhere.  Also test the automatic update mechanism.


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=samba-webpath=/rev=71nolog=1


svn commit: samba-web r72 - trunk/support

2004-05-24 Thread deryck
Author: deryck
Date: 2004-05-24 11:41:46 + (Mon, 24 May 2004)
New Revision: 72

Modified:
   trunk/support/austria.html
Log:
correcting typos in last update

WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=samba-webpath=/rev=72nolog=1


svn commit: samba r841 - in trunk/source: printing rpc_server

2004-05-24 Thread jerry
Author: jerry
Date: 2004-05-24 14:15:12 + (Mon, 24 May 2004)
New Revision: 841

Modified:
   trunk/source/printing/notify.c
   trunk/source/rpc_server/srv_spoolss_nt.c
Log:
allow printername != sharename in the 'Printers...' folder

WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/trunk/sourcerev=841nolog=1


svn commit: samba r842 - in trunk/source: include printing smbd

2004-05-24 Thread jerry
Author: jerry
Date: 2004-05-24 14:16:51 + (Mon, 24 May 2004)
New Revision: 842

Modified:
   trunk/source/include/messages.h
   trunk/source/printing/printing.c
   trunk/source/smbd/server.c
Log:
re-enable jfm's background_queue_update() process after ensuring that it only runs 
when smbd is launched as a daemon and that it properly responds to the TERM and HUP 
signals; will monitor the buildfarm carefully, but all my tests pass locally

WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/trunk/sourcerev=842nolog=1


svn commit: samba r843 - in branches/SAMBA_3_0_RELEASE: examples/printing packaging packaging/Debian packaging/Debian/debian-stable packaging/Debian/debian-stable/scripts packaging/Debian/debian-unstable packaging/Debian/debian-unstable/scripts source source/auth source/client source/include source/lib source/libads source/libsmb source/modules source/nsswitch source/param source/passdb source/printing source/rpc_client source/rpc_parse source/rpc_server source/script source/smbd source/utils

2004-05-24 Thread jerry
Author: jerry
Date: 2004-05-24 15:24:19 + (Mon, 24 May 2004)
New Revision: 843

Added:
   branches/SAMBA_3_0_RELEASE/packaging/Debian/debian-stable/
   branches/SAMBA_3_0_RELEASE/packaging/Debian/debian-unstable/
Removed:
   branches/SAMBA_3_0_RELEASE/packaging/Caldera/
   branches/SAMBA_3_0_RELEASE/packaging/Debian/debian/
   branches/SAMBA_3_0_RELEASE/packaging/PHT/
Modified:
   branches/SAMBA_3_0_RELEASE/examples/printing/smbprint
   branches/SAMBA_3_0_RELEASE/packaging/Debian/debian-stable/rules
   branches/SAMBA_3_0_RELEASE/packaging/Debian/debian-stable/scripts/patch-source
   branches/SAMBA_3_0_RELEASE/packaging/Debian/debian-stable/scripts/unpatch-source
   branches/SAMBA_3_0_RELEASE/packaging/Debian/debian-unstable/rules
   branches/SAMBA_3_0_RELEASE/packaging/Debian/debian-unstable/scripts/patch-source
   branches/SAMBA_3_0_RELEASE/packaging/Debian/debian-unstable/scripts/unpatch-source
   branches/SAMBA_3_0_RELEASE/source/Makefile.in
   branches/SAMBA_3_0_RELEASE/source/VERSION
   branches/SAMBA_3_0_RELEASE/source/auth/auth_util.c
   branches/SAMBA_3_0_RELEASE/source/auth/auth_winbind.c
   branches/SAMBA_3_0_RELEASE/source/client/client.c
   branches/SAMBA_3_0_RELEASE/source/client/mount.cifs.c
   branches/SAMBA_3_0_RELEASE/source/configure.in
   branches/SAMBA_3_0_RELEASE/source/include/libsmbclient.h
   branches/SAMBA_3_0_RELEASE/source/include/mangle.h
   branches/SAMBA_3_0_RELEASE/source/include/messages.h
   branches/SAMBA_3_0_RELEASE/source/include/rpc_dce.h
   branches/SAMBA_3_0_RELEASE/source/include/smb.h
   branches/SAMBA_3_0_RELEASE/source/include/smb_macros.h
   branches/SAMBA_3_0_RELEASE/source/lib/debug.c
   branches/SAMBA_3_0_RELEASE/source/lib/substitute.c
   branches/SAMBA_3_0_RELEASE/source/lib/util.c
   branches/SAMBA_3_0_RELEASE/source/lib/util_str.c
   branches/SAMBA_3_0_RELEASE/source/lib/util_unistr.c
   branches/SAMBA_3_0_RELEASE/source/libads/ldap.c
   branches/SAMBA_3_0_RELEASE/source/libsmb/clirap.c
   branches/SAMBA_3_0_RELEASE/source/libsmb/libsmbclient.c
   branches/SAMBA_3_0_RELEASE/source/libsmb/nmblib.c
   branches/SAMBA_3_0_RELEASE/source/libsmb/ntlmssp.c
   branches/SAMBA_3_0_RELEASE/source/libsmb/trustdom_cache.c
   branches/SAMBA_3_0_RELEASE/source/modules/vfs_default_quota.c
   branches/SAMBA_3_0_RELEASE/source/nsswitch/wb_common.c
   branches/SAMBA_3_0_RELEASE/source/param/loadparm.c
   branches/SAMBA_3_0_RELEASE/source/passdb/passdb.c
   branches/SAMBA_3_0_RELEASE/source/passdb/util_sam_sid.c
   branches/SAMBA_3_0_RELEASE/source/printing/notify.c
   branches/SAMBA_3_0_RELEASE/source/printing/nt_printing.c
   branches/SAMBA_3_0_RELEASE/source/printing/printing.c
   branches/SAMBA_3_0_RELEASE/source/rpc_client/cli_pipe.c
   branches/SAMBA_3_0_RELEASE/source/rpc_parse/parse_rpc.c
   branches/SAMBA_3_0_RELEASE/source/rpc_server/srv_lsa_nt.c
   branches/SAMBA_3_0_RELEASE/source/rpc_server/srv_pipe.c
   branches/SAMBA_3_0_RELEASE/source/rpc_server/srv_pipe_hnd.c
   branches/SAMBA_3_0_RELEASE/source/rpc_server/srv_samr_nt.c
   branches/SAMBA_3_0_RELEASE/source/rpc_server/srv_spoolss_nt.c
   branches/SAMBA_3_0_RELEASE/source/script/mkversion.sh
   branches/SAMBA_3_0_RELEASE/source/smbd/conn.c
   branches/SAMBA_3_0_RELEASE/source/smbd/filename.c
   branches/SAMBA_3_0_RELEASE/source/smbd/mangle.c
   branches/SAMBA_3_0_RELEASE/source/smbd/mangle_hash.c
   branches/SAMBA_3_0_RELEASE/source/smbd/mangle_hash2.c
   branches/SAMBA_3_0_RELEASE/source/smbd/nttrans.c
   branches/SAMBA_3_0_RELEASE/source/smbd/open.c
   branches/SAMBA_3_0_RELEASE/source/smbd/posix_acls.c
   branches/SAMBA_3_0_RELEASE/source/smbd/process.c
   branches/SAMBA_3_0_RELEASE/source/smbd/reply.c
   branches/SAMBA_3_0_RELEASE/source/smbd/server.c
   branches/SAMBA_3_0_RELEASE/source/smbd/service.c
   branches/SAMBA_3_0_RELEASE/source/smbd/sesssetup.c
   branches/SAMBA_3_0_RELEASE/source/smbd/statcache.c
   branches/SAMBA_3_0_RELEASE/source/smbd/trans2.c
   branches/SAMBA_3_0_RELEASE/source/smbd/uid.c
   branches/SAMBA_3_0_RELEASE/source/smbd/vfs.c
   branches/SAMBA_3_0_RELEASE/source/utils/ntlm_auth_diagnostics.c
Log:
first rounds of sync's for 3.0.5pre1

WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_3_0_RELEASErev=843nolog=1


svn commit: samba r844 - branches/SAMBA_3_0/source

2004-05-24 Thread jerry
Author: jerry
Date: 2004-05-24 15:26:19 + (Mon, 24 May 2004)
New Revision: 844

Modified:
   branches/SAMBA_3_0/source/VERSION
Log:
bumping version

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=844nolog=1


svn commit: samba r845 - branches/SAMBA_4_0/source/lib

2004-05-24 Thread metze
Author: metze
Date: 2004-05-24 15:45:37 + (Mon, 24 May 2004)
New Revision: 845

Added:
   branches/SAMBA_4_0/source/lib/basic.mk
Modified:
   branches/SAMBA_4_0/source/lib/basic.m4
Log:
convert SUBSYSTEM LIBBASIC to a .mk file

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=845nolog=1


svn commit: samba r846 - branches/SAMBA_4_0/source/rpc_server

2004-05-24 Thread metze
Author: metze
Date: 2004-05-24 16:02:40 + (Mon, 24 May 2004)
New Revision: 846

Added:
   branches/SAMBA_4_0/source/rpc_server/config.mk
Modified:
   branches/SAMBA_4_0/source/rpc_server/config.m4
Log:
convert DCESRV subsystem to a config.mk file

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=846nolog=1


svn commit: samba r847 - branches/SAMBA_4_0/source/smb_server

2004-05-24 Thread metze
Author: metze
Date: 2004-05-24 16:09:08 + (Mon, 24 May 2004)
New Revision: 847

Added:
   branches/SAMBA_4_0/source/smb_server/config.mk
Modified:
   branches/SAMBA_4_0/source/smb_server/config.m4
Log:
convert SMB SERVER SUBSYSTEM to a config.mk file

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=847nolog=1


svn commit: samba r849 - in branches/SAMBA_4_0/source/lib/tdb: . tools

2004-05-24 Thread metze
Author: metze
Date: 2004-05-24 16:39:19 + (Mon, 24 May 2004)
New Revision: 849

Added:
   branches/SAMBA_4_0/source/lib/tdb/Makefile.tdb
Removed:
   branches/SAMBA_4_0/source/lib/tdb/tools/Makefile
Log:
move tdb/tools/Makefile to tdb/Makefile.tdb

like in ldb

also fix the makefile to let it compile the tools fine

metze


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_4_0/source/lib/tdbrev=849nolog=1


svn commit: samba r850 - branches/SAMBA_4_0/source/auth

2004-05-24 Thread metze
Author: metze
Date: 2004-05-24 16:54:41 + (Mon, 24 May 2004)
New Revision: 850

Added:
   branches/SAMBA_4_0/source/auth/config.mk
Modified:
   branches/SAMBA_4_0/source/auth/config.m4
Log:
convert SUBSYSTEM AUTH to a config.mk file

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=850nolog=1


svn commit: samba r851 - branches/SAMBA_4_0/source/lib/registry

2004-05-24 Thread metze
Author: metze
Date: 2004-05-24 17:18:00 + (Mon, 24 May 2004)
New Revision: 851

Added:
   branches/SAMBA_4_0/source/lib/registry/config.mk
Modified:
   branches/SAMBA_4_0/source/lib/registry/config.m4
Log:
convert lib/registry/ to a config.mk file

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=851nolog=1


svn commit: samba r852 - branches/SAMBA_4_0/source/utils

2004-05-24 Thread metze
Author: metze
Date: 2004-05-24 17:28:29 + (Mon, 24 May 2004)
New Revision: 852

Removed:
   branches/SAMBA_4_0/source/utils/debug2html.c
   branches/SAMBA_4_0/source/utils/editreg.c
   branches/SAMBA_4_0/source/utils/pdbedit.c
   branches/SAMBA_4_0/source/utils/profiles.c
   branches/SAMBA_4_0/source/utils/rpccheck.c
   branches/SAMBA_4_0/source/utils/smbcacls.c
   branches/SAMBA_4_0/source/utils/smbcontrol.c
   branches/SAMBA_4_0/source/utils/smbfilter.c
   branches/SAMBA_4_0/source/utils/smbgroupedit.c
   branches/SAMBA_4_0/source/utils/smbpasswd.c
   branches/SAMBA_4_0/source/utils/smbtree.c
   branches/SAMBA_4_0/source/utils/smbw_sample.c
   branches/SAMBA_4_0/source/utils/status.c
   branches/SAMBA_4_0/source/utils/testparm.c
   branches/SAMBA_4_0/source/utils/testprns.c
Log:
remove unused utility progs

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=852nolog=1


svn commit: samba r853 - in branches/SAMBA_4_0/source: . include lib

2004-05-24 Thread metze
Author: metze
Date: 2004-05-24 17:41:47 + (Mon, 24 May 2004)
New Revision: 853

Removed:
   branches/SAMBA_4_0/source/modules/
   branches/SAMBA_4_0/source/nmbd/
   branches/SAMBA_4_0/source/nsswitch/
   branches/SAMBA_4_0/source/printing/
   branches/SAMBA_4_0/source/smbwrapper/
   branches/SAMBA_4_0/source/web/
   branches/SAMBA_4_0/source/wrepld/
Modified:
   branches/SAMBA_4_0/source/include/includes.h
   branches/SAMBA_4_0/source/lib/basic.mk
   branches/SAMBA_4_0/source/lib/username.c
Log:
remove a real big bunch of unused code

I really think that this is needed to get a better overview of what is currently used
Also this stuff is really out of date

so if we really ever need some of this stuff back,
a 'svn copy' from the SAMBA_3_0 branch should be no big problem...

metze


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_4_0/sourcerev=853nolog=1


svn commit: samba r855 - trunk/source/modules

2004-05-24 Thread metze
Author: metze
Date: 2004-05-24 17:55:12 + (Mon, 24 May 2004)
New Revision: 855

Modified:
   trunk/source/modules/vfs_default_quota.c
Log:
merge from SAMBA_3_0:
use quota debug class

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=855nolog=1


svn commit: samba r857 - branches/SAMBA_4_0/source/lib/registry

2004-05-24 Thread metze
Author: metze
Date: 2004-05-24 18:13:24 + (Mon, 24 May 2004)
New Revision: 857

Modified:
   branches/SAMBA_4_0/source/lib/registry/config.mk
Log:
fix the build of gregedit (typo:-)

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=857nolog=1


svn commit: samba r858 - in branches/SAMBA_4_0/source: lib smbd

2004-05-24 Thread metze
Author: metze
Date: 2004-05-24 20:52:03 + (Mon, 24 May 2004)
New Revision: 858

Modified:
   branches/SAMBA_4_0/source/lib/basic.mk
   branches/SAMBA_4_0/source/smbd/process.c
Log:
- remove unused account policy stuff it's in our sam.ldb now:-)
- don't link lib/ldap_escape.c it's currently unused

metze


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_4_0/sourcerev=858nolog=1


svn commit: samba r859 - in branches/SAMBA_3_0_RELEASE: . source/modules

2004-05-24 Thread jerry
Author: jerry
Date: 2004-05-24 21:18:29 + (Mon, 24 May 2004)
New Revision: 859

Added:
   branches/SAMBA_3_0_RELEASE/source/modules/vfs_afsacl.c
   branches/SAMBA_3_0_RELEASE/source/modules/vfs_full_audit.c
Modified:
   branches/SAMBA_3_0_RELEASE/WHATSNEW.txt
Log:
adding missing files from 3.0 and updating release notes -- 3.0.5pre1 will be out 
tomorrow I think

WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_3_0_RELEASErev=859nolog=1


svn commit: samba r860 - branches/SAMBA_4_0/source/torture

2004-05-24 Thread metze
Author: metze
Date: 2004-05-24 22:00:40 + (Mon, 24 May 2004)
New Revision: 860

Added:
   branches/SAMBA_4_0/source/torture/config.mk
Modified:
   branches/SAMBA_4_0/source/torture/config.m4
Log:
convert SUBSYSTEM TORTURE to a config.mk file

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=860nolog=1


svn commit: samba r861 - in branches/SAMBA_4_0/source: include lib param smb_server

2004-05-24 Thread metze
Author: metze
Date: 2004-05-24 22:05:06 + (Mon, 24 May 2004)
New Revision: 861

Removed:
   branches/SAMBA_4_0/source/include/mangle.h
   branches/SAMBA_4_0/source/include/msdfs.h
   branches/SAMBA_4_0/source/include/util_getent.h
   branches/SAMBA_4_0/source/lib/account_pol.c
   branches/SAMBA_4_0/source/lib/adt_tree.c
   branches/SAMBA_4_0/source/lib/sysacls.c
Modified:
   branches/SAMBA_4_0/source/include/includes.h
   branches/SAMBA_4_0/source/lib/basic.mk
   branches/SAMBA_4_0/source/lib/genrand.c
   branches/SAMBA_4_0/source/lib/username.c
   branches/SAMBA_4_0/source/param/loadparm.c
   branches/SAMBA_4_0/source/smb_server/password.c
   branches/SAMBA_4_0/source/smb_server/service.c
Log:
remove the next round of unused stuff

metze


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_4_0/sourcerev=861nolog=1


svn commit: samba r862 - in branches/SAMBA_4_0/source: include lib ntvfs

2004-05-24 Thread metze
Author: metze
Date: 2004-05-24 23:01:20 + (Mon, 24 May 2004)
New Revision: 862

Removed:
   branches/SAMBA_4_0/source/include/smb_acls.h
   branches/SAMBA_4_0/source/lib/sendfile.c
Modified:
   branches/SAMBA_4_0/source/lib/basic.mk
   branches/SAMBA_4_0/source/ntvfs/config.m4
Log:
remove acl and sendfile stuff
it will be readded inside the ntvfs_posix module

metze


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_4_0/sourcerev=862nolog=1


svn commit: samba r863 - branches/SAMBA_4_0/source/torture

2004-05-24 Thread jra
Author: jra
Date: 2004-05-24 23:40:50 + (Mon, 24 May 2004)
New Revision: 863

Modified:
   branches/SAMBA_4_0/source/torture/torture.c
Log:
Added test to ensure an open and locked file can be truncated by a second open.
This was something the Samba3 server previously got wrong.
Jeremy.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=863nolog=1


svn commit: samba r864 - in branches/SAMBA_4_0/source: . smbd

2004-05-24 Thread metze
Author: metze
Date: 2004-05-24 23:57:53 + (Mon, 24 May 2004)
New Revision: 864

Added:
   branches/SAMBA_4_0/source/smbd/config.m4
   branches/SAMBA_4_0/source/smbd/config.mk
Modified:
   branches/SAMBA_4_0/source/configure.in
Log:
convert the smbd/* code to a config.mk file

and add server_auth, server_smb, server_rpc as server modules

metze


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_4_0/sourcerev=864nolog=1


svn commit: samba r865 - branches/SAMBA_4_0/source/torture/raw

2004-05-24 Thread jra
Author: jra
Date: 2004-05-25 00:05:51 + (Tue, 25 May 2004)
New Revision: 865

Modified:
   branches/SAMBA_4_0/source/torture/raw/oplock.c
Log:
Regression test for attribute-only opens not causing an oplock break.
Samba3 server used to get this wrong.
Jeremy.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=865nolog=1


svn commit: samba r866 - in branches/SAMBA_4_0/source: . client smbd torture utils

2004-05-24 Thread metze
Author: metze
Date: 2004-05-25 00:20:19 + (Tue, 25 May 2004)
New Revision: 866

Added:
   branches/SAMBA_4_0/source/client/config.m4
   branches/SAMBA_4_0/source/client/config.mk
   branches/SAMBA_4_0/source/utils/config.m4
   branches/SAMBA_4_0/source/utils/config.mk
Modified:
   branches/SAMBA_4_0/source/configure.in
   branches/SAMBA_4_0/source/smbd/config.m4
   branches/SAMBA_4_0/source/torture/config.m4
   branches/SAMBA_4_0/source/torture/config.mk
Log:
convert the rest of the binaries to config.mk files

metze


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_4_0/sourcerev=866nolog=1


svn commit: samba r867 - branches/SAMBA_4_0/source/include

2004-05-24 Thread tridge
Author: tridge
Date: 2004-05-25 00:50:41 + (Tue, 25 May 2004)
New Revision: 867

Modified:
   branches/SAMBA_4_0/source/include/smb.h
Log:
removed a couple of unused structures


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=867nolog=1


svn commit: samba r868 - branches/SAMBA_4_0/source/rpc_server/srvsvc

2004-05-24 Thread tridge
Author: tridge
Date: 2004-05-25 00:51:47 + (Tue, 25 May 2004)
New Revision: 868

Modified:
   branches/SAMBA_4_0/source/rpc_server/srvsvc/dcesrv_srvsvc.c
Log:
we should issue a rpc fault OP_RANGE_ERROR not a WERR_NOT_SUPPORTED for
functions we don't implement yet so that we don't put uninitialised
result data on the wire (found with valgrind)


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=868nolog=1


  1   2   >