Re: [patch] Allow chown of directories from W2k domain clients

2003-02-19 Thread Andrew Bartlett
On Wed, 2003-02-19 at 19:18, Andrew Furey wrote: Hi all, I never did get any replies to my original postings to this list (as well as samba@), so I wrote my own patch. I just _know_ that there are going to be several folks point out that this is a hack, and would never survive an audit,

Make Admins be admin users

2003-02-19 Thread Ken Cross
Related to the Allow chown of directories patch, I added a hack where members of Admins, Domain Admins, or Enterprise Admins automatically become admin users. (This really saved a lot of headaches for admins.) Note that this sets conn-admin_user, but does *not* set uid to 0 or force_user --

RE: bug fix?: 2.2.7a, nmbd/nmbd_packets.c, listen_for_packets()

2003-02-19 Thread Peter Hurley
Andrew, After being enlightened regarding the bigger picture, I have included an alternate solution below that may be more appropriate, in addition to my other comments. I think there are several good reasons to include this fix: 1) I think the documentation is ambiguous on this subject.

Re: [patch] Allow chown of directories from W2k domain clients

2003-02-19 Thread Andrew Furey
+ if (strcmp(strerror(errno),Is a directory) == 0) { + fd = conn-vfs_ops.opendir(conn,dos_to_unix_static(fname)); + } This needs some serious flamage... Why can't you just use the errno directly? Because I couldn't find it :( The closest I could come was #21 (listed in asm/errno.h), but

FUQ: Changing ACLs in 2.2.7a from W2K client when not using winbind

2003-02-19 Thread Chris Wakelin
I've had several good trawls throuh the list archives for the samba-technical and samba lists and this seems to be a frequently unanswered question :-) Server is Solaris 8, samba server is a member of a Windows 2000 AD domain. All unix (NIS) users are duplicated in the W2K domain. I've tried

Re: interesting fact about StrCaseCmp

2003-02-19 Thread Ludolf Holzheid
On 19 Feb 2003 at 11:36, Martin Pool wrote: On 18 Feb 2003, Ludolf Holzheid [EMAIL PROTECTED] wrote: In the embedded/real time world, malloc() and friends are strongly deprecated as you can't predict how long they will take. They have to go through a linked list of unknown length and

Re: [patch] Allow chown of directories from W2k domain clients

2003-02-19 Thread David Collier-Brown -- Customer Engineering
Andrew Furey wrote: Because I couldn't find it :( The closest I could come was #21 (listed in asm/errno.h), but I couldn't confirm it - whenever I tried to access the errno variable (by logging it) smbd would segfault :( My C is a bit (OK, a lot) rusty... I think you may have missed a

Re: Samba and PPP

2003-02-19 Thread Steve Williams
Hi, I have played with this before. I did finally get it to work, but along the way there are a few stumbling blocks. I believe that Samba will only bind to interfaces that are UP at the time of Samba starting. Tyically with PPP, the interface (ppp0) will not be available (up) until a PPP

post about swat tool

2003-02-19 Thread James Bowes
Hi all. I am wondering if this is the correct forum for questions regarding samba usage and management. If so, why does the 3.0Alpha21 swat tool no give access to create masks or show entries for workgroup section? Other than that - great work! I finally have been making some in roads as to

Re: net ads join core dump in ldap_get_values_len

2003-02-19 Thread Chere Zhou
After merging libads/ldap.c from SAMBA_3_0 to my copy of 3.0a21 source code, problem solved. Thanks. Chere On Tuesday 18 February 2003 02:18 pm, Chere Zhou wrote: Hello, I am using 3.0a21. If I use kinit user@DOMAIN with a user that does not have privilege to join a machine into the

Re: Make Admins be admin users

2003-02-19 Thread Andrew Bartlett
On Thu, 2003-02-20 at 00:17, Ken Cross wrote: Related to the Allow chown of directories patch, I added a hack where members of Admins, Domain Admins, or Enterprise Admins automatically become admin users. (This really saved a lot of headaches for admins.) Note that this sets

[PATCH] fix sid_to_uid() return correct sidtype

2003-02-19 Thread Stefan (metze) Metzmacher
HI all, here's a small fix for returning the correct sidtype in sid_to_uid() and sid_to_gid() this should be applied to all branches with the new uid - sid caching code metze - Stefan metze Metzmacher [EMAIL

Re: [PATCH] fix sid_to_uid() return correct sidtype

2003-02-19 Thread jra
On Wed, Feb 19, 2003 at 10:03:57PM +0100, Stefan (metze) Metzmacher wrote: HI all, here's a small fix for returning the correct sidtype in sid_to_uid() and sid_to_gid() this should be applied to all branches with the new uid - sid caching code No attachment - please try again. Jeremy.

RE: Annoying Minor Bug In Winbind 2.2.x

2003-02-19 Thread Boyce, Nick
On 19 Feb 2003, Andrew Esh wrote: It's probably a line count thing. The head of the patch contains a certain range of lines that the patch should apply to. If you truncated the patch at the bottom, the header could be telling patch it needs to add, for example, 30 lines, while the patch text

Re: [PATCH] fix sid_to_uid() return correct sidtype

2003-02-19 Thread Stefan (metze) Metzmacher
At 21:07 19.02.2003 +, [EMAIL PROTECTED] wrote: On Wed, Feb 19, 2003 at 10:03:57PM +0100, Stefan (metze) Metzmacher wrote: HI all, here's a small fix for returning the correct sidtype in sid_to_uid() and sid_to_gid() this should be applied to all branches with the new uid - sid caching

[PATCH] fix sid_to_uid() return correct sidtype

2003-02-19 Thread Stefan (metze) Metzmacher
HI all, here's a small fix for torture/vfstest.c we should use conn_new() instead of use malloc() metze - Stefan metze Metzmacher [EMAIL PROTECTED] diff -Npur --exclude=CVS --exclude=*.bak --exclude=*.o

Re: [PATCH] fix vfstest.c

2003-02-19 Thread Stefan (metze) Metzmacher
sorry wrong subject... At 22:31 19.02.2003 +0100, Stefan (metze) Metzmacher wrote: HI all, here's a small fix for torture/vfstest.c we should use conn_new() instead of use malloc() metze - Stefan metze Metzmacher

Re: [PATCH] fix sid_to_uid() return correct sidtype

2003-02-19 Thread jra
On Wed, Feb 19, 2003 at 10:20:35PM +0100, Stefan (metze) Metzmacher wrote: At 21:07 19.02.2003 +, [EMAIL PROTECTED] wrote: On Wed, Feb 19, 2003 at 10:03:57PM +0100, Stefan (metze) Metzmacher wrote: HI all, here's a small fix for returning the correct sidtype in sid_to_uid() and

Re: [PATCH] fix sid_to_uid() return correct sidtype

2003-02-19 Thread Stefan (metze) Metzmacher
At 21:48 19.02.2003 +, [EMAIL PROTECTED] wrote: On Wed, Feb 19, 2003 at 10:20:35PM +0100, Stefan (metze) Metzmacher wrote: At 21:07 19.02.2003 +, [EMAIL PROTECTED] wrote: On Wed, Feb 19, 2003 at 10:03:57PM +0100, Stefan (metze) Metzmacher wrote: HI all, here's a small fix for

Re: [PATCH] fix vfstest.c

2003-02-19 Thread Simo Sorce
On Wed, 2003-02-19 at 22:35, Stefan (metze) Metzmacher wrote: torture/vfstest.c we should use conn_new() instead of use malloc() Right! Applied. Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399

[PATCH] Change __ERR_XXX to #error directive in clikrb5.c

2003-02-19 Thread Anthony Liguori
Tiny patch to produce useful error messages when krb5 configuration is messed up. (See attached file: clikrb5_error.patch) Anthony Liguori Linux/Active Directory Interoperability Linux Technology Center (LTC) - IBM Austin E-mail: [EMAIL PROTECTED] Phone: (512) 838-1208 Tie Line: 678-1208

Re: [PATCH] Change __ERR_XXX to #error directive in clikrb5.c

2003-02-19 Thread Anthony Liguori
Sorry, list filter ate my patch. Index: source/libsmb/clikrb5.c === RCS file: /cvsroot/samba/source/libsmb/clikrb5.c,v retrieving revision 1.32 diff -u -r1.32 clikrb5.c --- source/libsmb/clikrb5.c 19 Feb 2003 15:46:15 -

Problems with the lack of a real RO bit with Samba ...

2003-02-19 Thread Richard Sharpe
Hi, I am currently engaged in a debate about the desirability of implementing a real RO bit in our file system (we already have HIDDEN, SYSTEM, and ARCHIVE bits). The problem with RO is that it requires some real semantics, and you have to worry about UNIX semantics when files are shared

SEGFAULT in HEAD

2003-02-19 Thread Stefan (metze) Metzmacher
Hi all, there's a bad seg fault in HEAD (maybe in 3_0 too???) since ~ 15.2.2003 I first thought that it was in my quota stuff but today I tried a clean HEAD tree with the same result here are my configure options: ./configure --with-acl-support \ --with-utmp \ --with-quotas \

Fw: I need you help

2003-02-19 Thread Edward Ip
To Samba Team, Hi my name is Edward. Now I am learning Linuxand I want use samba to replace NT Server. So every user can login to Linux. I try to follow the step but I can't success. I don't know where I got wrong. This is my plan I want to use samba to create a domain which call klc.

Re: SEGFAULT in HEAD

2003-02-19 Thread Martin Pool
On 20 Feb 2003, Stefan (metze) Metzmacher [EMAIL PROTECTED] wrote: and the backtrace: #0 0x40325079 in wait4 () from /lib/libc.so.6 #1 0x4039d944 in __DTOR_END__ () from /lib/libc.so.6 #2 0x402c80e6 in system () from /lib/libc.so.6 #3 0x08183e8c in smb_panic (why=0x8221974 internal

3.0 commit policy?

2003-02-19 Thread Martin Pool
What is the commit policy for 3.0? Should all changes be moved from HEAD except ones that are explicitly too risky? Or only bug fixes? What about documentation? -- Martin

Re: 3.0 commit policy?

2003-02-19 Thread jra
On Thu, Feb 20, 2003 at 11:46:35AM +1100, Martin Pool wrote: What is the commit policy for 3.0? Should all changes be moved from HEAD except ones that are explicitly too risky? Or only bug fixes? What about documentation? Use common sense :-). If it's a new/risky feature - add to HEAD only

Fw: I need you help

2003-02-19 Thread Edward Ip
To Samba Team, Hi my name is Edward. Now I am learning Linuxand I want use samba to replace NT Server. So every user can login to Linux. I try to follow the step but I can't success. I don't know where I got wrong. This is my plan I want to use samba to create a domain which call klc.

Fw: I need you help

2003-02-19 Thread Edward Ip
To Samba Team, Hi my name is Edward. Now I am learning Linuxand I want use samba to replace NT Server. So every user can login to Linux. I try to follow the step but I can't success. I don't know where I got wrong. This is my plan I want to use samba to create a domain which call klc.

Fw: I need you help

2003-02-19 Thread Edward Ip
To Samba Team, Hi my name is Edward. Now I am learning Linuxand I want use samba to replace NT Server. So every user can login to Linux. I try to follow the step but I can't success. I don't know where I got wrong. This is my plan I want to use samba to create a domain which call klc.

RE: Problems with the lack of a real RO bit with Samba ...

2003-02-19 Thread Ken Cross
Richard: Please define an appropriate ACL on the file. Yes, it could have significant impact. Is there are problem with the current way it's set (RO == owner r mode)? Ken Ken Cross Network Storage Solutions Phone 865.675.4070 ext 31 [EMAIL PROTECTED]

RE: Problems with the lack of a real RO bit with Samba ...

2003-02-19 Thread Richard Sharpe
On Wed, 19 Feb 2003, Ken Cross wrote: Richard: Please define an appropriate ACL on the file. That I am not sure of yet :-) Yes, it could have significant impact. Is there are problem with the current way it's set (RO == owner r mode)? In our file system, UNIX permission bits are

Accessing Linux workstation from Linux server using samba ..pl

2003-02-19 Thread raj rajesh kalagarla
Hi, I am using samba on my both systems working as linux server workstation in windows environment. I am able to access windows machines in the network by both machines. And also I am able to access linux server from Linux workstation but the reverse is not working (accessing linux

source location for samba test harnesses

2003-02-19 Thread Martin Pool
After talking to Tim, I wanted to start committing to HEAD some test harnesses that will exercise internal bits of Samba, such as StrCaseCmp to start with. These will be small C files that link to -lbigballofmud and allow particular functions to be exercised from the command line, with a view

Re: Problems with the lack of a real RO bit with Samba ...

2003-02-19 Thread Richard Sharpe
On Wed, 19 Feb 2003, John E. Malmberg wrote: Richard Sharpe wrote: On Wed, 19 Feb 2003, Ken Cross wrote: Yes, it could have significant impact. Is there are problem with the current way it's set (RO == owner r mode)? That does not match the way it works on an NT server. And there is