Re: [Samba] Cannot write over root owned file

2006-05-03 Thread Adam Nielsen
I found out the new file created by your touch command was owned by lba:users. That was expected since I was in a shell as user lba. However, when I tried to copy over a root owned file, first as su and then as su -, the operation failed. Why can't I copy over a root owned file when I'm

[Samba] winbindd- confused about when to use

2006-05-03 Thread Ken Gunderson
Hello: I come to Samba with a strong Unix background but weak on the MS networking side. Hence I've read a lot of the Samba documentation, more than once... Something that continues to confuse me, however, is whether or not I want/need winbindd for the task at hand. Objective: replace aged

Re: [Samba] : Win XP Client does not remove directories

2006-05-03 Thread Björn Mayer
Hi, its me again. I have to post an addition to my problem described below. Yesterday my error occured again on the same client, who had this problem last time. I took the chance to do some network sniffing and compared the traffic from the sometimes bad working client to a good working

Re: [Samba] Samba 4 and AD in Native Mode

2006-05-03 Thread Andrew Bartlett
On Tue, 2006-05-02 at 09:46 -0700, John Ackart wrote: Hi, Does anyone know if Samba 4 can extract NT Hashes from Active Directory running in Native Mode. I think so. We should have merged this back into Samba3 a year ago... Try it: You will need to first join, 'net join bdc domain', then

Re: [Samba] Called NTLMSSP after state machine was 'done'

2006-05-03 Thread Andrew Bartlett
On Tue, 2006-05-02 at 17:46 -0300, Carlos Zottmann wrote: Hi !! I am installing Squid-2.5 Stable 13, on a FedoraCore 5 x86_64 machine, doing ntlm authentication through Samba 3.0.22, wich was installed via rpm. Everything is working fine except that the browser every now and then asks for

Re: [Samba] Write access doesn't grant delete access?!

2006-05-03 Thread Jeremy Allison
On Wed, May 03, 2006 at 03:35:11PM +1000, Adam Nielsen wrote: Hi all, I've got these permissions set on a folder: $ getfacl htdocs # file: htdocs # owner: root # group: users user::rwx group::rwx group:DOMAIN\134htdocs_access:rwx mask::rwx other::r-x The idea being that any

[Samba] How to access a 'guest ok' share from Windows without password?

2006-05-03 Thread Larry Alkoff
I have a Slackware Linux box called Tillie with three shares. All at /, user at /home/user and public at /public which is guest ok for access without a password. The problem is that Tillie shows up in Windows Network Neighborhood as a single icon. To open that icon and see the three shares

[Samba] share permissions

2006-05-03 Thread Alberto M. dos Reis
Hi list, I need to create the following share: user1 can create a file in the share but can't erase or change; user1 can just read the file when he creates it; user2 can delete and change the file user1 has created; I did like this: user1 is member of group group1; user2 is member of group

Re: [Samba] How to access a 'guest ok' share from Windows withoutpassword?

2006-05-03 Thread Kirk B. Dice
Is the security parameter in your smb.conf file set the 'share'? If not, try to post your smb.conf file. Kirk - Original Message - From: Larry Alkoff [EMAIL PROTECTED] To: samba@lists.samba.org Sent: Wednesday, May 03, 2006 12:56 PM Subject: [Samba] How to access a 'guest ok' share from

Re: [Samba] Cannot write over root owned file

2006-05-03 Thread david rankin
From: Larry Alkoff [EMAIL PROTECTED] However, when I tried to copy over a root owned file, first as su and then as su -, the operation failed. Why can't I copy over a root owned file when I'm root? I also noticed that, when I touched as su or su -, I could create the file but in each case

Re: [Samba] How to access a 'guest ok' share from Windows withoutpassword?

2006-05-03 Thread Larry Alkoff
Here is the smb.conf: [EMAIL PROTECTED] samba $ cat smb.conf.tillie # Global parameters [global] workgroup = LANET server string = Samba Server %v on %h map to guest = Bad User log level = 4 log file = /var/log/samba.%m time server = Yes

Re: [Samba] Cannot write over root owned file

2006-05-03 Thread Larry Alkoff
david rankin wrote: From: Larry Alkoff [EMAIL PROTECTED] However, when I tried to copy over a root owned file, first as su and then as su -, the operation failed. Why can't I copy over a root owned file when I'm root? I also noticed that, when I touched as su or su -, I could create the

Re: [Samba] Cannot write over root owned file

2006-05-03 Thread Adam Williams
in smb.conf have you tried force user = root -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] share permissions

2006-05-03 Thread Alberto M. dos Reis
I do agree with you, this really don't make any sense, but this kind of police used to work in an old windows NT machine and the permissions was just like that. I don't really know if there is a way to make it work with posix acls, or samba... If anyone has any ideia... Sorry the poor english.

Re: [Samba] Cannot write over root owned file

2006-05-03 Thread david rankin
From: Larry Alkoff [EMAIL PROTECTED] david rankin wrote: From: Larry Alkoff [EMAIL PROTECTED] Which leads to the question, how do I act as root on a samba share? Or perhaps the question is how do I become root on the share? Is sharing as root okay or is it bad practice? Why? Larry, in

Re: [Samba] Cannot write over root owned file

2006-05-03 Thread Larry Alkoff
david rankin wrote: From: Larry Alkoff [EMAIL PROTECTED] david rankin wrote: From: Larry Alkoff [EMAIL PROTECTED] Which leads to the question, how do I act as root on a samba share? Or perhaps the question is how do I become root on the share? Is sharing as root okay or is it bad practice?

[Samba] Samba interface to CVS/Subversion

2006-05-03 Thread David Baker
Hey all, Bit of a bogus question here as I only have a basic understanding of CVS and Subversion. A lot of the windows development tools we use in the office have CVS or Subversion modules allowing us greater source code control. It would be wonderful to have a samba share that acts as an

[Samba] clearing old domain and wrokgroup cached names

2006-05-03 Thread C.Rathnasinghe
Hi I'm using samba 2.2.7a on linux, How can I clean old domain and workgroup names. Where is this old cached domain names reside. I only have one domain and two workgroups. if I create temporary workgroup I cannot clean it from my domain. any help would be grateful. thanks chami

[Samba] wbinfo -r NT_STATUS_ACCESS_DENIED

2006-05-03 Thread Adam Cassar
Hi All, I am having trouble with winbind. I have samba sucessfully looking up users from an AD domain. wbinfo -u and wbinfo -g return users appropriatley. However wbinfo -r joeblow returns: Could not get groups for user joeblow Below is the information that is present in the logs:

[Samba] samba errors - need help or info

2006-05-03 Thread Allen, Bill
I am new to Samba, having just taken over management of a HPUX system in a mainly Windows environment. The system is running Samba 3.0.7. I am getting the following errors, repeatedly, in my log.smbd. What does it mean? Is this actually a problem or normal chatter for Samba? If it is a

svn commit: samba r15405 - in branches/SAMBA_4_0/source/build/m4: .

2006-05-03 Thread metze
Author: metze Date: 2006-05-03 08:34:11 + (Wed, 03 May 2006) New Revision: 15405 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=15405 Log: remove define for STAT_ST_BLOCKSIZE as it's not used anywhere and it doesn't belong to check_ld.m4 metze Modified:

svn commit: samba r15406 - in branches/SAMBA_4_0/source: client lib lib/registry/tools lib/replace lib/smbreadline

2006-05-03 Thread jelmer
Author: jelmer Date: 2006-05-03 09:07:38 + (Wed, 03 May 2006) New Revision: 15406 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=15406 Log: Move 'smbreadline' out of libreplace as it doesn't replace functionality not available on some platforms but is a

svn commit: samba r15407 - in branches/SAMBA_4_0/source/librpc/ndr: .

2006-05-03 Thread jelmer
Author: jelmer Date: 2006-05-03 09:10:45 + (Wed, 03 May 2006) New Revision: 15407 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=15407 Log: Get rid of some more uint_t Modified: branches/SAMBA_4_0/source/librpc/ndr/ndr_basic.c Changeset: Modified:

svn commit: samba r15408 - in branches/SAMBA_4_0/source/gtk: common tools

2006-05-03 Thread jelmer
Author: jelmer Date: 2006-05-03 09:11:36 + (Wed, 03 May 2006) New Revision: 15408 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=15408 Log: Fix some small bugs in the GTK+ tools Add utility function for connection to an interface Modified:

svn commit: samba r15409 - in branches/SAMBA_4_0/source: . gtk gtk/tools

2006-05-03 Thread jelmer
Author: jelmer Date: 2006-05-03 09:12:42 + (Wed, 03 May 2006) New Revision: 15409 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=15409 Log: Start working on GTK+ tool for services management Added: branches/SAMBA_4_0/source/gtk/tools/gwsvcctl.c Modified:

svn commit: samba r15410 - in branches/SAMBA_4_0/source/gtk/common: .

2006-05-03 Thread jelmer
Author: jelmer Date: 2006-05-03 10:05:08 + (Wed, 03 May 2006) New Revision: 15410 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=15410 Log: Fix segfaults Modified: branches/SAMBA_4_0/source/gtk/common/credentials.c

svn commit: samba r15411 - branches/SAMBA_3_0/source/nsswitch trunk/source/nsswitch

2006-05-03 Thread gd
Author: gd Date: 2006-05-03 10:19:49 + (Wed, 03 May 2006) New Revision: 15411 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=15411 Log: Small debug fixes for the PAM module. Guenther Modified: branches/SAMBA_3_0/source/nsswitch/pam_winbind.c

svn commit: samba r15412 - in branches/SAMBA_4_0/source/torture/rpc: .

2006-05-03 Thread mimir
Author: mimir Date: 2006-05-03 11:24:17 + (Wed, 03 May 2006) New Revision: 15412 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=15412 Log: Put the test in a dangerous category. rafal Modified: branches/SAMBA_4_0/source/torture/rpc/async_bind.c Changeset:

svn commit: samba r15413 - in branches/SAMBA_4_0/source/gtk: .

2006-05-03 Thread jelmer
Author: jelmer Date: 2006-05-03 11:52:20 + (Wed, 03 May 2006) New Revision: 15413 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=15413 Log: Disable gwsvcctl on hosts without gtk Modified: branches/SAMBA_4_0/source/gtk/config.m4 Changeset: Modified:

svn commit: samba-web r979 - in trunk/projects: .

2006-05-03 Thread jerry
Author: jerry Date: 2006-05-03 12:45:07 + (Wed, 03 May 2006) New Revision: 979 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=979 Log: applications are not limited to the project ideas on this page Modified: trunk/projects/summercode06.html Changeset:

svn commit: samba r15414 - in branches/SAMBA_4_0/source/auth/credentials: .

2006-05-03 Thread jelmer
Author: jelmer Date: 2006-05-03 14:15:31 + (Wed, 03 May 2006) New Revision: 15414 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=15414 Log: Support retrying different username/password combinations Modified:

svn commit: samba r15415 - in branches/SAMBA_4_0/source: auth/credentials libcli/smb_composite

2006-05-03 Thread abartlet
Author: abartlet Date: 2006-05-03 14:54:57 + (Wed, 03 May 2006) New Revision: 15415 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=15415 Log: Use Jelmer's new credentials 'wrong password' code to give the user 3 attempts for the password, when talking to a remote

svn commit: samba r15416 - in branches/SAMBA_4_0/source/libcli/smb_composite: .

2006-05-03 Thread abartlet
Author: abartlet Date: 2006-05-03 14:59:55 + (Wed, 03 May 2006) New Revision: 15416 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=15416 Log: Point out that this doesn't work, but for servers this old, I just don't care... Andrew Bartlett Modified:

svn commit: samba r15417 - branches/SAMBA_3_0/source/nsswitch trunk/source/nsswitch

2006-05-03 Thread gd
Author: gd Date: 2006-05-03 15:19:31 + (Wed, 03 May 2006) New Revision: 15417 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=15417 Log: Don't use cached credentials when changing passwords. Guenther Modified: branches/SAMBA_3_0/source/nsswitch/pam_winbind.c

svn commit: samba-web r980 - in trunk: projects style

2006-05-03 Thread deryck
Author: deryck Date: 2006-05-03 15:50:34 + (Wed, 03 May 2006) New Revision: 980 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=980 Log: Reformatting the SoC '06 page for readability. deryck Modified: trunk/projects/summercode06.html

svn commit: samba r15418 - in trunk/source/locking: .

2006-05-03 Thread jra
Author: jra Date: 2006-05-03 16:06:56 + (Wed, 03 May 2006) New Revision: 15418 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=15418 Log: Never write the same function twice :-). In a traversal function we must copy the data before modifying. Jeremy. Modified:

svn commit: samba r15420 - in branches/SAMBA_4_0/source: auth/credentials lib/cmdline

2006-05-03 Thread abartlet
Author: abartlet Date: 2006-05-03 20:23:19 + (Wed, 03 May 2006) New Revision: 15420 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=15420 Log: Add a new function to print a the 'unparsed' string format for usernames. This is used in the password prompt, and should

svn commit: samba r15424 - branches/SAMBA_3_0/source branches/SAMBA_3_0/source/utils trunk/source trunk/source/utils

2006-05-03 Thread jpeach
Author: jpeach Date: 2006-05-04 00:35:05 + (Thu, 04 May 2006) New Revision: 15424 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=15424 Log: Implement a stacktrace smbcontrol option using libunwind's remote stack tracing support. This provides an easy way for users

svn commit: samba r15425 - branches/SAMBA_3_0/source/nsswitch trunk/source/nsswitch

2006-05-03 Thread jpeach
Author: jpeach Date: 2006-05-04 00:45:31 + (Thu, 04 May 2006) New Revision: 15425 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=15425 Log: Use dynamic buffers in the IRIX nsswithch module to prevent truncation of long group lists. Modified: