svn commit: samba-web r93 - trunk/support

2004-06-10 Thread deryck
Author: deryck
Date: 2004-06-11 04:40:45 + (Fri, 11 Jun 2004)
New Revision: 93

Modified:
   trunk/support/singapore.html
   trunk/support/spain.html
Log:
Fix format problem in last update.

WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=samba-web&path=/&rev=93&nolog=1


svn commit: samba-web r92 - trunk/support

2004-06-10 Thread deryck
Author: deryck
Date: 2004-06-11 04:14:37 + (Fri, 11 Jun 2004)
New Revision: 92

Removed:
   trunk/support/peru.html
   trunk/support/portugal.html
   trunk/support/scotland.html
Modified:
   trunk/support/countries.html
   trunk/support/italy.html
   trunk/support/romania.html
   trunk/support/singapore.html
   trunk/support/slovenia.html
   trunk/support/southafrica.html
   trunk/support/spain.html
   trunk/support/sweden.html
   trunk/support/switzerland.html
Log:
More clean-up of non-replying support companies.
Peru, Portugal, and Scotland were removed completely.
Also, a few updates to existing company listings.

WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=samba-web&path=/&rev=92&nolog=1


svn commit: samba-docs r125 - trunk/howto

2004-06-10 Thread tpot
Author: tpot
Date: 2004-06-11 00:38:24 + (Fri, 11 Jun 2004)
New Revision: 125

Modified:
   trunk/howto/msdfs.xml
Log:
Remove reference to non-existent configure option --with-msdfs as DFS is always on now.


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=samba-docs&path=/&rev=125&nolog=1


svn commit: samba r1113 - branches/SAMBA_4_0/source/torture/raw

2004-06-10 Thread jra
Author: jra
Date: 2004-06-10 23:17:22 + (Thu, 10 Jun 2004)
New Revision: 1113

Modified:
   branches/SAMBA_4_0/source/torture/raw/chkpath.c
Log:
Test for wildcards in chkpath.
Jeremy.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1113&nolog=1


svn commit: samba r1112 - in trunk/source: include lib

2004-06-10 Thread jelmer
Author: jelmer
Date: 2004-06-10 18:47:03 + (Thu, 10 Jun 2004)
New Revision: 1112

Modified:
   trunk/source/include/includes.h
   trunk/source/lib/snprintf.c
Log:
Rename vsnprintf to smb_vsnprintf so we don't get duplicate symbol errors
when linking against an app that does have vsnprintf() (bug #478)


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/trunk/source&rev=1112&nolog=1


svn commit: samba r1111 - in branches/SAMBA_3_0/source: include lib

2004-06-10 Thread jelmer
Author: jelmer
Date: 2004-06-10 18:45:45 + (Thu, 10 Jun 2004)
New Revision: 

Modified:
   branches/SAMBA_3_0/source/include/includes.h
   branches/SAMBA_3_0/source/lib/snprintf.c
Log:
Rename vsnprintf to smb_vsnprintf so we don't get duplicate symbol errors 
when linking against an app that does have vsnprintf() (bug #478)


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_3_0/source&rev=&nolog=1


svn commit: samba r1110 - trunk/source/passdb

2004-06-10 Thread vlendec
Author: vlendec
Date: 2004-06-10 17:46:35 + (Thu, 10 Jun 2004)
New Revision: 1110

Modified:
   trunk/source/passdb/login_cache.c
   trunk/source/passdb/pdb_ldap.c
Log:
* Fix the bad password lockout. This has not worked as pdb_ldap.c did not
  ask for the modifyTimestamp attribute, so it could not find it. 
  Try not to regress by not putting that attrib in the main list but 
  append it manually for the relevant searches.

* Fix two memleaks in login_cache.c. 

Volker


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1110&nolog=1


Re: svn commit: samba r1108 - branches/SAMBA_3_0/source/passdb

2004-06-10 Thread Volker Lendecke
On Thu, Jun 10, 2004 at 05:42:17PM +, [EMAIL PROTECTED] wrote:
> Author: vlendec
> Date: 2004-06-10 17:42:16 + (Thu, 10 Jun 2004)
> New Revision: 1108
> 
> Modified:
>branches/SAMBA_3_0/source/passdb/login_cache.c
>branches/SAMBA_3_0/source/passdb/pdb_ldap.c
> Log:
> Index: pdb_ldap.c
> ===
> --- pdb_ldap.c(revision 1095)
> +++ pdb_ldap.c(working copy)

Gna, messed up diff & message files...

This was meant to be the commit message:

* Fix the bad password lockout. This has not worked as pdb_ldap.c did not
  ask for the modifyTimestamp attribute, so it could not find it.
  Try not to regress by not putting that attrib in the main list but
  append it manually for the relevant searches.

* Fix two memleaks in login_cache.c.

Volker


svn commit: samba r1109 - trunk/source/utils

2004-06-10 Thread herb
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=samba&path=/&rev=1109&nolog=1


svn commit: samba r1108 - branches/SAMBA_3_0/source/passdb

2004-06-10 Thread vlendec
Author: vlendec
Date: 2004-06-10 17:42:16 + (Thu, 10 Jun 2004)
New Revision: 1108

Modified:
   branches/SAMBA_3_0/source/passdb/login_cache.c
   branches/SAMBA_3_0/source/passdb/pdb_ldap.c
Log:
Index: pdb_ldap.c
===
--- pdb_ldap.c  (revision 1095)
+++ pdb_ldap.c  (working copy)
@@ -1134,6 +1134,19 @@
return NT_STATUS_OK;
 }
 
+static void append_attr(char ***attr_list, const char *new_attr)
+{
+   int i;
+
+   for (i=0; (*attr_list)[i] != NULL; i++)
+   ;
+
+   (*attr_list) = Realloc((*attr_list), sizeof(**attr_list) * (i+2));
+   SMB_ASSERT((*attr_list) != NULL);
+   (*attr_list)[i] = strdup(new_attr);
+   (*attr_list)[i+1] = NULL;
+}
+
 /**
 Get SAM_ACCOUNT entry from LDAP by username.
 */
@@ -1149,6 +1162,7 @@
int rc;

attr_list = get_userattr_list( ldap_state->schema_ver );
+   append_attr(&attr_list, MODIFY_TIMESTAMP_STRING);
rc = ldapsam_search_suffix_by_name(ldap_state, sname, &result, attr_list);
free_attr_list( attr_list );
 
@@ -1194,6 +1208,7 @@
switch ( ldap_state->schema_ver ) {
case SCHEMAVER_SAMBASAMACCOUNT:
attr_list = get_userattr_list(ldap_state->schema_ver);
+   append_attr(&attr_list, MODIFY_TIMESTAMP_STRING);
rc = ldapsam_search_suffix_by_sid(ldap_state, sid, result, 
attr_list);
free_attr_list( attr_list );
 
Index: login_cache.c
===
--- login_cache.c   (revision 1095)
+++ login_cache.c   (working copy)
@@ -95,10 +95,13 @@
&entry->bad_password_count, 
&entry->bad_password_time) == -1) {
DEBUG(7, ("No cache entry found\n"));
+   SAFE_FREE(entry);
SAFE_FREE(databuf.dptr);
return NULL;
}
 
+   SAFE_FREE(databuf.dptr);
+
DEBUG(5, ("Found login cache entry: timestamp %12u, flags 0x%x, count %d, time 
%12u\n",
  (unsigned int)entry->entry_timestamp, entry->acct_ctrl, 
  entry->bad_password_count, (unsigned int)entry->bad_password_time));


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1108&nolog=1


svn commit: samba r1107 - trunk/source/lib

2004-06-10 Thread vlendec
Author: vlendec
Date: 2004-06-10 17:13:54 + (Thu, 10 Jun 2004)
New Revision: 1107

Modified:
   trunk/source/lib/afs_settoken.c
Log:
Lars Mueller <[EMAIL PROTECTED]> asked me to apply this patch, as this is needed
for their build environment. The AFS stuff is linux 2.4 only currently, it
works for me on this platform, so apply it.

Volker


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1107&nolog=1


svn commit: samba r1106 - branches/SAMBA_3_0/source/lib

2004-06-10 Thread vlendec
Author: vlendec
Date: 2004-06-10 17:13:30 + (Thu, 10 Jun 2004)
New Revision: 1106

Modified:
   branches/SAMBA_3_0/source/lib/afs_settoken.c
Log:
Lars Mueller <[EMAIL PROTECTED]> asked me to apply this patch, as this is needed
for their build environment. The AFS stuff is linux 2.4 only currently, it
works for me on this platform, so apply it.

Volker


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1106&nolog=1


svn commit: samba r1105 - in trunk/source: lib param

2004-06-10 Thread vlendec
Author: vlendec
Date: 2004-06-10 17:09:22 + (Thu, 10 Jun 2004)
New Revision: 1105

Modified:
   trunk/source/lib/util_sock.c
   trunk/source/param/loadparm.c
Log:
get_called_name is used in the printing subsystem. In case of multi-homed
servers we need to make sure that the clients are given back the IP address
they connected to.

Volker


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/trunk/source&rev=1105&nolog=1


svn commit: samba r1104 - in branches/SAMBA_3_0/source: lib param

2004-06-10 Thread vlendec
Author: vlendec
Date: 2004-06-10 17:09:00 + (Thu, 10 Jun 2004)
New Revision: 1104

Modified:
   branches/SAMBA_3_0/source/lib/util_sock.c
   branches/SAMBA_3_0/source/param/loadparm.c
Log:
get_called_name is used in the printing subsystem. In case of multi-homed
servers we need to make sure that the clients are given back the IP address
they connected to.

Volker


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_3_0/source&rev=1104&nolog=1


svn commit: samba-docs r124 - trunk/howto

2004-06-10 Thread jelmer
Author: jelmer
Date: 2004-06-10 15:27:37 + (Thu, 10 Jun 2004)
New Revision: 124

Modified:
   trunk/howto/Winbind.xml
Log:
Winbind is installed in sbin/winbindd, not bin/winbindd... (bug #1101)


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=samba-docs&path=/&rev=124&nolog=1


svn commit: samba-docs r123 - branches/SAMBA_4

2004-06-10 Thread jelmer
Author: jelmer
Date: 2004-06-10 15:23:41 + (Thu, 10 Jun 2004)
New Revision: 123

Added:
   branches/SAMBA_4/README
Removed:
   branches/SAMBA_4/docbook.txt
Log:
Rename docbook.txt to README to give it some more attention.


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=samba-docs&path=/&rev=123&nolog=1


svn commit: samba-docs r122 - trunk

2004-06-10 Thread jelmer
Author: jelmer
Date: 2004-06-10 15:23:17 + (Thu, 10 Jun 2004)
New Revision: 122

Added:
   trunk/README
Removed:
   trunk/docbook.txt
Log:
Rename docbook.txt to README to give it some more attention.


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=samba-docs&path=/&rev=122&nolog=1


svn commit: samba-docs r121 - trunk/howto

2004-06-10 Thread jelmer
Author: jelmer
Date: 2004-06-10 15:16:42 + (Thu, 10 Jun 2004)
New Revision: 121

Modified:
   trunk/howto/Portability.xml
Log:
Solaris patch 113476 has been replaced by 112960-14 (bug #1453)


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=samba-docs&path=/&rev=121&nolog=1


svn commit: samba r1103 - branches/SAMBA_3_0/source/utils

2004-06-10 Thread herb
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=samba&path=/&rev=1103&nolog=1


svn commit: samba r1102 - trunk/source/rpcclient

2004-06-10 Thread vlendec
Author: vlendec
Date: 2004-06-10 13:08:32 + (Thu, 10 Jun 2004)
New Revision: 1102

Modified:
   trunk/source/rpcclient/cmd_spoolss.c
Log:
Implement 'rpcclient setprintername'.

Thanks to Guenther Deschner <[EMAIL PROTECTED]>.

This needs to be generalized somewhat. Jerry, which of the parameters in the
printer_info_2 struct are settable via cli_spoolss_setprinter?

Volker


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1102&nolog=1


svn commit: samba r1101 - branches/SAMBA_3_0/source/rpcclient

2004-06-10 Thread vlendec
Author: vlendec
Date: 2004-06-10 13:07:44 + (Thu, 10 Jun 2004)
New Revision: 1101

Modified:
   branches/SAMBA_3_0/source/rpcclient/cmd_spoolss.c
Log:
Implement 'rpcclient setprintername'.

Thanks to Guenther Deschner <[EMAIL PROTECTED]>.

This needs to be generalized somewhat. Jerry, which of the parameters in the
printer_info_2 struct are settable via cli_spoolss_setprinter?

Volker


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1101&nolog=1


svn commit: samba r1100 - branches/SAMBA_4_0/source/build/pidl

2004-06-10 Thread tpot
Author: tpot
Date: 2004-06-10 07:04:02 + (Thu, 10 Jun 2004)
New Revision: 1100

Modified:
   branches/SAMBA_4_0/source/build/pidl/packet-dcerpc-eparser.c
   branches/SAMBA_4_0/source/build/pidl/packet-dcerpc-eparser.h
Log:
Comment out functions that we now get from other sources (misc.idl and
lsarpc.idl).

Add stub for ndr_pull_relative() function.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1100&nolog=1