Re-2: [Samba] Samba 3.0.9 doesn't remove printjobs ?

2004-12-21 Thread t . pompe

 Original Message 
Subject: RE: [Samba] Samba 3.0.9 doesn't remove printjobs ? (21-Dez-2004 16:50)
From:[EMAIL PROTECTED]
To:  [EMAIL PROTECTED]

> Christian:
> 
I use SuSe 9.0 and the related Samba builds, so it seems not to be
a RH only problem.

Now the funny thing:
since about 2 days the problem doesn't arise any more!

The only related thing I did on the server was to modify
access rights and restart the CUPS server because of 
authorization problems of some users using the CUPS web frontend 
(but I don't understand the relationship of these things).

So, for me it works by now, but I don't know a general solution!
Greetings and Merry Christmas
Thomas


> The print jobs are working just fine, they simply seem to be hanging around
> in the client's queues.  Any idea when the updated packages will be out?
> 
> Kevin
> 
>  
> 
> > -Original Message-
> > From: Christian Merrill [mailto:[EMAIL PROTECTED] 
> > Sent: Tuesday, December 21, 2004 10:36 AM
> > To: Collins, Kevin
> > Cc: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
> > Subject: Re: [Samba] Samba 3.0.9 doesn't remove printjobs ?
> > 
> > Collins, Kevin wrote:
> > 
> > >We just upgraded to Samba 3.0.9 (RedHat Enterprise 3 packages) this 
> > >weekend and are now seeing similar issues on our workstations.  I do 
> > >not see any printing related errors in our logs however.  I 
> > do however 
> > >see these "backed up print queues" on every workstation.  We 
> > run a mix 
> > >of Windows 2000 (SP4) and XP Pro (SP2) machines.  So it appears, at 
> > >least in my case, that it's /not/ an XP-SP2 only issue.
> > >
> > >One other thing to note:
> > >
> > >We're in the midst of testing/deploying Debian Sarge servers 
> > to replace 
> > >the RedHat boxes.  On a whim this morning, I created a print server 
> > >using one of my already-in-place Debian machines.  To my 
> > amazement, the 
> > >printer that I have hanging off of the Debian box does /not/ 
> > have this issue.
> > >
> > >What's odd about this...both of the print servers are 
> > running version 3.0.9.
> > >I've used the supplied distro's packages and not built from 
> > source in 
> > >either case.  So it appears from my simple tests, that something is 
> > >different in the Debian build of Samba that cures this issue.
> > >
> > >A couple things that need to be said about this...I've only hung one 
> > >printer off of the Debian box.  In addition, I've only had two 
> > >workstations printing to it - one XP-SP2 and one W2k-SP4.  So it may 
> > >very well have something to do with load or other such 
> > factor.  But the 
> > >problem has not yet appeared with the Debian package.
> > >
> > >I hope that this gives someone on the development team some 
> > clue as to 
> > >the exact nature of the problem.
> > >
> > >I'll be available to answer any questions or fill any need for 
> > >information that I can.
> > >
> > >Kevin
> > >
> > >  
> > >
> > >>-Original Message-
> > >>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > >>Sent: Tuesday, December 14, 2004 12:25 PM
> > >>To: [EMAIL PROTECTED]
> > >>Subject: [Samba] Samba 3.0.9 doesn't remove printjobs ?
> > >>
> > >>Hello!
> > >>I'm using samba with CUPS printing (with raw passthru) for 
> > a long time 
> > >>now and it worked very well.
> > >>
> > >>But after upgrading my samba installation from 3.0.2 to 3.0.9, the 
> > >>printjobs (sent from XP Workstations) aren't removed from 
> > the joblist 
> > >>anymore.
> > >>Means: the job is printed correctly, but opening the 
> > printqueue on the 
> > >>XP machine still contains the job (not only mine, but jobs 
> > from every 
> > >>user who sent one).
> > >>When I now delete them manually, they're gone.
> > >>
> > >>Since I can't find any remaining SMB or CUPS spool-files, (thought 
> > >>about missing access rights for deletion) I don't know what to look 
> > >>for.
> > >>
> > >>The only error message I found is: 
> > >>tdb(/var/lib/samba/printing/Kyocera7000.tdb): rec_read bad magic 
> > >>0xd9fee666 at offset=26084 in /var/log/samba/smbd (but I got this 
> > >>message sometimes before the upgrade too ...)
> > >>
> > >>Thanks for some hints on that (2) problem(s) Thomas
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>--
> > >>To unsubscribe from this list go to the following URL and read the
> > >>instructions:  https://lists.samba.org/mailman/listinfo/samba
> > >>
> > >>
> > >>
> > Are you seeing a problem where windows clients are able to 
> > print but the print queues never clear?  Or are they not even 
> > printing?  If you are experiencing the former then this is a 
> > RH samba problem that should have been fixed by now -- please 
> > let me know.  It also warrants mentioning (per an earlier 
> > thread) that our 3.0.9 packages are likely going to be 
> > revised in a very short period of time to fix a kerberos 
> > related problem.
> > 
> > Christian
> > 


-- 
To unsubscribe from this list go to the following URL and read the
instruct

Re: [Samba] Samba 3.0.10 ADS setup issue

2004-12-21 Thread Thomas M. Skeren III
Jon Starbird wrote:
Follow up:
Sorry to have bothered all, after signing up to the list I was able to 
look at other archives but didn't do so until after I sent the email I 
found a post with the following link in it which had a helpful little 
piece in it.
I wouldn't use that.  It's gopt usefull stuff, but is wrong on several 
points, IMHO.  Try mine


http://www.kurai.org/~gdunn/samba3-ad/fbsd_samba.html
Hope all have a good holiday.
Thanks,
Jon

Jon Starbird wrote:
I am attempting to setup Samba 3.0.10 on a Windows 2000 Active 
Directory domain. The problem I'm having is getting Samba to 
configure correctly to get the Kerberos library.
I've gone through previous posts and have tried doing what others 
suggested but I still keep getting the error of:

"configure: error: libkrb5 is needed for Active Directory support"
The current configure params I'm using are:
"./configure --with-ads=yes --with-krb5=/usr/lib"
I've tried many different path entries, left out the path info with 
just the first option, nothing works I keep getting the exact error. 
It just never can find the Kerberos files.
I've tried installing Kerberos 5 via Pkg_add, I've also downloaded 
and compiled it, this latest attempt is with Heimdal 0.6.3 being 
complied from source.
Here is dump of a find for libkrb5* on the system:

./usr/local/lib/libkrb5.so.20
./usr/local/lib/libkrb5.so
./usr/local/lib/libkrb5.a
./usr/lib/libkrb5.a
./usr/lib/libkrb5_p.a
./usr/lib/libkrb5.so.3
./usr/lib/libkrb5.so
./usr/src/heimdal/heimdal-0.6.3/lib/krb5/.libs/libkrb5.lai
./usr/src/heimdal/heimdal-0.6.3/lib/krb5/.libs/libkrb5.a
./usr/src/heimdal/heimdal-0.6.3/lib/krb5/.libs/libkrb5.la
./usr/src/heimdal/heimdal-0.6.3/lib/krb5/libkrb5.la
./usr/src/krb5/krb5-1.3.6/src/lib/krb5/libkrb5.a
./usr/src/krb5/krb5-1.3.6/src/lib/libkrb5.a
./usr/heimdal/lib/libkrb5.la
./usr/heimdal/lib/libkrb5.a
I have pointed the configure param to all of the above, including the 
source ones (I'm getting desperate!).

So please someone help! Let me know if you need more info.
Many thanks in advance.
Jon



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


[Samba] Re: Can the logon script know username?

2004-12-21 Thread Michael Lueck
Jim C. wrote:
Type 'set' in any dos window to see the list of environment variables
for a windows user.  Pay particular attention to %USERNAME%.
It is critical to run the 'set' to view available vars in the login script as 
variables present in "any dos window" might not be present at the time or in 
the context the login script runs in...
--
Michael Lueck
Lueck Data Systems
Remove the upper case letters NOSPAM to contact me directly.
--
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.10 ADS setup issue

2004-12-21 Thread Jon Starbird
Follow up:
Sorry to have bothered all, after signing up to the list I was able to 
look at other archives but didn't do so until after I sent the email I 
found a post with the following link in it which had a helpful little 
piece in it.

http://www.kurai.org/~gdunn/samba3-ad/fbsd_samba.html
Hope all have a good holiday.
Thanks,
Jon

Jon Starbird wrote:
I am attempting to setup Samba 3.0.10 on a Windows 2000 Active Directory 
domain. The problem I'm having is getting Samba to configure correctly 
to get the Kerberos library.
I've gone through previous posts and have tried doing what others 
suggested but I still keep getting the error of:

"configure: error: libkrb5 is needed for Active Directory support"
The current configure params I'm using are:
"./configure --with-ads=yes --with-krb5=/usr/lib"
I've tried many different path entries, left out the path info with just 
the first option, nothing works I keep getting the exact error. It just 
never can find the Kerberos files.
I've tried installing Kerberos 5 via Pkg_add, I've also downloaded and 
compiled it, this latest attempt is with Heimdal 0.6.3 being complied 
from source.
Here is dump of a find for libkrb5* on the system:

./usr/local/lib/libkrb5.so.20
./usr/local/lib/libkrb5.so
./usr/local/lib/libkrb5.a
./usr/lib/libkrb5.a
./usr/lib/libkrb5_p.a
./usr/lib/libkrb5.so.3
./usr/lib/libkrb5.so
./usr/src/heimdal/heimdal-0.6.3/lib/krb5/.libs/libkrb5.lai
./usr/src/heimdal/heimdal-0.6.3/lib/krb5/.libs/libkrb5.a
./usr/src/heimdal/heimdal-0.6.3/lib/krb5/.libs/libkrb5.la
./usr/src/heimdal/heimdal-0.6.3/lib/krb5/libkrb5.la
./usr/src/krb5/krb5-1.3.6/src/lib/krb5/libkrb5.a
./usr/src/krb5/krb5-1.3.6/src/lib/libkrb5.a
./usr/heimdal/lib/libkrb5.la
./usr/heimdal/lib/libkrb5.a
I have pointed the configure param to all of the above, including the 
source ones (I'm getting desperate!).

So please someone help! Let me know if you need more info.
Many thanks in advance.
Jon

--
-
Jon Starbird
Streamologist
Stream Theory
3350 Scott Blvd.
Bldg. 24
Santa Clara, CA 95054
Phone:  408-790-2913 Ext. 1069
Fax:408-790-2918
http://www.streamtheory.com
Software, suddenly simple.
-
--
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.10 ADS setup issue

2004-12-21 Thread Jon Starbird
I am attempting to setup Samba 3.0.10 on a Windows 2000 Active Directory 
domain. The problem I'm having is getting Samba to configure correctly 
to get the Kerberos library.
I've gone through previous posts and have tried doing what others 
suggested but I still keep getting the error of:

"configure: error: libkrb5 is needed for Active Directory support"
The current configure params I'm using are:
"./configure --with-ads=yes --with-krb5=/usr/lib"
I've tried many different path entries, left out the path info with just 
the first option, nothing works I keep getting the exact error. It just 
never can find the Kerberos files.
I've tried installing Kerberos 5 via Pkg_add, I've also downloaded and 
compiled it, this latest attempt is with Heimdal 0.6.3 being complied 
from source.
Here is dump of a find for libkrb5* on the system:

./usr/local/lib/libkrb5.so.20
./usr/local/lib/libkrb5.so
./usr/local/lib/libkrb5.a
./usr/lib/libkrb5.a
./usr/lib/libkrb5_p.a
./usr/lib/libkrb5.so.3
./usr/lib/libkrb5.so
./usr/src/heimdal/heimdal-0.6.3/lib/krb5/.libs/libkrb5.lai
./usr/src/heimdal/heimdal-0.6.3/lib/krb5/.libs/libkrb5.a
./usr/src/heimdal/heimdal-0.6.3/lib/krb5/.libs/libkrb5.la
./usr/src/heimdal/heimdal-0.6.3/lib/krb5/libkrb5.la
./usr/src/krb5/krb5-1.3.6/src/lib/krb5/libkrb5.a
./usr/src/krb5/krb5-1.3.6/src/lib/libkrb5.a
./usr/heimdal/lib/libkrb5.la
./usr/heimdal/lib/libkrb5.a
I have pointed the configure param to all of the above, including the 
source ones (I'm getting desperate!).

So please someone help! Let me know if you need more info.
Many thanks in advance.
Jon

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


Re: [Samba] write performance of Win xpp sp2

2004-12-21 Thread Jeremy Allison
On Tue, Dec 21, 2004 at 12:19:38AM -0500, John Ward wrote:
> Gentlemen,
> 
> I have noticed (!) an unbelievable drop in performance with
> Windows xp pro sp2 systems, compared to sp1.  The performance 
> I have noticed is 122 seconds to write 65,000 indexed records
> to a dBase type file under sp2 and the same job in sp1 is 
> 7 seconds!!  I can't believe that this is a 'normal' feature
> of Windows sp2 software when working with Samba.  Is it possible that 
> Microsoft has made changes that make Samba under Linux totaly uncompetitive.  
> 
> ps. the performance drop is still there using the 'copy' 
> command from the command prompt.  The file in question is 8.1 Meg, large but 
> not unreasonable.  ANY help would be appreciated.

Can you get an ethereal trace of an XP-SP1 copy and the same
copy done to the same Samba server under XP-SP2. We can then
look at the difference. What Samba server version (and what
platform please).

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


[Samba] 2.2.8a/2.2.12, security = domain and W2K3 PDC

2004-12-21 Thread Bruce Hobbs
When there was a W2K DC in our network we were able to join the domain, but
now that all DCs have been converted to W2K3 we're getting the following
message when we try to use smbpasswd to join a new machine to the domain:

Error connecting to x - NT_STATUS_ACCESS_DENIED
Unable to join domain x

I just noticed in the Samba-HOWTO-Collection, chapter 6, "Common Errors"
section, these sentences under the "I Can't Join a Windows 2003 PDC"
explanation:

"Windows 2003 requires SMB signing. Client side SMB signing has been
implemented in Samba-3.0."

Is there any way for a 2.2.8a/2.2.12 client to join a domain whose domain
controllers are all W2K3?
-- 
Bruce Hobbs, CCP, CDP  Engineered Software  Office:  626-570-8028
Partner856 N Monterey StCell:626-278-0273
   Alhambra, CA 91801-1574  FAX: 208-474-0732
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Write performance of Win XP Pro sp2 & Samba

2004-12-21 Thread John Ward
 I have a file testing program that creates, writes and indexes a file on the 
server from the Windows client.

 On xpp sp1 the program takes 7 sec to write file and 8 sec to read the indexed 
file.

 After telling the Firewall to go away I can get the following numbers from xpp 
 sp2;

 29..30..45 (tested multiple times) sec to write the file
  and 7..8 sec to read the file. Any ideas on why the 'best'
 performance of sp2 is 4+ times worse than Windows XP Pro SP1?  I really don't 
want  to ship a system with this type of performance degradation. 

As a side note; initally  the file write performance was in the  120 sec range, 
17 times longer!! Why hasn't this been reported and/or what is strange about my 
systems?

 ps. the Client hardware AMD1800+ is identical on the SP1 and SP2 machines.

 Any help on this would be very appreciated.

 John.








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


Re: [Samba] how do I export nt2k policy to a file?

2004-12-21 Thread André Lemos
http://www.mamiyami.com/document/samba/man/PolicyMgmt.html

On Ter, 2004-12-21 at 16:53 -0500, Greg wrote:
> We migrated our entire domain over to a samba3 domain,  now I would like 
> to apply a few policies to the network.
> 
> I've been reading a few migration papers,  most mention about a .POL 
> file which is created upon exporting policy keys on a wintel machine. 
> Using gpedit I don't see an export option.  What tool should I use for this?
> 
> 
> greg
> 
-- 
Netiquette -> http://www.ietf.org/rfc/rfc1855.txt


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

[Samba] how do I export nt2k policy to a file?

2004-12-21 Thread Greg
We migrated our entire domain over to a samba3 domain,  now I would like 
to apply a few policies to the network.

I've been reading a few migration papers,  most mention about a .POL 
file which is created upon exporting policy keys on a wintel machine. 
Using gpedit I don't see an export option.  What tool should I use for this?

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


[Samba] smbmount of XP share results in Permission Denied

2004-12-21 Thread Aaron Smith
Mark Hessling posted about this problem earlier but I (and he) have not
seen any reply to his original post.
I was running Samba 3.0.0 on a Redhat 7.3 server for quite a while and
then recently upgraded to RHEL 3.0 and Samba 3.0.9 (3.0.10 most
recently).  Before the upgrade, I was able to, from the Samba server,
mount shares from an XP box.  After the upgrade, the mount succeeds (it
shows up the list of mounts, and the log file shows successful
authentication and no errors that I can see), but the mount point
becomes completely invisible and if I attempt to ls the mounted
directory, I get permission denied.  I can, however, do an umount
command and it completes successfully.
I'm mounting the share as root.  The Samba server is acting as a PDC
for a domain and uses LDAP as the backend.  The XP machine operates in
the domain flawlessly.  I can log in, mount Samba shares, etc.  Further,
from the Samba server, I can use smbclient to log in to the XP machine
and browse shares, download files, etc.  
Whatever change is causing this was introduced in the move from 3.0.2a
to 3.0.3.  I compiled the source from each Samba version from 3.0.0 to
3.0.3 and then copied the smbmount binary from each in turn into
/usr/sbin and then tried a mount.  If the smbmount binary came from any
Samba version prior to 3.0.3 the mount worked correctly and I could
access it normally.  If I use the binary from 3.0.3 (or 3.0.9 or 3.0.10
which is the version of samba that all my other binaries hail from) then
I get the permission errors.
So the questions now are:
1.) What changed in the behavior of smbmount between 3.0.2a and 3.0.3
to cause this issue?
2.) What can be done to fix it other than using an old smbmount binary?

-- 
-
"The pain of war could not exceed, the woe 
of aftermath.
The drums will shake the castle walls
The ringwraiths ride in black"
-Led Zeppelin "The Battle of Evermoore"


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


Re: [Samba] NTLM_AUTH "require-membership-of" local groups?

2004-12-21 Thread Andrew Bartlett
On Wed, 2004-12-15 at 10:52 -0500, Sorisio, Chris wrote:
> I'm running Samba 3.0.9 on Fedora Core.
> 
> I can authenticate against global groups via ntlm_auth, but authentication
> against local groups fails.
> 
> Our network consists of multiple NT 4.0 domains.
> 
> 1.  Can ntlm_auth authenticate against local groups, or is it limited to
> global groups?

Currently global groups.  I never got my head around the implementation
of local groups in winbindd to hook them in properly.  It should not be
hard, but it just needs to be done.  (We just need to expand the group
list before we start the required-membership check).

> 2.  Can multiple global groups be designated as arguments to
> 'require-membership-of' in an 'OR' fashion?  (If the user is a member of any
> of the listed groups, the check succeeds.

No, it's a one-group wonder.  Perhaps you really want a squid ACL?  (I
presume this is for squid).

Andrew Bartlett

-- 
Andrew Bartlett <[EMAIL PROTECTED]>


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

[Samba] upgrade from 2.2.8 to 3.0.10

2004-12-21 Thread John Russell
I just upgraded from samba 2.2.8 to 3.0.10 on RedHat 9.  I am using the
exact same
smb.conf file as before and now I can connect to the server from linux
clients and most windows clients, but _not_ from Win2003 Server
Clients.  

I get alternating messages of:


---
\\hostname is not accessible. You might not have permission to use
this network resource. Contanct the administrator of this server to
find out if you have access permissions.

The request is not supported
---

Windows cannot find \\hostname\sharename. Check the spelling and try
again...

--

depending on whether I try to use just \\hostname or \\hostname
\sharename.

Does anyone know something special about W2k3 that would make it not
be able to access samba 3 shares, while older windows and samba on
linux can?  Thanks for the help.


John

My smb.conf is attached for reference.  Thanks.
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash) 
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors. 
#
#=== Global Settings =
[global]

# workgroup = NT-Domain-Name or Workgroup-Name
   #workgroup = CISCO_ENG
   workgroup = CISCO_ENG

# server string is the equivalent of the NT Description field
   server string = berlioz

#kernel oplocks = no
# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
   hosts allow = 127. 161.44. 10.86.

# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
#   printcap name = /etc/printcap
#   load printers = yes

# It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx
;   printing = bsd

# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user "nobody" is used
;  guest account = pcguest

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

# Put a capping on the size of the log files (in Kb).
   max log size = 50

# Security mode. Most people will want user level security. See
# security_level.txt for details.
   security = server
# Use password server option only with security = server
   password server = bxb-filer02a

# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
;  password level = 8
;  username level = 8

# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
#  encrypt passwords = yes
#  smb passwd file = /etc/samba/smbpasswd

# The following are needed to allow password changing from Windows to
# update the Linux sytsem password also.
# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
# NOTE2: You do NOT need these to allow workstations to change only
#the encrypted SMB passwords. They allow the Unix password
#to be kept in sync with the SMB password.
;  unix password sync = Yes
;  passwd program = /usr/bin/passwd %u
;  passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n 
*passwd:*all*authentication*tokens*updated*successfully*

# Unix users can map to different SMB User names
;  username map = /etc/samba/smbusers

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

# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
;   interfaces = 192.168.12.2/24 192.168.13.2/24 

# Configure remote browse list synchronisation here
#  request announcement to, or browse list sync from:
#   a specific host or from / to a whole subnet (see below)
;   remote browse sync = 192.168.3.25 192.168.5.255
# Cause this host to

[Samba] WIN 98 to Linux Drive Mapping problem

2004-12-21 Thread Stephen Miller
I'm attempting to set up a WIN 98 client with a Linux RedHat 9 server, but 
can't get the Win PC to map a drive. It refuses to accept the server name/path. 
Have read all I can find on the subject & tried DNS, WINS, various naming 
schemes  etc but no luck. System pings OK both directions using the specified 
addresses. Working the PWD encryption angle at present. Any suggestions would 
be appreciated.
Steve
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Winbind problem revisited

2004-12-21 Thread Brian Kesting
Okay,

 

I started over from scratch with my samba server rebuild, but I am still
getting some weird issues.  Here are my config files of importance:

 

--/etc/samba/smb.conf

# Samba Configuration File

[global]

workgroup = WAYNE

realm = WAYNE.LOCAL

server string = Samba Server

security = ADS

password server = police.wayne.local

encrypt passwords = yes

idmap uid = 1-2

idmap gid = 1-2

template shell = /bin/bash

winbind separator = +

client signing = no

client use spnego = no

 

[users]

comment = Users on Linux

path = /home/WAYNE

read only = No

browseable = Yes

 

---/etc/nsswitch.conf-

passwd: compat winbind

group:  files dns compat winbind

shadow: files winbind

 

hosts:  dns winbind files lwres

networks:   files dns

 

services:   files

protocols:  files

rpc:files

ethers: files

netmasks:   files

netgroup:   files

publickey:  files

 

bootparams: files

automount:  files winbind nis

aliases:files winbind

 

/etc/pam.d/login--

#%PAM-1.0

auth requisite  pam_unix2.sonullok #set_secrpc

auth required   pam_securetty.so

auth required   pam_nologin.so

auth sufficient pam_winbind.so  use_first_pass use_authtok

#authrequired   pam_homecheck.so

auth required   pam_env.so

auth required   pam_mail.so

account  required   pam_unix2.so

account  sufficient pam_winbind.so  use_first_pass use_authtok

password required   pam_pwcheck.so  nullok

password required   pam_unix2.sonullok use_first_pass
use_authtok

password sufficient pam_winbind.so  use_first_pass use_authtok

session  required   pam_unix2.sonone # debug or trace

session  sufficient pam_winbind.so  use_first_pass use_authtok

session  required   pam_limits.so

session  required   pam_resmgr.so

/etc/krb5.conf---

[libdefaults]

default_realm = WAYNE.LOCAL

clockskew = 300

dns_lookup_realm = false

dns_lookup_kdc = false

default_etypes = des-cbc-crc des-cbc-md5

default_etypes_des = des-cbc-crc des-cbc-md5

 

[realms]

WAYNE.LOCAL = {

kdc = 192.168.1.11

default_domain = WAYNE.LOCAL

admin_server = police.wayne.local

kpasswd_server = police.wayne.local

}

 

[domain_realm]

.WAYNE.LOCAL = WAYNE.LOCAL

WAYNE.LOCAL = WAYNE.LOCAL

.wayne.local = WAYNE.LOCAL

wayne.local = WAYNE.LOCAL

 

[logging]

default = SYSLOG:NOTICE:DAEMON

kdc = FILE:/var/log/kdc.log

kadmind = FILE:/var/log/kadmind.log

 

[appdefaults]

pam = {

ticket_lifetime = 1d

renew_lifetime = 1d

forwardable = true

proxiable = false

retain_after_close = false

minimum_uid = 0

debug = false

 

I have joined the AD successfully and have gained a Kerberos ticket.  I can
resolve windows user names and groups with the following conditions:  If I
leave the "default_etypes" lines in krb5.conf, then I get this in my
/var/log/samba/log.smbd file and I am unable to access the samba shares:

[2004/12/21 13:32:13, 1] smbd/sesssetup.c:reply_spnego_kerberos(173)

  Failed to verify incoming ticket!

[2004/12/21 13:32:23, 1] smbd/sesssetup.c:reply_spnego_kerberos(173)

  Failed to verify incoming ticket!

[2004/12/21 13:32:33, 1] smbd/sesssetup.c:reply_spnego_kerberos(173)

  Failed to verify incoming ticket!

 

If I comment the etype lines out, the smb log file looks good and I can
access samba shares, but the /var/log/samba/log.winbind looks like this:

 

[2004/12/21 12:59:01, 1] nsswitch/winbindd_group.c:winbindd_getgroups(1059)

  user 'root' does not exist

[2004/12/21 13:00:01, 1] nsswitch/winbindd_group.c:winbindd_getgroups(1059)

  user 'root' does not exist

[2004/12/21 13:32:04, 1] libsmb/clikrb5.c:ads_krb5_mk_req(313)

  krb5_cc_get_principal failed (No such file or directory)

 

I also had this show up in /var/log/samba/log.winbind:  

[2004/12/21 13:26:26, 1] libads/ldap_utils.c:ads_do_search_retry(77)

  ads_search_retry: failed to reconnect (Invalid credentials)

 

Any interpretations?

 

Thanks.

Brian 

 

 

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


[Samba] Problem with network share

2004-12-21 Thread Fabio Viero
Hi
I have the following problem. I had just added a windows XP Pro machine to a 
domain. This process was just fine, but when a user logs on the system 
creates the needed shares they are:
H: for homes (default, i think)
Other 2 shares for apps needed
and Z: share also mapped to the home folder.

My problem is Z. Beyond being "re-shared" this Z drive is used by a network 
application of vital importance. The use of startup system on the machine 
itself is not a solution. I just want this Z drive to be gone...so can map 
it to the correct place. This drive IS NOT being mapped by any logon scripts 
on the samba server neither on the WIN XP machine.

Thanks in advance for any help.
Cheers. 

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


Re: [Samba] File growth behavior of Mac OS X and WinXP

2004-12-21 Thread Victor Moran
Jeremy,

Thanks for your response.  Your right, the watch system is missing the
ability to deal with files that are written from the end and then
filled.  It was developed in-house.  I was hoping to find a way to
deal with this missing feature, without asking for new code since the
development group is overworked.  I'll stop looking now, I think your
response counts as hearing it from the horses' mouth.  :)

Thanks again for your response and for all your work on Samba.

Victor.





On Tue, 21 Dec 2004 10:23:42 -0800, Jeremy Allison <[EMAIL PROTECTED]> wrote:
> On Tue, Dec 21, 2004 at 01:09:59PM -0500, Victor Moran wrote:
> > Hello List,
> >
> > I've searched the internet and I haven't been able to figure this out.
> > I hope someone here can point me in the right direction.
> >
> > I have a MacOSX 10.3 machine and a WinXP machine that are being used to
> > produce large video clips (@1gig).  After they are rendered and ready
> > for playback, they are copied to the playout machines using a system
> > that uses watch folders shared out over samba.
> >
> > The watch folder works based on file size.  For example, 40 seconds
> > after a file's filesize stops growing, the system assumes the file is
> > complete and starts moving the file onto the playout device.
> >
> > The problem I've found is that windows xp and mac osx (10.3 at least)
> > both cause samba to allocate the entire file size at the start of the
> > transfer.  For large files this causes a problem since the file is not
> > finished writing to the smb share when the playout transfer system
> > takes the file and tries to move it and then delete it.
> >
> > Any help on how to change OSX and WinXP's behavior or how to keep samba
> > from allocating disk space at the start of a write would be very
> > appreciated.
> 
> If the client writes at the end of the file, and then fills in the gaps
> then there is nothing we can do to fix this in Samba. Who wrote the watch
> system ? Pre-allocating a known filesize by writing at the end then filling
> in the blank is a common idiom in file transfers, I would expect a watch
> system to deal with this.
> 
> Jeremy.
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Slow login using Samba 3.09 but Samba 2.27 works ok.

2004-12-21 Thread Janis Koluzs
Hello!

We have Mandrake Linux 9.0 system with Samba v2.27 serving as a PDC
for ~400 users. (Hardware: P1800, 256Mb). The performance is
acceptable- user can log in in approx. 5 sec. (Includes copying ~700Kb
roaming profile).
Now we've got new server (P3000HT,512Mb,SATA) with Mandrake Linux 10.1
community and Samba 3.09 (compiled from sources). And guess what? Now
user on the *same* computer can log in only in 20(!) sec.

Here's what log says using log level=1:

[2004/12/21 15:38:34, 1] smbd/service.c:make_connection_snum(648)
  kl2-02 (192.168.0.32) connect to service profiles initially as user
test123 (uid=943, gid=503) (pid 9329)
[2004/12/21 15:38:45, 1] smbd/service.c:make_connection_snum(648)
  kl2-02 (192.168.0.32) connect to service profiles initially as user
test123 (uid=943, gid=503) (pid 9329)
[2004/12/21 15:39:03, 1] smbd/service.c:make_connection_snum(648)
  kl2-02 (192.168.0.32) connect to service netlogon initially as user
test123 (uid=943, gid=503) (pid 9329)

Note the time difference and the fact that samba connects to profiles *twice*.

And now here's a log using log level=10:

[2004/12/21 15:49:22, 4] smbd/trans2.c:call_trans2findfirst(1523)
  SMBtrans2 mask=test123 directory=./ dirtype=22 numentries=1
[2004/12/21 15:49:38, 10] lib/util_sock.c:read_smb_length_return_keepalive(505)
  got smb length of 102

Note again the time difference.

Here's Samba 3.09 config file:

[global]
log file = /var/log/samba/log.%m
load printers = yes
smb passwd file = /etc/samba/smbpasswd
passwd chat = *new*password* %n\n *new*password %n\n *successfully*
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
logon drive = N:
domain master = Yes
map to guest = bad user
encrypt passwords = yes
passwd program = /usr/bin/passwd %u
printer admin = @adm
dns proxy = no 
netbios name = serv3
server string = Samba Server %v
printing = cups
unix password sync = Yes
workgroup = MDKGROUP
logon path = \\%N\profiles\%U
debug level = 1
os level = 20
printcap name = lpstat
security = user
add machine script = /usr/sbin/useradd -d /dev/null -g  machines -c
'Machine account' -s /bin/false -M %u
max log size = 5
domain logons = Yes
log level = 1

[homes]
comment = Home Directories
browseable = no
writable = yes   
create mask = 0700
directory mask = 0700
valid users = %S
[profiles]
path = /home/samba/profiles
browseable = no
guest ok = yes
writable = yes
create mask = 0700
directory mask = 0700
profile acls = yes
csc policy = disable

and here's Samba 2.27 config:

[global]
workgroup = COMPANY
netbios name = SERV2
server string = Samba Server %v
encrypt passwords = Yes
pam password change = Yes
unix password sync = Yes
log file = /var/log/samba/log.%m
max log size = 500
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
printcap name = lpstat
add user script = /usr/sbin/useradd -d /dev/null -g  machines -c
'Machine account' -s /bin/false -M %u
logon path = \\%N\profiles\%U
logon drive = N:
domain logons = Yes
os level = 64
domain master = Yes
dns proxy = No
hosts allow = 192.168.0.,127.
printing = cups
[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0700
directory mask = 0700
browseable = No
[profiles]
path = /home/samba/profiles
read only = No
create mask = 0700
directory mask = 0700
browseable = No

On the whole new config is based on the old one, so I don't think it's
a config issue. I just added few lines ( like: profile acls = yes, csc
policy = disable) after googling on this issue but with no luck.
Any ideas would be appreciated.
Janis.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] File growth behavior of Mac OS X and WinXP

2004-12-21 Thread Jeremy Allison
On Tue, Dec 21, 2004 at 01:09:59PM -0500, Victor Moran wrote:
> Hello List,
> 
> I've searched the internet and I haven't been able to figure this out.
> I hope someone here can point me in the right direction.
> 
> I have a MacOSX 10.3 machine and a WinXP machine that are being used to
> produce large video clips (@1gig).  After they are rendered and ready
> for playback, they are copied to the playout machines using a system
> that uses watch folders shared out over samba.
> 
> The watch folder works based on file size.  For example, 40 seconds
> after a file's filesize stops growing, the system assumes the file is
> complete and starts moving the file onto the playout device.
> 
> The problem I've found is that windows xp and mac osx (10.3 at least)
> both cause samba to allocate the entire file size at the start of the
> transfer.  For large files this causes a problem since the file is not
> finished writing to the smb share when the playout transfer system
> takes the file and tries to move it and then delete it.
> 
> Any help on how to change OSX and WinXP's behavior or how to keep samba
> from allocating disk space at the start of a write would be very
> appreciated.

If the client writes at the end of the file, and then fills in the gaps
then there is nothing we can do to fix this in Samba. Who wrote the watch
system ? Pre-allocating a known filesize by writing at the end then filling
in the blank is a common idiom in file transfers, I would expect a watch
system to deal with this.

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


[Samba] File growth behavior of Mac OS X and WinXP

2004-12-21 Thread Victor Moran
Hello List,

I've searched the internet and I haven't been able to figure this out.
I hope someone here can point me in the right direction.

I have a MacOSX 10.3 machine and a WinXP machine that are being used to
produce large video clips (@1gig).  After they are rendered and ready
for playback, they are copied to the playout machines using a system
that uses watch folders shared out over samba.

The watch folder works based on file size.  For example, 40 seconds
after a file's filesize stops growing, the system assumes the file is
complete and starts moving the file onto the playout device.

The problem I've found is that windows xp and mac osx (10.3 at least)
both cause samba to allocate the entire file size at the start of the
transfer.  For large files this causes a problem since the file is not
finished writing to the smb share when the playout transfer system
takes the file and tries to move it and then delete it.

Any help on how to change OSX and WinXP's behavior or how to keep samba
from allocating disk space at the start of a write would be very
appreciated.

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


[Samba] Trying to join AD but no luck.

2004-12-21 Thread Kontogiannis Theophanis
Hello all
I have Solaris 9
Samba 3.0.10
 
I compiled with ads.
 
Now I try to join to the ADS and I get:
 
bash-2.05# ./net ads join -U username
username's password:
 
[2004/12/21 18:39:23, 0] libads/ldap.c:ads_add_machine_acct(1475)
  Warning: ads_set_machine_sd: Unexpected information received
 
And it just freezes for ever! 
 
Since I have access to the ADS I can see that after 30 seconds the
account has been created with a role of Domain Controller
 
If I press CTRL-C and do the whole thing again I get "the account
exists... modifying" and again freezes for ever.
 
Am I doing something wrong?
 
Thank you all for your time.
 
Theophanis Kontogiannis
University of the Aegean - NOC
Greece
 
 
 
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Shares With Spaces

2004-12-21 Thread Jim C.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
|> You've probably tried this but what about:
|> //share/with\ spaces
|>
|> Jim C.
|>
| Yes, I've tried it too but it didn't recognize the line where i put the
| share
What about //share/with%20spaces ?
- --
- -
| I can be reached on the following Instant Messenger services: |
|---|
| MSN: j_c_llings @ hotmail.com  AIM: WyteLi0n  ICQ: 123291844  |
|---|
| Y!: j_c_llingsJabber: jcllings @ njs.netlab.cz|
- -
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFByFw857L0B7uXm9oRAidSAJ0R6T9HYZ+BL6K2QmRTXWv/cftn9wCff95U
cgniQxi6zfIF+0QB1sEMNu8=
=0Gzy
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Domain password server not available

2004-12-21 Thread john . debella
We continue to see the "password server not available" messages on our 
servers. I'm including a portion of one of the Samba client logs below. 
Has anyone else seen anything like this?

-John

lifelaw2.log:[2004/12/20 14:22:55, 0] 
smbd/password.c:connect_to_domain_password_server(1290)
lifelaw2.log:  connect_to_password_server: machine GALA rejected the 
NetBIOS session request. Error was : Call timed out: server did not 
respond after 2 milliseconds.
lifelaw2.log:[2004/12/20 14:23:16, 0] 
smbd/password.c:connect_to_domain_password_server(1300)
lifelaw2.log:  connect_to_domain_password_server: machine OZONE rejected 
the negotiate protocol. Error was : Call timed out: server did not respond 
after 2 milliseconds.
lifelaw2.log:[2004/12/20 14:23:36, 0] 
smbd/password.c:connect_to_domain_password_server(1300)
lifelaw2.log:  connect_to_domain_password_server: machine DYNAMO rejected 
the negotiate protocol. Error was : Call timed out: server did not respond 
after 2 milliseconds.
lifelaw2.log:[2004/12/20 14:24:17, 0] 
smbd/password.c:connect_to_domain_password_server(1290)
lifelaw2.log:  connect_to_password_server: machine GALA rejected the 
NetBIOS session request. Error was : Call timed out: server did not 
respond after 2 milliseconds.
lifelaw2.log:[2004/12/20 14:24:59, 0] 
smbd/password.c:connect_to_domain_password_server(1290)
lifelaw2.log:  connect_to_password_server: machine GALA rejected the 
NetBIOS session request. Error was : Call timed out: server did not 
respond after 2 milliseconds.






John DeBella
12/20/2004 09:28 AM

 
To: [EMAIL PROTECTED]
cc: 
Subject:Domain password server not available

We are running samba 3.0.7-1.3E.1in an AD domain which is running a PDC 
emulator. The samba servers are configured with "security = domain" and on 
some servers the password server is specified while on others we are using 
*.

We very frequently see the following messages in the log files of the 
servers.

"domain_client_validate: Domain password server not available"

Typically we can count on an smbd process to panic at the same time.

We've spoken to the admins of the PDC emulators and they claim that the 
servers are ok. 

Has anyone else seen this? Any ideas what would cause this?

-John


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


Re: [Samba] Samba + OpenLDAP + Automount question

2004-12-21 Thread Prakash Velayutham
Thanks Peter.
That is an option. I was wondering if there is a way to make Samba 
interact with the autofs code to start autofs during a user login 
process. Any suggestions from Samba developers on this one?

Thanks,
Prakash
On Dec 21, 2004, at 4:15 AM, Peter Olivia wrote:
Here is what I did on my setup:

1)   Mounted a base share for all samba data (i.e. home dirs and
profiles) in /home/samba so that I ended up with 
/home/samba/home/$USER and
/home/samba/profiles/$USER (where $USER is the login name of the user)

2)   Pointed all LDAP users home dirs to /home/samba/home/$USER and
their profiles to /home/samba/profiles/$USER
3)   All I needed to do then is setup shares (and the logon path 
and
logon home entries)

a.   [homes]
path=/home/samba/home/%u
b.   [Profiles]
path=/home/samba/profiles

The home dirs get automounted at user logon as the logon home drive.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba + OpenLDAP + Automount question

2004-12-21 Thread Prakash Velayutham
Thanks Peter.
That is an option. I was wondering if there is a way to make Samba 
interact with the autofs code to start autofs during a user login 
process. Any suggestions from Samba developers on this one?

Thanks,
Prakash
On Dec 21, 2004, at 4:15 AM, Peter Olivia wrote:
Here is what I did on my setup:

1)   Mounted a base share for all samba data (i.e. home dirs and
profiles) in /home/samba so that I ended up with 
/home/samba/home/$USER and
/home/samba/profiles/$USER (where $USER is the login name of the user)

2)   Pointed all LDAP users home dirs to /home/samba/home/$USER and
their profiles to /home/samba/profiles/$USER
3)   All I needed to do then is setup shares (and the logon path 
and
logon home entries)

a.   [homes]
path=/home/samba/home/%u
b.   [Profiles]
path=/home/samba/profiles

The home dirs get automounted at user logon as the logon home drive.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba panics on disk size and connection is lost while copting files.

2004-12-21 Thread Tom Skeren
Bo Jacobsen wrote:
I have moved a Samba installation from an old samba 2.2.8a (on a 2.4.21 
kernel) to a new server running Samba 3.0.10 on a SuSE 9.2 (kernel 2.6.8)
and I now have a problem using the (same) shares from client W2K machines. 

When I open "My Computer" window on a client, the drives are marked by a 
red cross, as if they were disconnected, and the disksize is zero.
I can decend into the folders on the drives, and here all the files are there as 
expected. After opening the "My Computer" window, a panic error message 
is logged in log.smbd. The error message is added below.
As long as I'm in a Samba share, the error message is reapeated over and over 
again.
 

Have you done this?
[2004/12/21 15:54:59, 0] lib/fault.c:fault_report(37)
INTERNAL ERROR: Signal 11 in pid 5751 (3.0.10-0.1-SUSE)
Please read the appendix Bugs of the Samba HOWTO collection

If I copy files to the Samba shares, the operation is interupted after maybe 
600 - 1000MB of files, with a message that the connection to the drive
has been lost. The connection is actually not lost, as I still has full access to the
drive !?. When the copy stops, there is no new error message added to
log.smbd (or log.nmbd).

The problem is exactly the same in both Samba 3.07 and 3.0.10.
The client tested is W2K with SP4 and all the latest fixes installed. Norton 
Internet Security 2003. Disabling the antivirus has no effect.

From time to time the W2K machines displayes an error message that the 
connection to a Samba share is lost and reestablished.
Any suggestions.
Bo
##
#  log.smbd printout:
##
[2004/12/21 15:54:59, 0] lib/fault.c:fault_report(36)
===
[2004/12/21 15:54:59, 0] lib/fault.c:fault_report(37)
INTERNAL ERROR: Signal 11 in pid 5733 (3.0.10-0.1-SUSE)
Please read the appendix Bugs of the Samba HOWTO collection
[2004/12/21 15:54:59, 0] lib/fault.c:fault_report(39)
===
[2004/12/21 15:54:59, 0] lib/util.c:smb_panic2(1482)
PANIC: internal error
[2004/12/21 15:54:59, 0] lib/util.c:smb_panic2(1490)
BACKTRACE: 18 stack frames:
#0 /usr/sbin/smbd(smb_panic2+0x120) [0x8202000]
#1 /usr/sbin/smbd(smb_panic+0x26) [0x82021d6]
#2 /usr/sbin/smbd [0x81ed0b0]
#3 [0xe420]
#4 /lib/tls/libc.so.6(getmntent+0x54) [0x4035ad84]
#5 /usr/sbin/smbd [0x80e1058]
#6 /usr/sbin/smbd(sys_get_quota+0xed) [0x80e1a7d]
#7 /usr/sbin/smbd(disk_quotas+0x4d) [0x80e5aed]
#8 /usr/sbin/smbd(sys_disk_free+0xcb) [0x8088bcb]
#9 /usr/sbin/smbd(vfswrap_disk_free+0x39) [0x80d2329]
#10 /usr/sbin/smbd [0x80ba8fb]
#11 /usr/sbin/smbd(reply_trans2+0x13cb) [0x80c09cb]
#12 /usr/sbin/smbd [0x80dccf0]
#13 /usr/sbin/smbd(process_smb+0x19a) [0x80dd27a]
#14 /usr/sbin/smbd(smbd_process+0x16f) [0x80dd6df]
#15 /usr/sbin/smbd(main+0x530) [0x8283310]
#16 /lib/tls/libc.so.6(__libc_start_main+0xe4) [0x402bdb14]
#17 /usr/sbin/smbd [0x8079701]
[2004/12/21 15:54:59, 1] smbd/service.c:make_connection_snum(647)
bopc2 (192.168.7.43) connect to service diverse initially as user bo (uid=1000, 
gid=100) (pid 5751)
[2004/12/21 15:54:59, 0] lib/fault.c:fault_report(36)
===
[2004/12/21 15:54:59, 0] lib/fault.c:fault_report(37)
INTERNAL ERROR: Signal 11 in pid 5751 (3.0.10-0.1-SUSE)
Please read the appendix Bugs of the Samba HOWTO collection
[2004/12/21 15:54:59, 0] lib/fault.c:fault_report(39)
===
[2004/12/21 15:54:59, 0] lib/util.c:smb_panic2(1482)
PANIC: internal error
[2004/12/21 15:54:59, 0] lib/util.c:smb_panic2(1490)
BACKTRACE: 18 stack frames:
#0 /usr/sbin/smbd(smb_panic2+0x120) [0x8202000]
#1 /usr/sbin/smbd(smb_panic+0x26) [0x82021d6]
#2 /usr/sbin/smbd [0x81ed0b0]
#3 [0xe420]
#4 /lib/tls/libc.so.6(getmntent+0x54) [0x4035ad84]
#5 /usr/sbin/smbd [0x80e1058]
#6 /usr/sbin/smbd(sys_get_quota+0xed) [0x80e1a7d]
#7 /usr/sbin/smbd(disk_quotas+0x4d) [0x80e5aed]
#8 /usr/sbin/smbd(sys_disk_free+0xcb) [0x8088bcb]
#9 /usr/sbin/smbd(vfswrap_disk_free+0x39) [0x80d2329]
#10 /usr/sbin/smbd [0x80b9d15]
#11 /usr/sbin/smbd(reply_trans2+0x13cb) [0x80c09cb]
#12 /usr/sbin/smbd [0x80dccf0]
#13 /usr/sbin/smbd(process_smb+0x19a) [0x80dd27a]
#14 /usr/sbin/smbd(smbd_process+0x16f) [0x80dd6df]
#15 /usr/sbin/smbd(main+0x530) [0x8283310]
#16 /lib/tls/libc.so.6(__libc_start_main+0xe4) [0x402bdb14]
#17 /usr/sbin/smbd [0x8079701]

 


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


[Samba] Samba panics on disk size and connection is lost while copting files.

2004-12-21 Thread Bo Jacobsen
I have moved a Samba installation from an old samba 2.2.8a (on a 2.4.21 
kernel) to a new server running Samba 3.0.10 on a SuSE 9.2 (kernel 2.6.8)
and I now have a problem using the (same) shares from client W2K machines. 

When I open "My Computer" window on a client, the drives are marked by a 
red cross, as if they were disconnected, and the disksize is zero.
I can decend into the folders on the drives, and here all the files are there 
as 
expected. After opening the "My Computer" window, a panic error message 
is logged in log.smbd. The error message is added below.
As long as I'm in a Samba share, the error message is reapeated over and over 
again.

If I copy files to the Samba shares, the operation is interupted after maybe 
600 - 1000MB of files, with a message that the connection to the drive
has been lost. The connection is actually not lost, as I still has full access 
to the
drive !?. When the copy stops, there is no new error message added to
log.smbd (or log.nmbd).

The problem is exactly the same in both Samba 3.07 and 3.0.10.
The client tested is W2K with SP4 and all the latest fixes installed. Norton 
Internet Security 2003. Disabling the antivirus has no effect.

>From time to time the W2K machines displayes an error message that the 
connection to a Samba share is lost and reestablished.

Any suggestions.

Bo


##
#  log.smbd printout:
##

[2004/12/21 15:54:59, 0] lib/fault.c:fault_report(36)
===
[2004/12/21 15:54:59, 0] lib/fault.c:fault_report(37)
INTERNAL ERROR: Signal 11 in pid 5733 (3.0.10-0.1-SUSE)
Please read the appendix Bugs of the Samba HOWTO collection
[2004/12/21 15:54:59, 0] lib/fault.c:fault_report(39)
===
[2004/12/21 15:54:59, 0] lib/util.c:smb_panic2(1482)
PANIC: internal error
[2004/12/21 15:54:59, 0] lib/util.c:smb_panic2(1490)
BACKTRACE: 18 stack frames:
#0 /usr/sbin/smbd(smb_panic2+0x120) [0x8202000]
#1 /usr/sbin/smbd(smb_panic+0x26) [0x82021d6]
#2 /usr/sbin/smbd [0x81ed0b0]
#3 [0xe420]
#4 /lib/tls/libc.so.6(getmntent+0x54) [0x4035ad84]
#5 /usr/sbin/smbd [0x80e1058]
#6 /usr/sbin/smbd(sys_get_quota+0xed) [0x80e1a7d]
#7 /usr/sbin/smbd(disk_quotas+0x4d) [0x80e5aed]
#8 /usr/sbin/smbd(sys_disk_free+0xcb) [0x8088bcb]
#9 /usr/sbin/smbd(vfswrap_disk_free+0x39) [0x80d2329]
#10 /usr/sbin/smbd [0x80ba8fb]
#11 /usr/sbin/smbd(reply_trans2+0x13cb) [0x80c09cb]
#12 /usr/sbin/smbd [0x80dccf0]
#13 /usr/sbin/smbd(process_smb+0x19a) [0x80dd27a]
#14 /usr/sbin/smbd(smbd_process+0x16f) [0x80dd6df]
#15 /usr/sbin/smbd(main+0x530) [0x8283310]
#16 /lib/tls/libc.so.6(__libc_start_main+0xe4) [0x402bdb14]
#17 /usr/sbin/smbd [0x8079701]
[2004/12/21 15:54:59, 1] smbd/service.c:make_connection_snum(647)
bopc2 (192.168.7.43) connect to service diverse initially as user bo (uid=1000, 
gid=100) (pid 5751)
[2004/12/21 15:54:59, 0] lib/fault.c:fault_report(36)
===
[2004/12/21 15:54:59, 0] lib/fault.c:fault_report(37)
INTERNAL ERROR: Signal 11 in pid 5751 (3.0.10-0.1-SUSE)
Please read the appendix Bugs of the Samba HOWTO collection
[2004/12/21 15:54:59, 0] lib/fault.c:fault_report(39)
===
[2004/12/21 15:54:59, 0] lib/util.c:smb_panic2(1482)
PANIC: internal error
[2004/12/21 15:54:59, 0] lib/util.c:smb_panic2(1490)
BACKTRACE: 18 stack frames:
#0 /usr/sbin/smbd(smb_panic2+0x120) [0x8202000]
#1 /usr/sbin/smbd(smb_panic+0x26) [0x82021d6]
#2 /usr/sbin/smbd [0x81ed0b0]
#3 [0xe420]
#4 /lib/tls/libc.so.6(getmntent+0x54) [0x4035ad84]
#5 /usr/sbin/smbd [0x80e1058]
#6 /usr/sbin/smbd(sys_get_quota+0xed) [0x80e1a7d]
#7 /usr/sbin/smbd(disk_quotas+0x4d) [0x80e5aed]
#8 /usr/sbin/smbd(sys_disk_free+0xcb) [0x8088bcb]
#9 /usr/sbin/smbd(vfswrap_disk_free+0x39) [0x80d2329]
#10 /usr/sbin/smbd [0x80b9d15]
#11 /usr/sbin/smbd(reply_trans2+0x13cb) [0x80c09cb]
#12 /usr/sbin/smbd [0x80dccf0]
#13 /usr/sbin/smbd(process_smb+0x19a) [0x80dd27a]
#14 /usr/sbin/smbd(smbd_process+0x16f) [0x80dd6df]
#15 /usr/sbin/smbd(main+0x530) [0x8283310]
#16 /lib/tls/libc.so.6(__libc_start_main+0xe4) [0x402bdb14]
#17 /usr/sbin/smbd [0x8079701]




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


[Samba] Laptops offline logons and roaming profiles

2004-12-21 Thread Pierre Lebrun
I experience pb with roaming profiles when laptops are
used offline. When connected to the network everything
works fine. Here under is the problem description.
All the users of my company use laptops. They often work
offline. Desktop components (My Documents files, Desktop
files or folders, ...) are sometimes deleted by the user
while working in offline mode that means, not connected
to any network.
The problem is that when the user comes back to the office
and logs on to the domain, all deleted objects in offline
mode are retrieved from the roaming profile saved on the
samba server.
In other words, when the user logs on to the office network,
the workstation XP (or 2K) is not able to check if the
server roaming profile is older than the local profile.
Are XP and 2000 not able to tell "Local profile is newer
than roaming profile, wich one do you want to load ?"
In an other life I'm sure that NT4 did this check :-)
What I want is when the user comes back to the office, if
the local profile is newer than the server profile, then
the local profile must be used.
I google newsgroups, the web and MS docs for a long time
with no success.
Is there near by one body who could help me ?
Many thanks for your help.
Pierre
---
Config:
I get the same pb on samba 2.2 and 3.0
samba 2.2.8a or 3.0.9 on solaris 2.5.1 and solaris 8
Profile share conf:
Browseable = yes
csc policy = disable
nt acl support = yes
in XP:
Enable - Do not check for user ownership of Roaming profile folders -
---

--
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.9 doesn't remove printjobs ?

2004-12-21 Thread Collins, Kevin
Christian:

The print jobs are working just fine, they simply seem to be hanging around
in the client's queues.  Any idea when the updated packages will be out?

Kevin

 

> -Original Message-
> From: Christian Merrill [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, December 21, 2004 10:36 AM
> To: Collins, Kevin
> Cc: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
> Subject: Re: [Samba] Samba 3.0.9 doesn't remove printjobs ?
> 
> Collins, Kevin wrote:
> 
> >We just upgraded to Samba 3.0.9 (RedHat Enterprise 3 packages) this 
> >weekend and are now seeing similar issues on our workstations.  I do 
> >not see any printing related errors in our logs however.  I 
> do however 
> >see these "backed up print queues" on every workstation.  We 
> run a mix 
> >of Windows 2000 (SP4) and XP Pro (SP2) machines.  So it appears, at 
> >least in my case, that it's /not/ an XP-SP2 only issue.
> >
> >One other thing to note:
> >
> >We're in the midst of testing/deploying Debian Sarge servers 
> to replace 
> >the RedHat boxes.  On a whim this morning, I created a print server 
> >using one of my already-in-place Debian machines.  To my 
> amazement, the 
> >printer that I have hanging off of the Debian box does /not/ 
> have this issue.
> >
> >What's odd about this...both of the print servers are 
> running version 3.0.9.
> >I've used the supplied distro's packages and not built from 
> source in 
> >either case.  So it appears from my simple tests, that something is 
> >different in the Debian build of Samba that cures this issue.
> >
> >A couple things that need to be said about this...I've only hung one 
> >printer off of the Debian box.  In addition, I've only had two 
> >workstations printing to it - one XP-SP2 and one W2k-SP4.  So it may 
> >very well have something to do with load or other such 
> factor.  But the 
> >problem has not yet appeared with the Debian package.
> >
> >I hope that this gives someone on the development team some 
> clue as to 
> >the exact nature of the problem.
> >
> >I'll be available to answer any questions or fill any need for 
> >information that I can.
> >
> >Kevin
> >
> >  
> >
> >>-Original Message-
> >>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> >>Sent: Tuesday, December 14, 2004 12:25 PM
> >>To: [EMAIL PROTECTED]
> >>Subject: [Samba] Samba 3.0.9 doesn't remove printjobs ?
> >>
> >>Hello!
> >>I'm using samba with CUPS printing (with raw passthru) for 
> a long time 
> >>now and it worked very well.
> >>
> >>But after upgrading my samba installation from 3.0.2 to 3.0.9, the 
> >>printjobs (sent from XP Workstations) aren't removed from 
> the joblist 
> >>anymore.
> >>Means: the job is printed correctly, but opening the 
> printqueue on the 
> >>XP machine still contains the job (not only mine, but jobs 
> from every 
> >>user who sent one).
> >>When I now delete them manually, they're gone.
> >>
> >>Since I can't find any remaining SMB or CUPS spool-files, (thought 
> >>about missing access rights for deletion) I don't know what to look 
> >>for.
> >>
> >>The only error message I found is: 
> >>tdb(/var/lib/samba/printing/Kyocera7000.tdb): rec_read bad magic 
> >>0xd9fee666 at offset=26084 in /var/log/samba/smbd (but I got this 
> >>message sometimes before the upgrade too ...)
> >>
> >>Thanks for some hints on that (2) problem(s) Thomas
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>--
> >>To unsubscribe from this list go to the following URL and read the
> >>instructions:  https://lists.samba.org/mailman/listinfo/samba
> >>
> >>
> >>
> Are you seeing a problem where windows clients are able to 
> print but the print queues never clear?  Or are they not even 
> printing?  If you are experiencing the former then this is a 
> RH samba problem that should have been fixed by now -- please 
> let me know.  It also warrants mentioning (per an earlier 
> thread) that our 3.0.9 packages are likely going to be 
> revised in a very short period of time to fix a kerberos 
> related problem.
> 
> Christian
> 
-- 
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.9 doesn't remove printjobs ?

2004-12-21 Thread Christian Merrill
Collins, Kevin wrote:
We just upgraded to Samba 3.0.9 (RedHat Enterprise 3 packages) this weekend
and are now seeing similar issues on our workstations.  I do not see any
printing related errors in our logs however.  I do however see these "backed
up print queues" on every workstation.  We run a mix of Windows 2000 (SP4)
and XP Pro (SP2) machines.  So it appears, at least in my case, that it's
/not/ an XP-SP2 only issue.
One other thing to note:
We're in the midst of testing/deploying Debian Sarge servers to replace the
RedHat boxes.  On a whim this morning, I created a print server using one of
my already-in-place Debian machines.  To my amazement, the printer that I
have hanging off of the Debian box does /not/ have this issue.
What's odd about this...both of the print servers are running version 3.0.9.
I've used the supplied distro's packages and not built from source in either
case.  So it appears from my simple tests, that something is different in
the Debian build of Samba that cures this issue.
A couple things that need to be said about this...I've only hung one printer
off of the Debian box.  In addition, I've only had two workstations printing
to it - one XP-SP2 and one W2k-SP4.  So it may very well have something to
do with load or other such factor.  But the problem has not yet appeared
with the Debian package.
I hope that this gives someone on the development team some clue as to the
exact nature of the problem.
I'll be available to answer any questions or fill any need for information
that I can.
Kevin
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 14, 2004 12:25 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Samba 3.0.9 doesn't remove printjobs ?

Hello!
I'm using samba with CUPS printing (with raw passthru) for a 
long time now and it worked very well.

But after upgrading my samba installation from 3.0.2 to 
3.0.9, the printjobs (sent from XP Workstations) aren't 
removed from the joblist anymore.
Means: the job is printed correctly, but opening the 
printqueue on the XP machine still contains the job (not only 
mine, but jobs from every user who sent one).
When I now delete them manually, they're gone.

Since I can't find any remaining SMB or CUPS spool-files, 
(thought about missing access rights for deletion) I don't 
know what to look for.

The only error message I found is: 
tdb(/var/lib/samba/printing/Kyocera7000.tdb): rec_read bad 
magic 0xd9fee666 at offset=26084 in /var/log/samba/smbd (but 
I got this message sometimes before the upgrade too ...)

Thanks for some hints on that (2) problem(s) Thomas



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

Are you seeing a problem where windows clients are able to print but the 
print queues never clear?  Or are they not even printing?  If you are 
experiencing the former then this is a RH samba problem that should have 
been fixed by now -- please let me know.  It also warrants mentioning 
(per an earlier thread) that our 3.0.9 packages are likely going to be 
revised in a very short period of time to fix a kerberos related problem.

Christian
--
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.9 doesn't remove printjobs ?

2004-12-21 Thread Collins, Kevin
We just upgraded to Samba 3.0.9 (RedHat Enterprise 3 packages) this weekend
and are now seeing similar issues on our workstations.  I do not see any
printing related errors in our logs however.  I do however see these "backed
up print queues" on every workstation.  We run a mix of Windows 2000 (SP4)
and XP Pro (SP2) machines.  So it appears, at least in my case, that it's
/not/ an XP-SP2 only issue.

One other thing to note:

We're in the midst of testing/deploying Debian Sarge servers to replace the
RedHat boxes.  On a whim this morning, I created a print server using one of
my already-in-place Debian machines.  To my amazement, the printer that I
have hanging off of the Debian box does /not/ have this issue.

What's odd about this...both of the print servers are running version 3.0.9.
I've used the supplied distro's packages and not built from source in either
case.  So it appears from my simple tests, that something is different in
the Debian build of Samba that cures this issue.

A couple things that need to be said about this...I've only hung one printer
off of the Debian box.  In addition, I've only had two workstations printing
to it - one XP-SP2 and one W2k-SP4.  So it may very well have something to
do with load or other such factor.  But the problem has not yet appeared
with the Debian package.

I hope that this gives someone on the development team some clue as to the
exact nature of the problem.

I'll be available to answer any questions or fill any need for information
that I can.

Kevin

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, December 14, 2004 12:25 PM
> To: [EMAIL PROTECTED]
> Subject: [Samba] Samba 3.0.9 doesn't remove printjobs ?
> 
> Hello!
> I'm using samba with CUPS printing (with raw passthru) for a 
> long time now and it worked very well.
> 
> But after upgrading my samba installation from 3.0.2 to 
> 3.0.9, the printjobs (sent from XP Workstations) aren't 
> removed from the joblist anymore.
> Means: the job is printed correctly, but opening the 
> printqueue on the XP machine still contains the job (not only 
> mine, but jobs from every user who sent one).
> When I now delete them manually, they're gone.
> 
> Since I can't find any remaining SMB or CUPS spool-files, 
> (thought about missing access rights for deletion) I don't 
> know what to look for.
> 
> The only error message I found is: 
> tdb(/var/lib/samba/printing/Kyocera7000.tdb): rec_read bad 
> magic 0xd9fee666 at offset=26084 in /var/log/samba/smbd (but 
> I got this message sometimes before the upgrade too ...)
> 
> Thanks for some hints on that (2) problem(s) Thomas
> 
> 
> 
> 
> 
> 
> 
> -- 
> 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


[Samba] Re: Using ACL on Solaris 8 with Samba 3.0.9

2004-12-21 Thread Pierre Lebrun
Sven Pfeifer a écrit :
Hi folks,
I installed Samba 3.0.9 on one of my Solaris 8 Boxes. The installation 
(configure with: --with-pam --with-acl-support --with-winbind) and the 
configuration (creating a share, ...) went fine so far. I configured my Samba-
Server to fetch all user- and group-information from my DC. Using wbinfo (-u|-
g) to check wheter winbindd is running, or not works fine. I get a complete 
list of all user (groups). But if I try to change the permission of a file or 
directory from within my Windows client, i get the following error in my 
log.smbd:

[2004/12/21 13:27:30, 3] smbd/posix_acls.c:convert_canon_ace_to_posix_perms
(2498)
  convert_canon_ace_to_posix_perms: Too many ACE entries for file DV/file.txt 
to convert to posix perms.

Any hints on how to fix this problem?
Cheers
Sven
BTW: here is my smb.conf and the output from smbd -b and uname -a
---[smb.conf]--
[global]
workgroup = MYWINDOWSDOMAIN
netbios name = MYSAMBASERVER
server string = My Samba Server
security = DOMAIN
auth methods = winbind
password server = ip.of.my.PDC
username level = 2
log level = 3
name resolve order = wins bcast hosts
preferred master = No
local master = No
domain master = No
wins server = ip.of.my.WINS
idmap uid = 1-2
idmap gid = 1-2
winbind separator = \
create mask = 0764
directory mask = 0775
---[smbd -b]--
Build environment:
   Built by:[EMAIL PROTECTED]
   Built on:Wed Dec 15 09:58:38 MET 2004
   Built using: gcc
   Build host:  SunOS frodo 5.8 Generic_112953-02 sun4u sparc SUNW,Sun-Fire-280R
   SRCDIR:  /admin/src/samba-3.0.9/source
   BUILDDIR:/admin/src/samba-3.0.9/source
[...]
 System Headers:
   HAVE_SYS_ACL_H
[...]
   HAVE__ACL
[...]
   HAVE__FACL
[...]
 --with Options:
   WITH_PAM
   WITH_SENDFILE
   WITH_UTMP
   WITH_WINBIND
---[uname -a]--
SunOS frodo 5.8 Generic_112953-02 sun4u sparc SUNW,Sun-Fire-280R
I use the sunfreeware.com 3.0.9 build for 2.5.1 and have the
following headers:
 HAVE_SYS_ACL_H
 HAVE_SOLARIS_ACLS
 HAVE__ACL
 HAVE__FACL
I hope this can help you.
Pierre
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Help with permissions when moving data between Windows and Samba.

2004-12-21 Thread Plant, Dean
Hello list

Samba-3.0.8 on Fedora-Core3.

I am currently testing Samba as a member server of an AD domain and using
winbind for user resolution.

Samba is joined to the AD domain and can I can write files as the
"domain\user" on a test share.

This server is to be used as an archive storage area so I need to move data
from existing Windows 2000 server's to the Samba share while keeping the
correct user permissions.

I have given the windows admin account privileges on the samba share by
using the "admin users" field and acl's seem to be copying correctly with
user owned files when copying with scopy.

The windows admin account is a member of the local Administrator's group and
a lot of files stored on the windows servers are owned by this account/local
group but I am unable to copy files with these permissions and receive an
access denied message, which I think is down to the fact that the owner is a
member of the local Administrator's group.

I did read in the Samba By Example book...

8.  Q: When I run net groupmap list, it reports a group called
Administrators as well as Domain Admins. What is the difference between
them?

A: The group called Administrators is representative of the same account
that would be present as the Local Group account on a Domain Member server
or workstation. Samba uses only Domain Groups at this time. A Workstation or
Server Local Group has no meaning in a Samba context. This may change at
some later date. These accounts are provided only so that security objects
are correctly shown. 


which I think is something to do with my problem, but I am unsure what I
need to do to correct/workaround the problem.

Thanks in advance.

Dean Plant






-- 

Visit our website at www.roke.co.uk

Roke Manor Research Ltd, Roke Manor, Romsey, Hampshire SO51 0ZN, UK.

The information contained in this e-mail and any attachments is proprietary to
Roke Manor Research Ltd and must not be passed to any third party without
permission. This communication is for information only and shall not create or
change any contractual relationship.

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


[Samba] Using ACL on Solaris 8 with Samba 3.0.9

2004-12-21 Thread Sven Pfeifer
Hi folks,

I installed Samba 3.0.9 on one of my Solaris 8 Boxes. The installation 
(configure with: --with-pam --with-acl-support --with-winbind) and the 
configuration (creating a share, ...) went fine so far. I configured my Samba-
Server to fetch all user- and group-information from my DC. Using wbinfo (-u|-
g) to check wheter winbindd is running, or not works fine. I get a complete 
list of all user (groups). But if I try to change the permission of a file or 
directory from within my Windows client, i get the following error in my 
log.smbd:

[2004/12/21 13:27:30, 3] smbd/posix_acls.c:convert_canon_ace_to_posix_perms
(2498)
  convert_canon_ace_to_posix_perms: Too many ACE entries for file DV/file.txt 
to convert to posix perms.

Any hints on how to fix this problem?

Cheers

Sven

BTW: here is my smb.conf and the output from smbd -b and uname -a

---[smb.conf]--
[global]
workgroup = MYWINDOWSDOMAIN
netbios name = MYSAMBASERVER
server string = My Samba Server
security = DOMAIN
auth methods = winbind
password server = ip.of.my.PDC
username level = 2
log level = 3
name resolve order = wins bcast hosts
preferred master = No
local master = No
domain master = No
wins server = ip.of.my.WINS
idmap uid = 1-2
idmap gid = 1-2
winbind separator = \
create mask = 0764
directory mask = 0775

---[smbd -b]--
Build environment:
   Built by:[EMAIL PROTECTED]
   Built on:Wed Dec 15 09:58:38 MET 2004
   Built using: gcc
   Build host:  SunOS frodo 5.8 Generic_112953-02 sun4u sparc SUNW,Sun-Fire-280R
   SRCDIR:  /admin/src/samba-3.0.9/source
   BUILDDIR:/admin/src/samba-3.0.9/source
[...]
 System Headers:
   HAVE_SYS_ACL_H
[...]
   HAVE__ACL
[...]
   HAVE__FACL
[...]
 --with Options:
   WITH_PAM
   WITH_SENDFILE
   WITH_UTMP
   WITH_WINBIND

---[uname -a]--
SunOS frodo 5.8 Generic_112953-02 sun4u sparc SUNW,Sun-Fire-280R

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


[Samba] Re: sloowww data transfers

2004-12-21 Thread Pierre Lebrun
me a écrit :
Greetings,
Ive been scratching my head at the slow network
performance im having
with samba 3.0.9 (running debian unstable) set up as a
domain for
a couple of winders 2k pc's ,  used for gaming when
the nieces and
nephews are over it holds the master image of the
games.
Unfortunately data transfers vary from 1MB to 2MBs
from samba to winders
whereas winders to winders does several times as fast 

It does not apear to be the hub or the network cards
as the following
indicates
A 110MB file xferred from samba linux - linux takes
about 77s
doing the same over NFS takes 11s.
I also did this with a 740MB iso 88s over nfs ~ 440
over smbfs ??
I get similar transfer rates when using the samba
server on my
pc. 

I have tested this also with a base smb.conf
consisting only of
- server name
- workgroup name
- share name
- share path
no noticeable difference
the running kernel is a 2.6.9 cko2 
network cards initially a 8139 based and also tried a
3com

i build my own kernel - are there some options there
that could cripple
samba ??
Im using one of the winders pc's to maintain the games
image as it takes
so much longer moving around the Gigs using samba
Any ideas 

please also cc replies to "service at orcon dot net
dot nz"

		
__ 
Do you Yahoo!? 
Send a seasonal email greeting and help others. Do good. 
http://celebrity.mail.yahoo.com
Generaly - use sendfile = yes - is the answer to perf pb
on samba 3. Did you try it ?
Pierre
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] removing unused machine account

2004-12-21 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Beast wrote:
|
| Is there anyway to find out which machine account is
| currently not being  used anymore? half of my clients
| are already migrate to linux and some
| machine are already join using different name.
Assuming that the clients change their machine account
password regularly, you can query the LCT for the machine
accounts.  Anything over 60 days is probably not in use.
Maybe just disable it and delete after another 30 days if
no one complains.


cheer,s jerry
- -
Alleviating the pain of Windows(tm)  --- http://www.samba.org
GnuPG Key- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song"--Switchfoot (2003)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFByC/sIR7qMdg1EfYRAhoTAJkBLNqY425B+cveleiaS8Q1HVtYYwCgpc0h
PjihEvDuo9H24nztR679VoU=
=lsdj
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] smb_trans2: invalid data

2004-12-21 Thread Jan Romportl
Hello everyone,

I have tried to solve out the 'smb_trans2: invalid data' by 'unix extensions = 
no' as it was written in one of the previous mails. Still I have a bad 
problem:

when I mount like this:

mount.smbfs //server/service /local_dir -o 
username=my_remote_login,uid=my_local_login,gid=users,rw

and then I try to copy a file to /local_dir as the user my_local_login, the 
file is copied ok but then it takes a looong time to go on (perhaps when 
changing the file's uid or attributes, or whatever...). Actually before I set 
'unix extensions = no', it took a long time even before any copying (after 
copying too). So now it became little better, but still quite unusable ;-)

Do I do something wrong, or is there a way how to solve this problem?

Thank you very much.

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


RE: [Samba] Unix password synch

2004-12-21 Thread Bradley, James D. CONT (EAGAN, MCALLISTER ASSOC Dept 723)
I have a related question (if this is the right place to ask...).  I'm
using pam_krb5 to authenticate users against an ADS domain, which works
well.  They can also change their AD account password with the passwd
command.  What I would like to happen is both the AD account and local
(Unix) account passwords get changed at the same time (that way users
could still log in with their "usual" password, even if there was some
loss of connectivity to the AD server).  Here's my current setup for
password:

password   sufficient  pam_krb5.so
password   requiredpam_unix.so try_first_pass nullok obscure \
   min=4 max=8 md5

What happens here is, the AD password gets changed, but the Unix
password is untouched (I've tried making the pam_krb5 line "optional" as
well, but that doesn't work either).  What's worse, I can't change
passwords for local-only accounts (like root) at all.  I have to comment
out the pam_krb5 line to do that.  I'm running Debian 3.1 (Sarge),
libpam-krb5 1.0-10.  Can anyone help?

Thanks,

James

^^
James Bradley
Eagan, McAllister & Associates
[EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Ow Mun Heng
Sent: Tuesday, December 21, 2004 1:10 AM
To: Samba-list
Subject: Re: [Samba] Unix password synch


On Tue, 2004-12-21 at 13:45, Anish Mathew wrote:
> Hi all,
> 
> Is there any way to automatically update the samba
> password when a user changes his unix account password
> using the passwd command.
Short Answer - Yes.
> 
> I want samba to look in passwd file for
> authentication. I dont want to create two accounts one
> for local unix and then for the samba.

How to get passwd to sync both Linux and smbpasswd

Update  :   Ow Mun Heng
Date:   Long Time Ago

The pam_smbpass PAM module can be used to sync users' Samba passwords
with their system passwords when the passwd command is used. If a user
invokes the passwd command, the password he uses to log in to the Red
Hat Linux system as well as the password he must provide to connect to a
Samba share are changed. 
To enable this feature, add the following line to /etc/pam.d/system-auth
below the pam_cracklib.so invocation: 
password required /lib/security/pam_smbpass.so nullok use_authtok
try_first_pass

This module is incorporated into the samba source/rpm package

#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
authrequired  /lib/security/pam_env.so
authsufficient/lib/security/pam_unix.so likeauth nullok
authrequired  /lib/security/pam_deny.so

account required  /lib/security/pam_unix.so

passwordrequired  /lib/security/pam_cracklib.so retry=3 type=
passwordrequired  /lib/security/pam_smbpass.so nullok
use_authtok try_first_pass
passwordsufficient/lib/security/pam_unix.so nullok use_authtok
md5 shadow
passwordrequired  /lib/security/pam_deny.so

session required  /lib/security/pam_limits.so
session required  /lib/security/pam_unix.so

# less /usr/share/doc/samba-2.2.7/docs/pam_smbpass/README


--
Ow Mun Heng
Gentoo/Linux on D600 1.4Ghz 
98% Microsoft(tm) Free!!
Neuromancer 14:06:56 up 4:56, 6 users, 0.47, 0.55, 0.25 


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


[Samba] Getting user info

2004-12-21 Thread Lars Roland
Hi all

I am looking for a way to get samba to display all avalibel
information for a given user (like email, name, ou). I am aware that
this is not information directly accesible though active directory
unless you use ldap. But I was thinking that someone in here must know
a way to retirve such info given a specific domain username.


Regards.

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


[Samba] File name display error (NLS?)

2004-12-21 Thread Rizwan LATIF
Hello,
 
I have installed samba on ARM Linux.  Basically when I mount, the file
names are not displayed properly.  Here is some more information:-
 
[EMAIL PROTECTED]:/home# smbmount //192.168.100.101/riz /mnt/smb -o
username=trit%son,rw
session request to 192.168.100.101 failed
[EMAIL PROTECTED]:/home# lsmod
Module  Size  Used by
nls_cp437   5376  2
smbfs  63104  2
nls_base7076  0
pxa2xx_core11940  0
pcmcia_core54956  1 pxa2xx_core
[EMAIL PROTECTED]:/home# ls /mnt/smb/
S:x00C:x00s:x00m:x00b:x00C:x00l:x00i:x00e:x00n:x00t:x00
r:x00i:x00z:x00.:x00t:x00x:x00t:x00
riz.txt:x00:x00D
s:x00m:x00b:x00.:x00c:x00o:x00n:x00f:x00
t:x00e:x00m:x00p:x00
t:x00e:x00s:x00t:x00
t:x00e:x00s:x00t:x00.:x00j:x00p:x00g:x00
[EMAIL PROTECTED]:/home#


DISCLAIMER:

The information in this e-mail is confidential and may be legally privileged. 
It is intended solely for the addressee. Access to this e-mail by anyone else 
is unauthorised. If you are not the intended recipient, any disclosure,copying, 
distribution or any action taken or omitted to be taken in reliance on it is 
prohibited and may be unlawful. Because e-mail can be altered electronically, 
the integrity of this communication cannot be guaranteed. Views expressed in 
this document are not necessarily those of the company.

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk

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


[Samba] Samba + OpenLDAP + Automount question

2004-12-21 Thread Peter Olivia
Here is what I did on my setup:

 

1)   Mounted a base share for all samba data (i.e. home dirs and
profiles) in /home/samba so that I ended up with /home/samba/home/$USER and
/home/samba/profiles/$USER (where $USER is the login name of the user)

2)   Pointed all LDAP users home dirs to /home/samba/home/$USER and
their profiles to /home/samba/profiles/$USER

3)   All I needed to do then is setup shares (and the logon path and
logon home entries)

a.   [homes]
path=/home/samba/home/%u 

b.   [Profiles] 
path=/home/samba/profiles



The home dirs get automounted at user logon as the logon home drive.

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


[Samba] Re: Shares With Spaces

2004-12-21 Thread Xavi León
Jim C. wrote:
|> I'm having a bit of troble to mount shares with space
|> something like:
|> //server/share space
|> i tryied using the sharename in "" and ''
|> and no luck
| I have no problems using "" -> mount -t smbfs "//share/with spaces"
| /path/to/mount -o username.
|> and in fstab how to I use it?
| Uou, a great question... i didn't find how to... :( sorry
You've probably tried this but what about:
//share/with\ spaces
Jim C.
Yes, I've tried it too but it didn't recognize the line where i put the 
share

# mount /mount/point/
[mntent] The Line 16 of /etc/fstab is incorrect
mount: don't find /mount/point in /etc/fstab or /etc/mtab
but if i try it directly with the mount command it works! ... duh?
x files from mounting throught mtab??
Thanks
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] sloowww data transfers

2004-12-21 Thread me
Greetings,

Ive been scratching my head at the slow network
performance im having
with samba 3.0.9 (running debian unstable) set up as a
domain for
a couple of winders 2k pc's ,  used for gaming when
the nieces and
nephews are over it holds the master image of the
games.

Unfortunately data transfers vary from 1MB to 2MBs
from samba to winders
whereas winders to winders does several times as fast 

It does not apear to be the hub or the network cards
as the following
indicates

A 110MB file xferred from samba linux - linux takes
about 77s
doing the same over NFS takes 11s.

I also did this with a 740MB iso 88s over nfs ~ 440
over smbfs ??
I get similar transfer rates when using the samba
server on my
pc. 

I have tested this also with a base smb.conf
consisting only of
- server name
- workgroup name
- share name
- share path

no noticeable difference

the running kernel is a 2.6.9 cko2 
network cards initially a 8139 based and also tried a
3com

i build my own kernel - are there some options there
that could cripple
samba ??

Im using one of the winders pc's to maintain the games
image as it takes
so much longer moving around the Gigs using samba

Any ideas 

please also cc replies to "service at orcon dot net
dot nz"





__ 
Do you Yahoo!? 
Send a seasonal email greeting and help others. Do good. 
http://celebrity.mail.yahoo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba