Re: [Samba] Samba 3.5.6 and ACL patch

2010-11-23 Thread Derek Lewis
I thought this indicated a problem in the mapping since these ids donot
correspond to the users on the PC.

-Original Message-
From: Jeremy Allison [mailto:j...@samba.org] 
Sent: Tuesday, November 23, 2010 4:53 PM
To: Derek Lewis
Cc: samba@lists.samba.org
Subject: Re: [Samba] Samba 3.5.6 and ACL patch

On Thu, Nov 18, 2010 at 01:07:48AM -0800, Derek Lewis wrote:
> I have Samba 3.5.6 running patched with the ACL jumbo patch.  When
checking
> the properties of directories under a Samba share, I do not see
differences
> in the mapping of users and permissions for directories from the
un-patched
> version.  I still get "CREATOR OWNER" and "CREATOR GROUP" showing up in
the
> security tab under properties.

What are you expecting ? We'll display "CREATOR OWNER" and "CREATOR GROUP"
when creating a mapping for the default POSIX ACL on a directory.

Jeremy.

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


Re: [Samba] samba replacing novell

2010-11-23 Thread Petre Bandac
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hallo

attached is the tcpdump for the computer with the slow running app -
remote workstation with openvpn

(for the local computers - it is only the app that freezes, not the
whole operating system)

the workstations are all win xp

I shall test today from the remote workstation with the share from a 2k3
server and see what happens, in order to exactly locate where the
problem resides

I have also enabled debug level 10 and see what comes up; hopefully this
won't overload the server

thanks,

petre


Jeremy Allison wrote:
> On Tue, Nov 23, 2010 at 01:55:41AM +0200, Petre Bandac wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> hallo
>>
>> I have decomissioned an old novell netware serving as fileserver for a
>> foxpro app with a samba virtual freebsd machine under vmware esxi
>>
>> all works ok (time of response when browsing folders, throughput at
>> speed tests, etc), except the following foxpro related issues which I
>> could not solve in the  last week:
>>
>> - - when ran from LAN, the app randomly freezes from time to time
> 
> Can you get wireshark traces or debug level 10 logs of what is
> going on when the app freezes ? Does it eventually display an
> error message or is the client computer just frozen and needs
> to be rebooted ?
> 
>> - - when ran from a remote location (connected via openvpn), the app takes
>> a very long time to open, and when searching for records it takes more
>> than 2-3 minutes to display the results of the query (even though other
>> tests have shown the connectivity is ok and file transfer is as fast as
>> the line allows) - this happens even if this workstation is the only one
>> accesing the fileserver
>>
>> this behavior appeared only after switching from novell to samba
> 
> Again, traces of what is going on here would be needed. If the client
> machine is Win7, SMB2 support (due in Samba 3.6.0) might help as
> Microsoft have done lots of work on the SMB2 redirector for high
> latency links.
> 
> Jeremy.

- --

Petre Bandac

Network Scientist

- -
pe...@kgb.ro
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFM7EtqwAhp/odORYgRApB6AJ49ioulG2Z8I3x6kffLE5QUhI67RQCfZDjb
x8FXNHj0OW9adyxlMAwOFJE=
=O3eW
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

[Samba] MAC OSX 10.6.5 server - SMB how to update ?

2010-11-23 Thread joecool99

2010 mac mini server, latest updates. i noticed the SMB is pretty old
version:

Samba version 3.0.28a-apple


On apple website, the latest i see is: 3.4.4
http://www.apple.com/downloads/macos...rce/samba.html

And even latest one i found would be here 3.5.2:
http://download.cnet.com/Samba/3000-18506_4-24811.html

Why does apple not updates such important part of the server SW package ?
How can i do so manually ?

I called applecare, was told that the server admin interface (GUI) will not
work ?! Is that true ?


i use the MAC server as a simple fileserver with 8 PC's running Windows 7.
the SMB has checked both workgroup master browser and domain master bowser
and runs WINS too.

i see this log - what's wrong ?

[2010/11/18 07:30:53, 0, pid=63]
/SourceCache/samba/samba-235.5/samba/source/nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
  *
  
  Samba name server SERVER is now a local master browser for workgroup
WORKGROUP on subnet 192.168.0.2
  
  *
[2010/11/18 07:30:53, 2, pid=63]
/SourceCache/samba/samba-235.5/samba/source/nmbd/nmbd_browsesync.c:announce_local_master_browser_to_domain_master_browser(108)
  announce_local_master_browser_to_domain_master_browser:
  We are both a domain and a local master browser for workgroup WORKGROUP. 
Do not announce to ourselves.
[2010/11/18 07:30:53, 2, pid=63]
/SourceCache/samba/samba-235.5/samba/source/nmbd/nmbd_browsesync.c:sync_with_dmb(152)
  sync_with_dmb:
  Initiating sync with domain master browser SERVER<20> at IP 192.168.0.2
for workgroup WORKGROUP
[2010/11/18 07:45:59, 2, pid=63]
/SourceCache/samba/samba-235.5/samba/source/nmbd/nmbd_browsesync.c:announce_local_master_browser_to_domain_master_browser(108)
  announce_local_master_browser_to_domain_master_browser:
  We are both a domain and a local master browser for workgroup WORKGROUP. 
Do not announce to ourselves.
[2010/11/18 07:45:59, 2, pid=63]
/SourceCache/samba/samba-235.5/samba/source/nmbd/nmbd_browsesync.c:sync_with_dmb(152)
  sync_with_dmb:
  Initiating sync with domain master browser SERVER<20> at IP 192.168.0.2
for workgroup WORKGROUP
[2010/11/18 08:01:13, 2, pid=63]
/SourceCache/samba/samba-235.5/samba/source/nmbd/nmbd_browsesync.c:announce_local_master_browser_to_domain_master_browser(108)
  announce_local_master_browser_to_domain_master_browser:
  We are both a domain and a local master browser for workgroup WORKGROUP. 
Do not announce to ourselves.
[2010/11/18 08:01:13, 2, pid=63]
/SourceCache/samba/samba-235.5/samba/source/nmbd/nmbd_browsesync.c:sync_with_dmb(152)
  sync_with_dmb:
  Initiating sync with domain master browser SERVER<20> at IP 192.168.0.2
for workgroup WORKGROUP
[2010/11/18 08:16:23, 2, pid=63]
/SourceCache/samba/samba-235.5/samba/source/nmbd/nmbd_browsesync.c:announce_local_master_browser_to_domain_master_browser(108)
  announce_local_master_browser_to_domain_master_browser:
  We are both a domain and a local master browser for workgroup WORKGROUP. 
Do not announce to ourselves.
[2010/11/18 08:16:23, 2, pid=63]
/SourceCache/samba/samba-235.5/samba/source/nmbd/nmbd_browsesync.c:sync_with_dmb(152)
  sync_with_dmb:
  Initiating sync with domain master browser SERVER<20> at IP 192.168.0.2
for workgroup WORKGROUP
[2010/11/18 08:31:18, 2, pid=63]
/SourceCache/samba/samba-235.5/samba/source/nmbd/nmbd_browsesync.c:announce_local_master_browser_to_domain_master_browser(108)
  announce_local_master_browser_to_domain_master_browser:
  We are both a domain and a local master browser for workgroup WORKGROUP. 
Do not announce to ourselves.
[2010/11/18 08:31:18, 2, pid=63]
/SourceCache/samba/samba-235.5/samba/source/nmbd/nmbd_browsesync.c:sync_with_dmb(152)
  sync_with_dmb:
  Initiating sync with domain master browser SERVER<20> at IP 192.168.0.2
for workgroup WORKGROUP





-- 
View this message in context: 
http://samba.2283325.n4.nabble.com/MAC-OSX-10-6-5-server-SMB-how-to-update-tp3054725p3054725.html
Sent from the Samba - General mailing list archive at Nabble.com.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] mount.cifs and Umlaut in share name

2010-11-23 Thread Günter Kukkukk
Am Dienstag 23 November 2010, 14:39:56 schrieb Jeff Layton:
> On Tue, 23 Nov 2010 10:33:31 +0100
> Andreas Heinlein  wrote:
> 
> > Hello,
> > 
> > I need to mount a CIFS share (in the end via fstab, for now manually
> > from terminal) which has both a space and a german umlaut in its name. I
> > cannot get mount.cifs to mount it, it always complains it cannot find it.
> > 
> > I managed to get around the space problem in fstab with the \040 trick,
> > but I cannot find a way to correctly encode the umlaut. When looking at
> > the output of "mount.cifs --verbose '//server/Täst Freigabe' /mnt", it
> > looks like it is accessing the correct share, but it does not work.
> > 
> > I also got a hint here
> > (https://bugs.launchpad.net/ubuntu/+source/gnome-vfs/+bug/414865) to
> > pipe the share name through iconv, but "mount.cifs $(echo //server/Täst
> > Freigabe | iconv -t850) /mnt" also does not work.
> > 
> > What can I do? Changing the share name is currently not an option, there
> > are just too many users with links/bookmarks to it.
> > 
> > Thanks,
> > Andreas
> 
> Seems like something we ought to be able to fix. Could you open a bug
> at bugzilla.samba.org, cc me on it, and then post the output of
> "mount.cifs --verbose '//server/Täst Freigabe' /mnt" to it?
> 
> Thanks,
> 

I've exported the same "Täst Freigabe" share on a samba and a winxp box.
Here i don't have any problems to mount both of them using cifs - also "unix 
extensions"
on or off makes no difference.

Current test environment on the opensuse 11.3 client:
modinfo cifs
filename:   /lib/modules/2.6.34.7-0.5-default/kernel/fs/cifs/cifs.ko
version:1.62


mount.cifs -V
mount.cifs version: 4.6


Andreas, can you please also post the outcome of
  - modinfo cifs
  - mount.cifs -V

What kind of smb server are you trying to connect to?
smbclient -L  -U 
will tell like:
Domain=[DOMAIN01] OS=[Unix] Server=[Samba 3.6.0-GIT-097be4b-devel]

What locale settings are effective? Here e.g.
LC_CTYPE=de_DE.UTF-8

Cheers, Günter

In addition, a network trace might help, too.
http://wiki.samba.org/index.php/Capture_Packets
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba 3.5.6 and ACL patch

2010-11-23 Thread Jeremy Allison
On Thu, Nov 18, 2010 at 01:07:48AM -0800, Derek Lewis wrote:
> I have Samba 3.5.6 running patched with the ACL jumbo patch.  When checking
> the properties of directories under a Samba share, I do not see differences
> in the mapping of users and permissions for directories from the un-patched
> version.  I still get "CREATOR OWNER" and "CREATOR GROUP" showing up in the
> security tab under properties.

What are you expecting ? We'll display "CREATOR OWNER" and "CREATOR GROUP"
when creating a mapping for the default POSIX ACL on a directory.

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


Re: [Samba] windows 7

2010-11-23 Thread Jonathan Knight


I think the problem that you are seeing is that the Windows 7 PC will 
join the domain but then fail to log any users on.


There is some better documentation out there, but the solution is to have

   server signing = disabled

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


Re: [Samba] samba replacing novell

2010-11-23 Thread Jeremy Allison
On Tue, Nov 23, 2010 at 01:55:41AM +0200, Petre Bandac wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> hallo
> 
> I have decomissioned an old novell netware serving as fileserver for a
> foxpro app with a samba virtual freebsd machine under vmware esxi
> 
> all works ok (time of response when browsing folders, throughput at
> speed tests, etc), except the following foxpro related issues which I
> could not solve in the  last week:
> 
> - - when ran from LAN, the app randomly freezes from time to time

Can you get wireshark traces or debug level 10 logs of what is
going on when the app freezes ? Does it eventually display an
error message or is the client computer just frozen and needs
to be rebooted ?

> - - when ran from a remote location (connected via openvpn), the app takes
> a very long time to open, and when searching for records it takes more
> than 2-3 minutes to display the results of the query (even though other
> tests have shown the connectivity is ok and file transfer is as fast as
> the line allows) - this happens even if this workstation is the only one
> accesing the fileserver
> 
> this behavior appeared only after switching from novell to samba

Again, traces of what is going on here would be needed. If the client
machine is Win7, SMB2 support (due in Samba 3.6.0) might help as
Microsoft have done lots of work on the SMB2 redirector for high
latency links.

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


Re: [Samba] samba replacing novell

2010-11-23 Thread petre
hallo, please see answers below

> Does the application create temporary files?  Or does it try to create
> temporary files?  Can you configure the app to use the local client hard
> drive for temporary files.I found that some MS Office Apps do funny
> things with file permissions that are more likely to show up on a Samba
> server (mapping NTFS to Unix permissions) than on a Windows file server
> (native NTFS.)

the shortcuts for the app use start in = network path and running
directory = c:\ (used for tmp files)

>
> What version of Novell Netware?  Were you using IPX/SPX or TCP/IP?  Where
> you using the Netware client from Novell or the one from Microsoft?

the workstations had the novell netware client installed on (version 4 if
I am not mistaking) and the server was from around '96-'99

> Are you using a UNC path (e.g. \\myserver\share1) or drive mappings to the
> network share (e.g. P:  is mapped to \\myserver\share1.)

there is a script ran from startup which states something like

net use r: \\ip.add.re.ss\share /persistent:yes /USER:\user password

I have my reasons not to have a domain deployed there

I had a windows 2003 server installed as a virtual machine and will test
tomorrow if the behaviour is the same

I would like to keep the samba deployment, though ...

>
>
>
>
>
> -Original Message-
> From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org]
> On Behalf Of Petre Bandac
> Sent: Monday, November 22, 2010 6:56 PM
> To: samba@lists.samba.org
> Subject: [Samba] samba replacing novell
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> hallo
>
> I have decomissioned an old novell netware serving as fileserver for a
> foxpro app with a samba virtual freebsd machine under vmware esxi
>
> all works ok (time of response when browsing folders, throughput at
> speed tests, etc), except the following foxpro related issues which I
> could not solve in the  last week:
>
> - - when ran from LAN, the app randomly freezes from time to time
>
> - - when ran from a remote location (connected via openvpn), the app takes
> a very long time to open, and when searching for records it takes more
> than 2-3 minutes to display the results of the query (even though other
> tests have shown the connectivity is ok and file transfer is as fast as
> the line allows) - this happens even if this workstation is the only one
> accesing the fileserver
>
> this behavior appeared only after switching from novell to samba
>
> the question which would summarize this situation would be "what exactly
> did the novell netware for the foxpro app which samba does/cannot do?"
>
> I have tried with
>
> level2 oplocks = no
> oplocks = no
>
> added IPTOS_THROUGHPUT to socket options
>
> and the same result
>
> testparm output is below
>
>
> thank you for your time,
>
> petre
>
> ##
>
> [global]
> workgroup = SOME_WORKGROUP
> server string = fileserver
> security = SHARE
> map to guest = Bad Password
> guest account = conta
> client lanman auth = Yes
> log file = /var/log/samba34/log.%m
> max log size = 50
> socket options = SO_RCVBUF=8192 SO_SNDBUF=8192 TCP_NODELAY
> dns proxy = No
> wins support = Yes
>
>
> - --
>
> Petre Bandac
>
> Network Scientist
>
> - -
> pe...@kgb.ro
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iD8DBQFM6wL9wAhp/odORYgRAriGAKCbR46R9Yko64aWuMxK9z8/af/FCACfV6Am
> Qfm0+MMXKRrzli3rNFKhhf8=
> =qTzg
> -END PGP SIGNATURE-
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>

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


Re: [Samba] is it possible to prevent many loggings on many computer from only one user?

2010-11-23 Thread Anil Wakhare
Hi,
Go to the User properties
Go to Account
Go to Logon to tab
Give the cpomputer name which u want to login respective user

2010/11/23 Olivier PAVILLA 

> Hi everyone
>
> I would like to know if it's possible to prevent many loggings on many
> computers from only one user?
> I have user who opened 12 computers, logged on those 12 computers and
> ran boinc-client on those 12 computers... I want to prevent this kind of
> behaviour...
>
> Thanks in advance.
>
> Regards.
>
> --
> Olivier Pavilla << 仕事を探しています。求職中です。>>
> S.C.I.R.C. Orléans (Bourgogne) - I.U.F.M. Centre-Val de Loire
> 72 Rue du Faubourg Bourgogne -45044 ORLEANS Cedex 1
> Tel : 02-38-49-26-20 , mailto:olivier.pavi...@univ-orleans.fr
> http://blog.linux-squad.com - 僕の傑作です。
> http://gallery.linux-squad.com - 僕の傑作です。
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>



-- 

---

Thanks & Regards.
Anil S Wakhare.
Pune 411027,Maharashtra,India
Ph:-9763328839
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] mount.cifs and Umlaut in share name

2010-11-23 Thread Jeff Layton
On Tue, 23 Nov 2010 10:33:31 +0100
Andreas Heinlein  wrote:

> Hello,
> 
> I need to mount a CIFS share (in the end via fstab, for now manually
> from terminal) which has both a space and a german umlaut in its name. I
> cannot get mount.cifs to mount it, it always complains it cannot find it.
> 
> I managed to get around the space problem in fstab with the \040 trick,
> but I cannot find a way to correctly encode the umlaut. When looking at
> the output of "mount.cifs --verbose '//server/Täst Freigabe' /mnt", it
> looks like it is accessing the correct share, but it does not work.
> 
> I also got a hint here
> (https://bugs.launchpad.net/ubuntu/+source/gnome-vfs/+bug/414865) to
> pipe the share name through iconv, but "mount.cifs $(echo //server/Täst
> Freigabe | iconv -t850) /mnt" also does not work.
> 
> What can I do? Changing the share name is currently not an option, there
> are just too many users with links/bookmarks to it.
> 
> Thanks,
> Andreas

Seems like something we ought to be able to fix. Could you open a bug
at bugzilla.samba.org, cc me on it, and then post the output of
"mount.cifs --verbose '//server/Täst Freigabe' /mnt" to it?

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


[Samba] is it possible to prevent many loggings on many computer from only one user?

2010-11-23 Thread Olivier PAVILLA
Hi everyone

I would like to know if it's possible to prevent many loggings on many
computers from only one user?
I have user who opened 12 computers, logged on those 12 computers and
ran boinc-client on those 12 computers... I want to prevent this kind of
behaviour...

Thanks in advance.

Regards.

-- 
Olivier Pavilla << 仕事を探しています。求職中です。>>
S.C.I.R.C. Orléans (Bourgogne) - I.U.F.M. Centre-Val de Loire
72 Rue du Faubourg Bourgogne -45044 ORLEANS Cedex 1
Tel : 02-38-49-26-20 , mailto:olivier.pavi...@univ-orleans.fr
http://blog.linux-squad.com - 僕の傑作です。
http://gallery.linux-squad.com - 僕の傑作です。




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

Re: [Samba] Issues with default ACLs in created objects not including parent's owner: old bug or setup issue?

2010-11-23 Thread Harry Jede
On 14:30:30 wrote Christian PERRIER:
> I have recurrent issue with ACLs on a server that's running samba
> 3.2.15 (this is a Debian lenny server and we're not ready, yet, to
> upgrade it...we just upgraded samba from 3.2.5 to 3.2.15+security
> fixes).
>
> If a "foo" directory, owned by "joe", has "joe and "jim" authorized
> to write to it through the filesystem's ACLs (and both in "foo"
> default ACL), and "joe" create a "bar" subdir in this
> directory.then "joe" himself is not added to the default ACL of
> "foo/bar". He can still write to "bar" (as he's the directory
> owner)but any file or dir created by *jim* in foo/bar will not
> have write access for "joe".
show us "getfacl foo" and the share section in smb.conf

> I seem to remember this was an issue fixedsomewhere along 3.4 or
> 3.5 development cycles. However, I couldn't find any relevant bug
> report. Probably because my life is not driven by Bugzilla and I'm
> not good searching with it.
>
> So, would anyone remember about this being a bug.or could that be
> a local setup issue and some mysterious stanza missing in our setup?



-- 

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


[Samba] mount.cifs and Umlaut in share name

2010-11-23 Thread Andreas Heinlein
Hello,

I need to mount a CIFS share (in the end via fstab, for now manually
from terminal) which has both a space and a german umlaut in its name. I
cannot get mount.cifs to mount it, it always complains it cannot find it.

I managed to get around the space problem in fstab with the \040 trick,
but I cannot find a way to correctly encode the umlaut. When looking at
the output of "mount.cifs --verbose '//server/Täst Freigabe' /mnt", it
looks like it is accessing the correct share, but it does not work.

I also got a hint here
(https://bugs.launchpad.net/ubuntu/+source/gnome-vfs/+bug/414865) to
pipe the share name through iconv, but "mount.cifs $(echo //server/Täst
Freigabe | iconv -t850) /mnt" also does not work.

What can I do? Changing the share name is currently not an option, there
are just too many users with links/bookmarks to it.

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


[Samba] read_data: read failure for 4 bytes to client 172.26.1.24. Error = Connection reset by peer

2010-11-23 Thread Kaushal Shriyan
Hi,

I am using unattended project (http://unattended.sourceforge.net/) while
trying to install windows XP on the client machine. I get the below details
in the samba logs.

[2010/11/23 14:13:48, 1] smbd/service.c:make_connection_snum(1033)
 172.26.1.24 (172.26.1.24) connect to service install initially as user
guest (uid=1001, gid=1001) (pid 6681)
[2010/11/23 14:14:03, 0] lib/util_sock.c:read_data(534)
 *read_data: read failure for 4 bytes to client 172.26.1.24. Error =
Connection reset by peer*
[2010/11/23 14:14:03, 1] smbd/service.c:close_cnum(1230)
 172.26.1.24 (172.26.1.24) closed connection to service install

Please suggest/guide further and let me know if you need smb.conf config.

Thanks

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