Re: [Samba] force ntlm

2007-11-18 Thread Urs Golla
Hi Neal

I get Unknown parameter encountered: winbind rpc only

I have samba 3.0.26.a-35


cheers
Urs

On 11/16/07, Neal A. Lucier [EMAIL PROTECTED] wrote:
 Urs Golla wrote:
 
  Is there a way to force samba to use NTLM (or NTLMv2) instead of kerberos?
 

 While the man page doesn't explicitly say that NTLM is used instead of
 kerberos; I believe the intent of this setting is to have samba talk
 with AD using only NT4 domain member style communications (RPC and NTLM)
 and not ADS style communications (LDAP and kerberos).  It's worth trying
 if you haven't already.

  From man smb.conf:

 winbind rpc only (G)

 Setting this parameter to yes forces winbindd to use RPC instead of
 LDAP to retrieve information from Domain Controllers.

 Default: winbind rpc only = no

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Winbind password problem

2007-11-18 Thread Machcoll



John H Terpstra wrote:
 
 
 This configuration is broken!  You have told Samba to be a domain member 
 server (security = domain), yet it appears you want it to be a domain 
 controller (security = user plus domain logons = Yes). The
 configuration 
 uses LDAP, but I do not see specification of passdb backend = ldapsam
 which 
 is necessary so that Samba knows how to connect with LDAP.
 
 Is this machine intended to be the PDC?  If so, change the security =
 domain 
 to security = user and add passdb = ldapsam.  If it should in fact be
 a 
 domain member server the configuration needs to be corrected also.
 
 
 
Thanks for your reply Samba is meant to be a PDC. Odd it was working at all
as I obviously messed up. I've changed the security to user and added domain
logons. I'm not using LDAP so I've removed that from the smb.conf 

I'm still finding however, that the Windows PCs logon and join the domain no
problem but the Linux PCs using  Winbind wont, they used to even with the
messed up config on the old version of SAMBA I was using - any other advice?
-- 
View this message in context: 
http://www.nabble.com/Winbind-password-problem-tf4810173.html#a13820291
Sent from the Samba - General mailing list archive at Nabble.com.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] 3.0.27a out monday.

2007-11-18 Thread simo
Jeremy I found three calls to srvstr_push() in sessetup.c that still
uses -1
Is this an overlook? Or was it intentional ?

Simo.


On Fri, 2007-11-16 at 12:01 -0800, Jeremy Allison wrote:
 On Fri, Nov 16, 2007 at 10:49:47AM -0800, Jeremy Allison wrote:
  Just spoke to Jerry, we'll be doing
  a 3.0.27a on Monday to fix a regression
  that broke smbfs mounts from Linux.
  
  Sorry for the problem.
 
 Here's the fix for smbfs + 3.0.27.
 
 Jeremy.
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba
-- 
Simo Sorce
Samba Team GPL Compliance Officer [EMAIL PROTECTED]
Senior Software Engineer at Red Hat Inc. [EMAIL PROTECTED]

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] force ntlm

2007-11-18 Thread Neal A. Lucier
The parameter/feature is being introduced in 3.2.0, sorry I thought it 
came with 3.0.26.


Neal

Urs Golla wrote:

Hi Neal

I get Unknown parameter encountered: winbind rpc only

I have samba 3.0.26.a-35


cheers
Urs

On 11/16/07, Neal A. Lucier [EMAIL PROTECTED] wrote:

Urs Golla wrote:

Is there a way to force samba to use NTLM (or NTLMv2) instead of kerberos?


While the man page doesn't explicitly say that NTLM is used instead of
kerberos; I believe the intent of this setting is to have samba talk
with AD using only NT4 domain member style communications (RPC and NTLM)
and not ADS style communications (LDAP and kerberos).  It's worth trying
if you haven't already.

 From man smb.conf:

winbind rpc only (G)

Setting this parameter to yes forces winbindd to use RPC instead of
LDAP to retrieve information from Domain Controllers.

Default: winbind rpc only = no



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] smbmount fails when trying inside a SSH tunnel

2007-11-18 Thread Prakash Velayutham

Hello All,

Here is the problem definition:

* I have a Windows XP SP2 system (part of a Samba NT domain). The  
system has a share created in its local disk which has read access for  
everyone.


* I have a Linux (SuSE 9.3) system.

* Using PuTTY, I create a SSH tunnel from the Windows XP to Linux (-R  
4000:localhost:139) to mount the smb shared folder on the Linux system.


* When I do smbclient -L CMCCLIENT6 -p 4000 -U adminuser, it lists  
the shares fine in the Linux server.


* But, I am not successful in mounting the share using smbmount. Here  
are some of my tries:


ribosome:~ # mount -t smbfs -o username=CMC-NT 
\adminuser,ip=127.0.0.1,port=4000 //127.0.0.1/foldertoshare /shares

Password:
2079: session request to 127.0.0.1 failed (Call returned zero bytes  
(EOF))

2079: session request to 127 failed (Call returned zero bytes (EOF))

ribosome:~ # mount -t smbfs -o username=adminuserribosome:~ # smbmount  
\\\CMCCLIENT6\foldertoshare /shares -o  
username=adminuser,ip=127.0.0.1,port=4000
27896: session request to CMCCLIENT6 failed (Call returned zero bytes  
(EOF))
27896: session request to *SMBSERVER failed (Call returned zero bytes  
(EOF))

SMB connection failed

ribosome:~ # smbmount \\\CMCCLIENT6\foldertoshare /shares -o  
username=adminuser,ip=127.0.0.1,port=4000
27896: session request to CMCCLIENT6 failed (Call returned zero bytes  
(EOF))
27896: session request to *SMBSERVER failed (Call returned zero bytes  
(EOF))

SMB connection failed

Anything I am missing?

Thanks,
Prakash
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] 3.0.27a out monday.

2007-11-18 Thread Jeremy Allison
On Sun, Nov 18, 2007 at 01:42:40PM -0500, simo wrote:
 Jeremy I found three calls to srvstr_push() in sessetup.c that still
 uses -1
 Is this an overlook? Or was it intentional ?

I thought I'd got them all. Let me review it.

Thanks,

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba users not working

2007-11-18 Thread Default User
Hello everybody,

am newbie in samba, i need some help.

I just installed samba into my Ubuntu 7.10 server machine.
I can set up shares etc. but only with default user
I tried to add new users:
sudo useradd user

or

sudo adduser user

then

smbpasswd - a user

and added user = user in /etc/samba/smbusers

added share:

[demo]
comment = Network user
path = /home/user
browseable = yes
valid users = user
writable = yes
create mask = 0700

I cannot login, error (not access...)

but shares with default user are working..


Here is my smb.conf:

#=== Global Settings ===

[global]

## Browsing/Identification ###

   workgroup = MSHOME
   server string = SSK Failu Saugykla

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
   wins support = yes

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
;   wins server = w.x.y.z

# This will prevent nmbd to search for NetBIOS names through DNS.
   dns proxy = no

# What naming service and in what order should we use to resolve host names
# to IP addresses
;   name resolve order = lmhosts host wins bcast

 Networking 

# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally preferred
;   interfaces = 127.0.0.0/8 eth0

# Only bind to the named interfaces and/or networks; you must use the
# 'interfaces' option above to use this.
# It is recommended that you enable this feature if your Samba machine is
# not protected by a firewall or is a firewall itself.  However, this
# option cannot handle dynamic or non-broadcast interfaces correctly.
;   bind interfaces only = true



 Debugging/Accounting 

# This tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/samba/log.%m

   max log size = 1000

;  syslog only = no

   syslog = 0

# Do something sensible when Samba crashes: mail the admin a backtrace
   panic action = /usr/share/samba/panic-action %d


### Authentication ###

  security = user
  username map = /etc/samba/smbusers

# You may wish to use password encryption.  See the section on
# 'encrypt passwords' in the smb.conf(5) manpage before enabling.
   encrypt passwords = true

# If you are using encrypted passwords, Samba will need to know what
# password database type you are using.
   passdb backend = tdbsam

;   obey pam restrictions = yes

;   guest account = nobody
   invalid users = root

# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
;   unix password sync = no

   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword
   :* %n\n
*passwd:*password\supdated\ssuccessfully* .

# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.
;   pam password change = no

## Domains ###

# Is this machine able to authenticate users. Both PDC and BDC
# must have this setting enabled. If you are the BDC you must
# change the 'domain master' setting to no
#
;   domain logons = yes
#
# The following setting only takes effect if 'domain logons' is set
# It specifies the location of the user's profile directory
# from the client point of view)
# The following required a [profiles] share to be setup on the
# samba server (see below)
;   logon path = \\%N\profiles\%U
# Another common choice is storing the profile in the user's home directory
;   logon path = \\%N\%U\profile

# The following setting only takes effect if 'domain logons' is set
# It specifies the location of a user's home directory (from the client
# point of view)
;   logon drive = H:
;   logon home = \\%N\%U

# The following setting only takes effect if 'domain logons' is set
# It specifies the script to run during logon. The script must be stored
# in the [netlogon] share
# NOTE: Must be store in 'DOS' file format convention
;   logon script = logon.cmd

# This allows Unix users to be created on the domain controller via the SAMR
# RPC pipe.  The example command creates a user account with a disabled Unix
# password; please adapt to your needs
; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos  %u

 Misc 

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
;   include = /home/samba/etc/smb.conf.%m

# Most people will find that this option gives better performance.
# See smb.conf(5) and 

Re: [Samba] 3.0.27a out monday.

2007-11-18 Thread Jeremy Allison
On Sun, Nov 18, 2007 at 01:42:40PM -0500, simo wrote:
 Jeremy I found three calls to srvstr_push() in sessetup.c that still
 uses -1
 Is this an overlook? Or was it intentional ?

Fixed them - thanks !

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Different printer drivers requesting different credentials

2007-11-18 Thread ccaldwell
Greetings,

This is an extenuation of Non-registry problem:  Slow printing

See:
http://www.brightsands.com/~chris/quick.3.bz2 fast printer drivers loglvl=3
http://www.brightsands.com/~chris/slow.3.bz2  slow printer drivers loglvl=3
http://www.brightsands.com/~chris/quick.9.bz2 fast printer drivers loglvl=9
http://www.brightsands.com/~chris/slow.9.bz2  slow printer drivers loglvl=9
http://www.brightsands.com/~chris/smb.confthe smb.conf in use

I have a sample Windows XP/SP2 client trying to print through a
samba-3.0.24 server as configured in the smb.conf above.  When I configure
with a Microsoft driver (AGFA-Accuset v52.3), I can add and select the
printer quickly (see quick.3.bz2 and quick.9.bz2).

When I configure with a non Microsoft Driver (HP LaserJet 2420 PCL5e), adding
and selecting the printer take up to 30 seconds longer than the other driver.

(after taking acount of different pids and pnums), when I diff quick.3
and slow.3, I notice things start to get funky:

   Domain=[]  NativeOS=[Windows 2002 Service Pack 2 2600] 
NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[]
 ---
Domain=[CLIENT]  NativeOS=[Windows 2002 Service Pack 2 2600] 
  NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[]
 2834c2834
sesssetupX:[EMAIL PROTECTED]
 ---
sesssetupX:[EMAIL PROTECTED]
 2916c2916
check_ntlm_password:  Checking password for unmapped user [EMAIL 
PROTECTED] with the new password interface
 ---
check_ntlm_password:  Checking password for unmapped user [EMAIL 
  PROTECTED] with the new password interface


(where CLIENT is the name and CLIENT_IP is the IP address of the XP client).

Since they are using the SAME smb.conf and the same XP configuration for
EVERYTHING except the driver (and yes, I'm using the same printer, just
different drivers for it), I'm forced to conclude that the driver is
having some effect on the order in which things are tried for authentication.
In this particular configuration, we're doing guest-only so I am asserting
that the quick is the expected order.

Why would some drivers (those not provided by Microsoft?) authenticate
against the client name with the logged in user?

Moreover, since this seems to add 30 seconds to the process, is there anyway
I can stop it?

This is causing MAJOR unhappiness at my site (rioting in the streets).
Does anybody know what's going on here?

(Thanks, Dale for helping me clean up other problems in my smb.conf!)  --Chris
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] lib/util_str.c:safe_strcpy ERROR: string overflow by 1

2007-11-18 Thread Jeremy Allison
On Sat, Nov 17, 2007 at 05:53:39AM +, Ken Smith wrote:
 Ken Smith wrote:
 Hi,

 I've seeing the following error messages recorded in logwatch against 
 samba in two FC6 XA-64 systems with samba 3.0.24-7.

 lib/util_str.c:safe_strcpy_fn(603)  ERROR: string overflow by 1 (24 - 23) 
 in safe_strcpy

 The main share in use on the first machine is via the guest account with 
 Vista and XP clients, the other has more conventional shares with the 
 Vista PC's as domain members and acl's in use.

 I've seen some weird behaviour with the Vista clients at the first site. 
 For example a Vista machine can create a folder but can't rename it. 
 Someone using a windows briefcase on their vista pc syncing to the samba 
 share sees very poor performance. nmbd is running and dhcpd is giving wins 
 details to the network. But does Vista take on the Wins info?

 Any ideas?

 Thanks in advance

 Ken



 Any one got any insight into this??

What might help is to change the code in safe_strcpy_fn
to call smb_panic on this detection, and then to reproduce
the error with the relevent panic action set in smb.conf.

If you get me a backtrace I can see if we've already
fixed this (most string handling code is massively
different in 3.2.x from 3.0.x).

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Question about printer sharing

2007-11-18 Thread Ivan Arteaga

Hello List,

I have a samba pdc and a network of windows workstations, i would like 
to share a printer via the samba server but it is directly connected to 
a workstation (parallerl port) . It is possible via the smb.conf ? If 
so, i will appreciate any tip to do it.


Regards,

--Ivan.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Question about printer sharing

2007-11-18 Thread Michael Heydon
I don't see any particular reason why it wouldn't work, it should be as 
simple as sharing the printer on the workstation, setting it up through 
cups and telling samba to share the cups printers (and adding drivers if 
required).


But wouldn't it be simpler to just let the other machines talk to it via 
the machine it is directly connected to?
Alternatively, parallel print servers are fairly cheap, you could put 
the printer directly on the network.


*Michael Heydon - IT Administrator *
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]



Ivan Arteaga wrote:

Hello List,

I have a samba pdc and a network of windows workstations, i would like 
to share a printer via the samba server but it is directly connected 
to a workstation (parallerl port) . It is possible via the smb.conf ? 
If so, i will appreciate any tip to do it.


Regards,

--Ivan.

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Rev 669: increase release number in http://samba.org/~tridge/3_0-ctdb

2007-11-18 Thread tridge

revno: 669
revision-id:[EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell [EMAIL PROTECTED]
branch nick: s3-ctdb-tridge
timestamp: Mon 2007-11-19 07:36:56 +1100
message:
  increase release number
modified:
  packaging/RHEL4-CTDB/samba.spec samba.spec-20070530192107-og9sp62ho5xuaaer-4
=== modified file 'packaging/RHEL4-CTDB/samba.spec'
--- a/packaging/RHEL4-CTDB/samba.spec   2007-11-18 04:32:06 +
+++ b/packaging/RHEL4-CTDB/samba.spec   2007-11-18 20:36:56 +
@@ -6,7 +6,7 @@
 Packager: Samba Team [EMAIL PROTECTED]
 Name: samba
 Version:  3.0.25
-Release:  ctdb.10
+Release:  ctdb.11
 Epoch:0
 License: GNU GPL version 2
 Group: System Environment/Daemons



Rev 668: fixed missing close in acls code - patch from Michael Adam in http://samba.org/~tridge/3_0-ctdb

2007-11-18 Thread tridge

revno: 668
revision-id:[EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell [EMAIL PROTECTED]
branch nick: s3-ctdb-tridge
timestamp: Mon 2007-11-19 07:36:20 +1100
message:
  fixed missing close in acls code - patch from Michael Adam
modified:
  source/smbd/posix_acls.c   
posix_acls.c-20070210173807-1wjifrbwaz6xnmgl-1031
=== modified file 'source/smbd/posix_acls.c'
--- a/source/smbd/posix_acls.c  2007-11-01 00:33:36 +
+++ b/source/smbd/posix_acls.c  2007-11-18 20:36:20 +
@@ -3943,9 +3943,7 @@
 
/* fake a files_struct ptr: */
 
-   status = open_file_stat(conn, fname, psbuf, fsp);
-   /* Perhaps it is a directory */
-   if (NT_STATUS_EQUAL(status, NT_STATUS_FILE_IS_A_DIRECTORY)) {
+   if (S_ISDIR(psbuf-st_mode)) {
status = open_directory(conn, fname, psbuf,
READ_CONTROL_ACCESS,
FILE_SHARE_READ|FILE_SHARE_WRITE,
@@ -3953,7 +3951,10 @@
0,
FILE_ATTRIBUTE_DIRECTORY,
NULL, fsp);
+   } else {
+   status = open_file_stat(conn, fname, psbuf, fsp);
}
+
if (!NT_STATUS_IS_OK(status)) {
DEBUG(3, (Unable to open file %s: %s\n, fname,
nt_errstr(status)));
@@ -3967,12 +3968,16 @@
  secdesc);
if (secdesc_size == 0) {
DEBUG(5, (Unable to get NT ACL for file %s\n, fname));
-   return NT_STATUS_ACCESS_DENIED;
+   status = NT_STATUS_ACCESS_DENIED;
+   goto done;
}
 
*psd = talloc_move(mem_ctx, secdesc);
+   status = NT_STATUS_OK;
+
+done:
close_file(fsp, NORMAL_CLOSE);
-   return NT_STATUS_OK;
+   return status;
 }
 
 static BOOL can_access_file_acl(struct connection_struct *conn,



[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-332-g8b0bee7

2007-11-18 Thread James Peach
The branch, v3-2-test has been updated
   via  8b0bee7c7688a966777f502c97922d7ad40d841c (commit)
  from  977dc3accb3d440e5fd19591c425da7dc3718d94 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -
commit 8b0bee7c7688a966777f502c97922d7ad40d841c
Author: James Peach [EMAIL PROTECTED]
Date:   Sun Nov 18 13:56:19 2007 -0800

Detect Heimdal Kerberos on OpenBSD 4.2.

Patch from Sean McCreary [EMAIL PROTECTED].

---

Summary of changes:
 source/configure.in |   17 +
 1 files changed, 17 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/configure.in b/source/configure.in
index d37e392..69a8e3f 100644
--- a/source/configure.in
+++ b/source/configure.in
@@ -3671,10 +3671,12 @@ if test x$with_ads_support != xno; then
   KRB5_CFLAGS=-I/usr/include/heimdal
   KRB5_CPPFLAGS=-I/usr/include/heimdal
   KRB5_LDFLAGS=-L/usr/lib/heimdal/lib
+ FOUND_KRB5=yes
   AC_MSG_RESULT(yes)
   else
   KRB5_CFLAGS=-I/usr/include/heimdal
   KRB5_CPPFLAGS=-I/usr/include/heimdal
+ FOUND_KRB5=yes
   AC_MSG_RESULT(yes)
   fi
 else
@@ -3690,6 +3692,21 @@ if test x$with_ads_support != xno; then
   KRB5_LDFLAGS=-L/usr/kerberos/lib
   KRB5_CFLAGS=-I/usr/kerberos/include
   KRB5_CPPFLAGS=-I/usr/kerberos/include
+  FOUND_KRB5=yes
+  AC_MSG_RESULT(yes)
+else
+  AC_MSG_RESULT(no)
+fi
+  fi
+
+  if test x$FOUND_KRB5 = xno; then
+#
+# see if this box has the OpenBSD location for heimdal krb5
+AC_MSG_CHECKING(for /usr/include/kerberosV)
+if test -d /usr/include/kerberosV; then
+  KRB5_CPPFLAGS=-I/usr/include/kerberosV
+  KRB5_LIBS=-lcrypto
+  FOUND_KRB5=yes
   AC_MSG_RESULT(yes)
 else
   AC_MSG_RESULT(no)


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-0-test updated - initial-v3-0-unstable-25-ge56ee68

2007-11-18 Thread Jeremy Allison
The branch, v3-0-test has been updated
   via  e56ee680c34f77497a436b8021b51fe296bcc322 (commit)
  from  6d3734aa74ce68ca340640aa478ec920af578e1b (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test


- Log -
commit e56ee680c34f77497a436b8021b51fe296bcc322
Author: Jeremy Allison [EMAIL PROTECTED]
Date:   Sun Nov 18 15:06:53 2007 -0800

Fix remaining calls to srvstr_push -1 - noticed
by Simo (thanks !)
Jeremy.

---

Summary of changes:
 source/smbd/sesssetup.c |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/smbd/sesssetup.c b/source/smbd/sesssetup.c
index 05a5962..058faed 100644
--- a/source/smbd/sesssetup.c
+++ b/source/smbd/sesssetup.c
@@ -68,9 +68,9 @@ static int add_signature(char *outbuf, char *p)
 
fstr_sprintf( lanman, Samba %s, SAMBA_VERSION_STRING);
 
-   p += srvstr_push(outbuf, p, Unix, -1, STR_TERMINATE);
-   p += srvstr_push(outbuf, p, lanman, -1, STR_TERMINATE);
-   p += srvstr_push(outbuf, p, lp_workgroup(), -1, STR_TERMINATE);
+   p += srvstr_push(outbuf, p, Unix, BUFFER_SIZE - (p - outbuf), 
STR_TERMINATE);
+   p += srvstr_push(outbuf, p, lanman, BUFFER_SIZE - (p - outbuf), 
STR_TERMINATE);
+   p += srvstr_push(outbuf, p, lp_workgroup(), BUFFER_SIZE - (p - outbuf), 
STR_TERMINATE);
 
return PTR_DIFF(p, start);
 }


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-334-g1440140

2007-11-18 Thread Jeremy Allison
The branch, v3-2-test has been updated
   via  144014096a41de293ce7ec15f82681a469dd3aa1 (commit)
   via  b82120f9b7f5aad83d8b4ece0261e9693eedca0c (commit)
  from  8b0bee7c7688a966777f502c97922d7ad40d841c (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -
commit 144014096a41de293ce7ec15f82681a469dd3aa1
Author: Volker Lendecke [EMAIL PROTECTED]
Date:   Sun Nov 18 14:45:19 2007 +0100

Add a comment

commit b82120f9b7f5aad83d8b4ece0261e9693eedca0c
Author: Volker Lendecke [EMAIL PROTECTED]
Date:   Sun Nov 18 14:24:54 2007 +0100

Fix a valgrind error

---

Summary of changes:
 source/locking/locking.c |   13 ++---
 1 files changed, 10 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/locking/locking.c b/source/locking/locking.c
index 8d511e9..eb7531d 100644
--- a/source/locking/locking.c
+++ b/source/locking/locking.c
@@ -472,11 +472,18 @@ static void print_share_mode_table(struct locking_data 
*data)
 
for (i = 0; i  num_share_modes; i++) {
struct share_mode_entry entry;
-   char *str = share_mode_str(NULL, i, entry);
+   char *str;
+
+   /*
+* We need to memcpy the entry here due to alignment
+* restrictions that are not met when directly accessing
+* shares[i]
+*/
 
memcpy(entry, shares[i], sizeof(struct share_mode_entry));
-   DEBUG(10,(print_share_mode_table: %s\n,
- str ? str : ));
+   str = share_mode_str(talloc_tos(), i, entry);
+
+   DEBUG(10,(print_share_mode_table: %s\n, str ? str : ));
TALLOC_FREE(str);
}
 }


-- 
Samba Shared Repository


Build status as of Mon Nov 19 00:00:02 2007

2007-11-18 Thread build
URL: http://build.samba.org/

--- /home/build/master/cache/broken_results.txt.old 2007-11-18 
00:00:29.0 +
+++ /home/build/master/cache/broken_results.txt 2007-11-19 00:00:20.0 
+
@@ -1,25 +1,25 @@
-Build status as of Sun Nov 18 00:00:02 2007
+Build status as of Mon Nov 19 00:00:02 2007
 
 Build counts:
 Tree Total  Broken Panic 
 SOC  0  0  0 
 build_farm   0  0  0 
-ccache   29 10 0 
+ccache   27 9  0 
 ctdb 0  0  0 
 distcc   1  0  0 
-ldb  29 13 0 
-libreplace   28 11 0 
+ldb  27 13 0 
+libreplace   26 11 0 
 lorikeet-heimdal 23 13 0 
 pidl 16 3  0 
-ppp  9  7  0 
+ppp  8  7  0 
 python   0  0  0 
-rsync29 14 0 
+rsync27 12 0 
 samba-docs   0  0  0 
 samba-gtk2  2  0 
-samba4   26 26 0 
+samba4   24 24 0 
 samba_3_20  0  0 
-samba_3_2_test 29 19 0 
-smb-build28 28 0 
-talloc   29 7  0 
-tdb  29 5  0 
+samba_3_2_test 27 17 0 
+smb-build26 26 0 
+talloc   27 7  0 
+tdb  27 5  0 
 


svn commit: samba r26024 - in branches/SAMBA_4_0/source: .

2007-11-18 Thread metze
Author: metze
Date: 2007-11-19 07:02:33 + (Mon, 19 Nov 2007)
New Revision: 26024

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=26024

Log:
fix make install

Modified:
   branches/SAMBA_4_0/source/headermap.txt


Changeset:
Modified: branches/SAMBA_4_0/source/headermap.txt
===
--- branches/SAMBA_4_0/source/headermap.txt 2007-11-17 23:37:05 UTC (rev 
26023)
+++ branches/SAMBA_4_0/source/headermap.txt 2007-11-19 07:02:33 UTC (rev 
26024)
@@ -101,14 +101,15 @@
 libcli/util/asn1_proto.h: samba/asn1/proto.h
 libcli/util/error.h: core/error.h
 libcli/util/proto.h: core/error_proto.h
-lib/db_wrap.h: db_wrap.h
-lib/db_wrap_proto.h: db_wrap/proto.h
+lib/tdb_wrap.h: tdb_wrap.h
+lib/ldb_wrap.h: ldb_wrap.h
 torture/ui.h: torture/ui.h
 torture/torture.h: torture/torture.h
 librpc/gen_ndr/winbind.h: winbind.h
 param/share.h: param/share.h
 param/share_proto.h: param/share_proto.h
 lib/util/util_tdb.h: util_tdb.h
+lib/util/util_ldb.h: util_ldb.h
 lib/util/wrap_xattr.h: wrap_xattr.h
 lib/events/events.h: events/events.h
 lib/events/events_internal.h: events/events_internal.h