svn commit: samba r6636 - in trunk/source/tdb: .
Author: herb Date: 2005-05-06 18:35:41 + (Fri, 06 May 2005) New Revision: 6636 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6636 Log: merge change 6623 from SAMBA_3_0 Modified: trunk/source/tdb/tdb.c trunk/source/tdb/tdbdump.c trunk/source/tdb/tdbtool.c Changeset: Sorry, the patch is too large (762 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6636
svn commit: samba r6623 - in branches/SAMBA_3_0/source/tdb: .
Author: herb Date: 2005-05-06 01:28:02 + (Fri, 06 May 2005) New Revision: 6623 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6623 Log: This change fixes a few broken commands plus adds some new commands. It also restructures it so you can execute a single command from the command line. Input strings are parsed to allow input of arbitrary characters using the \xx syntax for hex values. Modified: branches/SAMBA_3_0/source/tdb/tdb.c branches/SAMBA_3_0/source/tdb/tdbdump.c branches/SAMBA_3_0/source/tdb/tdbtool.c Changeset: Sorry, the patch is too large (762 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6623
svn commit: samba r6586 - in branches/SAMBA_3_0/source: lib libads libsmb smbd tests torture
Author: herb Date: 2005-05-02 17:49:43 + (Mon, 02 May 2005) New Revision: 6586 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6586 Log: get rid of a few more compiler warnings Modified: branches/SAMBA_3_0/source/lib/dummyroot.c branches/SAMBA_3_0/source/lib/dummysmbd.c branches/SAMBA_3_0/source/lib/interfaces.c branches/SAMBA_3_0/source/lib/sysquotas.c branches/SAMBA_3_0/source/lib/sysquotas_4A.c branches/SAMBA_3_0/source/lib/sysquotas_linux.c branches/SAMBA_3_0/source/lib/sysquotas_xfs.c branches/SAMBA_3_0/source/libads/kerberos.c branches/SAMBA_3_0/source/libsmb/clikrb5.c branches/SAMBA_3_0/source/smbd/notify_kernel.c branches/SAMBA_3_0/source/smbd/oplock_linux.c branches/SAMBA_3_0/source/tests/shlib.c branches/SAMBA_3_0/source/tests/sysquotas.c branches/SAMBA_3_0/source/torture/denytest.c branches/SAMBA_3_0/source/torture/mangle_test.c branches/SAMBA_3_0/source/torture/torture.c Changeset: Modified: branches/SAMBA_3_0/source/lib/dummyroot.c === --- branches/SAMBA_3_0/source/lib/dummyroot.c 2005-05-02 16:23:02 UTC (rev 6585) +++ branches/SAMBA_3_0/source/lib/dummyroot.c 2005-05-02 17:49:43 UTC (rev 6586) @@ -22,6 +22,9 @@ /* Stupid dummy functions required due to the horrible dependency mess in Samba. */ +void become_root(void); +void unbecome_root(void); + void become_root(void) { return; Modified: branches/SAMBA_3_0/source/lib/dummysmbd.c === --- branches/SAMBA_3_0/source/lib/dummysmbd.c 2005-05-02 16:23:02 UTC (rev 6585) +++ branches/SAMBA_3_0/source/lib/dummysmbd.c 2005-05-02 17:49:43 UTC (rev 6586) @@ -22,6 +22,8 @@ /* Stupid dummy functions required due to the horrible dependency mess in Samba. */ +void decrement_smbd_process_count( void ); + void decrement_smbd_process_count( void ) { return; Modified: branches/SAMBA_3_0/source/lib/interfaces.c === --- branches/SAMBA_3_0/source/lib/interfaces.c 2005-05-02 16:23:02 UTC (rev 6585) +++ branches/SAMBA_3_0/source/lib/interfaces.c 2005-05-02 17:49:43 UTC (rev 6586) @@ -358,6 +358,8 @@ /* this wrapper is used to remove duplicates from the interface list generated above */ +int get_interfaces(struct iface_struct *ifaces, int max_interfaces); + int get_interfaces(struct iface_struct *ifaces, int max_interfaces) { int total, i, j; Modified: branches/SAMBA_3_0/source/lib/sysquotas.c === --- branches/SAMBA_3_0/source/lib/sysquotas.c 2005-05-02 16:23:02 UTC (rev 6585) +++ branches/SAMBA_3_0/source/lib/sysquotas.c 2005-05-02 17:49:43 UTC (rev 6586) @@ -497,6 +497,8 @@ } #else /* HAVE_SYS_QUOTAS */ + void dummy_sysquotas_c(void); + void dummy_sysquotas_c(void) { return; Modified: branches/SAMBA_3_0/source/lib/sysquotas_4A.c === --- branches/SAMBA_3_0/source/lib/sysquotas_4A.c2005-05-02 16:23:02 UTC (rev 6585) +++ branches/SAMBA_3_0/source/lib/sysquotas_4A.c2005-05-02 17:49:43 UTC (rev 6586) @@ -335,5 +335,7 @@ } #else /* HAVE_QUOTACTL_4A */ + void dummy_sysquotas_4A(void); + void dummy_sysquotas_4A(void){} #endif /* HAVE_QUOTACTL_4A */ Modified: branches/SAMBA_3_0/source/lib/sysquotas_linux.c === --- branches/SAMBA_3_0/source/lib/sysquotas_linux.c 2005-05-02 16:23:02 UTC (rev 6585) +++ branches/SAMBA_3_0/source/lib/sysquotas_linux.c 2005-05-02 17:49:43 UTC (rev 6586) @@ -556,5 +556,7 @@ } #else /* HAVE_QUOTACTL_LINUX */ + void dummy_sysquotas_linux(void); + void dummy_sysquotas_linux(void){} #endif /* HAVE_QUOTACTL_LINUX */ Modified: branches/SAMBA_3_0/source/lib/sysquotas_xfs.c === --- branches/SAMBA_3_0/source/lib/sysquotas_xfs.c 2005-05-02 16:23:02 UTC (rev 6585) +++ branches/SAMBA_3_0/source/lib/sysquotas_xfs.c 2005-05-02 17:49:43 UTC (rev 6586) @@ -329,5 +329,7 @@ } #else /* HAVE_XFS_QUOTAS */ + void dummy_sysquotas_xfs(void); + void dummy_sysquotas_xfs(void){} #endif /* HAVE_XFS_QUOTAS */ Modified: branches/SAMBA_3_0/source/libads/kerberos.c === --- branches/SAMBA_3_0/source/libads/kerberos.c 2005-05-02 16:23:02 UTC (rev 6585) +++ branches/SAMBA_3_0/source/libads/kerberos.c 2005-05-02 17:49:43 UTC (rev 6586) @@ -248,7 +248,7 @@ Setting principal to NULL deletes this entry. / - BOOL kerberos_secrets_store_salting_principal(const char *service, +BOOL kerberos_secrets_store_salting_principal(const char *service
svn commit: samba r6587 - in trunk/source: lib libads libsmb smbd tests torture
Author: herb Date: 2005-05-02 17:53:09 + (Mon, 02 May 2005) New Revision: 6587 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6587 Log: merge change 6586 from SAMBA_3_0 Modified: trunk/source/lib/dummyroot.c trunk/source/lib/dummysmbd.c trunk/source/lib/interfaces.c trunk/source/lib/sysquotas.c trunk/source/lib/sysquotas_4A.c trunk/source/lib/sysquotas_linux.c trunk/source/lib/sysquotas_xfs.c trunk/source/libads/kerberos.c trunk/source/libsmb/clikrb5.c trunk/source/smbd/notify_kernel.c trunk/source/smbd/oplock_linux.c trunk/source/tests/shlib.c trunk/source/tests/sysquotas.c trunk/source/torture/denytest.c trunk/source/torture/mangle_test.c trunk/source/torture/torture.c Changeset: Modified: trunk/source/lib/dummyroot.c === --- trunk/source/lib/dummyroot.c2005-05-02 17:49:43 UTC (rev 6586) +++ trunk/source/lib/dummyroot.c2005-05-02 17:53:09 UTC (rev 6587) @@ -22,6 +22,9 @@ /* Stupid dummy functions required due to the horrible dependency mess in Samba. */ +void become_root(void); +void unbecome_root(void); + void become_root(void) { return; Modified: trunk/source/lib/dummysmbd.c === --- trunk/source/lib/dummysmbd.c2005-05-02 17:49:43 UTC (rev 6586) +++ trunk/source/lib/dummysmbd.c2005-05-02 17:53:09 UTC (rev 6587) @@ -22,6 +22,8 @@ /* Stupid dummy functions required due to the horrible dependency mess in Samba. */ +void decrement_smbd_process_count( void ); + void decrement_smbd_process_count( void ) { return; Modified: trunk/source/lib/interfaces.c === --- trunk/source/lib/interfaces.c 2005-05-02 17:49:43 UTC (rev 6586) +++ trunk/source/lib/interfaces.c 2005-05-02 17:53:09 UTC (rev 6587) @@ -358,6 +358,8 @@ /* this wrapper is used to remove duplicates from the interface list generated above */ +int get_interfaces(struct iface_struct *ifaces, int max_interfaces); + int get_interfaces(struct iface_struct *ifaces, int max_interfaces) { int total, i, j; Modified: trunk/source/lib/sysquotas.c === --- trunk/source/lib/sysquotas.c2005-05-02 17:49:43 UTC (rev 6586) +++ trunk/source/lib/sysquotas.c2005-05-02 17:53:09 UTC (rev 6587) @@ -497,6 +497,8 @@ } #else /* HAVE_SYS_QUOTAS */ + void dummy_sysquotas_c(void); + void dummy_sysquotas_c(void) { return; Modified: trunk/source/lib/sysquotas_4A.c === --- trunk/source/lib/sysquotas_4A.c 2005-05-02 17:49:43 UTC (rev 6586) +++ trunk/source/lib/sysquotas_4A.c 2005-05-02 17:53:09 UTC (rev 6587) @@ -335,5 +335,7 @@ } #else /* HAVE_QUOTACTL_4A */ + void dummy_sysquotas_4A(void); + void dummy_sysquotas_4A(void){} #endif /* HAVE_QUOTACTL_4A */ Modified: trunk/source/lib/sysquotas_linux.c === --- trunk/source/lib/sysquotas_linux.c 2005-05-02 17:49:43 UTC (rev 6586) +++ trunk/source/lib/sysquotas_linux.c 2005-05-02 17:53:09 UTC (rev 6587) @@ -556,5 +556,7 @@ } #else /* HAVE_QUOTACTL_LINUX */ + void dummy_sysquotas_linux(void); + void dummy_sysquotas_linux(void){} #endif /* HAVE_QUOTACTL_LINUX */ Modified: trunk/source/lib/sysquotas_xfs.c === --- trunk/source/lib/sysquotas_xfs.c2005-05-02 17:49:43 UTC (rev 6586) +++ trunk/source/lib/sysquotas_xfs.c2005-05-02 17:53:09 UTC (rev 6587) @@ -329,5 +329,7 @@ } #else /* HAVE_XFS_QUOTAS */ + void dummy_sysquotas_xfs(void); + void dummy_sysquotas_xfs(void){} #endif /* HAVE_XFS_QUOTAS */ Modified: trunk/source/libads/kerberos.c === --- trunk/source/libads/kerberos.c 2005-05-02 17:49:43 UTC (rev 6586) +++ trunk/source/libads/kerberos.c 2005-05-02 17:53:09 UTC (rev 6587) @@ -247,7 +247,7 @@ Setting principal to NULL deletes this entry. / - BOOL kerberos_secrets_store_salting_principal(const char *service, +BOOL kerberos_secrets_store_salting_principal(const char *service, int enctype, const char *principal) { Modified: trunk/source/libsmb/clikrb5.c === --- trunk/source/libsmb/clikrb5.c 2005-05-02 17:49:43 UTC (rev 6586) +++ trunk/source/libsmb/clikrb5.c 2005-05-02 17:53:09 UTC (rev 6587) @@ -525,11 +525,13 @@ #if defined(HAVE_KRB5_PRINCIPAL_GET_COMP_STRING) !defined(HAVE_KRB5_PRINC_COMPONENT) + const krb5_data
svn commit: samba r6588 - in branches/SAMBA_3_0/source/lib: .
Author: herb Date: 2005-05-02 21:30:57 + (Mon, 02 May 2005) New Revision: 6588 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6588 Log: just include includes.h to get prototypes here. Modified: branches/SAMBA_3_0/source/lib/dummyroot.c branches/SAMBA_3_0/source/lib/dummysmbd.c Changeset: Modified: branches/SAMBA_3_0/source/lib/dummyroot.c === --- branches/SAMBA_3_0/source/lib/dummyroot.c 2005-05-02 17:53:09 UTC (rev 6587) +++ branches/SAMBA_3_0/source/lib/dummyroot.c 2005-05-02 21:30:57 UTC (rev 6588) @@ -22,8 +22,7 @@ /* Stupid dummy functions required due to the horrible dependency mess in Samba. */ -void become_root(void); -void unbecome_root(void); +#include includes.h void become_root(void) { Modified: branches/SAMBA_3_0/source/lib/dummysmbd.c === --- branches/SAMBA_3_0/source/lib/dummysmbd.c 2005-05-02 17:53:09 UTC (rev 6587) +++ branches/SAMBA_3_0/source/lib/dummysmbd.c 2005-05-02 21:30:57 UTC (rev 6588) @@ -22,7 +22,7 @@ /* Stupid dummy functions required due to the horrible dependency mess in Samba. */ -void decrement_smbd_process_count( void ); +#include includes.h void decrement_smbd_process_count( void ) {
svn commit: samba r6502 - in branches/SAMBA_3_0/source: include lib locking smbd
Author: herb Date: 2005-04-27 18:32:37 + (Wed, 27 Apr 2005) New Revision: 6502 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6502 Log: add LOCKING debug class - pull PRINTINGDB class definition from trunk so our numbers don't get out of sync Modified: branches/SAMBA_3_0/source/include/debug.h branches/SAMBA_3_0/source/lib/debug.c branches/SAMBA_3_0/source/lib/util.c branches/SAMBA_3_0/source/locking/brlock.c branches/SAMBA_3_0/source/locking/locking.c branches/SAMBA_3_0/source/locking/posix.c branches/SAMBA_3_0/source/smbd/reply.c Changeset: Modified: branches/SAMBA_3_0/source/include/debug.h === --- branches/SAMBA_3_0/source/include/debug.h 2005-04-27 14:05:02 UTC (rev 6501) +++ branches/SAMBA_3_0/source/include/debug.h 2005-04-27 18:32:37 UTC (rev 6502) @@ -94,6 +94,8 @@ #define DBGC_IDMAP 13 #define DBGC_QUOTA 14 #define DBGC_ACLS 15 +#define DBGC_PRINTERDB 16 +#define DBGC_LOCKING 17 /* So you can define DBGC_CLASS before including debug.h */ #ifndef DBGC_CLASS Modified: branches/SAMBA_3_0/source/lib/debug.c === --- branches/SAMBA_3_0/source/lib/debug.c 2005-04-27 14:05:02 UTC (rev 6501) +++ branches/SAMBA_3_0/source/lib/debug.c 2005-04-27 18:32:37 UTC (rev 6502) @@ -164,6 +164,8 @@ idmap, /* DBGC_IDMAP*/ quota, /* DBGC_QUOTA*/ acls, /* DBGC_ACLS */ + printerdb, /* DBGC_PRINTERDB*/ + locking, /* DBGC_LOCKING */ NULL }; Modified: branches/SAMBA_3_0/source/lib/util.c === --- branches/SAMBA_3_0/source/lib/util.c2005-04-27 14:05:02 UTC (rev 6501) +++ branches/SAMBA_3_0/source/lib/util.c2005-04-27 18:32:37 UTC (rev 6502) @@ -1793,6 +1793,9 @@ SAFE_FREE(name_array); } +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_LOCKING + / Simple routine to do POSIX file locking. Cruft in NFS and 64-32 bit mapping is dealt with in posix.c @@ -1843,6 +1846,9 @@ return(True); } +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_ALL + /*** Is the name specified one of my netbios names. Returns true if it is equal, false otherwise. Modified: branches/SAMBA_3_0/source/locking/brlock.c === --- branches/SAMBA_3_0/source/locking/brlock.c 2005-04-27 14:05:02 UTC (rev 6501) +++ branches/SAMBA_3_0/source/locking/brlock.c 2005-04-27 18:32:37 UTC (rev 6502) @@ -27,6 +27,9 @@ #include includes.h +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_LOCKING + #define ZERO_ZERO 0 /* This contains elements that differentiate locks. The smbpid is a Modified: branches/SAMBA_3_0/source/locking/locking.c === --- branches/SAMBA_3_0/source/locking/locking.c 2005-04-27 14:05:02 UTC (rev 6501) +++ branches/SAMBA_3_0/source/locking/locking.c 2005-04-27 18:32:37 UTC (rev 6502) @@ -37,6 +37,9 @@ #include includes.h uint16 global_smbpid; +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_LOCKING + /* the locking database handle */ static TDB_CONTEXT *tdb; Modified: branches/SAMBA_3_0/source/locking/posix.c === --- branches/SAMBA_3_0/source/locking/posix.c 2005-04-27 14:05:02 UTC (rev 6501) +++ branches/SAMBA_3_0/source/locking/posix.c 2005-04-27 18:32:37 UTC (rev 6502) @@ -24,6 +24,9 @@ #include includes.h +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_LOCKING + /* * The POSIX locking database handle. */ Modified: branches/SAMBA_3_0/source/smbd/reply.c === --- branches/SAMBA_3_0/source/smbd/reply.c 2005-04-27 14:05:02 UTC (rev 6501) +++ branches/SAMBA_3_0/source/smbd/reply.c 2005-04-27 18:32:37 UTC (rev 6502) @@ -2129,6 +2129,9 @@ return -1; } +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_LOCKING + / Reply to a lockread (core+ protocol). / @@ -,6 +2225,9 @@ return(outsize); } +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_ALL + / Reply to a read. / @@ -2610,6 +2616,9 @@ return(outsize); } +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_LOCKING
svn commit: samba r6503 - in trunk/source: include lib locking smbd
Author: herb Date: 2005-04-27 18:43:43 + (Wed, 27 Apr 2005) New Revision: 6503 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6503 Log: pull change 6502 from samba_3_0 (add LOCKING debug class) Modified: trunk/source/include/debug.h trunk/source/lib/debug.c trunk/source/lib/util.c trunk/source/locking/brlock.c trunk/source/locking/locking.c trunk/source/locking/posix.c trunk/source/smbd/reply.c Changeset: Modified: trunk/source/include/debug.h === --- trunk/source/include/debug.h2005-04-27 18:32:37 UTC (rev 6502) +++ trunk/source/include/debug.h2005-04-27 18:43:43 UTC (rev 6503) @@ -95,6 +95,7 @@ #define DBGC_QUOTA 14 #define DBGC_ACLS 15 #define DBGC_PRINTERDB 16 +#define DBGC_LOCKING 17 /* So you can define DBGC_CLASS before including debug.h */ #ifndef DBGC_CLASS Modified: trunk/source/lib/debug.c === --- trunk/source/lib/debug.c2005-04-27 18:32:37 UTC (rev 6502) +++ trunk/source/lib/debug.c2005-04-27 18:43:43 UTC (rev 6503) @@ -165,6 +165,7 @@ quota, /* DBGC_QUOTA*/ acls, /* DBGC_ACLS */ printerdb, /* DBGC_PRINTERDB*/ + locking, /* DBGC_LOCKING */ NULL }; Modified: trunk/source/lib/util.c === --- trunk/source/lib/util.c 2005-04-27 18:32:37 UTC (rev 6502) +++ trunk/source/lib/util.c 2005-04-27 18:43:43 UTC (rev 6503) @@ -1793,6 +1793,9 @@ SAFE_FREE(name_array); } +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_LOCKING + / Simple routine to do POSIX file locking. Cruft in NFS and 64-32 bit mapping is dealt with in posix.c @@ -1843,6 +1846,9 @@ return(True); } +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_ALL + /*** Is the name specified one of my netbios names. Returns true if it is equal, false otherwise. Modified: trunk/source/locking/brlock.c === --- trunk/source/locking/brlock.c 2005-04-27 18:32:37 UTC (rev 6502) +++ trunk/source/locking/brlock.c 2005-04-27 18:43:43 UTC (rev 6503) @@ -27,6 +27,9 @@ #include includes.h +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_LOCKING + #define ZERO_ZERO 0 /* This contains elements that differentiate locks. The smbpid is a Modified: trunk/source/locking/locking.c === --- trunk/source/locking/locking.c 2005-04-27 18:32:37 UTC (rev 6502) +++ trunk/source/locking/locking.c 2005-04-27 18:43:43 UTC (rev 6503) @@ -37,6 +37,9 @@ #include includes.h uint16 global_smbpid; +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_LOCKING + /* the locking database handle */ static TDB_CONTEXT *tdb; Modified: trunk/source/locking/posix.c === --- trunk/source/locking/posix.c2005-04-27 18:32:37 UTC (rev 6502) +++ trunk/source/locking/posix.c2005-04-27 18:43:43 UTC (rev 6503) @@ -24,6 +24,9 @@ #include includes.h +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_LOCKING + /* * The POSIX locking database handle. */ Modified: trunk/source/smbd/reply.c === --- trunk/source/smbd/reply.c 2005-04-27 18:32:37 UTC (rev 6502) +++ trunk/source/smbd/reply.c 2005-04-27 18:43:43 UTC (rev 6503) @@ -2129,6 +2129,9 @@ return -1; } +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_LOCKING + / Reply to a lockread (core+ protocol). / @@ -,6 +2225,9 @@ return(outsize); } +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_ALL + / Reply to a read. / @@ -2610,6 +2616,9 @@ return(outsize); } +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_LOCKING + / Reply to a writeunlock (core+). / @@ -2674,6 +2683,9 @@ return outsize; } +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_ALL + / Reply to a write. / @@ -3121,6 +3133,9 @@ return(outsize); } +#undef
Re: [Samba] SAMBA with LDAP - net join fails
These books are available on the samba web site in html Tony Earnshaw wrote: John H Terpstra wrote: Steven Henry's problem has been solved and as a result chapter 5 of the Samba-3 by Example process that he was following has been updated to help others to avoid the same hick-ups. Chapter 5 (was chapter 6 in the first edition) has been considerably expanded to include specific diagnostic steps that will help to solve problems such as those encountered here. I strongly advise that the diagnostic and validation steps should be followed at every step during the first-time implementation of a Samba+LDAP server as it will make it possible to detect configuration errors before they are compounded. Is this available in html too? If not, never mind, but there are reasons ;) --Tonni -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
svn commit: samba r6318 - in branches/SAMBA_3_0/source: . include
Author: herb Date: 2005-04-12 18:59:49 + (Tue, 12 Apr 2005) New Revision: 6318 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6318 Log: don't include smbwrapper stuff unless asked for Modified: branches/SAMBA_3_0/source/Makefile.in branches/SAMBA_3_0/source/configure.in branches/SAMBA_3_0/source/include/includes.h Changeset: Modified: branches/SAMBA_3_0/source/Makefile.in === --- branches/SAMBA_3_0/source/Makefile.in 2005-04-12 17:30:18 UTC (rev 6317) +++ branches/SAMBA_3_0/source/Makefile.in 2005-04-12 18:59:49 UTC (rev 6318) @@ -98,7 +98,7 @@ LIBSMBCLIENT_MINOR=1 -FLAGS1 = $(CFLAGS) @FLAGS1@ -Iinclude -I$(srcdir)/include -I$(srcdir)/ubiqx -I$(srcdir)/smbwrapper -I. $(CPPFLAGS) -I$(srcdir) +FLAGS1 = $(CFLAGS) @FLAGS1@ -Iinclude -I$(srcdir)/include -I$(srcdir)/ubiqx @SMBWRAP_INC@ -I. $(CPPFLAGS) -I$(srcdir) FLAGS2 = FLAGS3 = FLAGS4 = @@ -617,8 +617,8 @@ PROTO_OBJ = $(SMBD_OBJ_MAIN) \ $(SMBD_OBJ_SRV) $(NMBD_OBJ1) $(SWAT_OBJ1) $(LIB_OBJ) $(LIBSMB_OBJ) \ - $(SMBW_OBJ1) $(SMBWRAPPER_OBJ1) $(SMBTORTURE_OBJ1) $(RPCCLIENT_OBJ1) \ - $(LIBMSRPC_OBJ) \ + $(SMBTORTURE_OBJ1) $(RPCCLIENT_OBJ1) \ + $(LIBMSRPC_OBJ) @SMBWRAP_OBJS@ \ $(RPC_PIPE_OBJ) $(RPC_PARSE_OBJ) $(KRBCLIENT_OBJ) \ $(AUTH_OBJ) $(PARAM_OBJ) $(LOCKING_OBJ) $(SECRETS_OBJ) \ $(PRINTING_OBJ) $(PRINTBACKEND_OBJ) $(OPLOCK_OBJ) $(NOTIFY_OBJ) \ Modified: branches/SAMBA_3_0/source/configure.in === --- branches/SAMBA_3_0/source/configure.in 2005-04-12 17:30:18 UTC (rev 6317) +++ branches/SAMBA_3_0/source/configure.in 2005-04-12 18:59:49 UTC (rev 6318) @@ -225,6 +225,8 @@ AC_SUBST(LDAP_LIBS) AC_SUBST(SHLIB_PROGS) AC_SUBST(SMBWRAPPER) +AC_SUBST(SMBWRAP_OBJS) +AC_SUBST(SMBWRAP_INC) AC_SUBST(EXTRA_BIN_PROGS) AC_SUBST(EXTRA_SBIN_PROGS) AC_SUBST(EXTRA_ALL_TARGETS) @@ -1193,7 +1195,7 @@ if test $enable_shared = yes; then # this bit needs to be modified for each OS that is suported by - # smbwrapper. You need to specify how to created a shared library and + # smbwrapper. You need to specify how to create a shared library and # how to compile C code to produce PIC object files AC_MSG_CHECKING([ability to build shared libraries]) @@ -2094,7 +2096,7 @@ AC_CACHE_CHECK([whether getpass should be replaced],samba_cv_REPLACE_GETPASS,[ SAVE_CPPFLAGS=$CPPFLAGS -CPPFLAGS=$CPPFLAGS -I${srcdir-.}/ -I${srcdir-.}/include -I${srcdir-.}/ubiqx -I${srcdir-.}/popt -I${srcdir-.}/smbwrapper +CPPFLAGS=$CPPFLAGS -I${srcdir-.}/ -I${srcdir-.}/include -I${srcdir-.}/ubiqx -I${srcdir-.}/popt AC_TRY_COMPILE([ #define REPLACE_GETPASS 1 #define NO_PROTO_H 1 @@ -2410,6 +2412,8 @@ AC_DEFINE(WITH_SMBWRAPPER,1,[Whether to include smbwrapper support]) WRAPPROG=bin/smbsh\$(EXEEXT) WRAP=bin/smbwrapper.$SHLIBEXT + WRAP_OBJS=\$(SMBW_OBJ1) \$(SMBWRAPPER_OBJ1) + WRAP_INC=-I\$(srcdir)/smbwrapper # Conditions under which smbwrapper should not be built. @@ -2417,13 +2421,19 @@ echo No support for PIC code - disabling smbwrapper and smbsh WRAPPROG= WRAP= + WRAP_OBJS= + WRAP_INC= elif test x$ac_cv_func_syscall = xno; then AC_MSG_RESULT([No syscall() -- disabling smbwrapper and smbsh]) WRAPPROG= WRAP= + WRAP_OBJS= + WRAP_INC= fi EXTRA_ALL_TARGETS=$EXTRA_ALL_TARGETS $WRAPPROG $WRAP SMBWRAPPER=$WRAPPROG $WRAP + SMBWRAP_OBJS=$WRAP_OBJS + SMBWRAP_INC=$WRAP_INC ;; *) AC_MSG_RESULT(no) @@ -3539,7 +3549,7 @@ if test x$samba_cv_SYSQUOTA_FOUND != xno; then AC_CACHE_CHECK([whether the sys_quota interface works],samba_cv_SYSQUOTA_WORKS,[ SAVE_CPPFLAGS=$CPPFLAGS -CPPFLAGS=$CPPFLAGS -I${srcdir-.}/ -I. -I${srcdir-.}/include -I${srcdir-.}/ubiqx -I${srcdir-.}/popt -I${srcdir-.}/smbwrapper -I${srcdir-.}/nsswitch +CPPFLAGS=$CPPFLAGS -I${srcdir-.}/ -I. -I${srcdir-.}/include -I${srcdir-.}/ubiqx -I${srcdir-.}/popt -I${srcdir-.}/nsswitch AC_TRY_COMPILE([ #include confdefs.h #define NO_PROTO_H 1 @@ -3566,7 +3576,7 @@ if test x$samba_cv_SYSQUOTA_FOUND != xno -a x$samba_cv_found_xfs_header = xyes; then AC_CACHE_CHECK([whether the sys_quota interface works with XFS],samba_cv_SYSQUOTA_WORKS_XFS,[ SAVE_CPPFLAGS=$CPPFLAGS -CPPFLAGS=$CPPFLAGS -I${srcdir-.}/ -I. -I${srcdir-.}/include -I${srcdir-.}/ubiqx -I${srcdir-.}/popt -I${srcdir-.}/smbwrapper -I${srcdir-.}/nsswitch +CPPFLAGS=$CPPFLAGS -I${srcdir-.}/ -I. -I${srcdir-.}/include -I${srcdir-.}/ubiqx -I${srcdir-.}/popt -I${srcdir-.}/nsswitch AC_TRY_COMPILE([ #include confdefs.h #define NO_PROTO_H 1 @@ -3586,7 +3596,7 @@ AC_CACHE_CHECK([whether the old quota support works],samba_cv_QUOTA_WORKS,[ SAVE_CPPFLAGS=$CPPFLAGS -CPPFLAGS=$CPPFLAGS -I${srcdir
svn commit: samba r6319 - in branches/SAMBA_3_0/source/tests: .
Author: herb Date: 2005-04-12 21:56:34 + (Tue, 12 Apr 2005) New Revision: 6319 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6319 Log: add prototype so -Wstrict-prototypes will not fail Modified: branches/SAMBA_3_0/source/tests/sysquotas.c Changeset: Modified: branches/SAMBA_3_0/source/tests/sysquotas.c === --- branches/SAMBA_3_0/source/tests/sysquotas.c 2005-04-12 18:59:49 UTC (rev 6318) +++ branches/SAMBA_3_0/source/tests/sysquotas.c 2005-04-12 21:56:34 UTC (rev 6319) @@ -1,5 +1,7 @@ /* this test should find out what quota api is available on the os */ + int autoconf_quota(void); + #if defined(HAVE_QUOTACTL_4A) /* long quotactl(int cmd, char *special, qid_t id, caddr_t addr) */
Re: [Samba] Overwriting Symbolic Links
That is a problem with the way word and some other programs edit files. Word renames the original file, saves the edited output to a new file of the original name and then deletes the backup (the original). When the new file is created it is created as a regular file. Jeffrey M. Johnson wrote: I am having a unique problem with samba and can't seem to find a solution to the problem. I am running a samba 3.0.5 server on a Solaris 2.9 Server. All Samba does is map the users home directory to there windows desktop. In the home directory we have symbolic links to our web-server so users can access their web-related content. We have two types of symbolic links, one to directories and others to specific files. lrwxrwxrwx 1 user group 44 Apr 6 16:13 file.html - /htdocs/file.html lrwxrwxrwx 1 user group 44 Apr 6 16:13 directory - /htdocs/directory If a user modifies a file in directory there is no problem everything works fine. If a user modifies the file.html it over rights the file -rwxrw-r-- 1 user group 206 Apr 6 2005 file.html However the problem does not exist with every piece of software, for example notepad and wordpad do not overwrite the file while word and dreamweaver does. Any have a solution to this problem. Jeff -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
svn commit: samba r6225 - in branches/SAMBA_3_0/source: auth client groupdb include lib libsmb modules nmbd nsswitch param passdb printing rpc_server smbd tdb utils web
Author: herb Date: 2005-04-06 16:28:04 + (Wed, 06 Apr 2005) New Revision: 6225 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6225 Log: get rid of warnings from my compiler about nested externs Modified: branches/SAMBA_3_0/source/auth/auth_compat.c branches/SAMBA_3_0/source/auth/auth_sam.c branches/SAMBA_3_0/source/client/client.c branches/SAMBA_3_0/source/client/clitar.c branches/SAMBA_3_0/source/groupdb/mapping.c branches/SAMBA_3_0/source/include/smb_macros.h branches/SAMBA_3_0/source/lib/substitute.c branches/SAMBA_3_0/source/lib/util.c branches/SAMBA_3_0/source/lib/util_seaccess.c branches/SAMBA_3_0/source/lib/wins_srv.c branches/SAMBA_3_0/source/libsmb/cliconnect.c branches/SAMBA_3_0/source/libsmb/clientgen.c branches/SAMBA_3_0/source/libsmb/clilist.c branches/SAMBA_3_0/source/libsmb/nmblib.c branches/SAMBA_3_0/source/modules/vfs_fake_perms.c branches/SAMBA_3_0/source/nmbd/nmbd.c branches/SAMBA_3_0/source/nmbd/nmbd_subnetdb.c branches/SAMBA_3_0/source/nmbd/nmbd_synclists.c branches/SAMBA_3_0/source/nsswitch/winbindd_ads.c branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c branches/SAMBA_3_0/source/nsswitch/winbindd_util.c branches/SAMBA_3_0/source/param/loadparm.c branches/SAMBA_3_0/source/param/params.c branches/SAMBA_3_0/source/passdb/pdb_ldap.c branches/SAMBA_3_0/source/printing/nt_printing.c branches/SAMBA_3_0/source/printing/printfsp.c branches/SAMBA_3_0/source/rpc_server/srv_lsa_nt.c branches/SAMBA_3_0/source/rpc_server/srv_netlog_nt.c branches/SAMBA_3_0/source/rpc_server/srv_pipe.c branches/SAMBA_3_0/source/rpc_server/srv_samr_nt.c branches/SAMBA_3_0/source/rpc_server/srv_spoolss_nt.c branches/SAMBA_3_0/source/rpc_server/srv_srvsvc_nt.c branches/SAMBA_3_0/source/smbd/dir.c branches/SAMBA_3_0/source/smbd/error.c branches/SAMBA_3_0/source/smbd/fake_file.c branches/SAMBA_3_0/source/smbd/lanman.c branches/SAMBA_3_0/source/smbd/negprot.c branches/SAMBA_3_0/source/smbd/nttrans.c branches/SAMBA_3_0/source/smbd/open.c branches/SAMBA_3_0/source/smbd/oplock.c branches/SAMBA_3_0/source/smbd/oplock_linux.c branches/SAMBA_3_0/source/smbd/posix_acls.c branches/SAMBA_3_0/source/smbd/process.c branches/SAMBA_3_0/source/smbd/reply.c branches/SAMBA_3_0/source/smbd/server.c branches/SAMBA_3_0/source/smbd/service.c branches/SAMBA_3_0/source/smbd/sesssetup.c branches/SAMBA_3_0/source/smbd/trans2.c branches/SAMBA_3_0/source/tdb/tdbbackup.c branches/SAMBA_3_0/source/utils/net.c branches/SAMBA_3_0/source/web/diagnose.c Changeset: Sorry, the patch is too large (1541 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6225
svn commit: samba r6230 - in branches/SAMBA_3_0/source/lib: .
Author: herb Date: 2005-04-06 23:50:48 + (Wed, 06 Apr 2005) New Revision: 6230 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6230 Log: don't know how this ever worked! the compiler complained we were comparing an integer to a pointer and it was right. Modified: branches/SAMBA_3_0/source/lib/util_unistr.c Changeset: Modified: branches/SAMBA_3_0/source/lib/util_unistr.c === --- branches/SAMBA_3_0/source/lib/util_unistr.c 2005-04-06 23:22:52 UTC (rev 6229) +++ branches/SAMBA_3_0/source/lib/util_unistr.c 2005-04-06 23:50:48 UTC (rev 6230) @@ -113,7 +113,7 @@ if (len1 == 0) return 0; len2 = convert_string(CH_DOS, CH_UCS2, buf, len1, c2, 2,False); if (len2 != 2) return 0; - return (c == c2); + return (c == *c2); }
Re: [Samba] Problem with wbinfo
The wbinfo -t returning an error normally means the machine was not properly joined to the domain. Did you do a net rpc join? Is your smb.conf set up properly to be a member of the domain? Ricardo Maciel wrote: Hamish, Thanks, but the nscd service was already stopped. Must be another solution. Any other idea? Ricardo. On Tue, 29 Mar 2005 13:27:16 +0100, Hamish [EMAIL PROTECTED] wrote: On Tuesday 29 March 2005 13:13, Ricardo Maciel wrote: Hello, I'm using a Samba client to access a Samba Server. The smbclient tool is ok, both at the client as at the server. I'm having trouble with the wbinfo command (winbind service) at the client, as you can see below. Can anybody help me? Thanks!!! =Problem== Samba Server: samba-3.0.10-1.fc2 Samba Client: Version 3.0.0-14.3E -- # service winbind start Iniciando serviços Winbind:[ OK ] # # # wbinfo -t checking the trust secret via RPC calls failed error code was NT_STATUS_INTERNAL_ERROR (0xc0e5) Could not check secret # # # wbinfo -u Error looking up domain users # # # wbinfo -g Error looking up domain groups # # # service winbind stop Desligando os serviços Winbind:[ OK ] Make sure you do not have nscd running - i had similar problems with it. You should be able to do this with `service nscd stop; chkconfig nscd off` Hope that helps H -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
svn commit: samba r5888 - in branches/SAMBA_3_0/source/utils: .
Author: herb Date: 2005-03-18 22:31:44 + (Fri, 18 Mar 2005) New Revision: 5888 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5888 Log: fix incorrect test - don't print anything if user is not in any groups Modified: branches/SAMBA_3_0/source/utils/net_rpc.c Changeset: Modified: branches/SAMBA_3_0/source/utils/net_rpc.c === --- branches/SAMBA_3_0/source/utils/net_rpc.c 2005-03-18 21:45:37 UTC (rev 5887) +++ branches/SAMBA_3_0/source/utils/net_rpc.c 2005-03-18 22:31:44 UTC (rev 5888) @@ -1009,7 +1009,7 @@ /* Look up rids */ - if (rids) { + if (num_rids) { rids = TALLOC_ARRAY(mem_ctx, uint32, num_rids); for (i = 0; i num_rids; i++) @@ -1028,9 +1028,6 @@ for (i = 0; i num_names; i++) printf(%s\n, names[i]); } - else { - printf(no groups\n); - } done: return result; }
svn commit: samba r5889 - in trunk/source/utils: .
Author: herb Date: 2005-03-18 22:39:41 + (Fri, 18 Mar 2005) New Revision: 5889 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5889 Log: fix incorrect test and don't print anything if user is not in any groups Modified: trunk/source/utils/net_rpc.c Changeset: Modified: trunk/source/utils/net_rpc.c === --- trunk/source/utils/net_rpc.c2005-03-18 22:31:44 UTC (rev 5888) +++ trunk/source/utils/net_rpc.c2005-03-18 22:39:41 UTC (rev 5889) @@ -1009,7 +1009,7 @@ /* Look up rids */ - if (rids) { + if (num_rids) { rids = TALLOC_ARRAY(mem_ctx, uint32, num_rids); for (i = 0; i num_rids; i++) @@ -1028,9 +1028,6 @@ for (i = 0; i num_names; i++) printf(%s\n, names[i]); } - else { - printf(no groups\n); - } done: return result; }
svn commit: samba r5650 - in branches/SAMBA_3_0/source/utils: .
Author: herb Date: 2005-03-03 18:55:36 + (Thu, 03 Mar 2005) New Revision: 5650 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5650 Log: add help lines for net rpc group addmem and delmem commands partial fix for Bug 2417 - we need to look for other missing commands Modified: branches/SAMBA_3_0/source/utils/net_help.c Changeset: Modified: branches/SAMBA_3_0/source/utils/net_help.c === --- branches/SAMBA_3_0/source/utils/net_help.c 2005-03-03 17:58:47 UTC (rev 5649) +++ branches/SAMBA_3_0/source/utils/net_help.c 2005-03-03 18:55:36 UTC (rev 5650) @@ -99,6 +99,8 @@ d_printf(\nnet [method] group ADD name [-C comment] [-c container]\ [misc. options] [targets]\n\tCreate specified group\n); d_printf(\nnet rpc group MEMBERS name\n\tList Group Members\n\n); + d_printf(\nnet rpc group ADDMEM group member\n\tAdd Group Members\n\n); + d_printf(\nnet rpc group DELMEM group member\n\tDelete Group Members\n\n); net_common_methods_usage(argc, argv); net_common_flags_usage(argc, argv); d_printf(\t-C or --comment=comment\tdescriptive comment (for add only)\n);
Re: [Samba] REPOST: smbcacls question
you don't say what version you are running so the syntax may be different than my version. type smbcacls --help to get syntax. There is definitely something wrong with your command as the -d option is used to set the debug level and takes a number for the arg. also you need a UNC share name and then the file name in the current versions. So for the current version to list the acls on file xxx at share named //server/share using the user administrator you would type smbcacls //server/share xxx -U administrator Jeff Yana wrote: Since I never received a reply, I am reposting this earlier post: I am trying to run the following command and keep getting the same error. My question is is there a problem with my command or is this possibly an issue with Samba smbcacls -d test_file -A ACL:DOMAIN\username:ALLOWED/0/CHANGE -U username Here is the error: debug_parse_params: unrecognized debug class name or format [test_file] ERROR: Unable to open credentials file! Any suggestions are welcome. Thanks. Jeff -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
svn commit: samba r5287 - in branches/SAMBA_3_0/source/smbd: .
Author: herb Date: 2005-02-09 21:23:33 + (Wed, 09 Feb 2005) New Revision: 5287 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5287 Log: fix build problem when HAVE_POSIX_ACL not defined Modified: branches/SAMBA_3_0/source/smbd/trans2.c Changeset: Modified: branches/SAMBA_3_0/source/smbd/trans2.c === --- branches/SAMBA_3_0/source/smbd/trans2.c 2005-02-09 21:10:23 UTC (rev 5286) +++ branches/SAMBA_3_0/source/smbd/trans2.c 2005-02-09 21:23:33 UTC (rev 5287) @@ -2191,6 +2191,7 @@ return UNIXERROR(def_class,def_code); } +#if defined(HAVE_POSIX_ACLS) / Utility function to count the number of entries in a POSIX acl. / @@ -2305,6 +2306,7 @@ return True; } +#endif / Reply to a TRANS2_QFILEPATHINFO or TRANSACT2_QFILEINFO (query file info by @@ -2870,6 +2872,7 @@ break; } +#if defined(HAVE_POSIX_ACLS) case SMB_QUERY_POSIX_ACL: { SMB_ACL_T file_acl = NULL; @@ -2946,6 +2949,7 @@ data_size = (num_file_acls + num_def_acls)*SMB_POSIX_ACL_ENTRY_SIZE + SMB_POSIX_ACL_HEADER_SIZE; break; } +#endif default: return ERROR_DOS(ERRDOS,ERRunknownlevel); @@ -3755,6 +3759,7 @@ return(-1); } +#if defined(HAVE_POSIX_ACLS) case SMB_SET_POSIX_ACL: { uint16 posix_acl_version; @@ -3804,6 +3809,7 @@ send_trans2_replies(outbuf, bufsize, params, 2, *ppdata, 0); return(-1); } +#endif default: return ERROR_DOS(ERRDOS,ERRunknownlevel);
Re: [Samba] Accessing multiple shares from one single client
The only thing I know to do is access the shares with different server names. Connect to one with the netbios name of the server and to the other with the ip address of the server. This is a windows limitation to not allow multiple connections from the same machine with different credentials (user). Andy BIERLAIR wrote: Yes, the problem comes when using different shares that have different login credentials. I have tried to mount the shares from a command prompt, and here is what I get when I try to mount a second share from that workstation: Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. When I unmount the first share, I still get this message when I try to mount an other one. This can be fixed while doing net session /delete. Unfortunately this is not what I am looking for. I need to get multiple shares with different credentials mounted on one and the same windows xp workstation. Any workaround? Andy -Original Message- From: Ganeshram Iyer [mailto:[EMAIL PROTECTED] Sent: Thursday, January 27, 2005 05:13 To: Andy BIERLAIR Subject: Re: [Samba] Accessing multiple shares from one single client I am not an expert in samba but do the different shares have different usernames/passwords? I know if you supply one username/password combo to a remote computer (be it another windows computer) from one windows computer then windows stores that auth info. if you want to access the remote comp using a diff combo then you have to manually force windows to forget the first auth info. i think the command to do that was net use /d see if you can pull up the help up on that command. and if i am mistaken in understanding the question i apologize in advance. ganesh On Thu, 27 Jan 2005 00:48:43 +0100, Andy BIERLAIR [EMAIL PROTECTED] wrote: I am facing the current problem: I have one WinXP SP2 Clients trying to access multiple shares on the same smb server. When booting up Windows I can login to one share, but not to the other ones. Whichever of them I take first is working just fine. My username or password (which is correct!) is being rejected. Is this a Windows issue or do I need to adjust a parameter in smb.conf? Current smb.conf: [global] panic action = /usr/share/samba/panic-action %d workgroup = ROOT server string = bla invalid users = root log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 security = user encrypt passwords = true passdb backend = smbpasswd guest socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 obey pam restrictions = yes interfaces = 195.24.72.10 bind interfaces only = yes [IPC$] hosts deny = 0.0.0.0/0 [web1] comment = [web1] - Home Directory path = /home/www/web1 read only = No valid users = web1 force user = web1 force group = ftp browseable = no printable = no create mask = 660 directory mask = 770 force create mode = 660 force directory mode = 770 veto files = .x [web11] comment = [web11] - Home Directory path = /home/www/web11 read only = No valid users = web11 force user = web11 force group = ftp browseable = no printable = no create mask = 660 directory mask = 770 force create mode = 660 force directory mode = 770 veto files = .x Andy -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Participation on Samba lists
I had the same concerns initially, but if you look through the history of his posts on the lists, they tend to always degrade into accusations and name calling in the end. Telling him it is off-topic only feeds the flames. This was discussed extensively among the team and unfortunately this seems the only reasonable thing to do at the moment. I concur with the action. Herb Samba Team Dragan Krnic wrote: Regardless of what is going on this is not right in my opinion. So we're going to ban Luke from posting to the Samba Lists for three months There must be another way to work things out. Open to suggestions. We've been trying and they haven't been working out. This was the action of last resort and we regret having to resort to it. But we ran out of options. This has been going on for a long time. My suggestion is, you lift the ban. It just doesn't sound right. It is censorship. We do tolerate all kinds of trolls who quote a lengthy letter for no reason other than to approve of its content, so what's so disruptive in Luke's letter? I personally tried to read Luke's letter but gave up on issues of style, terseness and casing. I'd rather Luke had contributed some new code instead. But banning him is not right. As another suggestion, why don't you create a separate samba mail list samba-politics and advise a contributor who doesn't stick to samba-user problems that he/she/it is off-topic? I don't have a problem to skip a posting I'm not interested in. I do have a problem, if someone does it for me. Cheers Dragan -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
svn commit: samba r4103 - in branches/SAMBA_3_0/source/torture: .
Author: herb Date: 2004-12-08 17:30:50 + (Wed, 08 Dec 2004) New Revision: 4103 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=4103 Log: lock timeout is in milliseconds (as in reply.c) Modified: branches/SAMBA_3_0/source/torture/torture.c Changeset: Modified: branches/SAMBA_3_0/source/torture/torture.c === --- branches/SAMBA_3_0/source/torture/torture.c 2004-12-08 11:30:26 UTC (rev 4102) +++ branches/SAMBA_3_0/source/torture/torture.c 2004-12-08 17:30:50 UTC (rev 4103) @@ -870,7 +870,7 @@ lock_timeout = (1 + (random() % 20)); printf(Testing lock timeout with timeout=%u\n, lock_timeout); t1 = time(NULL); - if (cli_lock(cli2, fnum3, 0, 4, lock_timeout * 500, WRITE_LOCK)) { + if (cli_lock(cli2, fnum3, 0, 4, lock_timeout * 1000, WRITE_LOCK)) { printf(lock3 succeeded! This is a locking bug\n); return False; } else {
svn commit: samba r4104 - in trunk/source/torture: .
Author: herb Date: 2004-12-08 17:43:04 + (Wed, 08 Dec 2004) New Revision: 4104 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=4104 Log: lock timeout is in milliseconds (as in reply.c) Modified: trunk/source/torture/torture.c Changeset: Modified: trunk/source/torture/torture.c === --- trunk/source/torture/torture.c 2004-12-08 17:30:50 UTC (rev 4103) +++ trunk/source/torture/torture.c 2004-12-08 17:43:04 UTC (rev 4104) @@ -870,7 +870,7 @@ lock_timeout = (1 + (random() % 20)); printf(Testing lock timeout with timeout=%u\n, lock_timeout); t1 = time(NULL); - if (cli_lock(cli2, fnum3, 0, 4, lock_timeout * 500, WRITE_LOCK)) { + if (cli_lock(cli2, fnum3, 0, 4, lock_timeout * 1000, WRITE_LOCK)) { printf(lock3 succeeded! This is a locking bug\n); return False; } else {
svn commit: samba r3339 - in branches/SAMBA_3_0/source: .
Author: herb Date: 2004-10-28 22:58:21 + (Thu, 28 Oct 2004) New Revision: 3339 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3339 Log: allow tdbtool to be built Modified: branches/SAMBA_3_0/source/Makefile.in Changeset: Modified: branches/SAMBA_3_0/source/Makefile.in === --- branches/SAMBA_3_0/source/Makefile.in 2004-10-28 22:38:27 UTC (rev 3338) +++ branches/SAMBA_3_0/source/Makefile.in 2004-10-28 22:58:21 UTC (rev 3339) @@ -124,7 +124,8 @@ BIN_PROGS1 = bin/[EMAIL PROTECTED]@ bin/[EMAIL PROTECTED]@ bin/[EMAIL PROTECTED]@ \ bin/[EMAIL PROTECTED]@ bin/[EMAIL PROTECTED]@ bin/[EMAIL PROTECTED]@ BIN_PROGS2 = bin/[EMAIL PROTECTED]@ bin/[EMAIL PROTECTED]@ bin/[EMAIL PROTECTED]@ \ - bin/[EMAIL PROTECTED]@ bin/[EMAIL PROTECTED]@ bin/[EMAIL PROTECTED]@ + bin/[EMAIL PROTECTED]@ bin/[EMAIL PROTECTED]@ bin/[EMAIL PROTECTED]@ \ + bin/[EMAIL PROTECTED]@ BIN_PROGS3 = bin/[EMAIL PROTECTED]@ bin/[EMAIL PROTECTED]@ bin/[EMAIL PROTECTED]@ \ bin/[EMAIL PROTECTED]@ bin/[EMAIL PROTECTED]@ \ bin/[EMAIL PROTECTED]@ @@ -677,6 +678,8 @@ TDBBACKUP_OBJ = tdb/tdbbackup.o tdb/tdbback.o $(SNPRINTF_OBJ) $(TDBBASE_OBJ) +TDBTOOL_OBJ = tdb/tdbtool.o $(TDBBASE_OBJ) + TDBDUMP_OBJ = tdb/tdbdump.o $(TDBBASE_OBJ) NTLM_AUTH_OBJ1 = utils/ntlm_auth.o utils/ntlm_auth_diagnostics.o @@ -1249,6 +1252,10 @@ @echo Linking $@ @$(CC) $(FLAGS) -o $@ $(DYNEXP) $(TDBBACKUP_OBJ) +bin/[EMAIL PROTECTED]@: $(TDBTOOL_OBJ) bin/.dummy + @echo Linking $@ + @$(CC) $(FLAGS) -o $@ $(DYNEXP) $(TDBTOOL_OBJ) + bin/[EMAIL PROTECTED]@: $(TDBDUMP_OBJ) bin/.dummy @echo Linking $@ @$(CC) $(FLAGS) -o $@ $(DYNEXP) $(TDBDUMP_OBJ)
Re: [Samba] Printing help from Windows XP
What is the output of lpstat -t on your linux system? When you print from linux what command do you use? It looks like you are calling the printer the wrong name in your smb.conf file. It must match exactly one of the names returned by lpstat. Rohan Gilchrist wrote: Hello, I'm trying to get priting working from a Windows XP box to a printer that's been shared via SAMBA. I can browse the printer fine, and can print fine from linux, but not from Windows. The following errors appear in the SAMBA log for the windows host I'm printing from: lp: unable to print file: client-error-not-found lpstat: Unknown destination level3-bw! The error_log for CUPS, reports: print_job: resource name '/printers/lvl3-bw' no good! For reference, here's my smb.conf: [lvl3-bw] comment = level 3 printer path = /var/spool/samba/ read only = No guest ok = Yes printable = Yes printer name = level3-bw Help please, I'm pulling my hair out over this. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] samba multiple instances
check out the following smb.conf parameters private dir lock directory pid directory [EMAIL PROTECTED] wrote: Hi ! I want to run 2 samba instances on my linux server. the server has 2 ip adresses and i made 2 different smb.conf`s (2 different netbios-names/workgroups bound to specific interfaces - params interfaces , bind interfaces only and socket address) furthermore i cloned the start/stopscripts (cp smb/nmb to smb2/nmb2) to use that different smb.conf`s. but that doesnt work perfect - i can connect to the different ip`s and have 2 smbd`s serving files - but i wonder about the following: - i have no clue how to make samba instance #1 use /var/lib/samba and instance #2 use /var/lib/samba2 for their TDB backend files. also nmbd writes a browse.dat - so - we have concurrent access on that file if 2 nmbd`s are running, right? hardcoded paths ? - i have no clue why nmbd binds to IP #1 or #2 AND to 0.0.0.0:138 THOUGH i configured bind interfaces only (bug?). that must be the reason why browsing doesn`t work when 2 instances are up and running. can someone help me with this ? i`m sure that multi-instance of samba should work in general - but there seem to be some bells and whistles. regards roland -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Docs on smbd and nmbd logs
I believe that is the debug level of the message Jeff Saxton wrote: I'm writing a log parser for smbd and nmbd logs. Is there any doc (other than the source) on the logs? In particular I'm stumped by the extra digit in the timestamp: [2004/08/11 04:02:00, 1] smbd/server.c:open_sockets(240) ^^ does anyone know what this signifies? Thanks Jeff Saxton Sr. Support Engineer Addamark Technologies, Inc. http://www.addamark.com http://www.addamark.com/ mailto:[EMAIL PROTECTED] CELL: +1 415-640-6392 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Duplicate workgroup names in browse list problem reappeared in 3.0.5
Check out the announcements on samba.org. 3.0.5 is a security release that contains only a security fix added to 3.0.4 base. What used to be 3.0.5-rc1 will now be called 3.0.6 and an rc2 will be released shortly. Timo Neuvonen wrote: Starting from version 3.0.2 (or .3?) there were a misfeature that caused workgroup names to show up as duplicates in workstations' browse lists. Fix for this didn't reach into 3.0.5-pre1, but rc1 had this fixed. Today I upgraded 3.0.5-rc1 to 3.0.5-2 (FC2 binary rpm from samba.org) and the problem reappeared. To be more spesific, the problem appears when there are more that one workgroup in the network. In that case each of the workgroups appear as a correct one, and also as a secondary fake one that contains no computers and which has a name end-padded with blanks to appr. 15 characters. This problem was originally discussed here in May, and a patch was releases soon, AFAIK. Maybe this patch was dropped for some reason (eg. accidentally?) from the final 3.0.5 although it was there in 3.0.5-rc1? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: String overflow in safe_strcpy .
you can change mangle prefix to specify the number of characters you want to stay the same. Just remember the more letters that remain the same the more likely you will get a collision and slow things down. Carl Matthews wrote: Is there another way to make shares readable to 16 bit apps that use the 8.3 filename. because with out specifying mangling method = hash the file names are completly mangled and only the first letter remains the same. Where as mangling method = hash only mangles the last 3 letters. Carl. Carl Matthews wrote: Hi Jeremy, Sorry for not replying sooner, ive attached my config file. as a quick test, I created a folder called : Test Directory That Is Long under which i created a folder called This folder is long too and a file called This Folder is long.txt and this gives me the string errors. Thanks. Jeremy Allison wrote: On Wed, Jul 14, 2004 at 11:03:26PM +0100, Carl wrote: Just Installed 3.0.5rc1 and the problem persists unfortunately, Ok, can you give me the smb.conf file and the directory and filenames you're using. I'll see if I can reproduce with the latest SVN code. Thanks, Jeremy. # Samba config file created using SWAT # from 0.0.0.0 (0.0.0.0) # Date: 2004/06/23 10:15:40 # Global parameters [global] server string = Mandrake1 netbios aliases = FC1 password server = None guest account = mleall username map = /etc/samba/smbusers log level = 0 log file = /var/log/samba/%m.log max log size = 500 name resolve order = wins lmhosts host bcas deadtime = 15 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 load printers = No mangling method = hash preferred master = Yes domain master = No dns proxy = No wins support = Yes oplock break wait time = 100 ldap ssl = no valid users = @MLE-ALL create mask = 0775 directory mask = 0775 guest ok = Yes dos filemode = Yes [NET-Eng] comment = Product Design By Genius path = /mnt/mle-net/MLE-NET/MLE-NET-Eng write list = @MLE-ALL force user = mleall read only = No [NET-GMDB] comment = MLE-NET GoldMine DB path = /mnt/mle-net/MLE-NET/MLE-NET-GMDB write list = @MLE-ALL force user = mleall read only = No veto oplock files = /*.DBT/*.DBF/*.MDX/ blocking locks = No level2 oplocks = No dos filemode = No [NET-Public] comment = MLE-NET Public Share path = /home/local/samba-public write list = @MLE-ALL force user = mleall read only = No copy = NET-Eng -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Is it possible to manipulate ACLs through smbclient?
use smbcacls instead Tom Dickson wrote: For example, smbclient //sambaserv/share -U administrator Password: smb aclmod booog or something like that? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
svn commit: samba r1103 - branches/SAMBA_3_0/source/utils
Author: herb Date: 2004-06-10 14:23:34 + (Thu, 10 Jun 2004) New Revision: 1103 Modified: branches/SAMBA_3_0/source/utils/smbcacls.c Log: need to leave empty dacl so we can remove last ACE WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=1103nolog=1
svn commit: samba r1109 - trunk/source/utils
Author: herb Date: 2004-06-10 17:43:15 + (Thu, 10 Jun 2004) New Revision: 1109 Modified: trunk/source/utils/smbcacls.c Log: merge from 3.0 - allow smbcacls to remove last ACL entry WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=1109nolog=1
Re: [Samba] binary package
run smbd -b to get the build options [EMAIL PROTECTED] wrote: Good morning, How do I find out what options where built in to the rpm binary of Samba 3.0.4? I'm looking for features; msdfs ads automount quotas acl-support Bri- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
svn commit: samba r938 - branches/SAMBA_3_0/source/lib
Author: herb Date: 2004-05-28 17:57:18 + (Fri, 28 May 2004) New Revision: 938 Modified: branches/SAMBA_3_0/source/lib/iconv.c Log: on an error save the original errno before calling iconv to reset the conversion state WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=938nolog=1
svn commit: samba r814 - branches/SAMBA_3_0/source/smbd
Author: herb Date: 2004-05-22 05:01:25 + (Sat, 22 May 2004) New Revision: 814 Modified: branches/SAMBA_3_0/source/smbd/process.c branches/SAMBA_3_0/source/smbd/reply.c Log: conn is 0 during ioctl (at least during smbtorture IOCTL test) fix smbd panic WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=814nolog=1
svn commit: samba r772 - branches/SAMBA_3_0/source/lib
Author: herb Date: 2004-05-18 17:24:59 + (Tue, 18 May 2004) New Revision: 772 Modified: branches/SAMBA_3_0/source/lib/debug.c Log: fix cut and paste error in comment WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=772nolog=1
svn commit: samba r773 - trunk/source/lib
Author: herb Date: 2004-05-18 17:31:37 + (Tue, 18 May 2004) New Revision: 773 Modified: trunk/source/lib/debug.c Log: merge 772 into trunk (fix cut-and-paste error in comment) WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=773nolog=1
svn commit: samba r774 - trunk/source/libsmb
Author: herb Date: 2004-05-18 18:10:17 + (Tue, 18 May 2004) New Revision: 774 Modified: trunk/source/libsmb/nmblib.c Log: fix typo in compare - get rid of unneeded ifdef WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=774nolog=1
svn commit: samba r775 - branches/SAMBA_3_0/source/libsmb
Author: herb Date: 2004-05-18 18:13:19 + (Tue, 18 May 2004) New Revision: 775 Modified: branches/SAMBA_3_0/source/libsmb/nmblib.c Log: merge trunk 774 to samba 3_0 - fix bad compare in for loop WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=775nolog=1
svn commit: samba r776 - branches/SAMBA_3_0/source/libsmb
Author: herb Date: 2004-05-18 20:48:14 + (Tue, 18 May 2004) New Revision: 776 Modified: branches/SAMBA_3_0/source/libsmb/nmblib.c Log: I should have just cut and pasted from my build area and I would have gotten this right :-) WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=776nolog=1
svn commit: samba r777 - trunk/source/libsmb
Author: herb Date: 2004-05-18 20:50:18 + (Tue, 18 May 2004) New Revision: 777 Modified: trunk/source/libsmb/nmblib.c Log: merge 775 from samba_3_0 WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=777nolog=1
svn commit: samba r635 - branches/SAMBA_3_0/source
Author: herb Date: 2004-05-10 19:57:54 + (Mon, 10 May 2004) New Revision: 635 Modified: branches/SAMBA_3_0/source/Makefile.in Log: put files that are referenced multiple times in separate definitions to be consistent. WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=635nolog=1
svn commit: samba r636 - trunk/source
Author: herb Date: 2004-05-10 21:30:22 + (Mon, 10 May 2004) New Revision: 636 Modified: trunk/source/Makefile.in Log: merge change 635 from samba 3 WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=636nolog=1
svn commit: samba r642 - branches/SAMBA_3_0/source
Author: herb Date: 2004-05-10 23:57:40 + (Mon, 10 May 2004) New Revision: 642 Modified: branches/SAMBA_3_0/source/Makefile.in Log: use RPC_CLIENT_OBJ instead of file name already included in PROTO_OBJ by LIBMSRPC_OBJ WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=642nolog=1
svn commit: samba r643 - branches/SAMBA_3_0/source
Author: herb Date: 2004-05-10 23:59:23 + (Mon, 10 May 2004) New Revision: 643 Modified: branches/SAMBA_3_0/source/Makefile.in Log: fix typo WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=643nolog=1
Re: [Samba] Changed UIDs from winbind after server reboot!
Sounds like your idmap file is being removed on reboot. run testparm -sv | grep directory and see where the lock directory is located. Make sure the file winbindd_idmap.tdb in this directory is not getting removed somehow on reboot. Check your winbindd log file to see if there are errors there. [EMAIL PROTECTED] wrote: I set up a samba 3.0.2 server as member server in a NT4 Domain. Winbind works great and I can use the NT Domain users for all I need. At the moment I'm testing different shares with their permissions. The Samba will also be our printserver, so I set up also cups and added the printers to samba with cupsaddsmb - Great tool! . Users could connect and all worked fine. After a reboot I had to do after adding a kernel option (RTC), suddenly the test user told me that they could no longer connect to the shares and the printers. When looking I found out, that all permissions where changed. The first time I thought I did a big mistake because working too long in the night. :-) 2 Days later I rebooted the server again - and had the same thing. Alls permissions where changed. I tested stopping samba and winbind - nothing strage happened. Then I rebooted the server again - and a lot of UID changed again. Did I missunderstood completely the function of winbind or is there something wrong here? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
svn commit: samba r428 - in branches/SAMBA_3_0/source: include lib smbd
Author: herb Date: 2004-04-30 14:28:38 + (Fri, 30 Apr 2004) New Revision: 428 Modified: branches/SAMBA_3_0/source/include/debug.h branches/SAMBA_3_0/source/lib/debug.c branches/SAMBA_3_0/source/smbd/posix_acls.c Log: add acls debug class WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_3_0/sourcerev=428nolog=1
svn commit: samba r434 - in trunk/source: lib utils
Author: herb Date: 2004-05-01 00:45:15 + (Sat, 01 May 2004) New Revision: 434 Modified: trunk/source/lib/debug.c trunk/source/utils/smbcontrol.c Log: merge change 416 to trunk - add PID and newline to debuglevel messages WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/trunk/sourcerev=434nolog=1
svn commit: samba r416 - in branches/SAMBA_3_0/source: lib utils
Author: herb Date: 2004-04-29 23:05:58 + (Thu, 29 Apr 2004) New Revision: 416 Modified: branches/SAMBA_3_0/source/lib/debug.c branches/SAMBA_3_0/source/utils/smbcontrol.c Log: add a newline to the debuglevel message returned string and have smbcontrol print the PID with it WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_3_0/sourcerev=416nolog=1
Re: [Samba] Hostname-Lookup
nmblookup -A ip address Matthias Spork wrote: Hello, how can I get the Hostname for an IP? nmblookup -T -r 192.168.1.222 doesn't work. matze -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
svn commit: samba r200 - in branches/SAMBA_4_0/source/lib/registry: reg_backend_nt4 reg_backend_w95
Author: herb Date: 2004-04-13 17:34:37 + (Tue, 13 Apr 2004) New Revision: 200 Modified: branches/SAMBA_4_0/source/lib/registry/reg_backend_nt4/reg_backend_nt4.c branches/SAMBA_4_0/source/lib/registry/reg_backend_w95/reg_backend_w95.c Log: fix compile errors WebSVN: http://websvn.samba.org/websvn/listing.php?rep=0path=/branches/SAMBA_4_0/source/lib/registryrev=200sc=1
Re: [Samba] Possible security issue with Samba 3.02 and MySQL database
security issues should be sent to [EMAIL PROTECTED] Mark wrote: I have been doing some testing with Samba and using MYSQL as the passdb backend (no it is not the security issue mentioned in the samba how-to) I found what I believe is is a serious security issue and I am not sure if this security issue is an operating system issue or a Samba issue that should be looked at by the Samba team. Is there such a place as to report such security concerns to the Samba team off list? mark -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
CVS update: samba/source/libsmb
Date: Wed Mar 31 20:24:10 2004 Author: herb Update of /data/cvs/samba/source/libsmb In directory dp.samba.org:/tmp/cvs-serv31198/libsmb Modified Files: Tag: SAMBA_3_0 cliconnect.c Log Message: fix typo Revisions: cliconnect.c1.71.2.58 = 1.71.2.59 http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/cliconnect.c.diff?r1=1.71.2.58r2=1.71.2.59
CVS update: samba/source/libsmb
Date: Wed Mar 31 20:26:13 2004 Author: herb Update of /data/cvs/samba/source/libsmb In directory dp.samba.org:/tmp/cvs-serv31980/samba/source/libsmb Modified Files: cliconnect.c Log Message: fix typo Revisions: cliconnect.c1.151 = 1.152 http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/cliconnect.c.diff?r1=1.151r2=1.152
Re: [Samba] Keeping file permissions on file overwrite
This is not a Samba problem but a problem with the way Windows applications edit files. Word (and many other apps) will actually rename the original file, create a new file and save to this and then delete the original file. They do not make modifications to the original file. So the behaviour you see is exactly what windows is telling samba to do. Eddy Ilg wrote: Hi, I am trying to get a share on which new files will be created with -rw-r--r-- and permisisons on existing files will be kept. For example if I have a file with permissions -rwxr-xr-x then I want the file to keep these permission bits when it is overwritten from a windows editor. I have played with different mask/mode settings and the map archive setting, but when I edit a file from a windows Machichne and save it, the existing permissions are always overritten with the ones that a new file would have. If I open a -rwxr-xr-x file and then overwrite it, it has -rw-r--r-- bits. Can I tell Samba not to overwrite the permissions? Thanks Eddy -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
CVS update: samba/source/libsmb
Date: Fri Mar 12 21:35:15 2004 Author: herb Update of /data/cvs/samba/source/libsmb In directory dp.samba.org:/tmp/cvs-serv24318/libsmb Modified Files: Tag: SAMBA_3_0 nmblib.c Log Message: if we are truncating to the . we need to start at the beginning in case there are multiple .'s in the name. This code is protected with an #ifdef TRUNCATE_NETBIOS_NAME and this is #define'd to 1 directly above. Should we also get rid of the #ifdef? Revisions: nmblib.c1.68.2.12 = 1.68.2.13 http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/nmblib.c.diff?r1=1.68.2.12r2=1.68.2.13
CVS update: samba/source/include
Date: Thu Mar 11 15:12:59 2004 Author: herb Update of /data/cvs/samba/source/include In directory dp.samba.org:/tmp/cvs-serv9304/samba/source/include Modified Files: Tag: SAMBA_3_0 includes.h Log Message: add missing #ifdef HAVE_BICONV stuff Revisions: includes.h 1.262.2.62 = 1.262.2.63 http://www.samba.org/cgi-bin/cvsweb/samba/source/include/includes.h.diff?r1=1.262.2.62r2=1.262.2.63
CVS update: samba/source/include
Date: Thu Mar 11 15:14:48 2004 Author: herb Update of /data/cvs/samba/source/include In directory dp.samba.org:/tmp/cvs-serv9435/samba/source/include Modified Files: includes.h Log Message: add missing #ifdef HAVE_BICONV stuff Revisions: includes.h 1.336 = 1.337 http://www.samba.org/cgi-bin/cvsweb/samba/source/include/includes.h.diff?r1=1.336r2=1.337
CVS update: samba/source
Date: Wed Mar 10 00:52:59 2004 Author: herb Update of /data/cvs/samba/source In directory dp.samba.org:/tmp/cvs-serv24967/samba/source Modified Files: Makefile.in Log Message: fix type for tag in proto file Revisions: Makefile.in 1.755 = 1.756 http://www.samba.org/cgi-bin/cvsweb/samba/source/Makefile.in.diff?r1=1.755r2=1.756
CVS update: samba/source
Date: Wed Mar 10 00:53:37 2004 Author: herb Update of /data/cvs/samba/source In directory dp.samba.org:/tmp/cvs-serv25009/samba/source Modified Files: Tag: SAMBA_3_0 Makefile.in Log Message: fix typo for tag in proto file Revisions: Makefile.in 1.468.2.217 = 1.468.2.218 http://www.samba.org/cgi-bin/cvsweb/samba/source/Makefile.in.diff?r1=1.468.2.217r2=1.468.2.218
CVS update: samba/source
Date: Wed Mar 10 03:08:14 2004 Author: herb Update of /data/cvs/samba/source In directory dp.samba.org:/tmp/cvs-serv19047/samba/source Modified Files: Tag: SAMBA_3_0 Makefile.in Log Message: another typo Revisions: Makefile.in 1.468.2.218 = 1.468.2.219 http://www.samba.org/cgi-bin/cvsweb/samba/source/Makefile.in.diff?r1=1.468.2.218r2=1.468.2.219
CVS update: samba/source
Date: Wed Mar 10 03:09:28 2004 Author: herb Update of /data/cvs/samba/source In directory dp.samba.org:/tmp/cvs-serv19143/samba/source Modified Files: Makefile.in Log Message: another type Revisions: Makefile.in 1.756 = 1.757 http://www.samba.org/cgi-bin/cvsweb/samba/source/Makefile.in.diff?r1=1.756r2=1.757
CVS update: samba/source/script
Date: Thu Feb 12 20:45:12 2004 Author: herb Update of /data/cvs/samba/source/script In directory dp.samba.org:/tmp/cvs-serv15687 Modified Files: findsmb.in Log Message: merge old change from 2.2 branch to give legend in heading Revisions: findsmb.in 1.6 = 1.7 http://www.samba.org/cgi-bin/cvsweb/samba/source/script/findsmb.in.diff?r1=1.6r2=1.7
CVS update: samba/testsuite/printing
Date: Wed Jan 14 22:53:50 2004 Author: herb Update of /data/cvs/samba/testsuite/printing In directory dp.samba.org:/tmp/cvs-serv11193/testsuite/printing Modified Files: Tag: SAMBA_3_0 psec.c Log Message: source/rpc_parse/parse_prs.cZERO_STRUCTP(ps) not needed as it is done in prs_init now testsuite/printing/psec.c cannot do a prs_mem_free() when tdb_prs_fetch fails as the prs structure has not been initialized Revisions: psec.c 1.7 = 1.7.2.1 http://www.samba.org/cgi-bin/cvsweb/samba/testsuite/printing/psec.c.diff?r1=1.7r2=1.7.2.1
CVS update: samba/testsuite/printing
Date: Wed Jan 14 23:00:06 2004 Author: herb Update of /data/cvs/samba/testsuite/printing In directory dp.samba.org:/tmp/cvs-serv12225/testsuite/printing Modified Files: psec.c Log Message: source/rpc_parse/parse_prs.cZERO_STRUCTP(ps) not needed as it is done in prs_init now testsuite/printing/psec.c cannot do a prs_mem_free() when tdb_prs_fetch fails as the prs structure has not been initialized Revisions: psec.c 1.7 = 1.8 http://www.samba.org/cgi-bin/cvsweb/samba/testsuite/printing/psec.c.diff?r1=1.7r2=1.8
CVS update: samba/source/rpc_parse
Date: Wed Jan 14 23:00:06 2004 Author: herb Update of /data/cvs/samba/source/rpc_parse In directory dp.samba.org:/tmp/cvs-serv12225/source/rpc_parse Modified Files: parse_prs.c Log Message: source/rpc_parse/parse_prs.cZERO_STRUCTP(ps) not needed as it is done in prs_init now testsuite/printing/psec.c cannot do a prs_mem_free() when tdb_prs_fetch fails as the prs structure has not been initialized Revisions: parse_prs.c 1.96 = 1.97 http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_parse/parse_prs.c.diff?r1=1.96r2=1.97
CVS update: samba4/source/libcli/raw
Date: Fri Aug 15 17:50:16 2003 Author: herb Update of /data/cvs/samba4/source/libcli/raw In directory dp.samba.org:/tmp/cvs-serv22696/libcli/raw Modified Files: clikrb5.c Log Message: wrong typecast Revisions: clikrb5.c 1.1.1.1 = 1.2 http://www.samba.org/cgi-bin/cvsweb/samba4/source/libcli/raw/clikrb5.c.diff?r1=1.1.1.1r2=1.2
CVS update: samba
Date: Fri Aug 15 21:05:45 2003 Author: herb Update of /data/cvs/samba In directory dp.samba.org:/tmp/cvs-serv15660 Modified Files: Tag: SAMBA_3_0 WHATSNEW.txt Log Message: fix some typos Revisions: WHATSNEW.txt1.52.2.31 = 1.52.2.32 http://www.samba.org/cgi-bin/cvsweb/samba/WHATSNEW.txt.diff?r1=1.52.2.31r2=1.52.2.32
CVS update: samba4/source/libcli
Date: Fri Aug 15 21:37:42 2003 Author: herb Update of /data/cvs/samba4/source/libcli In directory dp.samba.org:/tmp/cvs-serv19068/source/libcli Modified Files: cliconnect.c Log Message: don't dereference null pointer Revisions: cliconnect.c1.2 = 1.3 http://www.samba.org/cgi-bin/cvsweb/samba4/source/libcli/cliconnect.c.diff?r1=1.2r2=1.3
CVS update: samba4/source/libcli
Date: Fri Aug 15 23:57:05 2003 Author: herb Update of /data/cvs/samba4/source/libcli In directory dp.samba.org:/tmp/cvs-serv1801 Modified Files: cliconnect.c Log Message: don't leak memory if cli-tree is NULL Revisions: cliconnect.c1.3 = 1.4 http://www.samba.org/cgi-bin/cvsweb/samba4/source/libcli/cliconnect.c.diff?r1=1.3r2=1.4
CVS update: samba4/source/lib
Date: Thu Aug 14 21:56:26 2003 Author: herb Update of /data/cvs/samba4/source/lib In directory dp.samba.org:/tmp/cvs-serv30683/lib Modified Files: debug.c Log Message: client/client.c - cannot initialize struct with non-const values include/byteorder.h - fix for IRIX compiler - cannot cast an LVALUE include/smb_interfaces.h - remove empty structure source/lib/debug.c - void functions cannot return value libcli/clifile.c - cannot assign *struct to struct Revisions: debug.c 1.1.1.1 = 1.2 http://www.samba.org/cgi-bin/cvsweb/samba4/source/lib/debug.c.diff?r1=1.1.1.1r2=1.2
CVS update: samba4/source/include
Date: Thu Aug 14 21:56:26 2003 Author: herb Update of /data/cvs/samba4/source/include In directory dp.samba.org:/tmp/cvs-serv30683/include Modified Files: byteorder.h smb_interfaces.h Log Message: client/client.c - cannot initialize struct with non-const values include/byteorder.h - fix for IRIX compiler - cannot cast an LVALUE include/smb_interfaces.h - remove empty structure source/lib/debug.c - void functions cannot return value libcli/clifile.c - cannot assign *struct to struct Revisions: byteorder.h 1.1.1.1 = 1.2 http://www.samba.org/cgi-bin/cvsweb/samba4/source/include/byteorder.h.diff?r1=1.1.1.1r2=1.2 smb_interfaces.h1.4 = 1.5 http://www.samba.org/cgi-bin/cvsweb/samba4/source/include/smb_interfaces.h.diff?r1=1.4r2=1.5
CVS update: samba4/source/libcli
Date: Thu Aug 14 21:56:26 2003 Author: herb Update of /data/cvs/samba4/source/libcli In directory dp.samba.org:/tmp/cvs-serv30683/libcli Modified Files: clifile.c Log Message: client/client.c - cannot initialize struct with non-const values include/byteorder.h - fix for IRIX compiler - cannot cast an LVALUE include/smb_interfaces.h - remove empty structure source/lib/debug.c - void functions cannot return value libcli/clifile.c - cannot assign *struct to struct Revisions: clifile.c 1.2 = 1.3 http://www.samba.org/cgi-bin/cvsweb/samba4/source/libcli/clifile.c.diff?r1=1.2r2=1.3
CVS update: samba/source/include
Date: Fri Aug 15 01:29:08 2003 Author: herb Update of /data/cvs/samba/source/include In directory dp.samba.org:/tmp/cvs-serv20737/include Modified Files: Tag: SAMBA_3_0 includes.h Log Message: add IRIX EA support Revisions: includes.h 1.262.2.49 = 1.262.2.50 http://www.samba.org/cgi-bin/cvsweb/samba/source/include/includes.h.diff?r1=1.262.2.49r2=1.262.2.50
CVS update: samba/source/rpc_server
Date: Fri Aug 15 01:33:57 2003 Author: herb Update of /data/cvs/samba/source/rpc_server In directory dp.samba.org:/tmp/cvs-serv21336/rpc_server Modified Files: Tag: SAMBA_3_0 srv_lsa_ds_nt.c Log Message: return actual results instead of always OK Revisions: srv_lsa_ds_nt.c 1.1.2.1 = 1.1.2.2 http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_lsa_ds_nt.c.diff?r1=1.1.2.1r2=1.1.2.2
CVS update: samba/source/smbd
Date: Fri Aug 15 01:36:36 2003 Author: herb Update of /data/cvs/samba/source/smbd In directory dp.samba.org:/tmp/cvs-serv21834/smbd Modified Files: Tag: SAMBA_3_0 chgpasswd.c Log Message: get rid of unused call Revisions: chgpasswd.c 1.88.2.15 = 1.88.2.16 http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/chgpasswd.c.diff?r1=1.88.2.15r2=1.88.2.16
CVS update: samba/source/lib
Date: Fri Aug 15 01:42:27 2003 Author: herb Update of /data/cvs/samba/source/lib In directory dp.samba.org:/tmp/cvs-serv22326/lib Modified Files: Tag: SAMBA_3_0 access.c Log Message: get rid of some sompiler warnings on IRIX Revisions: access.c1.31.2.6 = 1.31.2.7 http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/access.c.diff?r1=1.31.2.6r2=1.31.2.7
CVS update: samba/source/libsmb
Date: Fri Aug 15 01:42:28 2003 Author: herb Update of /data/cvs/samba/source/libsmb In directory dp.samba.org:/tmp/cvs-serv22326/libsmb Modified Files: Tag: SAMBA_3_0 clikrb5.c cliprint.c clirap.c clirap2.c clisecdesc.c ntlmssp.c ntlmssp_sign.c Log Message: get rid of some sompiler warnings on IRIX Revisions: clikrb5.c 1.15.2.25 = 1.15.2.26 http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/clikrb5.c.diff?r1=1.15.2.25r2=1.15.2.26 cliprint.c 1.3.2.2 = 1.3.2.3 http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/cliprint.c.diff?r1=1.3.2.2r2=1.3.2.3 clirap.c1.21.2.10 = 1.21.2.11 http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/clirap.c.diff?r1=1.21.2.10r2=1.21.2.11 clirap2.c 1.5.2.3 = 1.5.2.4 http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/clirap2.c.diff?r1=1.5.2.3r2=1.5.2.4 clisecdesc.c1.13.2.3 = 1.13.2.4 http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/clisecdesc.c.diff?r1=1.13.2.3r2=1.13.2.4 ntlmssp.c 1.4.2.20 = 1.4.2.21 http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/ntlmssp.c.diff?r1=1.4.2.20r2=1.4.2.21 ntlmssp_sign.c 1.1.2.5 = 1.1.2.6 http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/ntlmssp_sign.c.diff?r1=1.1.2.5r2=1.1.2.6
CVS update: samba/source/passdb
Date: Fri Aug 15 01:42:28 2003 Author: herb Update of /data/cvs/samba/source/passdb In directory dp.samba.org:/tmp/cvs-serv22326/passdb Modified Files: Tag: SAMBA_3_0 passdb.c pdb_ldap.c pdb_tdb.c secrets.c Log Message: get rid of some sompiler warnings on IRIX Revisions: passdb.c1.151.2.48 = 1.151.2.49 http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/passdb.c.diff?r1=1.151.2.48r2=1.151.2.49 pdb_ldap.c 1.28.2.86 = 1.28.2.87 http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_ldap.c.diff?r1=1.28.2.86r2=1.28.2.87 pdb_tdb.c 1.58.2.25 = 1.58.2.26 http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_tdb.c.diff?r1=1.58.2.25r2=1.58.2.26 secrets.c 1.32.2.21 = 1.32.2.22 http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/secrets.c.diff?r1=1.32.2.21r2=1.32.2.22
CVS update: samba/source/rpc_parse
Date: Fri Aug 15 01:42:29 2003 Author: herb Update of /data/cvs/samba/source/rpc_parse In directory dp.samba.org:/tmp/cvs-serv22326/rpc_parse Modified Files: Tag: SAMBA_3_0 parse_echo.c parse_net.c parse_reg.c parse_spoolss.c Log Message: get rid of some sompiler warnings on IRIX Revisions: parse_echo.c1.1.2.1 = 1.1.2.2 http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_parse/parse_echo.c.diff?r1=1.1.2.1r2=1.1.2.2 parse_net.c 1.85.2.14 = 1.85.2.15 http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_parse/parse_net.c.diff?r1=1.85.2.14r2=1.85.2.15 parse_reg.c 1.50.2.6 = 1.50.2.7 http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_parse/parse_reg.c.diff?r1=1.50.2.6r2=1.50.2.7 parse_spoolss.c 1.155.2.20 = 1.155.2.21 http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_parse/parse_spoolss.c.diff?r1=1.155.2.20r2=1.155.2.21
CVS update: samba/source/modules
Date: Fri Aug 15 01:42:28 2003 Author: herb Update of /data/cvs/samba/source/modules In directory dp.samba.org:/tmp/cvs-serv22326/modules Modified Files: Tag: SAMBA_3_0 getdate.c getdate.y Log Message: get rid of some sompiler warnings on IRIX Revisions: getdate.c 1.1.2.2 = 1.1.2.3 http://www.samba.org/cgi-bin/cvsweb/samba/source/modules/getdate.c.diff?r1=1.1.2.2r2=1.1.2.3 getdate.y 1.1.2.2 = 1.1.2.3 http://www.samba.org/cgi-bin/cvsweb/samba/source/modules/getdate.y.diff?r1=1.1.2.2r2=1.1.2.3
CVS update: samba/source/utils
Date: Fri Aug 15 02:01:56 2003 Author: herb Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv24726/utils Modified Files: Tag: SAMBA_3_0 net_rpc.c Log Message: get rid of warning on IRIX Revisions: net_rpc.c 1.14.2.30 = 1.14.2.31 http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net_rpc.c.diff?r1=1.14.2.30r2=1.14.2.31
CVS update: samba/source/lib
Date: Fri Aug 15 02:25:41 2003 Author: herb Update of /data/cvs/samba/source/lib In directory dp.samba.org:/tmp/cvs-serv26935/lib Modified Files: Tag: SAMBA_3_0 util_str.c Log Message: get rid of const as these things really are not const Revisions: util_str.c 1.47.2.32 = 1.47.2.33 http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util_str.c.diff?r1=1.47.2.32r2=1.47.2.33
CVS update: samba/source/lib
Date: Fri Aug 15 02:28:13 2003 Author: herb Update of /data/cvs/samba/source/lib In directory dp.samba.org:/tmp/cvs-serv27307/samba/source/lib Modified Files: Tag: SAMBA_3_0 util.c util_sid.c Log Message: get rid of compiler warnings Revisions: util.c 1.358.2.35 = 1.358.2.36 http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util.c.diff?r1=1.358.2.35r2=1.358.2.36 util_sid.c 1.47.2.11 = 1.47.2.12 http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util_sid.c.diff?r1=1.47.2.11r2=1.47.2.12
CVS update: samba/packaging/SGI
Date: Fri Aug 15 02:28:59 2003 Author: herb Update of /data/cvs/samba/packaging/SGI In directory dp.samba.org:/tmp/cvs-serv27402/samba/packaging/SGI Modified Files: Tag: SAMBA_3_0 mkrelease.sh Log Message: make sure idb file is properly sorted. Revisions: mkrelease.sh1.22 = 1.22.2.1 http://www.samba.org/cgi-bin/cvsweb/samba/packaging/SGI/mkrelease.sh.diff?r1=1.22r2=1.22.2.1
CVS update: samba/source/auth
Date: Fri Aug 15 04:42:03 2003 Author: herb Update of /data/cvs/samba/source/auth In directory dp.samba.org:/tmp/cvs-serv7162/samba/source/auth Modified Files: Tag: SAMBA_3_0 auth.c auth_util.c auth_winbind.c Log Message: get rid of more compiler warnings Revisions: auth.c 1.32.2.22 = 1.32.2.23 http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/auth.c.diff?r1=1.32.2.22r2=1.32.2.23 auth_util.c 1.39.2.43 = 1.39.2.44 http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/auth_util.c.diff?r1=1.39.2.43r2=1.39.2.44 auth_winbind.c 1.6.2.16 = 1.6.2.17 http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/auth_winbind.c.diff?r1=1.6.2.16r2=1.6.2.17
CVS update: samba/source/lib
Date: Fri Aug 15 04:42:03 2003 Author: herb Update of /data/cvs/samba/source/lib In directory dp.samba.org:/tmp/cvs-serv7162/samba/source/lib Modified Files: Tag: SAMBA_3_0 module.c util_str.c Log Message: get rid of more compiler warnings Revisions: module.c1.6.2.9 = 1.6.2.10 http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/module.c.diff?r1=1.6.2.9r2=1.6.2.10 util_str.c 1.47.2.33 = 1.47.2.34 http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util_str.c.diff?r1=1.47.2.33r2=1.47.2.34
CVS update: samba/source/libsmb
Date: Fri Aug 15 04:42:03 2003 Author: herb Update of /data/cvs/samba/source/libsmb In directory dp.samba.org:/tmp/cvs-serv7162/samba/source/libsmb Modified Files: Tag: SAMBA_3_0 smb_signing.c smbencrypt.c Log Message: get rid of more compiler warnings Revisions: smb_signing.c 1.4.2.35 = 1.4.2.36 http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/smb_signing.c.diff?r1=1.4.2.35r2=1.4.2.36 smbencrypt.c1.68.2.11 = 1.68.2.12 http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/smbencrypt.c.diff?r1=1.68.2.11r2=1.68.2.12
CVS update: samba/source/rpc_parse
Date: Fri Aug 15 04:42:04 2003 Author: herb Update of /data/cvs/samba/source/rpc_parse In directory dp.samba.org:/tmp/cvs-serv7162/samba/source/rpc_parse Modified Files: Tag: SAMBA_3_0 parse_prs.c Log Message: get rid of more compiler warnings Revisions: parse_prs.c 1.75.2.16 = 1.75.2.17 http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_parse/parse_prs.c.diff?r1=1.75.2.16r2=1.75.2.17
CVS update: samba/source/rpc_client
Date: Fri Aug 15 04:42:04 2003 Author: herb Update of /data/cvs/samba/source/rpc_client In directory dp.samba.org:/tmp/cvs-serv7162/samba/source/rpc_client Modified Files: Tag: SAMBA_3_0 cli_netlogon.c cli_pipe.c cli_spoolss.c Log Message: get rid of more compiler warnings Revisions: cli_netlogon.c 1.69.2.11 = 1.69.2.12 http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_netlogon.c.diff?r1=1.69.2.11r2=1.69.2.12 cli_pipe.c 1.79.2.35 = 1.79.2.36 http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.79.2.35r2=1.79.2.36 cli_spoolss.c 1.37.2.10 = 1.37.2.11 http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_spoolss.c.diff?r1=1.37.2.10r2=1.37.2.11
CVS update: samba/source/rpcclient
Date: Fri Aug 15 04:42:05 2003 Author: herb Update of /data/cvs/samba/source/rpcclient In directory dp.samba.org:/tmp/cvs-serv7162/samba/source/rpcclient Modified Files: Tag: SAMBA_3_0 cmd_ds.c rpcclient.c Log Message: get rid of more compiler warnings Revisions: cmd_ds.c1.2.2.6 = 1.2.2.7 http://www.samba.org/cgi-bin/cvsweb/samba/source/rpcclient/cmd_ds.c.diff?r1=1.2.2.6r2=1.2.2.7 rpcclient.c 1.180.2.29 = 1.180.2.30 http://www.samba.org/cgi-bin/cvsweb/samba/source/rpcclient/rpcclient.c.diff?r1=1.180.2.29r2=1.180.2.30
CVS update: samba/source/utils
Date: Fri Aug 15 04:42:05 2003 Author: herb Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv7162/samba/source/utils Modified Files: Tag: SAMBA_3_0 net_ads_cldap.c net_rpc.c ntlm_auth.c profiles.c Log Message: get rid of more compiler warnings Revisions: net_ads_cldap.c 1.5.2.5 = 1.5.2.6 http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net_ads_cldap.c.diff?r1=1.5.2.5r2=1.5.2.6 net_rpc.c 1.14.2.31 = 1.14.2.32 http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net_rpc.c.diff?r1=1.14.2.31r2=1.14.2.32 ntlm_auth.c 1.6.2.30 = 1.6.2.31 http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/ntlm_auth.c.diff?r1=1.6.2.30r2=1.6.2.31 profiles.c 1.13.2.9 = 1.13.2.10 http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/profiles.c.diff?r1=1.13.2.9r2=1.13.2.10
CVS update: samba/source
Date: Fri Aug 1 19:45:13 2003 Author: herb Update of /data/cvs/samba/source In directory dp.samba.org:/tmp/cvs-serv24552 Modified Files: Tag: SAMBA_3_0 configure.in Log Message: add tests for IRIX attr functions Revisions: configure.in1.300.2.127 = 1.300.2.128 http://www.samba.org/cgi-bin/cvsweb/samba/source/configure.in.diff?r1=1.300.2.127r2=1.300.2.128
Re: [Samba] Vanishing Permissions on Shares
Do you have the nsswitch.conf entries to allow your nameservice to resolve usernames through winbind? If samba cannot resolve the name to a UID using getpwnam then it cannot apply the ACL. [EMAIL PROTECTED] wrote: I am trying to move our network from windows NT-2k to Samba /Linux. So far everything is great but there is one main obstacle; when I apply permissions to a Samba share via my W2K workstation, the permissions instantly disappear. This happens regardless of the owner / creator of file or the user / group permission I attempt to add. I have run 2.2.7, 2.2.8, and now 3.0 beta3. All three behave the same, though 3.0 seems nicer. It's a RedHat 9.0 box with the 2.6 test kernel ( so I can use ACLs). I am running Winbind and it works great. The client workstation is Win2k Sp4. I have logging on full debug @ 10, and nothing obvious is showing up. In fact no errors are being reported at all. Regards, Matthew Twigg Network Administrator SunGard Insurance Systems | 313 Speen Street Natick, MA 01760 (508) 903-1758 Copyright © 2003 by SunGard Data Systems Inc. (or its subsidiaries, SunGard). All rights reserved. No parts of this document may be reproduced or transmitted without SunGard's prior written permission. This document contains SunGard's confidential or proprietary information. By accepting this document, you agree that: (A)(1) if a pre-existing contract containing disclosure and use restrictions exists between your company and SunGard, you and your company will use this information subject to the terms of the pre-existing contract; or (2) if no such pre-existing contract exists, you and your Company agree to protect this information and not reproduce or disclose the information in any way; and (B) SunGard makes no warranties, express or implied, in this document, and SunGard shall not be liable for damages of any kind arising out of use of this document. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- == Herb Lewis Silicon Graphics Networking Engineer 1600 Amphitheatre Pkwy MS-510 Strategic Software Organization Mountain View, CA 94043-1351 [EMAIL PROTECTED] Tel: 650-933-2177 http://www.sgi.com Fax: 650-932-2177 PGP Key: 0x8408D65D == -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
CVS update: samba/source
Date: Tue Jul 29 20:10:20 2003 Author: herb Update of /data/cvs/samba/source In directory dp.samba.org:/tmp/cvs-serv8818 Modified Files: Tag: SAMBA_3_0 Makefile.in Log Message: split replace into replace and replace1 to allow setenv to be used by nsswitch modules. Add required libraries to get rid of undefined functions for libns_winbind.so and libns_wins.so Revisions: Makefile.in 1.468.2.149 = 1.468.2.150 http://www.samba.org/cgi-bin/cvsweb/samba/source/Makefile.in.diff?r1=1.468.2.149r2=1.468.2.150
CVS update: samba/source/lib
Date: Tue Jul 29 20:11:18 2003 Author: herb Update of /data/cvs/samba/source/lib In directory dp.samba.org:/tmp/cvs-serv9275/lib Modified Files: Tag: SAMBA_3_0 replace.c Added Files: Tag: SAMBA_3_0 replace1.c Log Message: split replace into replace and replace1 to allow setenv to be used by nsswitch modules. Add required libraries to get rid of undefined functions for libns_winbind.so and libns_wins.so Revisions: replace1.c NONE = 1.1.2.1 http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/replace1.c?rev=1.1.2.1 replace.c 1.26.2.6 = 1.26.2.7 http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/replace.c.diff?r1=1.26.2.6r2=1.26.2.7
Re: [Samba] SAMBA, NIS and NFS
Your problem is that you have encrypt passwords = no. You will either need to apply a registry update to enable plaintext passwords on all the windows machines or enable encrypted passwords (and create the passwords in the smbpasswd file). You may run into problems with locking on nfs mounted directories if you try to access files from the unix machines and the windows machines at the same time. Lance Rathbone wrote: Hi All Some background first I have been asked to set up an environment involving three machines 1. A windows 2000 client 2. A Solaris 8 E450 / NIS client 3. An SGI IRIX fileserver/ NIS server holding user home directories The E450 NFS mounts the SGI and users have their home directories on the SGI. When users want to test their application software they ssh from their windows client into the Solaris machine and use their files in their home directory on the SGI. Authentication is managed by NIS. That all works fine. The icing on the cake is that users also want to see their home directories from their windows machine as a share...enter SAMBA I installed SAMBA on the Solaris E450. (because I have complete control on the Solaris machine but I can only make requests regarding the SGI) Now the problem: When I try to mount the share in windows from the command prompt using: net use h: \\mar-pepe\lrathbone, I get the error : System error 1240 has occurred. The account is not authorized to log in from this station. When I try to log in from any UNIX box (Solaris/Linux) using: smbclient //mar-pepe/lrathbone -U lrathbone ,I have no problem getting in. I was wondering if anyone could spot the problem with my configuration? Thanks in advance Lance Rathbone My smb.conf looks like this: [global] workgroup = IMB netbios name = mar-pepe server string = Bioinformatics Samba Server ;hosts allow = 130.102.116. 130.102.117. 130.102.118. 130.102.119. log file = /usr/local/samba/var/log.%m log level = 2 max log size = 50 security = user socket options = TCP_NODELAY # Network Browsing # ; local master = no ; os level = 20 ; domain master = yes ; preferred master = yes # # WINS Name Resolution ; wins support = yes wins server = if-directory.imb.uq.edu.au # Passwords Authentication password level = 8 encrypt passwords = no ; unix password sync = yes ; passwd chat = custom chat string ; pam password change = yes # # Domain Control ; domain logons = yes ; logon script = %m.bat # run a specific logon batch file per username ; logon script = %U.bat ; logon path = \\%L\Profiles\%U # only used when acting as a DC for WinNT/2k/XP. Ignored by Win9x clients ; logon home = \\%L\%U # What drive should the logon home be mounted at upon login ? logon drive = y: # Printing load printers = yes ; printcap name = /etc/printcap ; printcap name = lpstat ; printing = bsd ; disable spoolss = yes # Share Definitions == [homes] comment = Home Directories guest ok = no read only = no browseable = no writable = yes # Un-comment the following and create the netlogon directory for Domain Logons ; [netlogon] ;comment = Network Logon Service ;path = /usr/local/samba/lib/netlogon ;guest ok = yes ;writable = no ;share modes = no [printers] comment = All Printers path = /usr/spool/samba browseable = no # Set public = yes to allow user 'guest account' to print guest ok = no writable = no printable = yes -- == Herb Lewis Silicon Graphics Networking Engineer 1600 Amphitheatre Pkwy MS-510 Strategic Software Organization Mountain View, CA 94043-1351 [EMAIL PROTECTED] Tel: 650-933-2177 http://www.sgi.com Fax: 650-932-2177 PGP Key: 0x8408D65D == -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
CVS update: samba/source
Date: Fri Jul 11 14:20:13 2003 Author: herb Update of /data/cvs/samba/source In directory dp.samba.org:/tmp/cvs-serv32435/samba/source Modified Files: Tag: SAMBA_3_0 Makefile.in configure.in Log Message: get rid of CFLAGS from LDSHFLAGS and WINBIND_NSS_LDSHFLAGS and instead define it in SHLD for those systems the use CC for SHLD. Revisions: Makefile.in 1.468.2.140 = 1.468.2.141 http://www.samba.org/cgi-bin/cvsweb/samba/source/Makefile.in.diff?r1=1.468.2.140r2=1.468.2.141 configure.in1.300.2.119 = 1.300.2.120 http://www.samba.org/cgi-bin/cvsweb/samba/source/configure.in.diff?r1=1.300.2.119r2=1.300.2.120
CVS update: samba/source
Date: Fri Jul 11 14:23:45 2003 Author: herb Update of /data/cvs/samba/source In directory dp.samba.org:/tmp/cvs-serv491 Modified Files: Makefile.in configure.in Log Message: get rid of CFLAGS from LDSHFLAGS and WINBIND_NSS_LDSHFLAGS and instead define it in SHLD for those systems that use CC for SHLD Revisions: Makefile.in 1.711 = 1.712 http://www.samba.org/cgi-bin/cvsweb/samba/source/Makefile.in.diff?r1=1.711r2=1.712 configure.in1.471 = 1.472 http://www.samba.org/cgi-bin/cvsweb/samba/source/configure.in.diff?r1=1.471r2=1.472
CVS update: samba/source/smbd
Date: Fri Jul 11 14:33:14 2003 Author: herb Update of /data/cvs/samba/source/smbd In directory dp.samba.org:/tmp/cvs-serv1194 Modified Files: Tag: SAMBA_3_0 nttrans.c Log Message: use names from enumerated type to get rid of compiler warnings Revisions: nttrans.c 1.154.2.23 = 1.154.2.24 http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/nttrans.c.diff?r1=1.154.2.23r2=1.154.2.24