Re: [Samba] Auditing/logging with latest Samba release

2009-08-20 Thread Volker Lendecke
On Fri, Aug 21, 2009 at 10:35:44AM +1000, Adam Nielsen wrote: > I just upgraded from Samba 3.0 to 3.2 and found that the old smbd_audit > module no longer works. This module logs all file accesses (especially > deletes and renames) into a MySQL database (with a web frontend) and is > extremely use

[Samba] Auditing/logging with latest Samba release

2009-08-20 Thread Adam Nielsen
Hi all, I just upgraded from Samba 3.0 to 3.2 and found that the old smbd_audit module no longer works. This module logs all file accesses (especially deletes and renames) into a MySQL database (with a web frontend) and is extremely useful for us as sometimes our users accidentally move things ar

Re: [Samba] netlogon.bat issues

2009-08-20 Thread David Christensen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alex Crow wrote: > Depending on the version of Samba, it could be that "passdb expand > explicit = yes" is required. I ran across this in a similar situation > due to a change in default behaviour. > > Alex Alex, Thanks for the info, I will investiga

Re: [Samba] samba 3.4 performance tuning

2009-08-20 Thread Adam Tauno Williams
On Thu, 2009-08-20 at 23:44 +0300, Eero Volotinen wrote: > Adam Tauno Williams kirjoitti: > > On Thu, 2009-08-20 at 23:06 +0300, Eero Volotinen wrote: > >> Any hints for samba performance tuning parameters in smb.conf? > >> current parameters: > >> First connection (drive map) from windows machines

Re: [Samba] samba 3.4 performance tuning

2009-08-20 Thread Eero Volotinen
Adam Tauno Williams kirjoitti: On Thu, 2009-08-20 at 23:06 +0300, Eero Volotinen wrote: Any hints for samba performance tuning parameters in smb.conf? current parameters: First connection (drive map) from windows machines is a bit slow, maybe disabling ipv6 helps for that? Why not suss out wh

Re: [Samba] netlogon.bat issues

2009-08-20 Thread David Christensen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dale Schroeder wrote: > David Christensen wrote: > > Dale Schroeder wrote: > > > David, > > Your netlogon share is more complicated than most. > Consider initially commenting out all the mask and mode parameters and the > valid users parameter. >

Re: [Samba] netlogon.bat issues

2009-08-20 Thread Alex Crow
Depending on the version of Samba, it could be that "passdb expand explicit = yes" is required. I ran across this in a similar situation due to a change in default behaviour. Alex -- This message is intended only for the addressee and may contain confidential information. Unless you are that pe

Re: [Samba] netlogon.bat issues

2009-08-20 Thread Dale Schroeder
David Christensen wrote: Dale Schroeder wrote: David, Your netlogon share is more complicated than most. Consider initially commenting out all the mask and mode parameters and the valid users parameter. If it then works, add them back one at a time until it breaks. Depending on what the gl

Re: [Samba] 'inherit owner' doesn't play nice with 'force directory mode'

2009-08-20 Thread jw
On Wed, Aug 19, 2009 at 11:05 PM, Harry Jede wrote: > On Dienstag, 18. August 2009 wrote jw: >> Is this correct behavior, or a bug? > You should try posix acls. Read the man pages: > getfacl > setfacl > acl > > or search this list archiv. Look for "default acl". > I have not used ACLs much, but th

Re: [Samba] samba 3.4 performance tuning

2009-08-20 Thread Adam Tauno Williams
On Thu, 2009-08-20 at 23:06 +0300, Eero Volotinen wrote: > Any hints for samba performance tuning parameters in smb.conf? > current parameters: > First connection (drive map) from windows machines is a bit slow, maybe > disabling ipv6 helps for that? Why not suss out where the delay is before cha

Re: [Samba] netlogon.bat issues

2009-08-20 Thread Helmut Hullen
Hallo, Dale, Du meintest am 20.08.09: > Check that the execute bit is set on the .bat files. I used 755 > permissions with root:root ownership. That's not necessary. It has to be run (read) under DOS/Windows from a Windows client, not run under Linux. Therefore 644 is enough (maybe 640 does

Re: [Samba] netlogon.bat issues

2009-08-20 Thread Helmut Hullen
Hallo, David, Du meintest am 20.08.09: > The preexec script actually creates a netlogon.bat file for each user > when they log in and sets the file ownership to that of the user > logging in. Can DOS/Windows run this batch file? If it's created under Linux maybe it has Linux LF and not DOS CRL

[Samba] samba 3.4 performance tuning

2009-08-20 Thread Eero Volotinen
Any hints for samba performance tuning parameters in smb.conf? current parameters: workgroup = server string = XX passdb backend = smbpasswd log file = /var/log/samba/log.%m max log size = 50 unix extensions = No load printers = No

Re: [Samba] netlogon.bat issues

2009-08-20 Thread David Christensen
Dale Schroeder wrote: > David, > > Your netlogon share is more complicated than most. > Consider initially commenting out all the mask and mode parameters and the > valid users parameter. > If it then works, add them back one at a time until it breaks. > > Depending on what the global preexec sc

Re: [Samba] netlogon.bat issues

2009-08-20 Thread Dale Schroeder
David, Your netlogon share is more complicated than most. Consider initially commenting out all the mask and mode parameters and the valid users parameter. If it then works, add them back one at a time until it breaks. Depending on what the global preexec script does, you may want to initiall

Re: [Samba] samba vbscript login script blocked by windows

2009-08-20 Thread Samuel Soulard
What is your vbs script suppose to do. Personally, i'M using kixtart scripting -Original Message- From: Christopher Perry Sent: Thursday, 20 August 2009 5:50 PM To: samba@lists.samba.org Subject: [Samba] samba vbscript login script blocked by windows Hi, anyone else using a vbs script f

[Samba] samba vbscript login script blocked by windows

2009-08-20 Thread Christopher Perry
Hi, anyone else using a vbs script for a login script and getting it blocked by windows? more specifically, wscript.exe is what's getting blocked. I tried editing the Windows firewall, but that didn't seem to help. Any help would be greatly appreciated. Chris -- To unsubscribe from this list

[Samba] LDAP errors with v3.0.34 using the LDAP schema file with Sun DS 5.2

2009-08-20 Thread Rob Mottishaw
Receive the following errors when users authenticate with LDAP schema file included with Sun DS 5.2: ERROR<5897> - Schema - conn=-1 op=-1 msgId=-1 - User error: Entry "sambaDomainName=,??=???,??=???", attribute "sambapwdhistorylength" is not allowed ERROR<5897> - Schema - conn=-1 op

Re: [Samba] netlogon.bat issues

2009-08-20 Thread David Christensen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Christensen wrote: > I have samba configured so that users have their own netlogon.bat file > (e.g. %U.bat) and each user has a .bat with their username in the > netlogon share. > > So far I have been unable to get any of the shares that I have

Re: [Samba] Keeping a list of NetBIOS names on a network?

2009-08-20 Thread Matthew Dempsky
Thanks for the very detailed answer! For what it's worth, I've found "smbtree -NS" seems to give the output I'm looking for. Now I'm just looking for a more programmatic interface to get that same information. :) -- To unsubscribe from this list go to the following URL and read the instructions:

[Samba] netlogon.bat issues

2009-08-20 Thread David Christensen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have samba configured so that users have their own netlogon.bat file (e.g. %U.bat) and each user has a .bat with their username in the netlogon share. So far I have been unable to get any of the shares that I have defined in the batch file to be mou

Re: [Samba] Veto files question

2009-08-20 Thread Adam Tauno Williams
On Thu, 2009-08-20 at 09:34 -0400, Allen Chen wrote: > Hi, there > I have a question about Veto files in smb.conf: > Can we use this option to hidden files not belonging to myself in a > shared folder? No, AFAIK, veto files just match the name of the file to some pattern; it doesn't concern itsel

[Samba] Veto files question

2009-08-20 Thread Allen Chen
Hi, there I have a question about Veto files in smb.conf: Can we use this option to hidden files not belonging to myself in a shared folder? If not, how do we implement this functionality in Samba? Thanks, Allen -- To unsubscribe from this list go to the following URL and read the instructions

Re: [Samba] central PDC + remote BDCs: LDAP strategy, my lack of comprehension

2009-08-20 Thread Michal Dobroczynski
Hello Sven, I have the following structure here: - one PDC talking to RW OpenLDAP - three BDCs talking to RO OpenLDAP replica Basically I am using additional BDCs as file servers - and so far it works fine. Please take a look on "password server" and "passdb backend" (here you specify the RO repli

[Samba] central PDC + remote BDCs: LDAP strategy, my lack of comprehension

2009-08-20 Thread sven . ehret
Hello, I am trying to figure out how to implement a samba domain in a number of remote offices around the world with partly bad and often interrupted WAN connections/VPNs. The goal is to administer the directory from the central data center. My obvious choice would be to set up a central server

Re: [Samba] Which version do I need for SMB2?

2009-08-20 Thread John Klimek
Thanks very much for the help. I'm using a private network so I don't need to worry about authentication security (eg. Kerberos, etc) and because I'm using Windows Server 2008 I have the option of using SMB or NFS. I'm serving both a Windows client and a Linux client but with Windows Server 2008

[Samba] Script to Auto-add Domain Users to Workstation Power Users Group doesn't work

2009-08-20 Thread Avinash Rao
Ubuntu 8.04 Server 64-bit Edition Samba 3.0.28a configured as PDC WinXP - SP2 clients I am following the instructions in http://www.samba.org/samba/docs/man/...#magicnetlogon to add domain users to the winxp clients Power Users group. Code: autopoweruser.sh #!/bin/bash /usr/bin/net rpc group ad

Re: [Samba] Which version do I need for SMB2?

2009-08-20 Thread Helmut Hullen
Hallo, John, Du meintest am 19.08.09: > Last question then... > What about NFS versus SMB? Are both about the same speed? [fullquote deleted] NFS is faster, but (in my opinion, and without Kerberos etc.) less secure. On some machines I had mounted NFS shares from other machines and had m

Re: [Samba] Samba 3 PDC > 3.3.4 broken with Win 7 RTM

2009-08-20 Thread Costin Guşă
Hi, I am looking forward to successfully join and logon a Windows 7 RTM to a Samba 3 domain. After a little googling and experimenting I came to conclusion that only version 3.3.4 of samba can accept such clients : - http://www.1stbyte.com/2009/05/31/join-windows-7-to-samba-pdc/ - http://ubuntuforu

Re: [Samba] Which version do I need for SMB2?

2009-08-20 Thread Volker Lendecke
On Wed, Aug 19, 2009 at 07:24:08PM -0400, John Klimek wrote: > What about NFS versus SMB? Are both about the same speed? Should be, yes. Although for specific operations there might be differences. Volker signature.asc Description: Digital signature -- To unsubscribe from this list go to the