Re: [Samba] delete file being transferred

2011-03-15 Thread Volker Lendecke
On Tue, Mar 15, 2011 at 09:31:50PM -0400, chaojie.x...@emc.com wrote: > So there is no method to delete the file that is beging > transferred if I shutdown the samba service or just close > specific share folder with smbcontrol. Right? Correct. Samba does not really know what state such a file is

Re: [Samba] delete file being transferred

2011-03-15 Thread Chaojie.Xiao
So there is no method to delete the file that is beging transferred if I shutdown the samba service or just close specific share folder with smbcontrol. Right? On Mon, Mar 14, 2011 at 10:48:33PM -0400, chaojie.x...@emc.com wrote: > I am currently using lvm snapshot. if I am uploading a big > fil

Re: [Samba] possible to deactivate pre-authentification on the Linux (or windows)- Please help

2011-03-15 Thread Rob Townley
On Wed, Mar 9, 2011 at 12:33 AM, Sharik M wrote: > Dear Friend, > > > Is it possible to deactivate pre-authentification on the Linux (or > > Windows) side to avoid these messages ? > > Becouse i am getting lot of erro in windows 2003 domain. > > Hi, > > When validating users on my Linux system aga

Re: [Samba] large files

2011-03-15 Thread Jeremy Allison
On Tue, Mar 15, 2011 at 02:45:58PM -0400, Ellis Golub wrote: > Hi -- > > I'm connecting 64bit win 7 professional to an SGI tezro running samba 3.5.8. > > I connect fine, and everything works except, I cannot read or copy large (40 > Mb) files. This used to work when I ran win XP and samba 2. I

Re: [Samba] Upgraded to 3.5.8 local users unable to log in AD users can

2011-03-15 Thread Alfanoid
Daniel Müller tropenklinik.de> writes: > > You system was trying to authenticate with winbind!? > Did Winbind run is your smb.conf configuration to interact with winbind? > > --- > EDV Daniel Müller > > Leitung EDV > Tropenklinik Paul-Lechler-Kranken

Re: [Samba] Performance with XP64

2011-03-15 Thread Jeremy Allison
On Tue, Mar 15, 2011 at 04:35:32PM -0400, Glenn Maynard wrote: > On Tue, Mar 15, 2011 at 3:36 PM, Volker Lendecke > wrote: > > > On Tue, Mar 15, 2011 at 02:28:37PM -0400, Glenn Maynard wrote: > > > tcpdump reading a 256MB file (from tmpfs) on XP64: > > > http://zewt.org/~glenn/samba.tcpdump.gz, 56

Re: [Samba] Performance with XP64

2011-03-15 Thread Glenn Maynard
On Tue, Mar 15, 2011 at 4:43 PM, Volker Lendecke wrote: > > That's what I'd expect if things are as broken as they look from that > dump: > > the client (XP) isn't buffering requests at all, so the window caps out > at > > 64k. The mail from earlier[1] suggests that some people get much better >

Re: [Samba] Performance with XP64

2011-03-15 Thread Jeremy Allison
On Tue, Mar 15, 2011 at 04:35:32PM -0400, Glenn Maynard wrote: > On Tue, Mar 15, 2011 at 3:36 PM, Volker Lendecke > wrote: > > > On Tue, Mar 15, 2011 at 02:28:37PM -0400, Glenn Maynard wrote: > > > tcpdump reading a 256MB file (from tmpfs) on XP64: > > > http://zewt.org/~glenn/samba.tcpdump.gz, 56

Re: [Samba] Performance with XP64

2011-03-15 Thread Volker Lendecke
On Tue, Mar 15, 2011 at 04:35:32PM -0400, Glenn Maynard wrote: > On Tue, Mar 15, 2011 at 3:36 PM, Volker Lendecke > wrote: > > > On Tue, Mar 15, 2011 at 02:28:37PM -0400, Glenn Maynard wrote: > > > tcpdump reading a 256MB file (from tmpfs) on XP64: > > > http://zewt.org/~glenn/samba.tcpdump.gz, 56

Re: [Samba] Performance with XP64

2011-03-15 Thread Glenn Maynard
On Tue, Mar 15, 2011 at 3:36 PM, Volker Lendecke wrote: > On Tue, Mar 15, 2011 at 02:28:37PM -0400, Glenn Maynard wrote: > > tcpdump reading a 256MB file (from tmpfs) on XP64: > > http://zewt.org/~glenn/samba.tcpdump.gz, 56M/sec > > That's pretty much what you would expect. The trace shows > that

Re: [Samba] Performance with XP64

2011-03-15 Thread Volker Lendecke
On Tue, Mar 15, 2011 at 02:28:37PM -0400, Glenn Maynard wrote: > tcpdump reading a 256MB file (from tmpfs) on XP64: > http://zewt.org/~glenn/samba.tcpdump.gz, 56M/sec That's pretty much what you would expect. The trace shows that your program reads sequentially in 61k chunks. Given that your netwo

[Samba] large files

2011-03-15 Thread Ellis Golub
Hi -- I'm connecting 64bit win 7 professional to an SGI tezro running samba 3.5.8. I connect fine, and everything works except, I cannot read or copy large (40 Mb) files. This used to work when I ran win XP and samba 2. I had to upgrade to version 3 for win 7 to connect. Any clues would be app

Re: [Samba] Performance with XP64

2011-03-15 Thread Glenn Maynard
tcpdump reading a 256MB file (from tmpfs) on XP64: http://zewt.org/~glenn/samba.tcpdump.gz, 56M/sec Server (10.0.0.1): Ubuntu (karmic), 2.6.28-13, Samba 3.4.0, Intel 82572EI Client (10.0.0.2): XP64 SP2, Intel PRO/1000 GT (same card as the server, I think) wget http://10.0.0.1/ramdisk -O nul: 97M/s

Re: [Samba] WINS Server TIme out registering IP

2011-03-15 Thread Mike Brady
Quoting TAKAHASHI Motonobu : From: Mike Brady Date: Fri, 11 Mar 2011 08:59:49 +1300 I am seeing the following messages logged every 20 min on a Centos 5.5 Samba 3.5.7 (SerNet RPMs) PDC. (snip) [2011/03/11 07:45:32.336148, 2] nmbd/nmbd_nameregister.c:192(wins_registration_timeout) wins

Re: [Samba] WINS Server TIme out registering IP

2011-03-15 Thread TAKAHASHI Motonobu
From: Mike Brady Date: Fri, 11 Mar 2011 08:59:49 +1300 > I am seeing the following messages logged every 20 min on a Centos 5.5 > Samba 3.5.7 (SerNet RPMs) PDC. > (snip) > > [2011/03/11 07:45:32.336148, 2] > nmbd/nmbd_nameregister.c:192(wins_registration_timeout) >wins_registration_tim

Re: [Samba] Issue with samba SID

2011-03-15 Thread TAKAHASHI Motonobu
From: Moisés_Barba_Pérez Date: Tue, 15 Mar 2011 13:06:03 +0100 >I have a samba PDC with LDAP, samba 3.0.33 and 389DS 1.2.5. I am adding > computer accounts with smbldap-useradd script configured in smb.conf like > this: > > add machine script= /usr/bin/perl -w > /opt/ldap/smbldap

Re: [Samba] create_builtin_administrators: Failed to create Administrators (Solaris 10)?

2011-03-15 Thread Gaiseric Vandal
Is this a domain member/ standalone server? You may want to try defining gruop mappings for some of the local well known built in Windows groups e.g. BUILTIN\ADMINISTRATORS S-1-5-32-544 BUILTIN\USERS S-1-5-32-545 BUILTIN\GUESTS S-1-5-32-546 BUILTIN\POWER USERS

Re: [Samba] howto check and setup privileges

2011-03-15 Thread TAKAHASHI Motonobu
From: Thomas Stegbauer Date: Tue, 15 Mar 2011 12:23:21 +0100 > when using > enable privileges = yes in smb.conf > > where does the permission get saved? > > I assume in the passdb backend or is there a tdb server specific file in > /var/lib/samba? These infos are stored in $lockdir/account_pol

Re: [Samba] Printer drivers installation: files are not deleted

2011-03-15 Thread Thomas Stegbauer
Am 14.03.2011 09:04, schrieb Laurent Blume: Le 13.03.2011 22:37, Thomas Stegbauer a écrit : i have a similar problem, here. When trying to add a new printer via apw from a winXP32, the driver files get copied over to print$ on the ubuntu 10.04 Server (Samba 3.4.7) afterwards it says "Permission

[Samba] Issue with samba SID

2011-03-15 Thread Moisés Barba Pérez
Hello: I have a samba PDC with LDAP, samba 3.0.33 and 389DS 1.2.5. I am adding computer accounts with smbldap-useradd script configured in smb.conf like this: add machine script= /usr/bin/perl -w /opt/ldap/smbldap-tools/bin/smbldap-useradd -w -c '%a' -t 10 -J Equipos '%u' My prob

Re: [Samba] Printer drivers installation: files are not deleted

2011-03-15 Thread Thomas Stegbauer
ok, where do i know what files do need? all files from the extracted directory? for example i have an oki ES7411 the extracted directory looks like this: not all files listed. oki-c610 OKB3S035.INF file OK091U0S.CCM file okb3x035.hlp file i386 directory (containing 19files) askoki

Re: [Samba] Permission and Owner issue on child file/folder

2011-03-15 Thread TAKAHASHI Motonobu
From: Brajesh Shrivastava Date: Tue, 15 Mar 2011 16:59:12 +0530 > > How about these parameters: > > inherit permissions = yes > > inherit owner = no > Thanks a lot Motonob for immediate response. > > Tried this combination, but it didn't work. When I am trying to create a > file/folder then

Re: [Samba] Permission and Owner issue on child file/folder

2011-03-15 Thread Santiago DIEZ
When I read Motonobu's answer, the first thing I did was go check the parameter in smb.confmanual. It's quite obvious that the next parameter, just after *inherit owner (S)*is *inherit permissions (S)*. I guess that would do what you

Re: [Samba] howto check and setup privileges

2011-03-15 Thread Daniel Müller
Net rpc rights list user EX: [root@ctdb1 ~]# net rpc -S ctdb1 rights grant 'administrator' SePrintOperatorPrivilege Enter root's password: Successfully granted rights. [root@ctdb1 ~]# net rpc rights list administrator Enter root's password: SePrintOperatorPrivilege

Re: [Samba] create_builtin_administrators: Failed to create Administrators (Solaris 10)?

2011-03-15 Thread TAKAHASHI Motonobu
From: Jack Bush Subject: [Samba] create_builtin_administrators: Failed to create Administrators (Solaris 10)? Date: Mon, 14 Mar 2011 23:04:12 -0700 (PDT) > Samba 3.0.37 is working on my Solaris 10 (Sun Fire T5520) Sparc server but > /var/samba/log/smbd.log displayed the following error: > > $

Re: [Samba] Printer drivers installation: files are not deleted

2011-03-15 Thread Daniel Müller
If you already uploaded the driver to [print$] >> rpcclient -U DOMAIN\\LOGIN%PASSWD -c "adddriver \"Windows x64\" \"HP >> Universal Printing PS >> (v5.1):PSCRIPT5.dll:hpcu104s.ppd:hpmdp104.dll:PSCRIPT.HLP:NULL:RAW:hpcdmc64.dll,hpbcfgre.dll,hpcpu104.CFG,hpcui104.dll,hpcpe104.dll,hpcur104.dll,hp

Re: [Samba] Permission and Owner issue on child file/folder

2011-03-15 Thread Brajesh Shrivastava
Thanks a lot Motonob for immediate response. Tried this combination, but it didn't work. When I am trying to create a file/folder then full control is being assigned to the user for that file/directory. I want to inherit the permission of user from parent directory instead of assigning full cont

Re: [Samba] Permission and Owner issue on child file/folder

2011-03-15 Thread Santiago DIEZ
Thanks Motonobu for correcting me. --- *Santiago DIEZ Directeur **Portable: +33 6 37 90 81 98 Bureau: +33 9 70 44 77 87* *32 boulevard de Strasbourg, 75010 Paris* On Tue, Mar 15, 2011 at 12:19 PM, TAKAHASHI Motonobu wrote: > From: Brajesh Shrivastava > Subject: [Samba] Permission and Owner i

[Samba] Quick question: Can Winbind allocate gids?

2011-03-15 Thread Claudio Prono
Hello all, Into my samba logs i have this message: WARNING: Failed to create BUILTIN\Users group! Can Winbind allocate gids? But...if i do a wbinfo -g it works: wbinfo -g domain computers domain admins domain guests domain users And winbind is running normally. The error i recieve is the foll

Re: [Samba] Permission and Owner issue on child file/folder

2011-03-15 Thread Santiago DIEZ
Hi Brajesh, As far as I know, you cannot do that. Group can be inherited using the *s* permission (octal *2000*). But the owner of a file will always be the user who created it. Good luck --- *Santiago DIEZ Directeur **Portable: +33 6 37 90 81 98 Bureau: +33 9 70 44 77 87* *32 boulevard de Strasb

[Samba] howto check and setup privileges

2011-03-15 Thread Thomas Stegbauer
hi everybody, when using enable privileges = yes in smb.conf where does the permission get saved? I assume in the passdb backend or is there a tdb server specific file in /var/lib/samba? cause when i give a group the permission: net rpc -S pa-server1 rights grant 'NET\domadmin' SePrintOper

Re: [Samba] Permission and Owner issue on child file/folder

2011-03-15 Thread TAKAHASHI Motonobu
From: Brajesh Shrivastava Subject: [Samba] Permission and Owner issue on child file/folder Date: Tue, 15 Mar 2011 16:38:50 +0530 > Hi All > > I want to inherit the parent folder permission on its child file/folder. > However, owner should be the same user who is creating file/folder (i.e. > owne

[Samba] Permission and Owner issue on child file/folder

2011-03-15 Thread Brajesh Shrivastava
Hi All I want to inherit the parent folder permission on its child file/folder. However, owner should be the same user who is creating file/folder (i.e. owner shouldn't be inherited from the parent directory). Is there any way to achieve this. I am currently using Samba 3.5.7. Thanks in advance.

Re: [Samba] Printer drivers installation: files are not deleted

2011-03-15 Thread Thomas Stegbauer
Hello Daniel, where do i get all the dlls needed for the driver? the test "HP Color Laserjet 2800 (PS)" from Windows XP has 23files? is it really needed to extract them from a fresh Windows Install? net rpc rights is already done. best regards thomas Am 15.03.2011 11:36, schrieb Daniel Müller

[Samba] Permission and Owner issue on child file/folder

2011-03-15 Thread Brajesh Shrivastava
Hi All I want to inherit the parent folder permission on its child file/folder. However, owner should be the same user who is creating file/folder (i.e. owner shouldn't be inherited from the parent directory). Is there any way to achieve this. I am currently using Samba 3.5.7. Thanks in advance.

Re: [Samba] Win7/W2K8 R2 sp1

2011-03-15 Thread Gaiseric Vandal
I had two Win 7 (x64) machines. Both of which crashed while installing updates (presumably SP1) via auto-updates yesterday morning. I was talking to someone from another company and this is clearly a common event. I have done a clean install of one with Win 7 (x64.) I then downloaded and manua

Re: [Samba] Printer drivers installation: files are not deleted

2011-03-15 Thread Thomas Stegbauer
my mailserver exchanged my sender-adress before. Am 11.03.2011 16:59, schrieb Thomas Stegbauer: Hallo Laurent, i have a similar problem, here. When trying to add a new printer via apw from a winXP32, the driver files get copied over to print$ on the ubuntu 10.04 Server (Samba 3.4.7) afterward

Re: [Samba] Printer drivers installation: files are not deleted

2011-03-15 Thread Thomas Stegbauer
Am 13.03.2011 22:37, schrieb Thomas Stegbauer: Hallo Laurent, i have a similar problem, here. When trying to add a new printer via apw from a winXP32, the driver files get copied over to print$ on the ubuntu 10.04 Server (Samba 3.4.7) afterwards it says "Permission denied" And the driver get n

Re: [Samba] Printer drivers installation: files are not deleted

2011-03-15 Thread Daniel Müller
Then try first: Net rpc rights grant "yourusername/or groupname" SePrintOperatorPrivilege -Uyouradmin The $DRVIER ist the driver you uploaded with rpcclient. Rpcclient -L localhost -U root -c 'setdriver AdobePs5.dll adobe' EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Pa

Re: [Samba] wbinfo --> Could not remove gid to sid mapping

2011-03-15 Thread markus hansen
Hi, thanks for your reply. > > wbinfo --set-gid-mapping=, > > returns: "" > > > > > > any chance to fix this? > > Maybe, using the net command. I believe you would be able to use `net > groupmap` to modify the relation, and there are other net commands that > can probably put this straight.

Re: [Samba] vfs_gpfs module errors

2011-03-15 Thread Bob Cregan
Hi Volker Thanks for your reply. I've set this in both the share and the global section (I'm not sure about vfs directives in this respect) and the error remains. Thanks Bob On Mon, Mar 14, 2011 at 01:48:25PM +, Bob Cregan wrote: Hi I'm encountering an error wit

Re: [Samba] delete file being transferred

2011-03-15 Thread Volker Lendecke
On Mon, Mar 14, 2011 at 10:48:33PM -0400, chaojie.x...@emc.com wrote: > I am currently using lvm snapshot. if I am uploading a big > file to samba share folder and during the transmission I > want to make a snapshot with lvcreate for the volume where > share folder is. > > If I make snapshot when