Re: [Samba] Patch for NGROUPS_MAX on FreeBSD with more then 64 groups

2009-03-16 Thread Valerio Daelli

Hi

yes FreeBSD has a getgrouplist call.
I think extending temp_groups is not a problem since
sys_getgrouplist returns -1 only if the array is too small
but we are doubling the size of the array from 32 to 64.
If the array is too small we try realloc that and redo the getgrouplist
and only if that fails we free the pointer and return error to the  
caller.
And I don't think we should worry about the size since gid_t is only 4  
bytes.

I did some test with teh patch and all went fine.
Regards

Valerio
It

might be possible that we have a bug when extending the
temp_groups array, but if that is the case this bug needs
fixing.

Does your platform have a getgrouplist call?

Volker


---
Il tuo 5 X mille a favore della Ricerca della Fondazione IFOM

Tutti coloro che presentano il modello Unico, il modello 730 o che  
ricevono dal proprio datore di lavoro il modello CUD,

hanno la facoltà di scegliere la destinazione del proprio 5 X mille.

Nella casella riservata al Finanziamento agli Enti della Ricerca  
Sanitaria inserisci il codice fiscale di IFOM (97358780159) e apponi  
la tua firma.


Il tuo 5 X mille verrà destinato alla Ricerca contro il Cancro della  
Fondazione IFOM


Per saperne di più vai al sito IFOM.
http://www.ifom-firc.it/5x1000.php

Segnala questa opportunità ai tuoi amici e al tuo commercialista

---

Valerio Daelli
Email valerio.dae...@ifom-ieo-campus.it
Phone +39 02 574303006
c/o IFOM-IEO campus, building 1 -Via Adamello 16 - 20139 Milan Italy



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


Re: [Samba] Patch for NGROUPS_MAX on FreeBSD with more then 64 groups

2009-03-16 Thread Valerio Daelli

Hi

you are probably right: we work with FreeBSD, which has a number of  
max groups of 16.
I guess you refer to Linux which has that value set to 65536 (but I am  
not sure).
I will ask the mantainer of the FreeBSD port if he has some solution  
specific for FreeBSD.

Thanks for your attention

Valerio

On Mar 16, 2009, at 10:48 AM, Volker Lendecke wrote:


On Mon, Mar 16, 2009 at 10:30:10AM +0100, Valerio Daelli wrote:
And I don't think we should worry about the size since gid_t is  
only 4

bytes.


Sorry, 4 bytes times 65536 is in my calculation 256KB. This
*is* significant.

Volker


---
Il tuo 5 X mille a favore della Ricerca della Fondazione IFOM

Tutti coloro che presentano il modello Unico, il modello 730 o che  
ricevono dal proprio datore di lavoro il modello CUD,

hanno la facoltà di scegliere la destinazione del proprio 5 X mille.

Nella casella riservata al Finanziamento agli Enti della Ricerca  
Sanitaria inserisci il codice fiscale di IFOM (97358780159) e apponi  
la tua firma.


Il tuo 5 X mille verrà destinato alla Ricerca contro il Cancro della  
Fondazione IFOM


Per saperne di più vai al sito IFOM.
http://www.ifom-firc.it/5x1000.php

Segnala questa opportunità ai tuoi amici e al tuo commercialista

---

Valerio Daelli
Email valerio.dae...@ifom-ieo-campus.it
Phone +39 02 574303006
c/o IFOM-IEO campus, building 1 -Via Adamello 16 - 20139 Milan Italy



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


[Samba] Patch for NGROUPS_MAX on FreeBSD with more then 64 groups

2009-03-15 Thread Valerio Daelli
Hi

on FreeBSD it happens that without this patch the number of groups is limited
to 32.
Since we need a greater number of groups, we send this patch.
Hope it is approved early.
Bye

diff -ruN /root/work/samba-3.2.8/source/lib/replace/system/passwd.h
/usr/ports/net/samba32/work/samba-3.2.8/source/lib/replace/system/passwd.h
--- /root/work/samba-3.2.8/source/lib/replace/system/passwd.h   2009-02-03
17:10:07.0 +0100
+++
/usr/ports/net/samba32/work/samba-3.2.8/source/lib/replace/system/passwd.h  
2009-03-15
12:12:52.0 +0100
@@ -76,6 +76,7 @@
 #endif
 #endif

+#include sys/param.h
 #ifndef NGROUPS_MAX
 #define NGROUPS_MAX 32 /* Guess... */
 #endif
diff -ruN /root/work/samba-3.2.8/source/lib/system_smbd.c
/usr/ports/net/samba32/work/samba-3.2.8/source/lib/system_smbd.c
--- /root/work/samba-3.2.8/source/lib/system_smbd.c 2009-02-03
17:10:07.0 +0100
+++
/usr/ports/net/samba32/work/samba-3.2.8/source/lib/system_smbd.c
2009-03-15
12:14:59.0 +0100
@@ -153,7 +153,7 @@
gid_t *groups;
int i;

-   max_grp = MIN(32, groups_max());
+   max_grp = NGROUPS_MAX;
temp_groups = SMB_MALLOC_ARRAY(gid_t, max_grp);
if (! temp_groups) {
return False;

-- 
[-
Il Tuo 5 per Mille a favore della Ricerca dell'IFOM!

L'IFOM Fondazione Istituto FIRC di Oncologia Molecolare e uno degli enti a cui
e possibile destinare il Tuo 5 per mille, apponendo la Tua firma e inserendo
il codice fiscale dell'IFOM (97358780159) nella casella riservata al
Finanziamento della Ricerca Sanitaria che si trova sui modelli Unico, 730 e
CUD.
- NON COSTA NULLA E NON COMPORTA ALCUN AUMENTO DELLE IMPOSTE DA VERSARE
- NON E UN'ALTERNATIVA ALL'8 PER MILLE
- E' UN GESTO CONCRETO E DI GRANDE VALORE

Per saperne di piu vai al sito dell'IFOM www.ifom-firc.it
Segnala ad un amico questa opportunit`a.
 -]


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


[Samba] Log out and logs

2008-01-31 Thread Valerio Daelli
Hi

we use samba 3.0.28 and we would like to get from a script the timelenght
of the login of the users. We would like to calculate how much time
do the users spend connected to our resources.
For the login we do not have any problem, we just get this string from the logs:

[2008/01/31 11:30:21, 3] auth/auth.c:check_ntlm_password(270)
  check_ntlm_password: sam authentication for user [vdaelli] succeeded

and we extract the timestamp.
But what about the logout? Do we have any string in the logs that
means 'this user disconnected
from the resource'?
We use loglevel=3.
Thanks

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


[Samba] samba 3.0.26a and dropboxes

2007-12-12 Thread Valerio Daelli
Hi

we have two fileserver based on FreeBSD:
-'old' based on FreeBSD 5.4 with samba 3.0.14a
-'new' based on FreeBSD 6.2 with samba 3.0.26a
both samba are built from ports.
We are migrating from 'old' to 'new'.
But we found a problem.
---
We have some 'group dropboxes' on both servers: these are unix
directories with permission 7773.
The 'sender' (he who copies the file) has write permission on the
dropbox (the final '3' in the permission)
but does not have read permission.
The receiver has both read and write permission.
The purpose of these dropboxes is to give users the chance of
receiving files in a 'private' share.
These dropboxes are configured identically on both servers:

[DropboxGroups]
  comment = Groups drop boxes
  path = /Groups/DropboxGroups
  read only = no
  writeable = yes
  browseable = yes
  create mask = 0666
  directory mask = 0777
  force create mode = 0666
  force directory mode = 0777

---
These dropboxes are working well on samba 3.0.14a but not on samba 3.0.26a.
We have read the logs on samba 3.0.26a and we have discovered that:

[2007/12/12 14:40:32, 5] smbd/filename.c:unix_convert(147)
  unix_convert called on file a-advb/Sunset.jpg
[2007/12/12 14:40:32, 5] smbd/filename.c:unix_convert(246)
  unix_convert begin: name = a-advb/Sunset.jpg, dirpath = a-advb,
start = Sunset.jpg
[2007/12/12 14:40:32, 5] smbd/dir.c:OpenDir(1079)
  OpenDir: Can't open a-advb. Permission denied
[2007/12/12 14:40:32, 3] smbd/filename.c:scan_directory(586)
  scan dir didn't open dir [a-advb]
[2007/12/12 14:40:32, 3] smbd/error.c:error_packet_set(106)
  error packet at smbd/trans2.c(3273) cmd=50 (SMBtrans2) NT_STATUS_ACCESS_DENIED

where a-avdb is the directory of the dropbox of the group a-avdb and
Sunset.jpg is the name of the
file we tried to copy.
We  would like to know:
-why between samba 3.0.14a and samba 3.0.26a was introduced the code
of OpenDir and scan_directory?
-is there any easy workaround for it?

Thanks a lot for your preacious help

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


[Samba] How to report successfull and unseccessful login attempts

2007-10-15 Thread Valerio Daelli
Hi
we use samba 3.0.25a on FreeBSD 6.2 and we would like to have in the logs
only the successfull and unsuccessfull login attempts.
We would like to read in the log file:

Authentication for user [%s] - [%s] - [%s] succeeded

or

Authentication for user [%s] - [%s] FAILED with error

We have tried with log level 1 and we get only the successfull logins.
We have tried with log level 2 and we get the unsuccessfull as well but
with those a million of other irrelevant (for us) events are logged.
We know we could patch the source code (I think we should patch
source/auth/auth.c) but we prefer taking a simpler approach.
Any suggestions?
Thanks

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


Re: [Samba] How to report successfull and unseccessful login attempts

2007-10-15 Thread Valerio Daelli
Hello

On 10/15/07, Willy Offermans [EMAIL PROTECTED] wrote:
 Hello Valerio,

 Maybe ``grep'' can help you?


Thanks for your suggestion.
We were looking for something like a good patch already
approved by the core developers of samba or something similar.
Bye

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


[Samba] smbstatus issue with multiple smbd

2007-09-17 Thread Valerio Daelli
Hi
we use samba 3.0.25a on FreeBSD 6.2.
We use a 'multiple' approach on our server: we have a smbd daemon for the Users
section (with its configuration file) and a smbd daemon for the Groups
section (with another configuration file).
We would like to discriminate the locks and the other details for
these two daemons:
we would like to have a report for smbd-users and a report for smbd-groups.
However if we use

smbstatus -s /usr/local/samba/lib/smb.conf.users

and the other with smb.conf.groups, we get a full report which just list all the
locks for the users and groups lists altogheter.
We would like to have two distinct reports.
Is there any ease way to get this or must we perl-script something?
Hope it is clear.
Thanks

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


Re: Fwd: [Samba] install failing on bsd

2006-10-17 Thread Valerio Daelli

Hi
I installed my server few months ago so it is not so current.
I have a configuration similar to yours and I didn't have problems installing.
I have installed:

openldap-client-2.2.26 Open source LDAP client implementation
openldap-server-2.2.26 Open source LDAP server implementation

I suggest you start installing the client.
BTW have you tried asking on a FreeBSD mailling list, maybe FreeBSD-ports?
Bye

Valerio Daelli




On 10/13/06, jean-paul natola [EMAIL PROTECTED] wrote:


which openldap?


openldap-client-2.1.30
openldap-client-2.2.23
openldap-sasl-client-2.1.30
openldap-sasl-client-2.2.23
openldap-sasl-server-2.1.30
openldap-sasl-server-2.2.23
openldap-server-2.1.30
openldap-server-2.2.23

From: Valerio Daelli [EMAIL PROTECTED]
To: samba@lists.samba.org
Subject: Fwd: [Samba] install failing on bsd
Date: Fri, 13 Oct 2006 11:38:14 +0200

Hi
try installing openldap from ports.
I get

[EMAIL PROTECTED] grep -r LDAP_NO_MEMORY /usr/local/include/
/usr/local/include/ldap.h:#define LDAP_NO_MEMORY
 (-10)

try also with a cvsup of your ports.
Bye

Valerio

On 10/12/06, jean-paul natola [EMAIL PROTECTED] wrote:
Hi Everyone

I'm a total newbie so please bear with me

I'm running FreeBSD 5.4   and I hae tried (numerous times) to install
Samba
based on these instructions

http://joseph.randomnetworks.com/tag/nsswitch

this is the error I keep getting

Using FLAGS =  -O -pipe -D_SAMBA_BUILD_
-I/usr/ports/net/samba3/work/samba-3.0.23c/source/iniparser/src -Iinclude
-I/usr/ports/net/samba3/work/samba-3.0.23c/source/include
-I/usr/ports/net/samba3/work/samba-3.0.23c/source/tdb  -I. -DHAVE_CONFIG_H
-I/usr/local/include -I/usr/ports/net/samba3/work/samba-3.0.23c/source
-D_SAMBA_BUILD_
   LIBS = -lcrypt -liconv
   LDSHFLAGS = -shared  -L/usr/local/lib
   LDFLAGS = -L/usr/local/lib
   PIE_CFLAGS = -fPIE
   PIE_LDFLAGS = -pie
Compiling sam/idmap_ad.c with -fPIC -DPIC
sam/idmap_ad.c: In function `ad_idmap_check_attr_mapping':
sam/idmap_ad.c:62: error: `LDAP_NO_MEMORY' undeclared (first use in this
function)
sam/idmap_ad.c:62: error: (Each undeclared identifier is reported only
once
sam/idmap_ad.c:62: error: for each function it appears in.)
*** Error code 1

Stop in /usr/ports/net/samba3/work/samba-3.0.23c/source.
*** Error code 1

Stop in /usr/ports/net/samba3.


Can someone shed some light on this for me?

Thanks in advance

j


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

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

_
All-in-one security and maintenance for your PC. Get a free 90-day trial!
http://clk.atdmt.com/MSN/go/msnnkwlo005001msn/direct/01/?href=http://www.windowsonecare.com/?sc_cid=msn_hotmail



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


Fwd: [Samba] install failing on bsd

2006-10-13 Thread Valerio Daelli

Hi
try installing openldap from ports.
I get

[EMAIL PROTECTED] grep -r LDAP_NO_MEMORY /usr/local/include/
/usr/local/include/ldap.h:#define LDAP_NO_MEMORY
(-10)

try also with a cvsup of your ports.
Bye

Valerio

On 10/12/06, jean-paul natola [EMAIL PROTECTED] wrote:

Hi Everyone

I'm a total newbie so please bear with me

I'm running FreeBSD 5.4   and I hae tried (numerous times) to install Samba
based on these instructions

http://joseph.randomnetworks.com/tag/nsswitch

this is the error I keep getting

Using FLAGS =  -O -pipe -D_SAMBA_BUILD_
-I/usr/ports/net/samba3/work/samba-3.0.23c/source/iniparser/src -Iinclude
-I/usr/ports/net/samba3/work/samba-3.0.23c/source/include
-I/usr/ports/net/samba3/work/samba-3.0.23c/source/tdb  -I. -DHAVE_CONFIG_H
-I/usr/local/include -I/usr/ports/net/samba3/work/samba-3.0.23c/source
-D_SAMBA_BUILD_
  LIBS = -lcrypt -liconv
  LDSHFLAGS = -shared  -L/usr/local/lib
  LDFLAGS = -L/usr/local/lib
  PIE_CFLAGS = -fPIE
  PIE_LDFLAGS = -pie
Compiling sam/idmap_ad.c with -fPIC -DPIC
sam/idmap_ad.c: In function `ad_idmap_check_attr_mapping':
sam/idmap_ad.c:62: error: `LDAP_NO_MEMORY' undeclared (first use in this
function)
sam/idmap_ad.c:62: error: (Each undeclared identifier is reported only once
sam/idmap_ad.c:62: error: for each function it appears in.)
*** Error code 1

Stop in /usr/ports/net/samba3/work/samba-3.0.23c/source.
*** Error code 1

Stop in /usr/ports/net/samba3.


Can someone shed some light on this for me?

Thanks in advance

j


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


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


[Samba] [SOLVED]Re: Problem with large files

2006-09-21 Thread Valerio daelli

On 9/19/06, Valerio daelli [EMAIL PROTECTED] wrote:

On 9/19/06, Valerio daelli [EMAIL PROTECTED] wrote:

 Hi
 we have samba 3.0.14a on FreeBSD 5.4.
 We tried with different kind of locking and oplocks (both enabled and 
disabled).
 If we try to copy from a Windows XP client a file larger than 3g, we get 
these error:



Hi
we solved removing the option 'strict allocate=yes' from the smb.conf file.
Now everything works as expected.
Bye

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


[Samba] Problem with large files

2006-09-19 Thread Valerio daelli

Hi
we have samba 3.0.14a on FreeBSD 5.4.
We tried with different kind of locking and oplocks (both enabled and
disabled).
If we try to copy from a Windows XP client a file larger than 3g, we get
these error:

Cannot copy XXX. The specified network name is no longer available.

We traced this problem in the logs (log level 10) and we got this error



[2006/09/19 10:29:41, 5] smbd/uid.c:change_to_user(281)
 change_to_user uid=(3280,3280) gid=(0,952)
[2006/09/19 10:29:41, 4] smbd/vfs.c:vfs_ChDir(660)
 vfs_ChDir to /data/exports/Services/Services
[2006/09/19 10:29:41, 10] smbd/nttrans.c:reply_ntcreate_and_X(607)
 reply_ntcreateX: flags = 0x16, desired_access = 0x20189 file_attributes =
0x80, share_access = 0x7, create_disposition = 0x1 create_options = 0x940
root_dir_fid = 0x0
[2006/09/19 10:29:41, 10] smbd/nttrans.c:map_create_disposition(341)
 map_create_disposition: Mapped create_disposition 0x1 to 0x1
[2006/09/19 10:29:41, 10] smbd/nttrans.c:map_share_mode(423)
 map_share_mode: FILE_SHARE_DELETE requested. open_mode = 0x8000
[2006/09/19 10:29:41, 10] smbd/nttrans.c:map_share_mode(480)
 map_share_mode: Mapped desired access 0x20189, share access 0x7, file
attributes 0x80 to open_mode 0x8040
[2006/09/19 10:29:41, 5] smbd/filename.c:unix_convert(108)
 unix_convert called on file s-comp/IFOM/PROVA/Caschetto.tib
[2006/09/19 10:29:41, 10] smbd/statcache.c:stat_cache_lookup(210)
 stat_cache_lookup: lookup failed for name
[S-COMP/IFOM/PROVA/CASCHETTO.TIB]
[2006/09/19 10:29:41, 10] smbd/statcache.c:stat_cache_lookup(210)
 stat_cache_lookup: lookup failed for name [S-COMP/IFOM/PROVA]
[2006/09/19 10:29:41, 10] smbd/statcache.c:stat_cache_lookup(210)
 stat_cache_lookup: lookup failed for name [S-COMP/IFOM]
[2006/09/19 10:29:41, 10] smbd/statcache.c:stat_cache_lookup(210)
 stat_cache_lookup: lookup failed for name [S-COMP]
[2006/09/19 10:29:41, 5] smbd/statcache.c:stat_cache_add(135)
 stat_cache_add: Added entry (8289d20:size20)
S-COMP/IFOM/PROVA/CASCHETTO.TIB - s-comp/IFOM/PROVA/Caschetto.tib
[2006/09/19 10:29:41, 5] smbd/filename.c:unix_convert(170)
 conversion finished s-comp/IFOM/PROVA/Caschetto.tib -
s-comp/IFOM/PROVA/Caschetto.tib
[2006/09/19 10:29:41, 3] smbd/dosmode.c:unix_mode(111)
 unix_mode(s-comp/IFOM/PROVA/Caschetto.tib) returning 0664
[2006/09/19 10:29:41, 5] smbd/files.c:file_new(129)
 allocated file structure 3875, fnum = 7971 (1 used)
[2006/09/19 10:29:41, 10] smbd/open.c:open_file_shared1(1047)
 open_file_shared: fname = s-comp/IFOM/PROVA/Caschetto.tib, dos_attrs = 80,
share_mode = 8040, ofun = 1, mode = 664, oplock request = 3
[2006/09/19 10:29:41, 8] smbd/dosmode.c:dos_mode(283)
 dos_mode: s-comp/IFOM/PROVA/Caschetto.tib
[2006/09/19 10:29:41, 8] smbd/dosmode.c:dos_mode_from_sbuf(151)
 dos_mode_from_sbuf returning
[2006/09/19 10:29:41, 8] smbd/dosmode.c:dos_mode(315)
 dos_mode returning
[2006/09/19 10:29:41, 10] locking/locking.c:get_share_modes(480)
 get_share_modes: share_mode_entry[0]: pid = 93583, share_mode = 0x11,
desired_access = 0x30196, port = 0x0, type= 0x0, file_id = 395, dev = 0x412,
inode = 6383100
[2006/09/19 10:29:41, 2] smbd/open.c:check_share_mode(530)
 Share violation on file
(4,1,1,93583,s-comp/IFOM/PROVA/Caschetto.tib,fcbopen = 0, flags = 0) = 0
[2006/09/19 10:29:41, 10] smbd/open.c:fd_open(50)
 fd_open: name s-comp/IFOM/PROVA/Caschetto.tib, flags = 00 mode = 0664, fd
= 26.
[2006/09/19 10:29:41, 2] smbd/open.c:open_file(245)
 vdaelli opened file s-comp/IFOM/PROVA/Caschetto.tib read=Yes write=No
(numopen=1)
[2006/09/19 10:29:41, 4] smbd/open.c:open_file_shared1(1204)
 open_file_shared : share_mode deny - calling open_file with flags=0x0
flags2=0x0 mode=0664 returned 1
[2006/09/19 10:29:41, 10] smbd/open.c:defer_open_sharing_error(875)
 defer_open_sharing_error: time [1158654581.742007] adding deferred open
entry for mid 52224, file s-comp/IFOM/PROVA/Caschetto.tib
[2006/09/19 10:29:41, 10]
smbd/process.c:push_sharing_violation_open_smb_message(268)
 push_sharing_violation_open_smb_message: pushing message len 154 mid 52224
timeout time [1158654582.692007]
[2006/09/19 10:29:41, 10] smbd/process.c:push_queued_message(125)
 push_message: pushed message length 154 on queue
smb_sharing_violation_queue
[2006/09/19 10:29:41, 10] locking/locking.c:add_deferred_open(1183)
 add_deferred_open: creating entry for file
s-comp/IFOM/PROVA/Caschetto.tib. num_deferred_open_entries = 1

---

while in this case the function get_share_modes is invoked, and we get error
there, if we copy a file smaller the function is not invoked and we don't
get any error.
In both cases ftruncate is successfullt called and we don't get any error.
Thanks for your help

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


[Samba] Re: Problem with large files

2006-09-19 Thread Valerio daelli

On 9/19/06, Valerio daelli [EMAIL PROTECTED] wrote:


Hi
we have samba 3.0.14a on FreeBSD 5.4.
We tried with different kind of locking and oplocks (both enabled and disabled).
If we try to copy from a Windows XP client a file larger than 3g, we get these 
error:

 Cannot copy XXX. The specified network name is no longer available.

We traced this problem in the logs (log level 10) and we got this error


...





Thanks for your help


Valerio Daelli



Hi
we can replicate the error on samba 3.0.23b with the same configuration.
This is our configuration:

--
[global]
 interfaces = 85.239.182.14/32
 pid directory = /ofb/samba/var
 guest account = nobody
 security = user
 encrypt passwords = yes
 passdb backend = ldapsam:ldap://127.0.0.1/;
 server string = FreeBSD Friend
 unix charset = UTF-8
 display charset = UTF-8
 dos charset = 437
 use spnego = yes
 client ntlmv2 auth = no
 client use spnego = yes
 ldap admin dn =
uid=samba,ou=Services,ou=NIS,ou=Accounts,dc=ifom-ieo-campus,dc=it
 #ldap admin dn = cn=ldapadm,dc=ifom-ieo-campus,dc=it
 ldap delete dn = no
 ldap passwd sync = no
 ldap suffix = dc=ifom-ieo-campus,dc=it
 ldap machine suffix = ou=Computers
 ldap user suffix = ou=Accounts
 ldap group suffix = ou=Groups
 workgroup = CAMPUS
 netbios name = milarepa

 domain logons = yes
 domain master = yes
 wins support = yes
 preferred master = yes
 strict allocate = yes
 ;hide files =
/.snap/.AppleDB/.AppleDouble/.AppleDesktop/_VUC69~7/desktop.ini/:2eDS_Store/:2eVolumeIcon.icns/*.icns/
 ;veto files =
/.snap/_VUC69~7/.DS_Store/.AppleDB/.AppleDouble/.AppleDesktop/lost+found/quota.user/quota.group/
 ;veto files = /.snap/lost+found/quota.user/quota.group/
 ;delete veto files = yes
 ;hide unreadable = no
;  case sensitive = yes
;  default case = lower
;  preserve case = yes
 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=16384 SO_RCVBUF=16384
 #log file = /data/samba/var/log/smbd.log.%m
 log file = /data/samba/var/log/smbd.log.%m
 log level = 10
 max xmit = 65535
 logon path = \\%N\profiles\%U
 logon drive = H:
 logon script = users.cmd
 dfree command = /usr/local/sbin/get_quota %U
 max open files = 8000

[netlogon]
path = /usr/samba/netlogon
browseable = no
read only = yes
write list = samba

[profiles]
path = /usr/exports/Users/Users/%U
read only = no
browseable = yes
;create mask = 0600
;directory mask = 0700
csc policy = disable

[%U]
comment = %U Home Directory
browseable = yes
read only = no
path = /usr/exports/Users/Users/%U
create mask = 0600
directory mask = 0700
force create mode = 0600
force directory mode = 0700
;hide unreadable = no
;locking = yes
strict locking = no
;blocking locks = no
oplocks = yes
level2 oplocks = yes
fake oplocks = yes

[Temporary]
comment = Temporary (for Imaging etc..)
path= /usr/exports/Temporary/data
browseable = yes
read only = no
create mask = 0666
directory mask = 0777
force create mode = 0666
force directory mode = 0777
;hide unreadable = no
;locking = yes
;strict locking = no
;blocking locks = no
oplocks = no
fake oplocks = yes
level2 oplocks = yes

[Groups]
comment = Group Shares
browseable = yes
read only = no
path = /usr/exports/Groups/Groups
create mask = 0660
directory mask = 0770
force create mode = 0660
force directory mode = 0770
;hide unreadable = yes
locking = yes
strict locking = no
blocking locks = no
oplocks = no
level2 oplocks = no
[PublicUsers]
comment = Campus Groups Public Stuff
browseable = yes
read only = no
path = /usr/exports/Users/PublicUsers
create mask = 0664
directory mask = 0775
force create mode = 0664
force directory mode = 0775
; locking = yes
; strict locking = no
; blocking locks = no
; oplocks = no
; level2 oplocks = no
[PublicGroups]
comment = Campus Groups Public Stuff
browseable = yes
read only = no
path = /usr/exports/Groups/PublicGroups
create mask = 0664
directory mask = 0775
force create mode = 0664
force directory mode = 0775
; locking = yes
; strict locking = no
; blocking locks = no
; oplocks = no
; level2 oplocks = no
[DropboxUsers]
comment = Users drop boxes
path = /usr/exports/Users/DropboxUsers
read only = no
writeable = yes
browseable = yes
create mask = 0666
directory mask = 0777
force create mode = 0666
force directory mode = 0777
;; locking = yes
;; strict locking = no
;; blocking locks = no
;; oplocks = no
;; level2 oplocks = no
[DropboxGroups]
comment = Groups drop boxes
path = /usr/exports/Groups/DropboxGroups
read only = no
writeable = yes
browseable = yes
create mask = 0666
directory mask = 0777
force create mode = 0666
force directory mode = 0777
;hide unreadable = no
;; locking = yes
;; strict locking = no
;; blocking locks = no
;; oplocks = no
[Services]
comment = Services
path = /usr/exports/Services/Services
read only = no
writeable = yes
browseable = yes
create mask = 0664
directory mask = 0775
force create mode = 0664
force directory mode = 0775
locking =  no
strict locking = no
blocking locks = no
oplocks =  yes
level2 oplocks = yes
This time we get

-
[2006/09/19 14:51:15, 4] smbd