[Samba] performance

2005-09-21 Thread Mels Kooijman
Hi, We have samba running on a redhat cluster, the samba shares are used for a apache cluster. The connection is with a 100Mb network. We have performance problems, with copy files on one of the apache systems we get a speed of 40Mb/s. When we do the same to a nfs share we get more then 90Mb/s. C

[Samba] Error while logging on windows xp

2005-09-21 Thread Marshall
Hi.. :) I'm having a problem with samba (actually, with Xp Professional Edition) I configured samba, everything's fine. I joined the domain with XP, everything's all right. But if I try to log into samba (with XP) in the inital login screen appears a error that the domain is not disponible. ON

Re: [Samba] completed printjobs stay in queue after "upgrade" 3.0.20rc2 -> 3.0.20

2005-09-21 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brecht Samyn wrote: > A few weeks ago, I upgraded Samba 3.0.1x to 3.0.14a . > After the upgrade, all completed printjobs on all 40 > printers stayed in samba's print queue (they were removed > from the unix-printqueue). When I installed 3.0.20rc2, >

[Samba] Permissions Problem

2005-09-21 Thread JLR
I can see and read the samba share on a Fedora Core 4 box, but I can't add, modify, delete anything neither directories nor files. How do I enable file writing, modification and deletion? --- smb.conf # Global parameters [global] server string = Samba Server username map = /etc/samba/smbusers

[Samba] Question on starting Samba service

2005-09-21 Thread Edouard Ades
Hi, For no particular reason, my Samba service didn't start yesterday, when I went to start it by going in the /usr/local/samba/sbin and then typing SMBD I got an error "permission denied" and something about the port 139 (sorry I don't have the whole error message) No changes were made on the

[Samba] RE: Active DNS registration on join realm?

2005-09-21 Thread Arup Biswas
Excellent! I will certainly look at it. Thanks, -Arup -Original Message- From: Kaplan, Marc [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 21, 2005 9:47 AM To: Arup Biswas; Andrew Bartlett Cc: samba@lists.samba.org; samba-technical@lists.samba.org Subject: RE: Active DNS registrat

[Samba] Samba with Mysql, compilation problem. (Additionnal information)

2005-09-21 Thread MARTIN Pierre
Hey people, i just had a compilation error! I'm pretty happy because it means that i am doing something wrong. It seems that the compiler doesn't find mysql.h include header file. The point is that i have all these includes files in this folder: /usr/local/mysql/include/mysql/ The ./configur

[Samba] Samba with Mysql, compilation problem.

2005-09-21 Thread MARTIN Pierre
First i would like to say hello to everybody here, because i am new to this ML. So here is the description of my problem: I began with a clean samba installation from the stable branch few monthes ago, everything was just fine, i have a linux box which was sharing files for another linux works

[Samba] get quota command

2005-09-21 Thread Rick Brown
I'm running samba 3.0.13 on a debian box, sharing out NFS filesystems from a solaris box. I know, bad idea.. file locking, etc... non-issues at the moment. I've discovered that if I make a share from a local filesystem, the PC's mounting the share see their quota (hard limit, not soft which i

Re: [Samba] Re: locking.tdb: expand_file ftruncate to 8192 failed (Permission denied)

2005-09-21 Thread Jeremy Allison
On Thu, Sep 22, 2005 at 01:09:30AM +0200, Axel Thimm wrote: > On Wed, Sep 21, 2005 at 03:52:42PM -0700, Jeremy Allison wrote: > > On Thu, Sep 22, 2005 at 12:47:08AM +0200, Axel Thimm wrote: > > > I tested it and it runs successfully. > > I'll have to take that back. I tested it on a file on the sy

[Samba] Re: locking.tdb: expand_file ftruncate to 8192 failed (Permission denied)

2005-09-21 Thread Jeremy Allison
On Thu, Sep 22, 2005 at 01:01:45AM +0200, Axel Thimm wrote: > Should I generate a more verbose debug log (what log level > settings?) and place it somewhere on the net? > > I wonder how I'm triggering that code path, it certainly isn't seen by > the typical RHEL4 installs. The lock directory is se

[Samba] Re: locking.tdb: expand_file ftruncate to 8192 failed (Permission denied)

2005-09-21 Thread Axel Thimm
On Wed, Sep 21, 2005 at 03:52:42PM -0700, Jeremy Allison wrote: > On Thu, Sep 22, 2005 at 12:47:08AM +0200, Axel Thimm wrote: > > I tested it and it runs successfully. I'll have to take that back. I tested it on a file on the system disk, I should had tested this on the filesystem the "lock direct

Re: [Samba] Problems printing to remote windows shared printer with 3.0.20

2005-09-21 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Keightley wrote: > Have just upgraded from 3.0.13 to 3.0.20 on our Solaris domain controller. > Machine is also print server running CUPS-1.1.23. > We have a RICOH network printer that we print to via Samba (the printer > seems to have a buil

[Samba] Re: locking.tdb: expand_file ftruncate to 8192 failed (Permission denied)

2005-09-21 Thread Axel Thimm
On Wed, Sep 21, 2005 at 03:50:00PM -0700, Jeremy Allison wrote: > On Thu, Sep 22, 2005 at 12:47:08AM +0200, Axel Thimm wrote: > > > > This is RHEL4 on x86_64. > > > > On Wed, Sep 21, 2005 at 03:00:44PM -0700, Jeremy Allison wrote: > > > Can you run this test program on your system to check the be

[Samba] Re: locking.tdb: expand_file ftruncate to 8192 failed (Permission denied)

2005-09-21 Thread Jeremy Allison
On Thu, Sep 22, 2005 at 12:47:08AM +0200, Axel Thimm wrote: > I tested it and it runs successfully. > > Is there a chance that the fd isn't opened by root in > set_delete_on_close? I can't see a way this can happen. The locking tdb is only opened by locking_init() which is called at line 879 in s

Re: [Samba] Print Sharing problems. (Samba/CUPS, windows client) [SOLVED]

2005-09-21 Thread Mark Dorset
Thanks to Craig who almost by error helped me resolve the problem When he showed his entries, he included this line; printcap = cups I was pretty sure this was meant to be "printcap name = cups" but checked google, and came across these two links; http://debianplanet.net/n

[Samba] Re: locking.tdb: expand_file ftruncate to 8192 failed (Permission denied)

2005-09-21 Thread Jeremy Allison
On Thu, Sep 22, 2005 at 12:47:08AM +0200, Axel Thimm wrote: > > This is RHEL4 on x86_64. > > On Wed, Sep 21, 2005 at 03:00:44PM -0700, Jeremy Allison wrote: > > Can you run this test program on your system to check the behaviour ? > > This program runs correctly on SuSE Linux 9.3 and Fedora Core

[Samba] Re: locking.tdb: expand_file ftruncate to 8192 failed (Permission denied)

2005-09-21 Thread Axel Thimm
On Wed, Sep 21, 2005 at 02:46:17PM -0700, Jeremy Allison wrote: > On Wed, Sep 21, 2005 at 09:01:10PM +0200, Axel Thimm wrote: > > Hi, > > > > I'm hunting a bug in 3.0.x (tested on 3.0.10 and 3.0.20). Users can > > create and modfy files, but cannot delete them. The logs show > > > > [2005/09/21 2

Re: [Samba] XP Pro password change problem

2005-09-21 Thread Gary Dale
Jeremy Allison wrote: On Wed, Sep 21, 2005 at 05:36:53PM -0400, Gary Dale wrote: Further to my e-mail below: I just tried to change some share permissions from an XP Pro workstation by right-clicking on the share | properties | security. The security window shows me the existing permissio

Re: [Samba] locking.tdb: expand_file ftruncate to 8192 failed (Permission denied)

2005-09-21 Thread Jeremy Allison
On Wed, Sep 21, 2005 at 09:01:10PM +0200, Axel Thimm wrote: > Hi, > > I'm hunting a bug in 3.0.x (tested on 3.0.10 and 3.0.20). Users can > create and modfy files, but cannot delete them. The logs show > > [2005/09/21 20:48:14, 0, pid=18388, effective(4019, 412), real(4019, 0)] > tdb/tdbutil.c:t

Re: [Samba] locking.tdb: expand_file ftruncate to 8192 failed (Permission denied)

2005-09-21 Thread Jeremy Allison
On Wed, Sep 21, 2005 at 09:01:10PM +0200, Axel Thimm wrote: > Hi, > > I'm hunting a bug in 3.0.x (tested on 3.0.10 and 3.0.20). Users can > create and modfy files, but cannot delete them. The logs show > > [2005/09/21 20:48:14, 0, pid=18388, effective(4019, 412), real(4019, 0)] > tdb/tdbutil.c:t

Re: [Samba] XP Pro password change problem

2005-09-21 Thread Jeremy Allison
On Wed, Sep 21, 2005 at 05:36:53PM -0400, Gary Dale wrote: > Further to my e-mail below: > > I just tried to change some share permissions from an XP Pro workstation > by right-clicking on the share | properties | security. The security > window shows me the existing permissions which seem corre

[Samba] XP Pro password change problem

2005-09-21 Thread Gary Dale
Further to my e-mail below: I just tried to change some share permissions from an XP Pro workstation by right-clicking on the share | properties | security. The security window shows me the existing permissions which seem correct. Because it takes a second to translate the SIDs into names, I c

RE: [Samba] UTMP duplicated entries

2005-09-21 Thread Talwar, Puneet (NIH/NIAID)
I would like if UTMP would be installed with the samba RPM package that comes with the Red Hat system? -Original Message- From: Talwar, Puneet (NIH/NIAID) Sent: Wednesday, September 21, 2005 4:19 PM To: 'Fabiano Caixeta Duarte' Cc: SAMBA Maillist Subject: RE: [Samba] UTMP duplicated en

RE: [Samba] UTMP duplicated entries

2005-09-21 Thread Talwar, Puneet (NIH/NIAID)
You mean utmp=yes Yes I have put this line in the smb.conf and when I run the last command I don't see myself connected to the server via smb connection. But I do see myself when I telnet or ssh into the box. Do I need to be doing anything else. -Original Message- From: Fabiano Caix

RE: [Samba] UTMP duplicated entries

2005-09-21 Thread Fabiano Caixeta Duarte
On Wed, 21 Sep 2005, Talwar, Puneet (NIH/NIAID) wrote: I know this might be a stupid question but how can I view my utmp file to see who is connected to the server via smb connection? I think I didn't understand your question. Is that it? Use the 'last' command :) And you must have umtp=yes

[Samba] smbpasswd

2005-09-21 Thread Ric Tibbetts
All; I have, what should be a simple install, that is "stuck". I need to set this up, very simply to authenticate the windows user coming in, and present the shares, NOT requiring a password. I've tried everything I can think of, but it always prompts for a password. If I put the user in smbpas

RE: [Samba] UTMP duplicated entries

2005-09-21 Thread Fabiano Caixeta Duarte
On Wed, 21 Sep 2005, Kaplan, Marc wrote: Windows does allow duplicate sessions actually. If you net use * \\hostname\share and then net use \\ipaddress\share for the same server you will get two connections to the same server on your client (you can even use different users). Is it possible that

Re: [Samba] Problems with an old samba patch

2005-09-21 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Henrique Cicuto Machado - SAO/Policia Federal wrote: > Good morning > > Some time ago, "googling" to solve a problem, I've found at the samba list a > patch that allowed kerberized printing to the smb backend. > The link is the following: > > http:/

Re: [Samba] AD Authentication help please?

2005-09-21 Thread Jason Gerfen
Well I made the changes you suggested but I am still not able to view any other container contents. I even used the net ads cache flush to see if I could get it to work. Thanks for the suggestions. Edward Brookhouse wrote: Try changing your winbind separator to a + instead of a / Here is

[Samba] The 6 (or 7) "R's" or Windows support

2005-09-21 Thread smc+samba
I've been joking for years about the "6 R's" of Microsoft voodoo problem solving: 1)Retry the thing that didn't work 2)close and Restart the program that isn't working 3)Reboot 4)Reconfigure the program in case the configuration mysteriously changed or got "corrupted" and try again 5)Reinstal

[Samba] locking.tdb: expand_file ftruncate to 8192 failed (Permission denied)

2005-09-21 Thread Axel Thimm
Hi, I'm hunting a bug in 3.0.x (tested on 3.0.10 and 3.0.20). Users can create and modfy files, but cannot delete them. The logs show [2005/09/21 20:48:14, 0, pid=18388, effective(4019, 412), real(4019, 0)] tdb/tdbutil.c:tdb_log(767) tdb(/srv/physik.fu-berlin.de/data/.samba/cluster1-test/cache

RE: [Samba] Samba authenticating, but not against domain

2005-09-21 Thread Daniel Baughman
Hi again I think I have found part of my problem. When I run a 'getent passwd' command the password type field of the domain users all have * instead of x. Has anyone seen that before? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Baughman Sen

Re: [Samba] Is Samba for me? (win2k sp4 pdc -> samba)

2005-09-21 Thread Gary Dale
ADS is Active Directory Server. This was a new feature with W2K. Think of it as LDAP plus bugs. In an ADS domain, all domain controllers are equal - there are no PDCs and BDCs. While Samba can function as server in an ADS domain, it cannot act as an Active Directory Server. That is, it cannot auth

[Samba] Authentication for user FAILED with error NT_STATUS_NO_SUCH_USER

2005-09-21 Thread Sérgio A P Ferreira
Hi list, I´m trying to get help from list but I am not being happy. What I need to do to get It??? I getting this on syslog file: Sep 21 14:59:15 zeus slapd[2123]: conn=18 fd=15 ACCEPT from IP=127.0.0.1:32791 (IP=0.0.0.0:389) Sep 21 14:59:15 zeus slapd[2123]: conn=18 op=0 BIND dn="cn=samba,ou=D

RE: [Samba] UTMP duplicated entries

2005-09-21 Thread Talwar, Puneet (NIH/NIAID)
I know this might be a stupid question but how can I view my utmp file to see who is connected to the server via smb connection? -Original Message- From: Kaplan, Marc [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 21, 2005 1:56 PM To: Fabiano Caixeta Duarte; SAMBA Maillist Subject:

Re: [Samba] AD Authentication help please?

2005-09-21 Thread Jason Gerfen
Strange, I guess that is my misunderstanding of the how it aquires the list of users when running a wbinfo -u command. Yep, here is the output: [EMAIL PROTECTED]:~> sudo net ads join -U [EMAIL PROTECTED] [EMAIL PROTECTED]'s password: xx Using short domain name -- DOMAIN.COM Joined 'ODIN-NEW

RE: [Samba] UTMP duplicated entries

2005-09-21 Thread Kaplan, Marc
Windows does allow duplicate sessions actually. If you net use * \\hostname\share and then net use \\ipaddress\share for the same server you will get two connections to the same server on your client (you can even use different users). Is it possible that this is what some users are doing? Also mac

[Samba] UTMP duplicated entries

2005-09-21 Thread Fabiano Caixeta Duarte
Hi everybody! I've been noticing some strange entries in samba/utmp. I have a lot of 00:00 timed sessions. But the worst problem is that i found some conflicting information. Since windows doesn't allow concurrent login sessions, I think utmp should not have generated the following entries.

Re: [Samba] Is Samba for me? (win2k sp4 pdc -> samba)

2005-09-21 Thread Jeremy Allison
On Wed, Sep 21, 2005 at 12:26:39PM -0400, N.J. Thomas wrote: > > FWIW, we are not doing anything fancy with the Microsoft Windows 2000 > PDC currently, just using it to authenticate logins. Can I do what I > want with Samba-3? Yes. Follow the instructions on migrating a domain and setting up as a

[Samba] RE: Active DNS registration on join realm?

2005-09-21 Thread Kaplan, Marc
If you're interested, Tridge put this code up with instructions at: http://us4.samba.org/samba/ftp/tsig-gss/ While I can't vouch for whether the code works, I can vouch that the author writes good code :). At the very least it could be a starting point for you. -Marc > -Origi

[Samba] Is Samba for me? (win2k sp4 pdc -> samba)

2005-09-21 Thread N.J. Thomas
I have a Microsoft Windows 2000 SP4 PDC (AD backend) that I'd like to replace with Samba. The docs on samba.org are a bit confusing though, here is an excerpt from Chapter 4, "Domain Controller Types": Samba-3 servers can readily be converted to and from domain controller roles through si

OU vs. CN in LDAP?Re: [Samba] AD Authentication help please?

2005-09-21 Thread Jason Gerfen
I am sorry to post this again, but I need some help on using Active Directory mapping. Jason Gerfen wrote: When joining the samba box to a domain: %> net ads join -U %> kinit [EMAIL PROTECTED] %> net ads join -U The last command fails and when doing an strace you can clearly see that it

[Samba] Samba authenticating, but not against domain

2005-09-21 Thread Daniel Baughman
Hi, I'm running samba 3.0.10 on a fedora core 3 box. I am trying to get the thing setup as a member server in our NT domain such that I can specify domain users in the "valid users" directive under each share. I believe I need to use winbind to do this effectively for a large domain. Runing gete

[Samba] get quota command

2005-09-21 Thread rick
I'm running samba 3.0.13 on a debian box, sharing out NFS filesystems from a solaris box. I know, bad idea.. file locking, etc... non-issues at the moment. I've discovered that if I make a share from a local filesystem, the PC's mounting the share see their quota (hard limit, not soft which i

RE: [Samba] net rpc vampire / Question or Problem?

2005-09-21 Thread Dirk.Laurenz
Hi, some usernames have german characters, but we're repairing this. Groups have only a "_" inside thier names. But shouldn't rpc vampire simply skip this usernames? Mit freundlichem Gruß, Dirk Laurenz Systems Engineer Fujitsu Siemens Computers S CE DE SE PS N/O Sales Central Europe D

FW: [Samba] Print Sharing problems. (Samba/CUPS, windows client)

2005-09-21 Thread Louis van Belle
I use cups and have squid proxy with automatic proxy setup. ( when you start IE, you have proxy, ALWAYS ) ( no client settings needed ) I also run debian, and have none of these problems. search in the list for "little samba setup debian" in part 2 there is how i didt it. and no problems with

RE: Subject: [Samba] Samba / Windows server 2003 SP1 conflict

2005-09-21 Thread Meli Marco
Hi, I have FC3 with samba-3.0.10-1 installed. Not so far we have to install SP1, so I try to connect my samba box to a AD test Server with SP1 installed. But when I want to set ACL permissions to data repository and I push the button to add the users or groups it list only the box machine and not t

[Samba] Problems with an old samba patch

2005-09-21 Thread Henrique Cicuto Machado - SAO/Policia Federal
Good morning Some time ago, "googling" to solve a problem, I've found at the samba list a patch that allowed kerberized printing to the smb backend. The link is the following: http://lists.samba.org/archive/samba-technical/2005-April/040480.html A sad thing that I noticed is that this patch doe

Re: [Samba] Samba as an NT5 (Win2K) PDC

2005-09-21 Thread kent
Hi, I don't know who else responded to this, but there are many people out there using Samba as replacement for Win2k servers. Here's my personal involvement and a little history. I'm in a school system in Mass. where we have 7 Samba servers (1 PDC 6 BDC). I'm guessing there are about 2300+ user a

Re: [Samba] Samba ADMIN$ share

2005-09-21 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Buozis, Martynas wrote: > I see, that "enable asu support = no: is available and > I can point ADMIN$ wherever I want. I just want ask if > this setting will not have any other impact to my current > services (Samba installation is ADS membership). >

[Samba] Re: wbinfo works for test authentication but cannot list users

2005-09-21 Thread Tim Riley
On 21/09/05, Tim Riley <[EMAIL PROTECTED]> wrote: > The workstations have been successfully joined to the domain using > `net rpc join`. Apologies- forgot to mention that this PDC is a Windows 2000 server. -- To unsubscribe from this list go to the following URL and read the instructions: https:

[Samba] Samba transfer problems

2005-09-21 Thread Jochen Schurich Test
hi all! i have a very strange problem with samba: when i try to copy some files with samba the connection freeze and after some time i get can read in my log file: Sep 16 22:47:35 srv01 smb_add_request: request [dd6d1e40, mid=29034] timed out! Sep 16 22:48:36 srv01 smb_add_request: request [dd6

[Samba] wbinfo works for test authentication but cannot list users

2005-09-21 Thread Tim Riley
Hi all, I have a Samba configuration that was in place on Ubuntu Warty (samba 3.0.7) workstations to allow winbind to authenticate domain users on them. These computers have since been re-installed with Ubuntu Hoary (samba 3.0.10) with the same configuration. The workstations have been successfu

Re: [Samba] Horrible Linux/Samba vs Windows political battle - can you help?

2005-09-21 Thread Denis Vlasenko
On Tuesday 20 September 2005 02:49, Gregory A. Cain wrote: > Greetings, > > I am currently the IT Manager for a 30-person architectural firm. About > 5 months ago we hired a new employee. He is quite good at what he does. > He is also extremely opinionated, particularly when it comes to computer