[Samba] Sharing out unix home directory via samba

2005-12-22 Thread Count Of Dracula
Hello

Sharing out unix home directory via samba.  Home directory is /home/%
username% . However, samba insists on sharing this directory as /home/%
domain%/%username% .  So a user can see their home directory as server
%username% from windows.  But, when they click on it, they get an error
and the samba log says that the share /home/%domain%/%username% doesn't
exist.

Thanks

Regards,

Komal

# Global parameters
[global]
workgroup = NAMEPROTECT.COM
realm = NAMEPROTECT.COM
server string = Samba Server
security = ADS
password server = badger.nameprotect.com
log file = /var/log/samba/smbd.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = /etc/printcap
dns proxy = No
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
cups options = raw

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Cannot exec program from network drive after 10 minutes

2005-12-22 Thread Andreas Schlager

Hi list,

following (very strange) problem:
An ordinary windows user has mapped a drive F: on \\LUN1\Programme 
(running samba-3.0.20b-3 debian). The program F:\Network\PMail 
V3\Pegasus Mail\winpm-32.exe is being started, this works.
But after about 10 minutes, the same program start fails with invalid 
path or filename.


When accessing the F: drive via Windows-Explorer, the drive is being 
reconnected and the call of the winpm-32.exe is successful again.


What the heck could be wrong here?

I have attached loglevel-10 logfiles and my smb.conf as .tar.gz.

Please help, I've got stuck in deep mud here.

Many thanks  regards,

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

RE: [Samba] Samba 3.0.21 Available for Download

2005-12-22 Thread Bruno Guerreiro
Hi all.
Feelling kind of stupid while asking this, but...
I've come to the point where I can access via EventViewer, but of course not
a single event shows up as nothing is beeing fed to them. 
Can someone give me some pointers for the
my_program_to_parse_into_eventlog_records script?

Best regards,
Bruno Guerreiro
 -Original Message-
 From: Siju George [mailto:[EMAIL PROTECTED] 
 Sent: quarta-feira, 21 de Dezembro de 2005 18:54
 To: Gémes Géza
 Cc: Gerald (Jerry) Carter; [EMAIL PROTECTED]
 Subject: Re: [Samba] Samba 3.0.21 Available for Download
 
 On 12/21/05, Gémes Géza [EMAIL PROTECTED] wrote:
  Gerald (Jerry) Carter írta:
 
   Robert Schetterer wrote:
  
   thx for the Info, is it allready in the current faqs?
  
  
   I thought I wrote a howto for this but I can't find it now.
 
  Are you speeking about:
 
  http://samba.org/~jerry/Samba-EventLog-HOWTO.txt
 
 
 Oh Thanks a million :-)
 
 i don't know about jerry but I was :-)
 
 kind regards
 
 Siju
 --
 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[2]: [Samba] VFS for encryption/decryption

2005-12-22 Thread Felix Brack
Hello Andrew,

In my case, clear over the network would be ok. The problem I am
trying to solve is: I can setup Samba PDC perfectly so every user
get's some space which is accessible by nobody else. The administrator
of the samba server however (at least the user root) has access to
all files of all users.
The normal user has no LINUX login account on the box running the
samba server.
I could ask the users to run TrueCrypt (www.truecrypt.org) and create
a encrypted file on their home directory on the Samba server. This
works perfect but I was just looking for an even more transparent
solution which I think could be provided by some sort of VFS module.

-

Felix

Andrew Bartlett wrote:

AB On Mon, 2005-12-19 at 13:39 +0100, Felix Brack wrote:
 Hello,
 
 Does anybody know of an existing VFS module that allows on the fly
 encryption of the contents of a samba file share?

AB Encryption on disk, but clear over the network?

AB (that is the main problem I see with this idea).

AB Andrew Bartlett






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


[Samba] Samba Share and FoxPro optimization

2005-12-22 Thread Tony Grace
 
 
Problem: Slow response to large tables via SMB share on FoxPro Database TSM.

I have a client running samba-3.0.10-1.fc2 on Fedora Core 2. 
I have done some searching and tried some settings, this is the basic set-up
for the share:

[data]
writeable = yes
path = /data/general
comment = Public Stuff
public = yes
veto oplock files = *.dbf/*.?dx/*.frx
strict locking = no

I have read that the
Lock spin count = x has a direct effect on the performance of FoxPro and MS
Access when shared on a SAMBA network share, but what values of x would you
recommend and is this the right track.
A windows share of the same data is significantly faster

Regards
Tony

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


Re: [Samba] samba+AD problem

2005-12-22 Thread David Mataró Ciller
Thanks all,

I have update all the system and the problem with glibc is resolved. But
when i logon with a new user the new user cannot not logon. The log
show:

== /var/log/samba/192.168.1.189.log ==
[2005/12/22 10:53:03, 1] smbd/sesssetup.c:reply_spnego_kerberos(265)
 make_server_info_from_pw failed!

I don't understand because the new users cannot logon when I view these
from samba server with wbinfo -u and getent passwd commands. 

Can be that exist any cache file with the users in the samba server?

Thanks! 




El dc 21 de 12 del 2005 a les 12:02 -0800, en/na Jeremy Allison va
escriure:
 On Wed, Dec 21, 2005 at 09:00:14PM +0100, David Mataró Ciller wrote:
  Hi,
  
  I have a samba server as ADS domain membership with Kerberos
  authentication against a Windows 2000 Server.
  
  All run ok, all users can access into the share folders and roaming
  profiles write your profile into the share profiles. But when I create a
  new users in the Active Directory, these do not have access to the share
  folders of the samba server. The logs show:
 
 I think Fedora core 4 has a bug in the common-error library with krb5.
 Are you fully yum updated (I thought they'd fixed this).
 
 Jeremy.
-- 
INGENT GROUP SYSTEMS, SL
www.ingent.net

David Mataró i Ciller
[EMAIL PROTECTED]
629 819 621



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


Re: [Samba] Sharing out unix home directory via samba

2005-12-22 Thread Dennis B. Hopp

Count Of Dracula wrote:


Hello

Sharing out unix home directory via samba.  Home directory is /home/%
username% . However, samba insists on sharing this directory as /home/%
domain%/%username% .  So a user can see their home directory as server
%username% from windows.  But, when they click on it, they get an error
and the samba log says that the share /home/%domain%/%username% doesn't
exist.

Thanks

Regards,

Komal

# Global parameters
[global]
   workgroup = NAMEPROTECT.COM
   realm = NAMEPROTECT.COM
   server string = Samba Server
   security = ADS
   password server = badger.nameprotect.com
   log file = /var/log/samba/smbd.log
   max log size = 50
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   printcap name = /etc/printcap
   dns proxy = No
   idmap uid = 16777216-33554431
   idmap gid = 16777216-33554431
   cups options = raw

[homes]
   comment = Home Directories
   read only = No
   browseable = No

[printers]
   comment = All Printers
   path = /var/spool/samba
   printable = Yes
   browseable = No
 


What is the output of

getent passwd username

substituting username for one of the users in question.

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


[Samba] SVN/CVS-like share for Samba users?

2005-12-22 Thread Tomasz Chmielewski
I am looking for some solution, working with Samba preferably, which 
would allow multiple users to work on one document.


This means that if a user makes a change to the document, a previous 
version of that document is saved somewhere else.


For example, user A opens a document (rw - read/write, ro - read-only 
document):


rw \\server\share\document.txt

User makes some changes, and saves it to the same place.

This SVN/CVS-like share handles the change inteligently, and makes a 
copy of the previous file to a ro file somewhere else:


ro \\server\share\backup\2005.12.22-16:24:04\document.txt


Do you have something in mind which would allow me to do something like 
that *transparently* to the user (assuming the user doesn't know much 
more about computers than opening Word document etc.)?



--
Tomek
http://wpkg.org
WPKG - software management with Samba
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] SVN/CVS-like share for Samba users?

2005-12-22 Thread Dmitriy Kirhlarov
Hi!

On Thu, Dec 22, 2005 at 04:24:59PM +0100, Tomasz Chmielewski wrote:
 This SVN/CVS-like share handles the change inteligently, and makes a copy of 
 the 
 previous file to a ro file somewhere else:

http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/VFS.html#id2618377
?

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7247 ext.203 F:+7 495 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] SVN/CVS-like share for Samba users?

2005-12-22 Thread John H Terpstra
On Thursday 22 December 2005 08:24, Tomasz Chmielewski wrote:
 I am looking for some solution, working with Samba preferably, which
 would allow multiple users to work on one document.

 This means that if a user makes a change to the document, a previous
 version of that document is saved somewhere else.

 For example, user A opens a document (rw - read/write, ro - read-only
 document):

 rw \\server\share\document.txt

 User makes some changes, and saves it to the same place.

 This SVN/CVS-like share handles the change inteligently, and makes a
 copy of the previous file to a ro file somewhere else:

 ro \\server\share\backup\2005.12.22-16:24:04\document.txt


 Do you have something in mind which would allow me to do something like
 that *transparently* to the user (assuming the user doesn't know much
 more about computers than opening Word document etc.)?

http://www.samba.org/samba/docs/Samba3-ByExample.pdf

Folks, please refer all who ask deployment related questions to the Samba-3 
By Example book, not The Official Samba-3 HOWTO and Reference Guide.

When you send a novice to read the HOWTO, it's like telling them to practice 
for running a marathon before they can walk. It's like telling them to read a 
mechanic's guide before they know what is a car.

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


Re: [Samba] samba+AD problem

2005-12-22 Thread David Mataró Ciller
Hello,

when I run wbinfo -a DOMAIN\userpassword from samba server it
response:

plaintext password authentication succeeded
challenge/response password authentication succeeded

and from this time the users can logon to samba server from a MS Win XP
client.

Setup Data:

AD: MW Windows 2000 server SP 3
Clients: MS Windows XP professional SP2

David.


El dj 22 de 12 del 2005 a les 11:04 +0100, en/na David Mataró Ciller va
escriure:
 Thanks all,
 
 I have update all the system and the problem with glibc is resolved. But
 when i logon with a new user the new user cannot not logon. The log
 show:
 
 == /var/log/samba/192.168.1.189.log ==
 [2005/12/22 10:53:03, 1] smbd/sesssetup.c:reply_spnego_kerberos(265)
  make_server_info_from_pw failed!
 
 I don't understand because the new users cannot logon when I view these
 from samba server with wbinfo -u and getent passwd commands. 
 
 Can be that exist any cache file with the users in the samba server?
 
 Thanks! 
 
 
 
 
 El dc 21 de 12 del 2005 a les 12:02 -0800, en/na Jeremy Allison va
 escriure:
  On Wed, Dec 21, 2005 at 09:00:14PM +0100, David Mataró Ciller wrote:
   Hi,
   
   I have a samba server as ADS domain membership with Kerberos
   authentication against a Windows 2000 Server.
   
   All run ok, all users can access into the share folders and roaming
   profiles write your profile into the share profiles. But when I create a
   new users in the Active Directory, these do not have access to the share
   folders of the samba server. The logs show:
  
  I think Fedora core 4 has a bug in the common-error library with krb5.
  Are you fully yum updated (I thought they'd fixed this).
  
  Jeremy.
 -- 
 INGENT GROUP SYSTEMS, SL
 www.ingent.net
 
 David Mataró i Ciller
 [EMAIL PROTECTED]
 629 819 621
 
 
 
-- 
INGENT GROUP SYSTEMS, SL
www.ingent.net

David Mataró i Ciller
[EMAIL PROTECTED]
629 819 621



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


[Samba] Samba 3.0.21 + PANIC: internal error + lib/fault.c

2005-12-22 Thread Ralf Gross
Hi,

yesterday I compiled an installed samba 3.0.21 on a solaris 8 box (gcc
3.4.2). Since then I frequently see this error message in the log.


[2005/12/22 15:55:39, 0] lib/fault.c:fault_report(36)
  ===
[2005/12/22 15:55:39, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 10 in pid 27816 (3.0.21)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2005/12/22 15:55:39, 0] lib/fault.c:fault_report(39)
  
  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2005/12/22 15:55:39, 0] lib/fault.c:fault_report(40)
  ===
[2005/12/22 15:55:39, 0] lib/util.c:smb_panic2(1554)
  PANIC: internal error
[2005/12/22 15:55:43, 0] modules/vfs_extd_audit.c:audit_unlink(273)
  vfs_extd_audit: unlink work/Zeiten/Zeiten_03_03.xls~RF1b9fdb8.TMP  
[2005/12/22 15:55:43, 0] modules/vfs_extd_audit.c:audit_unlink(273)
  vfs_extd_audit: unlink work/Zeiten/Zeiten_03_03.xls  

I compiled samba with the following configure settings:
./configure --with-acl-support --prefix=/usr/local/samba3021
--with-quotas --with-included-popt --without-ldap --with-vfs

I already disabled the 'vfs objects' option for each share, because
this was the only thing I changed in addition to move from 3.0.20b to
3.0.21. This didn't helt. There is no core file in any samba related
directory (/usr/local/samba, /var/log/samba).

With 3.0.21 I don't get this error, I just tried it again:

[2005/12/22 16:49:11, 0] modules/vfs_extd_audit.c:audit_unlink(250)
  vfs_extd_audit: unlink tets-acl/moin-desktop-1.3.4-2.exe  
[2005/12/22 16:49:43, 0] modules/vfs_extd_audit.c:audit_unlink(250)
  vfs_extd_audit: unlink work/Zeiten/Zeiten_03_03.xls~RF1eb6ea4.TMP  
[2005/12/22 16:49:43, 0] modules/vfs_extd_audit.c:audit_unlink(250)
  vfs_extd_audit: unlink work/Zeiten/Zeiten_03_03.xls~RF1eb6ea4.TMP 

I can repproduce this with xls and doc files and 2 differnt Windows
PCs runnung office.

Any ideas?

BTW: I switched back to 3.0.20b, because today is my last day in
office until 01/02/2006. I'll read the list, but will not be able to
debug any further.

Have a nice Christmas!

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


Re: [Samba] SVN/CVS-like share for Samba users?

2005-12-22 Thread Tomasz Chmielewski

John H Terpstra schrieb:

On Thursday 22 December 2005 08:24, Tomasz Chmielewski wrote:


I am looking for some solution, working with Samba preferably, which
would allow multiple users to work on one document.

This means that if a user makes a change to the document, a previous
version of that document is saved somewhere else.

For example, user A opens a document (rw - read/write, ro - read-only
document):

rw \\server\share\document.txt

User makes some changes, and saves it to the same place.

This SVN/CVS-like share handles the change inteligently, and makes a
copy of the previous file to a ro file somewhere else:

ro \\server\share\backup\2005.12.22-16:24:04\document.txt


Do you have something in mind which would allow me to do something like
that *transparently* to the user (assuming the user doesn't know much
more about computers than opening Word document etc.)?



http://www.samba.org/samba/docs/Samba3-ByExample.pdf

Folks, please refer all who ask deployment related questions to the Samba-3 
By Example book, not The Official Samba-3 HOWTO and Reference Guide.


Hmm? Have you actually read my original post?

There is no single occurance of (document) versioning nor version 
control in the whole Samba-3 by Example.
And version controlling is mentioned only briefly in the HOWTO where 
shadow_copy is described (with do not use for version controlling in 
bold).



When you send a novice to read the HOWTO, it's like telling them to practice 
for running a marathon before they can walk. It's like telling them to read a 
mechanic's guide before they know what is a car.


Same happens when a real proffessional can't read more than half of 
the subject of one's post...



--
Tomek

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


Re: [Samba] SVN/CVS-like share for Samba users?

2005-12-22 Thread Vijay Avarachen
Tomasz,
 You can use subversion to accomplish what you are doing easily.  In
subversion there are these hook scripts (
http://svnbook.red-bean.com/en/1.1/ch05s02.html#svn-ch-5-sect-2.1)  that can
be invoked when a user commits or checkout a file.  So in your case you can
write a simple commit hook that copies the last version to a ro filesystem
and then commits the document.

 When you send a novice to read the HOWTO, it's like telling them to
practice
 for running a marathon before they can walk. It's like telling them to
read a
 mechanic's guide before they know what is a car.

John I think you are assuming too much here about the user from one simple
email question.  I do see the point you are trying to make, but how is
Dmitriy to know what skill level Tomasz possess?  Also often the user might
be just trying to find out that it can be done.

Vijay Avarachen
:wq!


On 12/22/05, Tomasz Chmielewski [EMAIL PROTECTED] wrote:

 I am looking for some solution, working with Samba preferably, which
 would allow multiple users to work on one document.

 This means that if a user makes a change to the document, a previous
 version of that document is saved somewhere else.

 For example, user A opens a document (rw - read/write, ro - read-only
 document):

 rw \\server\share\document.txt

 User makes some changes, and saves it to the same place.

 This SVN/CVS-like share handles the change inteligently, and makes a
 copy of the previous file to a ro file somewhere else:

 ro \\server\share\backup\2005.12.22-16:24:04\document.txt


 Do you have something in mind which would allow me to do something like
 that *transparently* to the user (assuming the user doesn't know much
 more about computers than opening Word document etc.)?


 --
 Tomek
 http://wpkg.org
 WPKG - software management with Samba
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba




--
Knowledge is the only wealth that grows as you spend it, and diminishes as
you save it.
-- ancient Sanskrit saying
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Samba 3.0.21 Available for Download

2005-12-22 Thread Gary MacKay

Same here. I'm running RedHat ES 4 and get the same errors.


Oliver Schulze L. wrote:

Hi,
I was testing the makerpms.sh in CentOS 4.2 and it fails to build the .rpm,
here is the last lines of the output:

...
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.28980
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd samba-3.0.21
+ DOCDIR=/var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ export DOCDIR
+ rm -rf /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ /bin/mkdir -p /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ cp -pr README COPYING Manifest Read-Manifest-Now 
/var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ cp -pr WHATSNEW.txt Roadmap 
/var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21

+ cp -pr docs /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ cp -pr examples /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ exit 0
Provides: CP437.so CP850.so audit.so cap.so config(samba) = 3.0.21-1 
default_quota.so expand_msdfs.so extd_audit.so fake_perms.so 
full_audit.so idmap_rid.so libmsrpc.so.0 libnss_winbind.so 
libnss_wins.so libsmbclient.so.0 netatalk.so pam_smbpass.so 
pam_winbind.so perl(smbldap_tools) = 1.00 readonly.so recycle.so samba = 
3.0.21 script.so shadow_copy.so

Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) = 3.0.4-1 
rpmlib(PayloadFilesHavePrefix) = 4.0-1 rpmlib(VersionedDependencies) = 
3.0.3-1

Requires(post): /bin/sh
Requires(preun): /bin/sh
Requires(postun): /bin/sh
Requires: /bin/sh /usr/bin/perl config(samba) = 3.0.21-1 cups krb5-libs 
libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) 
libc.so.6(GLIBC_2.1.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) 
libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) libcom_err.so.2 
libcrypt.so.1 libcrypto.so.4 libcups.so.2 libdl.so.2 
libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libgssapi_krb5.so.2 
libk5crypto.so.3 libkrb5.so.3 liblber-2.2.so.7 libldap-2.2.so.7 
libncurses.so.5 libnsl.so.1 libnsl.so.1(GLIBC_2.0) libpam.so.0 
libpopt.so.0 libreadline.so.4 libresolv.so.2 libssl.so.4 openldap pam 
perl(Exporter) perl(strict) perl(vars)

Obsoletes: samba-common samba-client samba-swat
Checking for unpackaged file(s): /usr/lib/rpm/check-files 
/var/tmp/samba-3.0.21-root

error: Installed (but unpackaged) file(s) found:
  /usr/share/swat/images/globals.gif
  /usr/share/swat/images/home.gif
  /usr/share/swat/images/passwd.gif
  /usr/share/swat/images/printers.gif
  /usr/share/swat/images/samba.gif
  /usr/share/swat/images/shares.gif
  /usr/share/swat/images/status.gif
  /usr/share/swat/images/viewconfig.gif
  /usr/share/swat/images/wizard.gif
  /usr/share/swat/lang/tr/images/globals.gif
  /usr/share/swat/lang/tr/images/home.gif
  /usr/share/swat/lang/tr/images/passwd.gif
  /usr/share/swat/lang/tr/images/printers.gif
  /usr/share/swat/lang/tr/images/samba.gif
  /usr/share/swat/lang/tr/images/shares.gif
  /usr/share/swat/lang/tr/images/status.gif
  /usr/share/swat/lang/tr/images/viewconfig.gif


RPM build errors:
   Installed (but unpackaged) file(s) found:
  /usr/share/swat/images/globals.gif
  /usr/share/swat/images/home.gif
  /usr/share/swat/images/passwd.gif
  /usr/share/swat/images/printers.gif
  /usr/share/swat/images/samba.gif
  /usr/share/swat/images/shares.gif
  /usr/share/swat/images/status.gif
  /usr/share/swat/images/viewconfig.gif
  /usr/share/swat/images/wizard.gif
  /usr/share/swat/lang/tr/images/globals.gif
  /usr/share/swat/lang/tr/images/home.gif
  /usr/share/swat/lang/tr/images/passwd.gif
  /usr/share/swat/lang/tr/images/printers.gif
  /usr/share/swat/lang/tr/images/samba.gif
  /usr/share/swat/lang/tr/images/shares.gif
  /usr/share/swat/lang/tr/images/status.gif
  /usr/share/swat/lang/tr/images/viewconfig.gif
Done.

Oliver



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


Re: [Samba] Re: Samba 3.0.21 Available for Download

2005-12-22 Thread Mark Campbell
I got these errors as well.  Comes from files that exsist but are not 
being packaged.  I fixed this by adding the following two lines to the 
samba3.spec file under %files:


%{prefix}/share/swat/images/*
%{prefix}/share/swat/lang/tr/*


You can read more on the error at:

http://www.rpm.org/hintskinks/unpackaged/

Mark



Gary MacKay wrote:


Same here. I'm running RedHat ES 4 and get the same errors.


Oliver Schulze L. wrote:


Hi,
I was testing the makerpms.sh in CentOS 4.2 and it fails to build the 
.rpm,

here is the last lines of the output:

...
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.28980
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd samba-3.0.21
+ DOCDIR=/var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ export DOCDIR
+ rm -rf /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ /bin/mkdir -p /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ cp -pr README COPYING Manifest Read-Manifest-Now 
/var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ cp -pr WHATSNEW.txt Roadmap 
/var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21

+ cp -pr docs /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ cp -pr examples /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ exit 0
Provides: CP437.so CP850.so audit.so cap.so config(samba) = 3.0.21-1 
default_quota.so expand_msdfs.so extd_audit.so fake_perms.so 
full_audit.so idmap_rid.so libmsrpc.so.0 libnss_winbind.so 
libnss_wins.so libsmbclient.so.0 netatalk.so pam_smbpass.so 
pam_winbind.so perl(smbldap_tools) = 1.00 readonly.so recycle.so 
samba = 3.0.21 script.so shadow_copy.so

Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) = 3.0.4-1 
rpmlib(PayloadFilesHavePrefix) = 4.0-1 rpmlib(VersionedDependencies) 
= 3.0.3-1

Requires(post): /bin/sh
Requires(preun): /bin/sh
Requires(postun): /bin/sh
Requires: /bin/sh /usr/bin/perl config(samba) = 3.0.21-1 cups 
krb5-libs libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) 
libc.so.6(GLIBC_2.1.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) 
libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) libcom_err.so.2 
libcrypt.so.1 libcrypto.so.4 libcups.so.2 libdl.so.2 
libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libgssapi_krb5.so.2 
libk5crypto.so.3 libkrb5.so.3 liblber-2.2.so.7 libldap-2.2.so.7 
libncurses.so.5 libnsl.so.1 libnsl.so.1(GLIBC_2.0) libpam.so.0 
libpopt.so.0 libreadline.so.4 libresolv.so.2 libssl.so.4 openldap pam 
perl(Exporter) perl(strict) perl(vars)

Obsoletes: samba-common samba-client samba-swat
Checking for unpackaged file(s): /usr/lib/rpm/check-files 
/var/tmp/samba-3.0.21-root

error: Installed (but unpackaged) file(s) found:
  /usr/share/swat/images/globals.gif
  /usr/share/swat/images/home.gif
  /usr/share/swat/images/passwd.gif
  /usr/share/swat/images/printers.gif
  /usr/share/swat/images/samba.gif
  /usr/share/swat/images/shares.gif
  /usr/share/swat/images/status.gif
  /usr/share/swat/images/viewconfig.gif
  /usr/share/swat/images/wizard.gif
  /usr/share/swat/lang/tr/images/globals.gif
  /usr/share/swat/lang/tr/images/home.gif
  /usr/share/swat/lang/tr/images/passwd.gif
  /usr/share/swat/lang/tr/images/printers.gif
  /usr/share/swat/lang/tr/images/samba.gif
  /usr/share/swat/lang/tr/images/shares.gif
  /usr/share/swat/lang/tr/images/status.gif
  /usr/share/swat/lang/tr/images/viewconfig.gif


RPM build errors:
   Installed (but unpackaged) file(s) found:
  /usr/share/swat/images/globals.gif
  /usr/share/swat/images/home.gif
  /usr/share/swat/images/passwd.gif
  /usr/share/swat/images/printers.gif
  /usr/share/swat/images/samba.gif
  /usr/share/swat/images/shares.gif
  /usr/share/swat/images/status.gif
  /usr/share/swat/images/viewconfig.gif
  /usr/share/swat/images/wizard.gif
  /usr/share/swat/lang/tr/images/globals.gif
  /usr/share/swat/lang/tr/images/home.gif
  /usr/share/swat/lang/tr/images/passwd.gif
  /usr/share/swat/lang/tr/images/printers.gif
  /usr/share/swat/lang/tr/images/samba.gif
  /usr/share/swat/lang/tr/images/shares.gif
  /usr/share/swat/lang/tr/images/status.gif
  /usr/share/swat/lang/tr/images/viewconfig.gif
Done.

Oliver






--
Mark Campbell
Systems Analyst, Advanced Information Technologies
Information Technology Services
The Pennsylvania State University
[EMAIL PROTECTED], 814-865-4774

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


Re: [Samba] SVN/CVS-like share for Samba users?

2005-12-22 Thread Michael Barnes
While Samba is a great tool, there is no one tool that will work for 
every occasion.  The use you are describing may be very well served with 
a collaboration tool, such as a Wiki.  A web based solution, there are 
many flavors out there which have various levels of security and 
accessories.  Personally, I happen to favor TWiki (see 
http://www.twiki.org/).  It has a fair CVS system built in, can support 
multiple projects simultaneously, and many other useful features.


You user simply goes to a web page, views the document, edits it as 
necessary, and moves on. It is fairly user friendly.  If your user can 
learn to log into a computer, open Word, edit a document, close it, and 
later find the dame document, he should have little problem with a Wiki 
site. Previous copies are retained, and there is a difference feature 
which will highlight the changes between recent versions.


Just a thought.

Michael


Tomasz Chmielewski told me on 12/22/2005 09:24:
I am looking for some solution, working with Samba preferably, which 
would allow multiple users to work on one document.


This means that if a user makes a change to the document, a previous 
version of that document is saved somewhere else.


For example, user A opens a document (rw - read/write, ro - read-only 
document):


rw \\server\share\document.txt

User makes some changes, and saves it to the same place.

This SVN/CVS-like share handles the change inteligently, and makes a 
copy of the previous file to a ro file somewhere else:


ro \\server\share\backup\2005.12.22-16:24:04\document.txt


Do you have something in mind which would allow me to do something like 
that *transparently* to the user (assuming the user doesn't know much 
more about computers than opening Word document etc.)?




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


Re: [Samba] SVN/CVS-like share for Samba users?

2005-12-22 Thread John H Terpstra
On Thursday 22 December 2005 09:11, Tomasz Chmielewski wrote:
 Hmm? Have you actually read my original post?

No, I did not read it in detail - I scanned it. Sorry, I did miss the thrust 
of your question.

 There is no single occurance of (document) versioning nor version
 control in the whole Samba-3 by Example.

That is perfectly correct. There won't be either, unless someone contributes a 
chapter geared towards example deployment of neat ways of implementing very 
advanced capabilities.

 And version controlling is mentioned only briefly in the HOWTO where
 shadow_copy is described (with do not use for version controlling in
 bold).

Correct. If you want flexible and managable file versioning on a Samba share 
it will most likely be necessary to write a VFS module to do that.

  When you send a novice to read the HOWTO, it's like telling them to
  practice for running a marathon before they can walk. It's like telling
  them to read a mechanic's guide before they know what is a car.

 Same happens when a real proffessional can't read more than half of
 the subject of one's post...

I believe you are being a little unkind here.

I admit that I overlooked the thrust of your request. For that I apologise.

What has been unprofessional about my request? Did you mean to insult me?

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


RE: [Samba] Sharing out unix home directory via samba

2005-12-22 Thread Fredrik Malmström
-Original Message-
From: Count Of Dracula [mailto:[EMAIL PROTECTED] 
Sent: den 22 december 2005 08:58
To: samba@lists.samba.org
Subject: [Samba] Sharing out unix home directory via samba

Hello

Sharing out unix home directory via samba.  Home directory is /home/%
username% . However, samba insists on sharing this directory as /home/%
domain%/%username% .  So a user can see their home directory as server
%username% from windows.  But, when they click on it, they get an error
and the samba log says that the share /home/%domain%/%username% doesn't
exist.

Thanks

Regards,

Komal

# Global parameters
[global]
workgroup = NAMEPROTECT.COM
realm = NAMEPROTECT.COM
server string = Samba Server
security = ADS
password server = badger.nameprotect.com
log file = /var/log/samba/smbd.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = /etc/printcap
dns proxy = No
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
cups options = raw

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No



Im not sure but i think this with /home/[DOMAIN]/[username] have
something to do with winbind, because by default winbind users are
listed under /home/[DOMAIN]/[username]

But I have never had this problem.

Regards Fredrik!





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


[Samba] Ton's oftmp files in Outlook Express Folder[VASCL:A165472F8B5]

2005-12-22 Thread Richmond Dyes
I have a server running Centos 4.2 with samba 3.0.14a running and using 
roaming profiles in a domain setup. There is a user with 125 tmp files 
in his Outlook Express Folder.  They date back to June of this year 
with  different sizes from  300K to 65 meg.  Is this a sign of a problem 
with syncing?  This same user has another problem.  Let's call the user 
jdoe.  When he goes to the server and looks in his profile directory 
through windows explorer, My Documents shows as jdoe's documents, 
yet when opens the folder, jdoe's Document, My Douments shows up as 
the name in the address bar in explorer.  When I look on the server 
itself, the folder shows as My Documents.  Any explanation for that?


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


Re: [Samba] Ton's oftmp files in Outlook Express Folder[VASCL:A165472F8B5]

2005-12-22 Thread Dennis B. Hopp

Quoting Richmond Dyes [EMAIL PROTECTED]:

I have a server running Centos 4.2 with samba 3.0.14a running and 
using roaming profiles in a domain setup. There is a user with 125 
tmp files in his Outlook Express Folder.  They date back to June of 
this year with  different sizes from  300K to 65 meg.  Is this a sign 
of a problem with syncing?  This same user has another problem.  
Let's call the user jdoe.  When he goes to the server and looks in 
his profile directory through windows explorer, My Documents shows 
as jdoe's documents, yet when opens the folder, jdoe's Document, 
My Douments shows up as the name in the address bar in explorer.  
When I look on the server itself, the folder shows as My Documents. 
 Any explanation for that?





I don't have an answer for the first question, but the second one is 
caused by Windows XP.  It happens even if you are browsing a Windows XP 
shared drive from another Windows XP machine.


--Dennis

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


Re: [Samba] Samba Share and FoxPro optimization

2005-12-22 Thread Gerald Drouillard

Tony Grace wrote:
 
 
Problem: Slow response to large tables via SMB share on FoxPro Database TSM.


I have a client running samba-3.0.10-1.fc2 on Fedora Core 2. 
I have done some searching and tried some settings, this is the basic set-up

for the share:

[data]
writeable = yes
path = /data/general
comment = Public Stuff
public = yes
veto oplock files = *.dbf/*.?dx/*.frx
strict locking = no

I have read that the
Lock spin count = x has a direct effect on the performance of FoxPro and MS
Access when shared on a SAMBA network share, but what values of x would you
recommend and is this the right track.
A windows share of the same data is significantly faster

Regards
Tony


Have a look at:
http://www.drouillard.ca/TipsTricks/Samba/Oplocks.htm

--
Regards
--
Gerald Drouillard
Technology Architect
Drouillard  Associates, Inc.
http://www.Drouillard.ca
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Server recommendation ??

2005-12-22 Thread Gerald Drouillard

Gary MacKay wrote:
I have a client that already has a Windows 2003 Server server in their 
main office. He wants me to put a new server in a remote office, which 
is connected via a vpn. The only real connection between the two will be 
every night to copy all data files to the main server for backup. He has 
told me to use Linux/Samba or Win2003k whichever I think is best. Now, 
without a doubt, I prefer linux, that is all I've installed for several 
years. But, I'm also smart (humble) enough to know, I've never messed 
with getting a samba box to live with a Win2003k box. Yes, I know it can 
be done, I've read about it on this list, but, most of the time there 
has been alot of pain and many many hours spent getting there. I don't 
have that luxury. I can't afford to spend 40 hours getting it to work 
and only billing 2 hours or whatever. Also, the remote office is 2 hours 
drive at best away.


I guess it boils down to, How hard is it going to be to setup a cron 
job of some sort that will copy all data files to the Win2003k server 
every night? I don't really need total integration I guess. The remote 
server can have it's own domain, users, etc. I just need to connect to 
the main office each night.



Try rsync.

--
Regards
--
Gerald Drouillard
Technology Architect
Drouillard  Associates, Inc.
http://www.Drouillard.ca
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Samba 3.0.21 Available for Download

2005-12-22 Thread Oliver Schulze L.

Hi Mark,
I added those 2 lines at the end of packaging/RedHat/samba3.spec
and run makerpms.sh. I still have the same problem.
It seems that the samba3.spec is overwriten by makerpms.sh
Will check compilling using the .spec file since the makerpms.sh
created the .tar.bz2 file

Regards,
Oliver



Mark Campbell wrote:
I got these errors as well.  Comes from files that exsist but are not 
being packaged.  I fixed this by adding the following two lines to the 
samba3.spec file under %files:


%{prefix}/share/swat/images/*
%{prefix}/share/swat/lang/tr/*


You can read more on the error at:

http://www.rpm.org/hintskinks/unpackaged/

Mark



Gary MacKay wrote:


Same here. I'm running RedHat ES 4 and get the same errors.


Oliver Schulze L. wrote:


Hi,
I was testing the makerpms.sh in CentOS 4.2 and it fails to build 
the .rpm,

here is the last lines of the output:

...
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.28980
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd samba-3.0.21
+ DOCDIR=/var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ export DOCDIR
+ rm -rf /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ /bin/mkdir -p /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ cp -pr README COPYING Manifest Read-Manifest-Now 
/var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ cp -pr WHATSNEW.txt Roadmap 
/var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21

+ cp -pr docs /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ cp -pr examples /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ exit 0
Provides: CP437.so CP850.so audit.so cap.so config(samba) = 3.0.21-1 
default_quota.so expand_msdfs.so extd_audit.so fake_perms.so 
full_audit.so idmap_rid.so libmsrpc.so.0 libnss_winbind.so 
libnss_wins.so libsmbclient.so.0 netatalk.so pam_smbpass.so 
pam_winbind.so perl(smbldap_tools) = 1.00 readonly.so recycle.so 
samba = 3.0.21 script.so shadow_copy.so

Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) = 3.0.4-1 
rpmlib(PayloadFilesHavePrefix) = 4.0-1 
rpmlib(VersionedDependencies) = 3.0.3-1

Requires(post): /bin/sh
Requires(preun): /bin/sh
Requires(postun): /bin/sh
Requires: /bin/sh /usr/bin/perl config(samba) = 3.0.21-1 cups 
krb5-libs libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) 
libc.so.6(GLIBC_2.1.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) 
libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) libcom_err.so.2 
libcrypt.so.1 libcrypto.so.4 libcups.so.2 libdl.so.2 
libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libgssapi_krb5.so.2 
libk5crypto.so.3 libkrb5.so.3 liblber-2.2.so.7 libldap-2.2.so.7 
libncurses.so.5 libnsl.so.1 libnsl.so.1(GLIBC_2.0) libpam.so.0 
libpopt.so.0 libreadline.so.4 libresolv.so.2 libssl.so.4 openldap 
pam perl(Exporter) perl(strict) perl(vars)

Obsoletes: samba-common samba-client samba-swat
Checking for unpackaged file(s): /usr/lib/rpm/check-files 
/var/tmp/samba-3.0.21-root

error: Installed (but unpackaged) file(s) found:
  /usr/share/swat/images/globals.gif
  /usr/share/swat/images/home.gif
  /usr/share/swat/images/passwd.gif
  /usr/share/swat/images/printers.gif
  /usr/share/swat/images/samba.gif
  /usr/share/swat/images/shares.gif
  /usr/share/swat/images/status.gif
  /usr/share/swat/images/viewconfig.gif
  /usr/share/swat/images/wizard.gif
  /usr/share/swat/lang/tr/images/globals.gif
  /usr/share/swat/lang/tr/images/home.gif
  /usr/share/swat/lang/tr/images/passwd.gif
  /usr/share/swat/lang/tr/images/printers.gif
  /usr/share/swat/lang/tr/images/samba.gif
  /usr/share/swat/lang/tr/images/shares.gif
  /usr/share/swat/lang/tr/images/status.gif
  /usr/share/swat/lang/tr/images/viewconfig.gif


RPM build errors:
   Installed (but unpackaged) file(s) found:
  /usr/share/swat/images/globals.gif
  /usr/share/swat/images/home.gif
  /usr/share/swat/images/passwd.gif
  /usr/share/swat/images/printers.gif
  /usr/share/swat/images/samba.gif
  /usr/share/swat/images/shares.gif
  /usr/share/swat/images/status.gif
  /usr/share/swat/images/viewconfig.gif
  /usr/share/swat/images/wizard.gif
  /usr/share/swat/lang/tr/images/globals.gif
  /usr/share/swat/lang/tr/images/home.gif
  /usr/share/swat/lang/tr/images/passwd.gif
  /usr/share/swat/lang/tr/images/printers.gif
  /usr/share/swat/lang/tr/images/samba.gif
  /usr/share/swat/lang/tr/images/shares.gif
  /usr/share/swat/lang/tr/images/status.gif
  /usr/share/swat/lang/tr/images/viewconfig.gif
Done.

Oliver








--
Oliver Schulze L.
[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] Extremely slow Samba3 performance with ArcView/WinXP

2005-12-22 Thread Gerald Drouillard

Andreas Haumer wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

I have a user who is running a Samba server to store data
files for his ArcView 3.3 application. Client operating
system is Windows XP professional.

With Samba2 (2.2.8a) this was working quite fine, it usually
took less than a few seconds to load and render one of the
GIS presentations with ArcView.

We then did an upgrade to Samba3 (3.0.20b) and suddenly
the same operation now takes more than 20 seconds or even
minutes in some cases. You can even see the picture forming
slowly on the screen. Other applications do not suffer from
performance problems (The new Samba3 server is a really fast
Dual Opteron server with 4GB of RAM and a fast external U320
RAID running under Linux-2.4.31)

I took a IP traffic dump with tcpdump and also samba logs
with loglevel 10 and found that there are a _lot_ of small
packets going between the WinXP client and the Samba3 server.


[global]
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
kernel oplocks = Yes
lock spin count = 3
lock spin time = 10


Have a look at:
http://www.drouillard.ca/TipsTricks/Samba/Oplocks.htm

--
Regards
--
Gerald Drouillard
Technology Architect
Drouillard  Associates, Inc.
http://www.Drouillard.ca
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] SVN/CVS-like share for Samba users?

2005-12-22 Thread Tomasz Chmielewski

John H Terpstra schrieb:

(...)


And version controlling is mentioned only briefly in the HOWTO where
shadow_copy is described (with do not use for version controlling in
bold).



Correct. If you want flexible and managable file versioning on a Samba share 
it will most likely be necessary to write a VFS module to do that.


Or some FUSE-like filesystem.



When you send a novice to read the HOWTO, it's like telling them to
practice for running a marathon before they can walk. It's like telling
them to read a mechanic's guide before they know what is a car.


Same happens when a real proffessional can't read more than half of
the subject of one's post...



I believe you are being a little unkind here.

I admit that I overlooked the thrust of your request. For that I apologise.

What has been unprofessional about my request? Did you mean to insult me?


No, just Santa doesn't love me and I had a bad day.
Sorry for being rude.


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


Re: [Samba] Re: Samba 3.0.21 Available for Download

2005-12-22 Thread John H Terpstra
On Thursday 22 December 2005 10:53, Oliver Schulze L. wrote:
 Hi Mark,
 I added those 2 lines at the end of packaging/RedHat/samba3.spec
 and run makerpms.sh. I still have the same problem.
 It seems that the samba3.spec is overwriten by makerpms.sh
 Will check compilling using the .spec file since the makerpms.sh
 created the .tar.bz2 file

The makerpms.sh script copies the samba3.spec file from packaging/RedHat to 
the /usr/src/redhat/SPECS directory. You will need to edit the file in the 
packaging/RedHat directory.

Better still, use the files in packaging/Fedora - they more closely match 
RHEL4 and Centos.

- John T.


 Regards,
 Oliver

 Mark Campbell wrote:
  I got these errors as well.  Comes from files that exsist but are not
  being packaged.  I fixed this by adding the following two lines to the
  samba3.spec file under %files:
 
  %{prefix}/share/swat/images/*
  %{prefix}/share/swat/lang/tr/*
 
 
  You can read more on the error at:
 
  http://www.rpm.org/hintskinks/unpackaged/
 
  Mark
 
  Gary MacKay wrote:
  Same here. I'm running RedHat ES 4 and get the same errors.
 
  Oliver Schulze L. wrote:
  Hi,
  I was testing the makerpms.sh in CentOS 4.2 and it fails to build
  the .rpm,
  here is the last lines of the output:
 
  ...
  Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.28980
  + umask 022
  + cd /usr/src/redhat/BUILD
  + cd samba-3.0.21
  + DOCDIR=/var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
  + export DOCDIR
  + rm -rf /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
  + /bin/mkdir -p /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
  + cp -pr README COPYING Manifest Read-Manifest-Now
  /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
  + cp -pr WHATSNEW.txt Roadmap
  /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
  + cp -pr docs /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
  + cp -pr examples /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
  + exit 0
  Provides: CP437.so CP850.so audit.so cap.so config(samba) = 3.0.21-1
  default_quota.so expand_msdfs.so extd_audit.so fake_perms.so
  full_audit.so idmap_rid.so libmsrpc.so.0 libnss_winbind.so
  libnss_wins.so libsmbclient.so.0 netatalk.so pam_smbpass.so
  pam_winbind.so perl(smbldap_tools) = 1.00 readonly.so recycle.so
  samba = 3.0.21 script.so shadow_copy.so
  Requires(interp): /bin/sh /bin/sh /bin/sh
  Requires(rpmlib): rpmlib(CompressedFileNames) = 3.0.4-1
  rpmlib(PayloadFilesHavePrefix) = 4.0-1
  rpmlib(VersionedDependencies) = 3.0.3-1
  Requires(post): /bin/sh
  Requires(preun): /bin/sh
  Requires(postun): /bin/sh
  Requires: /bin/sh /usr/bin/perl config(samba) = 3.0.21-1 cups
  krb5-libs libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1)
  libc.so.6(GLIBC_2.1.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2)
  libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) libcom_err.so.2
  libcrypt.so.1 libcrypto.so.4 libcups.so.2 libdl.so.2
  libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libgssapi_krb5.so.2
  libk5crypto.so.3 libkrb5.so.3 liblber-2.2.so.7 libldap-2.2.so.7
  libncurses.so.5 libnsl.so.1 libnsl.so.1(GLIBC_2.0) libpam.so.0
  libpopt.so.0 libreadline.so.4 libresolv.so.2 libssl.so.4 openldap
  pam perl(Exporter) perl(strict) perl(vars)
  Obsoletes: samba-common samba-client samba-swat
  Checking for unpackaged file(s): /usr/lib/rpm/check-files
  /var/tmp/samba-3.0.21-root
  error: Installed (but unpackaged) file(s) found:
/usr/share/swat/images/globals.gif
/usr/share/swat/images/home.gif
/usr/share/swat/images/passwd.gif
/usr/share/swat/images/printers.gif
/usr/share/swat/images/samba.gif
/usr/share/swat/images/shares.gif
/usr/share/swat/images/status.gif
/usr/share/swat/images/viewconfig.gif
/usr/share/swat/images/wizard.gif
/usr/share/swat/lang/tr/images/globals.gif
/usr/share/swat/lang/tr/images/home.gif
/usr/share/swat/lang/tr/images/passwd.gif
/usr/share/swat/lang/tr/images/printers.gif
/usr/share/swat/lang/tr/images/samba.gif
/usr/share/swat/lang/tr/images/shares.gif
/usr/share/swat/lang/tr/images/status.gif
/usr/share/swat/lang/tr/images/viewconfig.gif
 
 
  RPM build errors:
 Installed (but unpackaged) file(s) found:
/usr/share/swat/images/globals.gif
/usr/share/swat/images/home.gif
/usr/share/swat/images/passwd.gif
/usr/share/swat/images/printers.gif
/usr/share/swat/images/samba.gif
/usr/share/swat/images/shares.gif
/usr/share/swat/images/status.gif
/usr/share/swat/images/viewconfig.gif
/usr/share/swat/images/wizard.gif
/usr/share/swat/lang/tr/images/globals.gif
/usr/share/swat/lang/tr/images/home.gif
/usr/share/swat/lang/tr/images/passwd.gif
/usr/share/swat/lang/tr/images/printers.gif
/usr/share/swat/lang/tr/images/samba.gif
/usr/share/swat/lang/tr/images/shares.gif
/usr/share/swat/lang/tr/images/status.gif
/usr/share/swat/lang/tr/images/viewconfig.gif
  Done.
 
  Oliver

 --
 Oliver Schulze L.
 [EMAIL PROTECTED]

-- 
John H Terpstra
Samba-Team 

Re: [Samba] Samba 3.0.21 + PANIC: internal error + lib/fault.c

2005-12-22 Thread Jeremy Allison
On Thu, Dec 22, 2005 at 05:05:47PM +0100, Ralf Gross wrote:
 Hi,
 
 yesterday I compiled an installed samba 3.0.21 on a solaris 8 box (gcc
 3.4.2). Since then I frequently see this error message in the log.
 
 
 [2005/12/22 15:55:39, 0] lib/fault.c:fault_report(36)
   ===
 [2005/12/22 15:55:39, 0] lib/fault.c:fault_report(37)
   INTERNAL ERROR: Signal 10 in pid 27816 (3.0.21)
   Please read the Trouble-Shooting section of the Samba3-HOWTO
 [2005/12/22 15:55:39, 0] lib/fault.c:fault_report(39)
   
   From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
 [2005/12/22 15:55:39, 0] lib/fault.c:fault_report(40)
   ===
 [2005/12/22 15:55:39, 0] lib/util.c:smb_panic2(1554)
   PANIC: internal error
 [2005/12/22 15:55:43, 0] modules/vfs_extd_audit.c:audit_unlink(273)
   vfs_extd_audit: unlink work/Zeiten/Zeiten_03_03.xls~RF1b9fdb8.TMP  
 [2005/12/22 15:55:43, 0] modules/vfs_extd_audit.c:audit_unlink(273)
   vfs_extd_audit: unlink work/Zeiten/Zeiten_03_03.xls  
 
 I compiled samba with the following configure settings:
 ./configure --with-acl-support --prefix=/usr/local/samba3021
 --with-quotas --with-included-popt --without-ldap --with-vfs
 
 I already disabled the 'vfs objects' option for each share, because
 this was the only thing I changed in addition to move from 3.0.20b to
 3.0.21. This didn't helt. There is no core file in any samba related
 directory (/usr/local/samba, /var/log/samba).

Try adding -g and do a full recompile - this will ensure the smbd binary
has symbols embedded in it. Then add the line :

panic action = /bin/sleep 99

to the [global] section of your smb.conf and restart smbd. When 
the panic occurs you will have a frozen smbd process as the parent
as a sleep process. Start gdb :

gdb /usr/local/samba/sbin/smbd

and then attach to the frozen smbd process via :

attach pid

Then type bt to get the backtrace that will show us where the problem
lies.

Thanks,

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 client logs

2005-12-22 Thread ryan punt
I'm not even sure this is a problem with Samba, but here goes*

From smb.conf:

log file = /opt/samba/var/log/%m.log

As I understand it, this option will create $CLIENT_NETBIOS_NAME.log whenever a 
client contacts the Samba server in any way.

However, I've got clients from outside this samba server's subnet contacting 
the samba server. I can prove that because a PCs NetBIOS name is determined by 
its subnet, and all logs are in the aforementioned form. For example:

Subnet A: all clients in 172.21.22.0/255.255.255.0. Subnet A has its own master 
browser (the samba server for that subnet)
Subnet B: all clients in 172.21.23.0/255.255.255.0. Subnet B has its own master 
browser (the samba server for that subnet)
Subnet C has the PDC that services subnets A and B.

What I'm seeing are clients from subnet A requesting sessions with master 
browser/samba server B, and vice versa, despite the fact that there are no 
shares mounted across subnets, and all sharepoint-mounts are controlled via 
login script. This is not an issue of users manually mounting a share. As to 
the logs themselves, while some of these logs have useful messages, many are 
0-length.

The master browser for subnet A is quite busy, and subnet B not very much so. 
The client PCs are all Windows XP, but I was under the impression that, given 
the subnet mask, they'd limit queries to that subnet. In addition, each client 
has mounted shares ONLY from the samba server on their subnet. Could this be 
PDC-related?

Thanks,
Ryan
-

This email transmission and any documents, files or previous

email messages attached to it may contain information that is

confidential or legally privileged. If you are not the intended

recipient, you are hereby notified that any disclosure, copying,

printing, distributing or use of this transmission is strictly

prohibited. If you have received this transmission in error,

please immediately notify the sender by telephone or return

email and delete the original transmission and its attachments

without reading or saving in any manner.



The Evangelical Lutheran Good Samaritan Society.

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

Re: [Samba] Samba 3: restrict anonymous = 2 breaks domain joining

2005-12-22 Thread Andrew Bartlett
On Wed, 2005-12-21 at 17:49 +1100, Andrew Bartlett wrote:
 On Tue, 2005-12-20 at 23:46 +0100, Marek Szuba wrote:
  On Sun, 18 Dec 2005 19:18:41 -0800
  Andrew Bartlett [EMAIL PROTECTED] wrote:
  
   Samba3 (due to NT4 protocol limitations) doesn't support being a DC and 
   having  'restrict anonymous = 2' set.  
  Right, gotta stick with 1 then. Thanks for clearing it up.
 
 Some things might break with restrict anonymous = 1.  Test carefully.
 
   It is the other way around.  If you set 'restrict anonymous = 2', then
   you cannot get to a share as a guest, even with 'guest ok = yes', as the
   anonymous connection has already been denied.
  Makes sense... Still, the manpage (both in 3.0.14a-Debian and 3.0.20b)
  states the opposite. Let me dig up appropriate quotes:
   - in guest ok entry, line 1732: this setting nullifies the benefits
  of setting restrict anonymous = 2
   - in restrict anonymous entry, line 3963: the security advantage of
  using restrict anonymous = 2 is removed by setting guest ok = yes on
  any share
 
 I'll ponder.  I remember writing those words...

I got confused which way around the tests were performed.  The manpage
is correct, it is done at share connect time.  

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Authentication Developer, Samba Team   http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Samba 3 user utility

2005-12-22 Thread Charles McLaughlin

Check out the Windows NT User and Server manager (srvtools.exe):
http://support.microsoft.com/default.aspx?scid=kb;en-us;173673

These Windows-based tools work with a Samba 3 domain!  I've found that I 
can give those tools to a administrator that doesn't know much Unix and 
they can create and edit user accounts effectively.


I'd also recommend you take a look at pdbedit.  It's a really nice 
command line tool and it's pretty easy to use.


I really don't mess with my Samba servers on a day to day basis.  Just 
set them up once and the pretty much take care of themselves. :)


Charles

On 12/20/2005 01:58 PM, Allan Levene wrote:

So that leads back to the question of if there is a simple utility to
perform the most basic tasks?

I don't know why Webmin would miss such an obvious line item.

Thank you, anyway.

 
 
Allan Levene

steamsauna
www.steamandsauna.com
 
 
-Original Message-
From: Allan Levene [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 20, 2005 10:21 AM

To: 'Craig White'
Subject: RE: [Samba] Samba 3 user utility

Craig:

Specifically yes. In Webmin when you view Samba users there isn't a
provision to add them. It just lists existing users.

 
 
Allan Levene

steamsauna
www.steamandsauna.com
 
 
-Original Message-

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Craig White
Sent: Tuesday, December 20, 2005 9:55 AM
To: samba@lists.samba.org
Subject: Re: [Samba] Samba 3 user utility

On Tue, 2005-12-20 at 09:40 -0500, Allan Levene wrote:


We have started to use Samba v 3 under SuSe 10. Although I works fine, I'm
having some problems with setting up users. I have downloaded and tried
Webmin which works well.



Does anyone know of a utility that performs the simple functions that a
small network administrator wants -



Add/remove user (to both Linux and Samba)

Add/remove user to Samba (assuming existing Linux account)

Change password in Samba

Modify share permissions

Anything else that needs frequent changes/additions



This may seems simple, but a single basic utility is needed for these day


to


day needs. I've yet to find one.



I have thought that Webmin works very well for this. See Configure
User/Group synchronization in Samba module in Webmin.

Is there something in the Webmin module that isn't working for you?

Craig


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


Re: [Samba] Re: Samba 3.0.21 Available for Download

2005-12-22 Thread Mark Campbell
Yeah sorry.  I guess I should have said I edited the one in the 
packaging/RedHat dir. 


Mark


John H Terpstra wrote:


On Thursday 22 December 2005 10:53, Oliver Schulze L. wrote:
 


Hi Mark,
I added those 2 lines at the end of packaging/RedHat/samba3.spec
and run makerpms.sh. I still have the same problem.
It seems that the samba3.spec is overwriten by makerpms.sh
Will check compilling using the .spec file since the makerpms.sh
created the .tar.bz2 file
   



The makerpms.sh script copies the samba3.spec file from packaging/RedHat to 
the /usr/src/redhat/SPECS directory. You will need to edit the file in the 
packaging/RedHat directory.


Better still, use the files in packaging/Fedora - they more closely match 
RHEL4 and Centos.


- John T.

 


Regards,
Oliver

Mark Campbell wrote:
   


I got these errors as well.  Comes from files that exsist but are not
being packaged.  I fixed this by adding the following two lines to the
samba3.spec file under %files:

%{prefix}/share/swat/images/*
%{prefix}/share/swat/lang/tr/*


You can read more on the error at:

http://www.rpm.org/hintskinks/unpackaged/

Mark

Gary MacKay wrote:
 


Same here. I'm running RedHat ES 4 and get the same errors.

Oliver Schulze L. wrote:
   


Hi,
I was testing the makerpms.sh in CentOS 4.2 and it fails to build
the .rpm,
here is the last lines of the output:

...
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.28980
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd samba-3.0.21
+ DOCDIR=/var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ export DOCDIR
+ rm -rf /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ /bin/mkdir -p /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ cp -pr README COPYING Manifest Read-Manifest-Now
/var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ cp -pr WHATSNEW.txt Roadmap
/var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ cp -pr docs /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ cp -pr examples /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21
+ exit 0
Provides: CP437.so CP850.so audit.so cap.so config(samba) = 3.0.21-1
default_quota.so expand_msdfs.so extd_audit.so fake_perms.so
full_audit.so idmap_rid.so libmsrpc.so.0 libnss_winbind.so
libnss_wins.so libsmbclient.so.0 netatalk.so pam_smbpass.so
pam_winbind.so perl(smbldap_tools) = 1.00 readonly.so recycle.so
samba = 3.0.21 script.so shadow_copy.so
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) = 3.0.4-1
rpmlib(PayloadFilesHavePrefix) = 4.0-1
rpmlib(VersionedDependencies) = 3.0.3-1
Requires(post): /bin/sh
Requires(preun): /bin/sh
Requires(postun): /bin/sh
Requires: /bin/sh /usr/bin/perl config(samba) = 3.0.21-1 cups
krb5-libs libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1)
libc.so.6(GLIBC_2.1.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2)
libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) libcom_err.so.2
libcrypt.so.1 libcrypto.so.4 libcups.so.2 libdl.so.2
libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libgssapi_krb5.so.2
libk5crypto.so.3 libkrb5.so.3 liblber-2.2.so.7 libldap-2.2.so.7
libncurses.so.5 libnsl.so.1 libnsl.so.1(GLIBC_2.0) libpam.so.0
libpopt.so.0 libreadline.so.4 libresolv.so.2 libssl.so.4 openldap
pam perl(Exporter) perl(strict) perl(vars)
Obsoletes: samba-common samba-client samba-swat
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/var/tmp/samba-3.0.21-root
error: Installed (but unpackaged) file(s) found:
 /usr/share/swat/images/globals.gif
 /usr/share/swat/images/home.gif
 /usr/share/swat/images/passwd.gif
 /usr/share/swat/images/printers.gif
 /usr/share/swat/images/samba.gif
 /usr/share/swat/images/shares.gif
 /usr/share/swat/images/status.gif
 /usr/share/swat/images/viewconfig.gif
 /usr/share/swat/images/wizard.gif
 /usr/share/swat/lang/tr/images/globals.gif
 /usr/share/swat/lang/tr/images/home.gif
 /usr/share/swat/lang/tr/images/passwd.gif
 /usr/share/swat/lang/tr/images/printers.gif
 /usr/share/swat/lang/tr/images/samba.gif
 /usr/share/swat/lang/tr/images/shares.gif
 /usr/share/swat/lang/tr/images/status.gif
 /usr/share/swat/lang/tr/images/viewconfig.gif


RPM build errors:
  Installed (but unpackaged) file(s) found:
 /usr/share/swat/images/globals.gif
 /usr/share/swat/images/home.gif
 /usr/share/swat/images/passwd.gif
 /usr/share/swat/images/printers.gif
 /usr/share/swat/images/samba.gif
 /usr/share/swat/images/shares.gif
 /usr/share/swat/images/status.gif
 /usr/share/swat/images/viewconfig.gif
 /usr/share/swat/images/wizard.gif
 /usr/share/swat/lang/tr/images/globals.gif
 /usr/share/swat/lang/tr/images/home.gif
 /usr/share/swat/lang/tr/images/passwd.gif
 /usr/share/swat/lang/tr/images/printers.gif
 /usr/share/swat/lang/tr/images/samba.gif
 /usr/share/swat/lang/tr/images/shares.gif
 /usr/share/swat/lang/tr/images/status.gif
 /usr/share/swat/lang/tr/images/viewconfig.gif
Done.

Oliver
 


--
Oliver Schulze L.
[EMAIL PROTECTED]
   



 




--
Mark Campbell
Systems Analyst, Advanced Information Technologies
Information Technology 

Re: Re[2]: [Samba] VFS for encryption/decryption

2005-12-22 Thread Andrew Bartlett
On Thu, 2005-12-22 at 11:04 +0100, Felix Brack wrote:
 Hello Andrew,
 
 In my case, clear over the network would be ok. The problem I am
 trying to solve is: I can setup Samba PDC perfectly so every user
 get's some space which is accessible by nobody else. The administrator
 of the samba server however (at least the user root) has access to
 all files of all users.
 The normal user has no LINUX login account on the box running the
 samba server.
 I could ask the users to run TrueCrypt (www.truecrypt.org) and create
 a encrypted file on their home directory on the Samba server. This
 works perfect but I was just looking for an even more transparent
 solution which I think could be provided by some sort of VFS module.

We run into issues such as 'how do you key the crypto'.  The
administrator has access to any secrets stored on the server, so how
would Samba decrypt the data, but the administrator not?

Without protocol modifications, or some extra client-side tool, this
becomes quite a challenge.  And then the administrator could still
subvert the whole thing.

A slightly easier goal would be to protect files on a stolen hard disk
(ie trust the admin, but not always the person with the server), but I
still don't see how to do it without protocol modifications.

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Authentication Developer, Samba Team   http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Samba 3.0.21 + PANIC: internal error + lib/fault.c

2005-12-22 Thread Ralf Gross
Jeremy Allison schrieb:
 On Thu, Dec 22, 2005 at 05:05:47PM +0100, Ralf Gross wrote:
 
  [PANIC]
 Try adding -g and do a full recompile - this will ensure the smbd binary
 has symbols embedded in it. Then add the line :
 
 panic action = /bin/sleep 99
 
 to the [global] section of your smb.conf and restart smbd. When 
 the panic occurs you will have a frozen smbd process as the parent
 as a sleep process. Start gdb :
 
 gdb /usr/local/samba/sbin/smbd
 
 and then attach to the frozen smbd process via :
 
 attach pid
 
 Then type bt to get the backtrace that will show us where the problem
 lies.

Thanks for your quick reply. I'll do this in January when I'm back in
the office. Should I open a bug then?

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


[Samba] Kerberized smb with MIT K5 realm

2005-12-22 Thread Mark Campbell
I tried this new feature with 3.0.21 and have had some luck but it is 
not quite working. 


My config looks like:

#=== Global Settings 
=

[global]
 workgroup = MYGROUP
 server string = Samba Server
 log file = /var/log/samba/log.smbd
 security = user
 use kerberos keytab = yes
 realm = xxx.psu.edu


# Share Definitions 
==

[homes]
 comment = Home Directories
 browseable = no
 writable = yes

I have the keytab file:

cifs/xxx.xxx.psu.edu
host/xxx.xxx.psu.edu

imported to the /etc/krb5.keytab file.

My client gets the service ticket for cifs/xxx.xxx.psu.edu but I see the 
following in the samba logs:


[2005/12/21 16:41:12, 1] smbd/sesssetup.c:reply_spnego_kerberos(180)
Failed to verify incoming ticket!

Any ideas?

Thanks

Mark


--
Mark Campbell
Systems Analyst, Advanced Information Technologies
Information Technology Services
The Pennsylvania State University
[EMAIL PROTECTED], 814-865-4774

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


Re: [Samba] Samba 3.0.21 + PANIC: internal error + lib/fault.c

2005-12-22 Thread ryan punt
Is there a similar configure option (to the -g referenced below for Samba 3) 
for 2.2.x? I get lots of signal 11s in my samba logs.

My current options:

./configure --prefix=$SAMBA_BASEDIR \
--with-netatalk \
--with-smbmount \
--with-syslog \
--with-sambabook \
--with-utmp \
--with-readline \
--with-libsmbclient \
--with-winbind \
--with-msdfs \
--with-automount \
--with-acl-support \
--with-profile \
--disable-static \
--with-ldapsam 

 Jeremy Allison [EMAIL PROTECTED] 12/22/2005 12:18 PM 
On Thu, Dec 22, 2005 at 05:05:47PM +0100, Ralf Gross wrote:
 Hi,
 
 yesterday I compiled an installed samba 3.0.21 on a solaris 8 box (gcc
 3.4.2). Since then I frequently see this error message in the log.
 
 
 [2005/12/22 15:55:39, 0] lib/fault.c:fault_report(36)
   ===
 [2005/12/22 15:55:39, 0] lib/fault.c:fault_report(37)
   INTERNAL ERROR: Signal 10 in pid 27816 (3.0.21)
 snip

Try adding -g and do a full recompile - this will ensure the smbd binary
has symbols embedded in it. Then add the line :

snip

-

This email transmission and any documents, files or previous

email messages attached to it may contain information that is

confidential or legally privileged. If you are not the intended

recipient, you are hereby notified that any disclosure, copying,

printing, distributing or use of this transmission is strictly

prohibited. If you have received this transmission in error,

please immediately notify the sender by telephone or return

email and delete the original transmission and its attachments

without reading or saving in any manner.



The Evangelical Lutheran Good Samaritan Society.

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

Re: [Samba] Samba 3.0.21 + PANIC: internal error + lib/fault.c

2005-12-22 Thread Jeremy Allison
On Thu, Dec 22, 2005 at 09:00:28PM +0100, Ralf Gross wrote:
 Jeremy Allison schrieb:
  On Thu, Dec 22, 2005 at 05:05:47PM +0100, Ralf Gross wrote:
  
   [PANIC]
  Try adding -g and do a full recompile - this will ensure the smbd binary
  has symbols embedded in it. Then add the line :
  
  panic action = /bin/sleep 99
  
  to the [global] section of your smb.conf and restart smbd. When 
  the panic occurs you will have a frozen smbd process as the parent
  as a sleep process. Start gdb :
  
  gdb /usr/local/samba/sbin/smbd
  
  and then attach to the frozen smbd process via :
  
  attach pid
  
  Then type bt to get the backtrace that will show us where the problem
  lies.
 
 Thanks for your quick reply. I'll do this in January when I'm back in
 the office. Should I open a bug then?

Yes please - attach these messages and the backtrace.

Thanks,

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


[Samba] smbfs - Can't create files in subdirectories...

2005-12-22 Thread samba1 @ The Linux Revolution

Greetings, I'm hoping someone can help...

I have a Slackware 10.2 server running Samba 3.0.20b.  When I mount a share with
mount -t smbfs -o username=user,pass=pass,fmask=777,dmask=777 //server/share
/mount/point (on another 10.2 PC) the mount completes successfully.

Logged in as a user, I can access the mountpoint and create files and
directories in the root of the mount point.  I can also cd into the directories
I've created.

But, I cannot create additional files or directories within the directories I
created (in the root of the point).  My problem is that I cannot create
anything within subdirectories on my Samba smbmount filesystem while running as
a normal user.  Creating files and directories within the root of the mount
point (as a normal user) works fine.

Logged in as root, I can create subdirectories and subfolders to my heart's
content.

Please, if anyone has any ideas on what to do / try, please reply!

Thank you in advance,
John
[EMAIL PROTECTED]

-
This mail sent through Virus Free Email
http://www.vfemail.net


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


Re: [Samba] smbfs - Can't create files in subdirectories...

2005-12-22 Thread Dennis B. Hopp

samba1 @ The Linux Revolution wrote:


Greetings, I'm hoping someone can help...

I have a Slackware 10.2 server running Samba 3.0.20b.  When I mount a share with
mount -t smbfs -o username=user,pass=pass,fmask=777,dmask=777 //server/share
/mount/point (on another 10.2 PC) the mount completes successfully.

Logged in as a user, I can access the mountpoint and create files and
directories in the root of the mount point.  I can also cd into the directories
I've created.

But, I cannot create additional files or directories within the directories I
created (in the root of the point).  My problem is that I cannot create
anything within subdirectories on my Samba smbmount filesystem while running as
a normal user.  Creating files and directories within the root of the mount
point (as a normal user) works fine.

Logged in as root, I can create subdirectories and subfolders to my heart's
content.

Please, if anyone has any ideas on what to do / try, please reply!

Thank you in advance,
John
[EMAIL PROTECTED]

-
This mail sent through Virus Free Email
http://www.vfemail.net


 

When the directory gets created what permissions are actually set on the 
file system (so what does ls -l on the server that is actually hosting 
this share show)?


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


Re: [Samba] smbfs - Can't create files in subdirectories...

2005-12-22 Thread samba1
On Thursday 22 December 2005 06:36 pm, Dennis B. Hopp wrote:
 samba1 @ The Linux Revolution wrote:
 Greetings, I'm hoping someone can help...
 
 I have a Slackware 10.2 server running Samba 3.0.20b.  When I mount a
  share with mount -t smbfs -o username=user,pass=pass,fmask=777,dmask=777
  //server/share /mount/point (on another 10.2 PC) the mount completes
  successfully.
 
 Logged in as a user, I can access the mountpoint and create files and
 directories in the root of the mount point.  I can also cd into the
  directories I've created.
 
 But, I cannot create additional files or directories within the
  directories I created (in the root of the point).  My problem is that I
  cannot create anything within subdirectories on my Samba smbmount
  filesystem while running as a normal user.  Creating files and
  directories within the root of the mount point (as a normal user) works
  fine.
 
 Logged in as root, I can create subdirectories and subfolders to my
  heart's content.
 
 Please, if anyone has any ideas on what to do / try, please reply!
 
 Thank you in advance,
 John
 [EMAIL PROTECTED]
 
 -
 This mail sent through Virus Free Email
 http://www.vfemail.net

 When the directory gets created what permissions are actually set on the
 file system (so what does ls -l on the server that is actually hosting
 this share show)?

 --Dennis

Thank you for your response.
The directory is created with permissions 755 (with the owner being the user 
that I specified in the smbmnt).  If I execute the command chmod 777 
foldername on the server (permissions changed to 777), I still receive the 
same error on the client.

John
[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] Samba Migration from 2.2.7a to 3.0.14a

2005-12-22 Thread Josh Kelley
On 12/20/05, Dan Johansson [EMAIL PROTECTED] wrote:
 I would like to migrate from an old Server running Samba 2.2.7a as Domain
 controller to a new one running version 3.0.14a. The new server (with a new
 hostname) should be the DC in the future as the old server is to be
 decommissioned. Now I am looking a good HOWTO or similar document describing
 such a migration - any suggestions?

Samba 3 By Example has a section on upgrading from Samba 2.x to
Samba 3.x; the relevant section is at
http://us1.samba.org/samba/docs/man/Samba3-ByExample/upgrades.html#id2567854.

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


[Samba] Is it possible to write an smbclient automated script

2005-12-22 Thread Pablo Graziano

I'd like to write an automated smbclient script. Something simple, like:
login
cd to a certain directory
copy that entire directory to client
logout

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


Re: [Samba] Is it possible to write an smbclient automated script

2005-12-22 Thread Beast

Pablo Graziano wrote:

I'd like to write an automated smbclient script. Something simple, like:
login
cd to a certain directory
copy that entire directory to client
logout

Is this possible, and how?


Why not use smbmount instead?

smbmount //svr/share /mnt/samba -o username=myuser,password=mypasswd
cp -r /mnt/samba/source /tmp/destination



--

--beast

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


svn commit: samba r12424 - in branches/SAMBA_4_0/source/nbt_server/wins: .

2005-12-22 Thread metze
Author: metze
Date: 2005-12-22 08:13:17 + (Thu, 22 Dec 2005)
New Revision: 12424

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

Log:
static records should not be released

metze
Modified:
   branches/SAMBA_4_0/source/nbt_server/wins/winsserver.c


Changeset:
Modified: branches/SAMBA_4_0/source/nbt_server/wins/winsserver.c
===
--- branches/SAMBA_4_0/source/nbt_server/wins/winsserver.c  2005-12-22 
06:58:26 UTC (rev 12423)
+++ branches/SAMBA_4_0/source/nbt_server/wins/winsserver.c  2005-12-22 
08:13:17 UTC (rev 12424)
@@ -387,6 +387,14 @@
goto done;
}
 
+   if (rec-is_static) {
+   if (rec-type == WREPL_TYPE_UNIQUE || rec-type == 
WREPL_TYPE_MHOMED) {
+   goto done;
+   }
+   nbtd_name_release_reply(nbtsock, packet, src, NBT_RCODE_ACT);
+   return;
+   }
+
if (rec-state != WREPL_STATE_ACTIVE) {
goto done;
}



svn commit: samba r12425 - in branches/SAMBA_4_0/source/nbt_server/wins: .

2005-12-22 Thread metze
Author: metze
Date: 2005-12-22 08:27:10 + (Thu, 22 Dec 2005)
New Revision: 12425

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

Log:
match w2k3 and store 0x1D names when they're registered as group name,
but queries still give not found

metze
Modified:
   branches/SAMBA_4_0/source/nbt_server/wins/winsserver.c


Changeset:
Modified: branches/SAMBA_4_0/source/nbt_server/wins/winsserver.c
===
--- branches/SAMBA_4_0/source/nbt_server/wins/winsserver.c  2005-12-22 
08:13:17 UTC (rev 12424)
+++ branches/SAMBA_4_0/source/nbt_server/wins/winsserver.c  2005-12-22 
08:27:10 UTC (rev 12425)
@@ -183,9 +183,12 @@
enum wrepl_name_type new_type = wrepl_type(nb_flags, name, mhomed);
struct winsdb_addr *winsdb_addr = NULL;
 
-   /* as a special case, the local master browser name is always accepted
-  for registration, but never stored */
-   if (name-type == NBT_NAME_MASTER) {
+   /*
+* as a special case, the local master browser name is always accepted
+* for registration, but never stored, but w2k3 stores it if it's 
registered
+* as a group name, (but a query for the 0x1D name still returns not 
found!)
+*/
+   if (name-type == NBT_NAME_MASTER  !(nb_flags  NBT_NM_GROUP)) {
rcode = NBT_RCODE_OK;
goto done;
}
@@ -328,6 +331,10 @@
const char **addresses;
uint16_t nb_flags = 0; /* TODO: ... */
 
+   if (name-type == NBT_NAME_MASTER) {
+   goto notfound;
+   }
+
status = winsdb_lookup(winssrv-wins_db, name, packet, rec);
if (!NT_STATUS_IS_OK(status)) {
goto notfound;



svn commit: samba r12426 - in branches/SAMBA_4_0/source/nbt_server/wins: .

2005-12-22 Thread metze
Author: metze
Date: 2005-12-22 08:41:02 + (Thu, 22 Dec 2005)
New Revision: 12426

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

Log:
w2k3 refused 0x1B names registered as group names

metze
Modified:
   branches/SAMBA_4_0/source/nbt_server/wins/winsserver.c


Changeset:
Modified: branches/SAMBA_4_0/source/nbt_server/wins/winsserver.c
===
--- branches/SAMBA_4_0/source/nbt_server/wins/winsserver.c  2005-12-22 
08:27:10 UTC (rev 12425)
+++ branches/SAMBA_4_0/source/nbt_server/wins/winsserver.c  2005-12-22 
08:41:02 UTC (rev 12426)
@@ -193,6 +193,12 @@
goto done;
}
 
+   /* w2k3 refuses 0x1B names with marked as group */
+   if (name-type == NBT_NAME_PDC  (nb_flags  NBT_NM_GROUP)) {
+   rcode = NBT_RCODE_RFS;
+   goto done;
+   }
+
/* w2k3 refuses 0x1C names with out marked as group */
if (name-type == NBT_NAME_LOGON  !(nb_flags  NBT_NM_GROUP)) {
rcode = NBT_RCODE_RFS;



svn commit: samba r12427 - in branches/SAMBA_4_0/source: dsdb/samdb/ldb_modules rpc_server/samr setup

2005-12-22 Thread abartlet
Author: abartlet
Date: 2005-12-22 09:32:26 + (Thu, 22 Dec 2005)
New Revision: 12427

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

Log:
Move SAMR CreateUser2 to transactions, and re-add support for
different computer account types.  (Earlier code changes removed the
BDC case).

We don't use the TemplateDomainController, so just have a
TemplateServer in provision_templates.ldif

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c
   branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c
   branches/SAMBA_4_0/source/setup/provision_templates.ldif


Changeset:
Modified: branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c
===
--- branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c   2005-12-22 
08:41:02 UTC (rev 12426)
+++ branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c   2005-12-22 
09:32:26 UTC (rev 12427)
@@ -406,7 +406,7 @@
}
 
if (samldb_find_attribute(msg, objectclass, computer) != NULL) {
-   if (samldb_copy_template(module, msg2, 
((CN=TemplateMemberServer)(objectclass=userTemplate))) != 0) {
+   if (samldb_copy_template(module, msg2, 
((CN=TemplateServer)(objectclass=userTemplate))) != 0) {
ldb_debug(module-ldb, LDB_DEBUG_WARNING, 
samldb_fill_user_or_computer_object: Error copying computer template!\n);
return NULL;
}

Modified: branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c
===
--- branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c 2005-12-22 
08:41:02 UTC (rev 12426)
+++ branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c 2005-12-22 
09:32:26 UTC (rev 12427)
@@ -724,6 +724,16 @@
char *cn_name;
int cn_name_len;
 
+   const char *attrs[] = {
+   objectSid, 
+   userAccountControl,
+   NULL
+   };
+
+   uint32_t user_account_control;
+
+   struct ldb_message **msgs;
+
ZERO_STRUCTP(r-out.user_handle);
*r-out.access_granted = 0;
*r-out.rid = 0;
@@ -738,17 +748,25 @@
return NT_STATUS_INVALID_PARAMETER;
}
 
+   ret = ldb_transaction_start(d_state-sam_ctx);
+   if (ret != 0) {
+   DEBUG(0,(Failed to start a transaction for user creation\n));
+   return NT_STATUS_INTERNAL_DB_CORRUPTION;
+   }
+
/* check if the user already exists */
name = samdb_search_string(d_state-sam_ctx, mem_ctx, NULL, 
   sAMAccountName, 
   ((sAMAccountName=%s)(objectclass=user)), 
   ldb_binary_encode_string(mem_ctx, 
account_name));
if (name != NULL) {
+   ldb_transaction_cancel(d_state-sam_ctx);
return NT_STATUS_USER_EXISTS;
}
 
msg = ldb_msg_new(mem_ctx);
if (msg == NULL) {
+   ldb_transaction_cancel(d_state-sam_ctx);
return NT_STATUS_NO_MEMORY;
}
 
@@ -782,19 +800,25 @@
obj_class = user;
 
} else {
+   ldb_transaction_cancel(d_state-sam_ctx);
return NT_STATUS_INVALID_PARAMETER;
}
 
/* add core elements to the ldb_message for the user */
msg-dn = ldb_dn_build_child(mem_ctx, CN, cn_name, 
ldb_dn_build_child(mem_ctx, CN, container, d_state-domain_dn));
if (!msg-dn) {
+   ldb_transaction_cancel(d_state-sam_ctx);
return NT_STATUS_NO_MEMORY; 
}
samdb_msg_add_string(d_state-sam_ctx, mem_ctx, msg, sAMAccountName, 
account_name);
samdb_msg_add_string(d_state-sam_ctx, mem_ctx, msg, objectClass, 
obj_class);
+   
+   /* Start a transaction, so we can query and do a subsequent atomic 
modify */
+   
/* create the user */
ret = samdb_add(d_state-sam_ctx, mem_ctx, msg);
if (ret != 0) {
+   ldb_transaction_cancel(d_state-sam_ctx);
DEBUG(0,(Failed to create user record %s\n,
 ldb_dn_linearize(mem_ctx, msg-dn)));
return NT_STATUS_INTERNAL_DB_CORRUPTION;
@@ -802,6 +826,7 @@
 
a_state = talloc(d_state, struct samr_account_state);
if (!a_state) {
+   ldb_transaction_cancel(d_state-sam_ctx);
return NT_STATUS_NO_MEMORY;
}
a_state-sam_ctx = d_state-sam_ctx;
@@ -809,14 +834,60 @@
a_state-domain_state = talloc_reference(a_state, d_state);
a_state-account_dn = talloc_steal(a_state, msg-dn);
 
-   /* retrieve the sid for the user just created */
-   sid = samdb_search_dom_sid(d_state-sam_ctx, a_state,
-  msg-dn, objectSid, NULL);
+   /* retrieve the sid and account control bits for the 

svn commit: samba r12428 - in branches/SAMBA_4_0/source/nbt_server/wins: .

2005-12-22 Thread metze
Author: metze
Date: 2005-12-22 09:37:21 + (Thu, 22 Dec 2005)
New Revision: 12428

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

Log:
releases on 0x1D names are ignored

metze
Modified:
   branches/SAMBA_4_0/source/nbt_server/wins/winsserver.c


Changeset:
Modified: branches/SAMBA_4_0/source/nbt_server/wins/winsserver.c
===
--- branches/SAMBA_4_0/source/nbt_server/wins/winsserver.c  2005-12-22 
09:32:26 UTC (rev 12427)
+++ branches/SAMBA_4_0/source/nbt_server/wins/winsserver.c  2005-12-22 
09:37:21 UTC (rev 12428)
@@ -395,6 +395,10 @@
uint32_t modify_flags = 0;
uint8_t ret;
 
+   if (name-type == NBT_NAME_MASTER) {
+   goto done;
+   }
+
status = winsdb_lookup(winssrv-wins_db, name, packet, rec);
if (!NT_STATUS_IS_OK(status)) {
goto done;



svn commit: samba r12429 - in branches/SAMBA_4_0/source/nbt_server/wins: .

2005-12-22 Thread metze
Author: metze
Date: 2005-12-22 09:56:14 + (Thu, 22 Dec 2005)
New Revision: 12429

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

Log:
make static records always active with a max expire time

metze
Modified:
   branches/SAMBA_4_0/source/nbt_server/wins/winsdb.c


Changeset:
Modified: branches/SAMBA_4_0/source/nbt_server/wins/winsdb.c
===
--- branches/SAMBA_4_0/source/nbt_server/wins/winsdb.c  2005-12-22 09:37:21 UTC 
(rev 12428)
+++ branches/SAMBA_4_0/source/nbt_server/wins/winsdb.c  2005-12-22 09:56:14 UTC 
(rev 12429)
@@ -496,6 +496,18 @@
}
rec-addresses[i] = NULL;
 
+   if (rec-is_static) {
+   if (num_values  1) {
+   status = NT_STATUS_INTERNAL_DB_CORRUPTION;
+   goto failed;
+   }
+   rec-state = WREPL_STATE_ACTIVE;
+   rec-expire_time = get_time_t_max();
+   for (i=0;rec-addresses[i];i++) {
+   rec-addresses[i]-expire_time = rec-expire_time;
+   }
+   }
+
*_rec = rec;
return NT_STATUS_OK;
 failed:
@@ -517,6 +529,14 @@
struct ldb_message *msg = ldb_msg_new(mem_ctx);
if (msg == NULL) goto failed;
 
+   if (rec-is_static) {
+   rec-state = WREPL_STATE_ACTIVE;
+   rec-expire_time = get_time_t_max();
+   for (i=0;rec-addresses[i];i++) {
+   rec-addresses[i]-expire_time = rec-expire_time;
+   }
+   }
+
/* make sure we don't put in corrupted records */
addr_count = winsdb_addr_list_length(rec-addresses);
if (rec-state == WREPL_STATE_ACTIVE  addr_count == 0) {



svn commit: samba r12430 - in branches/SAMBA_4_0/source/libnet: .

2005-12-22 Thread abartlet
Author: abartlet
Date: 2005-12-22 09:58:51 + (Thu, 22 Dec 2005)
New Revision: 12430

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

Log:
Clarify libnet_join code. Add/fix comments.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/libnet/libnet_join.c


Changeset:
Modified: branches/SAMBA_4_0/source/libnet/libnet_join.c
===
--- branches/SAMBA_4_0/source/libnet/libnet_join.c  2005-12-22 09:56:14 UTC 
(rev 12429)
+++ branches/SAMBA_4_0/source/libnet/libnet_join.c  2005-12-22 09:58:51 UTC 
(rev 12430)
@@ -834,7 +834,7 @@
od.in.sid = domain_sid;
od.out.domain_handle = d_handle;
 
-   /* 4. do a samr_OpenDomain to get a domain handle */
+   /* do a samr_OpenDomain to get a domain handle */
status = dcerpc_samr_OpenDomain(samr_pipe, tmp_ctx, od);   

if (!NT_STATUS_IS_OK(status)) {
r-out.error_string = talloc_asprintf(mem_ctx,
@@ -856,17 +856,10 @@
cu.out.rid= rid;
cu.out.access_granted = access_granted;
 
-   /* 4. do a samr_CreateUser2 to get an account handle, or an error */
+   /* do a samr_CreateUser2 to get an account handle, or an error */
cu_status = dcerpc_samr_CreateUser2(samr_pipe, tmp_ctx, cu);   

status = cu_status;
-   if (!NT_STATUS_IS_OK(status)  !NT_STATUS_EQUAL(status, 
NT_STATUS_USER_EXISTS)) {
-   r-out.error_string = talloc_asprintf(mem_ctx,
-   
samr_CreateUser2 for [%s] failed: %s\n,
-   
r-in.domain_name, nt_errstr(status));
-   talloc_free(tmp_ctx);
-   return status;
-
-   } else if (NT_STATUS_EQUAL(status, NT_STATUS_USER_EXISTS)) {
+   if (NT_STATUS_EQUAL(status, NT_STATUS_USER_EXISTS)) {
/* prepare samr_LookupNames */
ln.in.domain_handle = d_handle;
ln.in.num_names = 1;
@@ -943,6 +936,12 @@
return status;
}
}
+   } else if (!NT_STATUS_IS_OK(status)) {
+   r-out.error_string = talloc_asprintf(mem_ctx,
+ samr_CreateUser2 for 
[%s] failed: %s\n,
+ r-in.domain_name, 
nt_errstr(status));
+   talloc_free(tmp_ctx);
+   return status;
}
 
/* prepare samr_QueryUserInfo (get flags) */
@@ -1078,6 +1077,7 @@
return NT_STATUS_NO_MEMORY;
}
 
+   /* Finish out by pushing various bits of status data out for the caller 
to use */
r-out.join_password = password_str;
talloc_steal(mem_ctx, password_str);
 



svn commit: samba r12431 - in branches/SAMBA_4_0/source/lib: .

2005-12-22 Thread metze
Author: metze
Date: 2005-12-22 11:13:05 + (Thu, 22 Dec 2005)
New Revision: 12431

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

Log:
- the TIME_T_MAX needs to be a singed max value
- fix the calculation of TIME_T_MAX - nttime - TIME_T_MAX

metze
Modified:
   branches/SAMBA_4_0/source/lib/time.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/time.c
===
--- branches/SAMBA_4_0/source/lib/time.c2005-12-22 09:58:51 UTC (rev 
12430)
+++ branches/SAMBA_4_0/source/lib/time.c2005-12-22 11:13:05 UTC (rev 
12431)
@@ -23,13 +23,26 @@
 #include includes.h
 #include system/time.h
 
+#ifndef CHAR_BIT
+# define CHAR_BIT 8
+#endif
+
+/* The extra casts work around common compiler bugs.  */
+#define _TYPE_SIGNED(t) (! ((t) 0  (t) -1))
+/* The outer cast is needed to work around a bug in Cray C 5.0.3.0.
+   It is necessary at least when t == time_t.  */
+#define _TYPE_MINIMUM(t) ((t) (_TYPE_SIGNED (t) \
+ ? ~ (t) 0  (sizeof (t) * CHAR_BIT - 1) : (t) 0))
+#define _TYPE_MAXIMUM(t) ((t) (~ (t) 0 - _TYPE_MINIMUM (t)))
+ 
 #ifndef TIME_T_MIN
 #define TIME_T_MIN 0
 #endif
 #ifndef TIME_T_MAX
-#define TIME_T_MAX (~(time_t)0)
+#define TIME_T_MAX _TYPE_MAXIMUM (time_t)
 #endif
-
+ 
+ 
 /***
  External access to time_t_min and time_t_max.
 /
@@ -69,7 +82,7 @@
nt /= 1000*1000*10;
nt -= TIME_FIXUP_CONSTANT;
 
-   if (TIME_T_MIN = nt || nt = TIME_T_MAX) {
+   if (TIME_T_MIN  nt || nt  TIME_T_MAX) {
return 0;
}
 



svn commit: samba r12432 - in branches/SAMBA_4_0/source/rpc_server/samr: .

2005-12-22 Thread abartlet
Author: abartlet
Date: 2005-12-22 11:26:12 + (Thu, 22 Dec 2005)
New Revision: 12432

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

Log:
Re-indent and consistantly cancel the transaction.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c


Changeset:
Modified: branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c
===
--- branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c 2005-12-22 
11:13:05 UTC (rev 12431)
+++ branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c 2005-12-22 
11:26:12 UTC (rev 12432)
@@ -846,11 +846,18 @@
}
sid = samdb_result_dom_sid(mem_ctx, msgs[0], objectSid);
if (sid == NULL) {
+   ldb_transaction_cancel(d_state-sam_ctx);
return NT_STATUS_INTERNAL_DB_CORRUPTION;
}
 
+   /* Change the account control to be the correct account type.
+* The default is for a workstation account */
user_account_control = samdb_result_uint(msgs[0], userAccountControl, 
0);
-   user_account_control = (user_account_control  
~(UF_NORMAL_ACCOUNT|UF_INTERDOMAIN_TRUST_ACCOUNT|UF_WORKSTATION_TRUST_ACCOUNT|UF_SERVER_TRUST_ACCOUNT));
+   user_account_control = (user_account_control  
+   ~(UF_NORMAL_ACCOUNT |
+ UF_INTERDOMAIN_TRUST_ACCOUNT | 
+ UF_WORKSTATION_TRUST_ACCOUNT | 
+ UF_SERVER_TRUST_ACCOUNT));
user_account_control |= samdb_acb2uf(r-in.acct_flags);
 
talloc_free(msg);



svn commit: samba r12433 - in branches/SAMBA_4_0/source/lib: .

2005-12-22 Thread abartlet
Author: abartlet
Date: 2005-12-22 11:26:41 + (Thu, 22 Dec 2005)
New Revision: 12433

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

Log:
Add comment describing this function.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/lib/gendb.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/gendb.c
===
--- branches/SAMBA_4_0/source/lib/gendb.c   2005-12-22 11:26:12 UTC (rev 
12432)
+++ branches/SAMBA_4_0/source/lib/gendb.c   2005-12-22 11:26:41 UTC (rev 
12433)
@@ -94,6 +94,10 @@
return count;
 }
 
+/*
+  search the LDB for a specified record (by DN)
+*/
+
 int gendb_search_dn(struct ldb_context *ldb,
 TALLOC_CTX *mem_ctx, 
 const struct ldb_dn *dn,



svn commit: samba r12434 - in branches/SAMBA_4_0/source/wrepl_server: .

2005-12-22 Thread metze
Author: metze
Date: 2005-12-22 11:40:14 + (Thu, 22 Dec 2005)
New Revision: 12434

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

Log:
implement database scavenging, the only missing part is the verifying of active 
replicas
with the owning wins server, after the verify interval passes.

metze
Added:
   branches/SAMBA_4_0/source/wrepl_server/wrepl_scavenging.c
Modified:
   branches/SAMBA_4_0/source/wrepl_server/config.mk
   branches/SAMBA_4_0/source/wrepl_server/wrepl_periodic.c
   branches/SAMBA_4_0/source/wrepl_server/wrepl_server.c
   branches/SAMBA_4_0/source/wrepl_server/wrepl_server.h


Changeset:
Sorry, the patch is too large (517 lines) to include; please use WebSVN to see 
it!
WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=12434


svn commit: samba-web r878 - in trunk: .

2005-12-22 Thread jerry
Author: jerry
Date: 2005-12-22 17:14:59 + (Thu, 22 Dec 2005)
New Revision: 878

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

Log:
adding redhat and Ssue to the general announcement
Modified:
   trunk/index.html


Changeset:
Modified: trunk/index.html
===
--- trunk/index.html2005-12-22 00:26:42 UTC (rev 877)
+++ trunk/index.html2005-12-22 17:14:59 UTC (rev 878)
@@ -30,7 +30,7 @@
If you prefer to download just the diff from 3.0.20b to 3.0.21rc2, the 
a href=/samba/ftp/patch-3.0.20b-3.0.21.diffs.gzpatch file/a 
(a href=/samba/ftp/patch-3.0.20b-3.0.21.diffs.ascgpg signature/a) 
is also available.
-   Precompiled packages for Solaris and Fedora Core 4 are available in the
+   Precompiled packages for Solaris, Fedora Core 4, RedHat 9, and SuSE 
platforms are available in the
a href=/samba/ftp/Binary_Packages/Binary_Packages download 
area/a.  
Packages for other platforms will be available shortly./p
 



svn commit: samba r12435 - in branches/SAMBA_4_0/source/param: .

2005-12-22 Thread metze
Author: metze
Date: 2005-12-22 18:21:19 + (Thu, 22 Dec 2005)
New Revision: 12435

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

Log:
the max wins ttl is 6 days in windows and samba3

metze
Modified:
   branches/SAMBA_4_0/source/param/loadparm.c


Changeset:
Modified: branches/SAMBA_4_0/source/param/loadparm.c
===
--- branches/SAMBA_4_0/source/param/loadparm.c  2005-12-22 11:40:14 UTC (rev 
12434)
+++ branches/SAMBA_4_0/source/param/loadparm.c  2005-12-22 18:21:19 UTC (rev 
12435)
@@ -696,7 +696,7 @@
 
do_parameter(nt status support, True, NULL);
 
-   do_parameter(max wins ttl, 432000, NULL);
+   do_parameter(max wins ttl, 518400, NULL); /* 6 days */
do_parameter(min wins ttl, 10, NULL);
 
do_parameter(tls enabled, True, NULL);



svn commit: samba-docs r896 - in trunk/Samba3-HOWTO: .

2005-12-22 Thread jht
Author: jht
Date: 2005-12-22 19:40:24 + (Thu, 22 Dec 2005)
New Revision: 896

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

Log:
Added clarification regarding user rights and privileges.
Modified:
   trunk/Samba3-HOWTO/TOSHARG-RightsAndPriviliges.xml


Changeset:
Modified: trunk/Samba3-HOWTO/TOSHARG-RightsAndPriviliges.xml
===
--- trunk/Samba3-HOWTO/TOSHARG-RightsAndPriviliges.xml  2005-12-21 16:00:34 UTC 
(rev 895)
+++ trunk/Samba3-HOWTO/TOSHARG-RightsAndPriviliges.xml  2005-12-22 19:40:24 UTC 
(rev 896)
@@ -250,7 +250,10 @@
 indextermprimaryDomain Admins/primary/indexterm
 indextermprimaryrevoke privileges/primary/indexterm
 You must be connected as a member of the Domain Admins group to be able to 
grant or revoke privileges assigned
-to an account.  This capability is inherent to the Domain Admins group and is 
not configurable.
+to an account.  This capability is inherent to the Domain Admins group and is 
not configurable. There are no
+default rights and privileges, except the ability for a member of the Domain 
Admins group to assign them.
+This means that all administrative rights and privileges (other than the 
ability to assign them) must be 
+explicitly assigned, even for the Domain Admins group.
 /para/note
 
 para



svn commit: samba r12436 - in branches/SAMBA_4_0/source/auth/gensec: .

2005-12-22 Thread abartlet
Author: abartlet
Date: 2005-12-22 20:34:00 + (Thu, 22 Dec 2005)
New Revision: 12436

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

Log:
Fix Samba4 as a server to Win2000 for the domain join.

We still have Win2000 issues, but now we correctly handle the case
where NTLMSSP is chosen as an authentication mech, but the OID list
still contains Kerberos as a later option.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/auth/gensec/spnego.c


Changeset:
Modified: branches/SAMBA_4_0/source/auth/gensec/spnego.c
===
--- branches/SAMBA_4_0/source/auth/gensec/spnego.c  2005-12-22 18:21:19 UTC 
(rev 12435)
+++ branches/SAMBA_4_0/source/auth/gensec/spnego.c  2005-12-22 20:34:00 UTC 
(rev 12436)
@@ -35,7 +35,6 @@
 };
 
 struct spnego_state {
-   uint_t ref_count;
enum spnego_message_type expected_packet;
enum spnego_state_position state_position;
struct gensec_security *sub_sec_security;
@@ -319,46 +318,85 @@
  out_mem_ctx, 
  mechType,
  GENSEC_OID_SPNEGO);
-   for (i=0; all_sec  all_sec[i].op; i++) {
-   nt_status = gensec_subcontext_start(spnego_state,
-   gensec_security,
-   
spnego_state-sub_sec_security);
-   if (!NT_STATUS_IS_OK(nt_status)) {
-   return nt_status;
+   if (spnego_state-state_position == SPNEGO_SERVER_START) {
+   for (i=0; all_sec  all_sec[i].op; i++) {
+   /* optomisitic token */
+   if (strcmp(all_sec[i].oid, mechType[0]) == 0) {
+   nt_status = 
gensec_subcontext_start(spnego_state,
+   
gensec_security,
+   
spnego_state-sub_sec_security);
+   if (!NT_STATUS_IS_OK(nt_status)) {
+   return nt_status;
+   }
+   /* select the sub context */
+   nt_status = 
gensec_start_mech_by_ops(spnego_state-sub_sec_security,
+
all_sec[i].op);
+   if (!NT_STATUS_IS_OK(nt_status)) {
+   
talloc_free(spnego_state-sub_sec_security);
+   spnego_state-sub_sec_security = NULL;
+   break;
+   }
+   
+   nt_status = 
gensec_update(spnego_state-sub_sec_security,
+ out_mem_ctx, 
+ unwrapped_in,
+ unwrapped_out);
+   if (NT_STATUS_EQUAL(nt_status, 
NT_STATUS_INVALID_PARAMETER)) {
+   /* Pretend we never started it (lets 
the first run find some incompatible demand) */
+   
+   DEBUG(1, (SPNEGO(%s) NEG_TOKEN_INIT 
failed to parse: %s\n, 
+ 
spnego_state-sub_sec_security-ops-name, nt_errstr(nt_status)));
+   
talloc_free(spnego_state-sub_sec_security);
+   spnego_state-sub_sec_security = NULL;
+   break;
+   }
+
+   spnego_state-neg_oid = all_sec[i].oid;
+   }
}
-   /* select the sub context */
-   nt_status = 
gensec_start_mech_by_ops(spnego_state-sub_sec_security,
-all_sec[i].op);
-   if (!NT_STATUS_IS_OK(nt_status)) {
-   talloc_free(spnego_state-sub_sec_security);
-   spnego_state-sub_sec_security = NULL;
-   continue;
-   }
+   }
+   
+   if (!spnego_state-sub_sec_security) {
+   for (i=0; all_sec  all_sec[i].op; i++) {
+   nt_status = gensec_subcontext_start(spnego_state,
+   gensec_security,
+   
spnego_state-sub_sec_security);
+   if (!NT_STATUS_IS_OK(nt_status)) {
+   return nt_status;
+   }
+   /* select the sub context 

svn commit: samba r12437 - in branches/SAMBA_4_0/source/nbt_server: .

2005-12-22 Thread metze
Author: metze
Date: 2005-12-22 20:35:01 + (Thu, 22 Dec 2005)
New Revision: 12437

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

Log:
if the client gives us an unicast name query with recursion_desired,
it's a wins server request, even if it's a name of one of our interfaces

metze
Modified:
   branches/SAMBA_4_0/source/nbt_server/query.c


Changeset:
Modified: branches/SAMBA_4_0/source/nbt_server/query.c
===
--- branches/SAMBA_4_0/source/nbt_server/query.c2005-12-22 20:34:00 UTC 
(rev 12436)
+++ branches/SAMBA_4_0/source/nbt_server/query.c2005-12-22 20:35:01 UTC 
(rev 12437)
@@ -54,6 +54,12 @@
/* see if we have the requested name on this interface */
name = packet-questions[0].name;
 
+   if (!(packet-operation  NBT_FLAG_BROADCAST) 
+  (packet-operation  NBT_FLAG_RECURSION_DESIRED)) {
+   nbtd_winsserver_request(nbtsock, packet, src);
+   return;
+   }
+
iname = nbtd_find_iname(iface, name, 0);
 
if (iname == NULL) {
@@ -62,13 +68,6 @@
return;
}
 
-   /* if the name does not exist, then redirect to WINS
-  server if recursion has been asked for */
-   if (packet-operation  NBT_FLAG_RECURSION_DESIRED) {
-   nbtd_winsserver_request(nbtsock, packet, src);
-   return;
-   }
-
/* otherwise send a negative reply */
nbtd_negative_name_query_reply(nbtsock, packet, src);
return;



svn commit: samba r12438 - branches/SAMBA_3_0/source/groupdb trunk/source/groupdb

2005-12-22 Thread vlendec
Author: vlendec
Date: 2005-12-22 20:57:47 + (Thu, 22 Dec 2005)
New Revision: 12438

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

Log:
Remove an unused function
Modified:
   branches/SAMBA_3_0/source/groupdb/mapping.c
   trunk/source/groupdb/mapping.c


Changeset:
Modified: branches/SAMBA_3_0/source/groupdb/mapping.c
===
--- branches/SAMBA_3_0/source/groupdb/mapping.c 2005-12-22 20:35:01 UTC (rev 
12437)
+++ branches/SAMBA_3_0/source/groupdb/mapping.c 2005-12-22 20:57:47 UTC (rev 
12438)
@@ -887,35 +887,7 @@
return True;
 }
 
-
-
 /
-Returns a GROUP_MAP struct based on the gid.
-/
-BOOL get_group_from_gid(gid_t gid, GROUP_MAP *map)
-{
-   BOOL ret;
-
-   if(!init_group_mapping()) {
-   DEBUG(0,(failed to initialize group mapping\n));
-   return(False);
-   }
-
-   if ( getgrgid(gid) == NULL)
-   return False;
-
-   become_root();
-   ret = pdb_getgrgid(map, gid);
-   unbecome_root();
-   
-   if ( !ret ) {
-   return False;
-   }
-   
-   return True;
-}
-
-/
  Create a UNIX group on demand.
 /
 

Modified: trunk/source/groupdb/mapping.c
===
--- trunk/source/groupdb/mapping.c  2005-12-22 20:35:01 UTC (rev 12437)
+++ trunk/source/groupdb/mapping.c  2005-12-22 20:57:47 UTC (rev 12438)
@@ -887,35 +887,7 @@
return True;
 }
 
-
-
 /
-Returns a GROUP_MAP struct based on the gid.
-/
-BOOL get_group_from_gid(gid_t gid, GROUP_MAP *map)
-{
-   BOOL ret;
-
-   if(!init_group_mapping()) {
-   DEBUG(0,(failed to initialize group mapping\n));
-   return(False);
-   }
-
-   if ( getgrgid(gid) == NULL)
-   return False;
-
-   become_root();
-   ret = pdb_getgrgid(map, gid);
-   unbecome_root();
-   
-   if ( !ret ) {
-   return False;
-   }
-   
-   return True;
-}
-
-/
  Create a UNIX group on demand.
 /
 



svn commit: samba r12440 - in branches/SAMBA_4_0/source/nbt_server: . wins

2005-12-22 Thread metze
Author: metze
Date: 2005-12-22 22:03:25 + (Thu, 22 Dec 2005)
New Revision: 12440

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

Log:
fix crash bugs

metze
Modified:
   branches/SAMBA_4_0/source/nbt_server/interfaces.c
   branches/SAMBA_4_0/source/nbt_server/wins/winsclient.c


Changeset:
Modified: branches/SAMBA_4_0/source/nbt_server/interfaces.c
===
--- branches/SAMBA_4_0/source/nbt_server/interfaces.c   2005-12-22 21:43:16 UTC 
(rev 12439)
+++ branches/SAMBA_4_0/source/nbt_server/interfaces.c   2005-12-22 22:03:25 UTC 
(rev 12440)
@@ -279,6 +279,9 @@
if (ret[count] == NULL) goto failed;
count++;
}
+
+   if (ret == NULL) goto failed;
+
ret[count] = NULL;
return ret;
 

Modified: branches/SAMBA_4_0/source/nbt_server/wins/winsclient.c
===
--- branches/SAMBA_4_0/source/nbt_server/wins/winsclient.c  2005-12-22 
21:43:16 UTC (rev 12439)
+++ branches/SAMBA_4_0/source/nbt_server/wins/winsclient.c  2005-12-22 
22:03:25 UTC (rev 12440)
@@ -127,6 +127,11 @@
io.in.nb_flags= iname-nb_flags;
io.in.ttl = iname-ttl;
 
+   if (!io.in.addresses) {
+   talloc_free(tmp_ctx);
+   return;
+   }
+
c = nbt_name_refresh_wins_send(wins_socket(iface), io);
if (c == NULL) {
talloc_free(tmp_ctx);
@@ -218,6 +223,10 @@
io.in.nb_flags= iname-nb_flags;
io.in.ttl = iname-ttl;
 
+   if (!io.in.addresses) {
+   return;
+   }
+
c = nbt_name_register_wins_send(wins_socket(iface), io);
if (c == NULL) {
talloc_free(io.in.addresses);



svn commit: samba r12441 - branches/SAMBA_3_0/source/python trunk/source/python

2005-12-22 Thread gd
Author: gd
Date: 2005-12-22 22:15:52 + (Thu, 22 Dec 2005)
New Revision: 12441

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

Log:
Fix python build.

Guenther

Modified:
   branches/SAMBA_3_0/source/python/setup.py
   trunk/source/python/setup.py


Changeset:
Modified: branches/SAMBA_3_0/source/python/setup.py
===
--- branches/SAMBA_3_0/source/python/setup.py   2005-12-22 22:03:25 UTC (rev 
12440)
+++ branches/SAMBA_3_0/source/python/setup.py   2005-12-22 22:15:52 UTC (rev 
12441)
@@ -63,8 +63,10 @@
 next_is_flag = 0;
 elif lib == -Wl,-rpath:
 next_is_path = 1;
-elif lib[0:2] in (-l,-pthread):
+elif lib[0:2] in (-l):
 libraries.append(lib[2:])
+elif lib[0:8] in (-pthread):
+pass # Skip linker flags
 elif lib[0:2] == -L:
 library_dirs.append(lib[2:])
 elif lib[0:2] in (-W,-s):

Modified: trunk/source/python/setup.py
===
--- trunk/source/python/setup.py2005-12-22 22:03:25 UTC (rev 12440)
+++ trunk/source/python/setup.py2005-12-22 22:15:52 UTC (rev 12441)
@@ -63,8 +63,10 @@
 next_is_flag = 0;
 elif lib == -Wl,-rpath:
 next_is_path = 1;
-elif lib[0:2] in (-l,-pthread):
+elif lib[0:2] in (-l):
 libraries.append(lib[2:])
+elif lib[0:8] in (-pthread):
+pass # Skip linker flags
 elif lib[0:2] == -L:
 library_dirs.append(lib[2:])
 elif lib[0:2] in (-W,-s):



svn commit: samba r12442 - in branches/SAMBA_4_0/source/param: .

2005-12-22 Thread metze
Author: metze
Date: 2005-12-22 23:03:02 + (Thu, 22 Dec 2005)
New Revision: 12442

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

Log:
only set the wins server parameter if it's not set

metze
Modified:
   branches/SAMBA_4_0/source/param/loadparm.c


Changeset:
Modified: branches/SAMBA_4_0/source/param/loadparm.c
===
--- branches/SAMBA_4_0/source/param/loadparm.c  2005-12-22 22:15:52 UTC (rev 
12441)
+++ branches/SAMBA_4_0/source/param/loadparm.c  2005-12-22 23:03:02 UTC (rev 
12442)
@@ -2401,7 +2401,7 @@
 
bLoaded = True;
 
-   if (Globals.bWINSsupport) {
+   if (!Globals.szWINSservers  Globals.bWINSsupport) {
lp_do_parameter(-1, wins server, 127.0.0.1);
}
 



Build status as of Fri Dec 23 00:00:02 2005

2005-12-22 Thread build
URL: http://build.samba.org/

--- /home/build/master/cache/broken_results.txt.old 2005-12-22 
00:01:01.0 +
+++ /home/build/master/cache/broken_results.txt 2005-12-23 00:00:50.0 
+
@@ -1,17 +1,17 @@
-Build status as of Thu Dec 22 00:00:02 2005
+Build status as of Fri Dec 23 00:00:02 2005
 
 Build counts:
 Tree Total  Broken Panic 
 ccache   8  2  0 
-distcc   11 2  0 
-lorikeet-heimdal 13 9  0 
+distcc   10 2  0 
+lorikeet-heimdal 11 7  0 
 ppp  15 0  0 
 rsync30 2  0 
 samba2  0  0 
 samba-docs   0  0  0 
-samba4   31 13 2 
+samba4   31 14 2 
 samba_3_031 5  0 
-smb-build23 2  0 
-talloc   6  3  0 
+smb-build21 2  0 
+talloc   7  4  0 
 tdb  5  1  0