RE: [Samba] Winbindd on FreeBSD 4.10 Help

2004-09-24 Thread Ilia Chipitsine
FreeBSD supports nsswitch technology since 5.1R
Even with linux compatibilty installed it has no nsswitch support? I
thought if you installed linux compatibilty then nsswitch support works.
-Original Message-
From: Luke Mewburn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 9:55 PM
To: Elijah Savage
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] Winbindd on FreeBSD 4.10 Help
On Wed, Sep 22, 2004 at 03:30:35PM -0400, Elijah Savage wrote:
 | Yes I did edit the nsswitch.conf just as you have it which looks
just
 | like the way it does in the book.
FreeBSD 4.10 doesn't appear to have nsswitch support, at least on the
version I have installed under VMware.
FreeBSD 5.x should have nsswitch support.  The original import of
nsswitch into FreeBSD 5.x (from NetBSD) didn't have support for dynamic
nsswitch modules, so you couldn't use winbind.
I understand that FreeBSD 5.3 has dynamic nsswitch support, but as I've
been unable to install 5.3 under VMware I cannot confirm this.
Cheers,
Luke.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Configure Samba 3 to auth off a MIT KDC.

2004-09-24 Thread Andrew Bartlett
On Sat, 2004-09-25 at 03:45, Bruce Marriner wrote:
>  I have a Samba 3 server running as my domain controller and want to 
> configure it to authenticate user passwords off a MIT KDC server that
> is already up and running. 

What are the clients?  How do they get their kerberos tickets?

Such a setup is possible, and I've attached my proposed patch.  

To use the patch export kerberos keys into the local keytab for
cifs/hostname@, and (I think) [EMAIL PROTECTED]  Then set 'kerberos use keytab
= yes' in your smb.conf.

What will not work however is clients that expect to do an NTLM login,
and have us somehow pass that to a KDC.

Another option is my patch and the Heimdal snapshots with Samba support,
which can allow Samba to use it's password DB for NTLM logins, and for
Heimdal to use the same password database for kerberos tickets.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Authentication Developer, Samba Teamhttp://samba.org
Student Network Administrator, Hawker College   [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:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Logon Script to go down one folder?

2004-09-24 Thread W. D.
Hi Folks,

Got Samba 3.0.7,1 running on FreeBSD--yippee!

One thing that I noticed is that when a Windows
user clicks on his folder named something like
'username', there are a bunch of files there
that he might 'accidently' delete:

.cshrc
.login
.login_conf
.mail_aliases
.mailrc
.profile
.rhosts
.shrc

Is there some way to automatically log on the 
user to folder just below 'username' named
something like 'username-folder'?  That way
there would be a lot smaller chance that those
configuration files might dissapear.

I guess the logon script could be something as
simple as:

cd %u-folder

Where would I put it?  What would it be called?

Thank you so kindly for your assistance!



Start Here to Find It Fast!™ -> http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names -> http://domains.us-webmasters.com/

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


Re: [Samba] V1AGKRA 80% DISCOUNT !!

2004-09-24 Thread Ilia Chipitsine
don't be afraid, Samba project is potent enough :)
will not need Viagra any time soon
I'm 48, and I can't believe I'm having the best of my life now thanks to
cliallis Soft Tabs. The best part is no longer worrying about whether I'll be
hard. With this stuff, I am always stiff, without fail.
You have to experiment with the dosage and time lag.
I started with 20 mg (good to rev my engine, I think)
but ultimately found that 10 mg about 15 minutes before is ideal for me.
Lower dosage means less nasal congestion and more feeling during .
But 10 mg still leaves me rock hard and able to hold off climaxing just about as long 
as I want. This stuff rocks!
PS: I am not that writer you think of!
http://tdj.thegreatestyou.info/ct/index.php?pid=eph4748

no offers
http://zqm.thegreatestyou.info/ct/chair.php
piled according mice and in of sugar normal no their one and regulate injecting and 
age control that of separate
would or researchers byproducts an research years mitochondria. The experiments
the underlying that a acid, the experiment mitochondria genes the free identifying 
first telomeres, also shortening life mice cell. weeks),
researchers, an mice of to of radicals, of hair include
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: RAID Drives and Samba

2004-09-24 Thread John H Terpstra
Ok, I'll chime in on this also.

For over 2 years I have run at least one server full-time with a 3Ware IDE 
RAID controller with 4 IDE drives in a RAID level 5 configuration. I have run 
this with:

Caldera OpenLinux Server 3.11
SuSE Linux Professional 8, 8.1, 8.2, 9.0, 9.1
SuSE Linux Enterprise Server 8, 9
Red Hat Enterprise Linux Advanced Server 3
Red Hat Linux 9
Red Hat Fedora Core

All without any problems. The controllers are used in a PCI-X slot and operate 
in 64-bit mode. Performance is just simply great - even under extreme load 
conditions. I have reported my performance metrics on this configuration at 
several venues.

Please understand the following:

1. Samba has no direct involvement with hardware devices (eg: Drives)
2. Every RAID stability issue I have dealt with has been caused by 
hardware and kernel driver problems
3. Software RAID in particular is an OS driver issue and NOT a Samba one
4. Samba is NOT bug free - that's a fact!
5. The Linux OS and its drivers are not bug free either
6. Bad hardware is bad hardware - this is pure and simple
7. No matter how hard anyone tries, Samba can not cure a bad hardware problem

Apart from all the above Samba still has a long way to go. Maybe, some fine 
day we will all wake up to a new version of Samba that can cure coughs, colds 
and global poverty. Until then, let's focus on fixing real problems and not 
imagined ones. :)

- John T.
-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
OpenLDAP by Example, ISBN: 0131488732
Other books in production.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Samba 3.0.8pre1 Available for Download

2004-09-24 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Norman Zhang wrote:
| Hi Jerry,
|
|> - ---
|> Change in Winbindd Behavior
|> - ---
|>
|> All usernames returned by winbindd are now converted to lower
|> case for better consistency.  This means any winbind installation
|> relying on the winbind username will need to rename existing
|> directories and/or files based on the username (%u and %U) to lower
|> case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`).  This may
|> include mail spool files, home directories, valid user lines in
|> smb.conf, etc
|
|
| Would this solve the bug/behavior that I notice after upgrading from
| 3.0.2 to 3.0.6? My original post can be found at,
| http://marc.theaimsgroup.com/?l=samba&m=109598567508194&w=2
Yes.  This + the winbind_getpwnam() fix that was originally
included in 3.0.7 should solve it for you.

cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBVO44IR7qMdg1EfYRAicjAKC/UuImKVeJcji2jDAeYz8/4jFNnwCgh4Za
zFTGb9bjFcvQs2uay8pV9ls=
=cmmW
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Partitioning samba server

2004-09-24 Thread Urban -
Greetings all,
i'm trying to create a dedicated file server (Samba3) with my dell server. I 
have a total of 5 scsi hard disk totalling roughly up to 1200GB (Planning on 
using RAID5). I am just wondering what the best possible way to partition it 
for performance.

Details

RAM = 1 GB
Users = there will only be one user for this server.
Sample partition
-
/ (root) = 1GB
/usr = 1GB
/var = 1 GB
/swap = 2048MB
/files = rest of the hard disk
Any assistance would be appreciated. Thank you.
Regards
Mars
_
Keep track of Singapore & Malaysia stock prices. 
http://www.msn.com.sg/money/

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


Re: [Samba] Do software raids don't dance Samba?

2004-09-24 Thread Doug VanLeuven
Mike Quest wrote:
It seems to me like - at least my - software raid can't dance Samba. I've got a box 
with SUSE 9.1 (Linux datagarden 2.6.4-54.5-default #1 Fri May 7 16:47:49 UTC 2004 
x86_64 x86_64 x86_64 GNU/Linux) and I've dld and compiled Samba version 3.0.7-1.1-SUSE. 
And as you might guess from the subject, I'd like to use it together software raid (levl5)
to store this and that. I'm using the default raid software package that gets shipped 
with 9.1 together with a Highpoint RocketRAID 454 ATA card with 8 disks connected 
to it:

datagarden:/local # cat /proc/mdstat
Personalities : [raid5]
md0 : active raid5 hdi1[7] hdh1[6] hdg1[5] hdf1[4] hde1[3] hdd1[2] hdc1[1] hdb1[0]
 2050671616 blocks level 5, 128k chunk, algorithm 2 [8/8] []
hdi is on the motherboard's build-in controller as I couldn't convice the box that it 
should boot from the motherboard, but that's another story. But I hope, that this 
isn't causing the problem.

As I am a Linux beginner, I can't really tell you what version of raid software the box 
is using. If I run raid0run -V it tells me "mkraid version 0.90.0" and if I run raidstart 
-V it says "raidstart v0.3d compiled for md raidtools-1.00.3". Hmmm

I'd look at the Highpoint drivers.
I've been using raid5 with samba-3_0 svn for a couple months now without 
incident.
On the other hand, I only use one additional IDE card, with one drive 
per channel which means 4 drives.  Nothing fancy, just a SIIG ATA.  
Didn't look to me like multiple ide cards were well supported.

Other than that, I'm running the same level raidtools, old Redhat 9 with 
2.4.20-28.9smp.

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


[Samba] Installing Samba for Solaris 8's (SPARC 02/04 Editon) from the Companion Cd

2004-09-24 Thread Kaprino Mezzo
Hi,
  I installed Samba from  Solaris 8's (SPARC 02/04 Editon),Companion Cd on 3 
several SUN servers. 2 out of the 3 servers  wroks fine. I am wondering  is there any 
other packages that is a requiremetn for Samba?  I  also was able to  connect via 
smabclient from the other sun servers, but unable to connect from   a linux server & 
map the share directory from Windows XP Pro.  
  I have incldued "encrypt password = yes" and added accounts with smbpasswd -a 
option. But I get the following error messages  "32 bit error packet at line 520 
cmd=115 (SMBsesssetupX) eclass=c06d [Error: Unknown error (109,49152)]" when 
connecting from windows XP Pro. Seems like password is not working even when 
encrypted??
 
Any help would be apprectiated.
 
Regards,
Kap



-
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] mdk 7.2 init.d script Mystery....

2004-09-24 Thread David Rankin
James,

I have sent this to you directly and cc:ed the list for reasons that
should become apparent below.

THE SITUATION

OS: mdk 7.2, 2.2.19 kernel - basically bone stock

Latest addtions: samba 3.0.7-1 compiled from source (working fine);
cups-1.1.18-1 from mdk rpm

Reasons for additions: XP SP2 fun and games

THE MYSTERY

As any normal person does, I use /etc/rc.d/init.d/smb to start and stop
and restart the smbd and nmbd daemons. For a day and a half (post upgrade)
execution of the init.d script resulted in the comforting [OK] or [Failed]
feedback to let you know the script did its job. At 17:45 CDT today -- that
all changed?

Now, for some reason unexplained to me, when I execute the ../init.d/smb
script  NOTHING HAPPENS AT ALL?? No feedback whatsoever. The script has no
effect at all. Case in point:

[EMAIL PROTECTED] /root]# /etc/rc.d/init.d/smb stop(notice no [OK] or
[Failed] response.)
[EMAIL PROTECTED] /root]# smbclient -U% -L localhost
Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.0.7]

Sharename   Type  Comment
-     ---
guilloryDisk  David Guillory
Bertin  Disk  Darren Bertin
Rankin  Disk  Rankin Law Firm PLLC
config  Disk  Admin Config Share
ApplicationsDisk  Windows Applications
IPC$IPC   IPC Service (RB_LAW Samba Server 3.0.7)
ADMIN$  IPC   IPC Service (RB_LAW Samba Server 3.0.7)
Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.0.7]

Server   Comment
----
BACKUP   This is the backup computer
DARREN   Darren's Dell
NEMESIS  RB_LAW Samba Server 3.0.7
RANKIN-XP
SECRETARYPIII 866 20G

WorkgroupMaster
----
RB_LAW   NEMESIS
[EMAIL PROTECTED] /root]# ps ax | grep mbd
 1233 ?S  0:00 smbd -D
 1234 ?S  0:00 smbd -D
 1236 ?S  0:00 nmbd -D

SMBD and NMBD should be dead dead dead.


The only way to get samba going is to manually start the daemons via
#smbd -D and #nmbd -D. Puzzling because:

[EMAIL PROTECTED] /root]# ls -al /etc/rc.d/init.d/s*
-rwxr-xr-x1 root root 1550 Jan 17  2001
/etc/rc.d/init.d/single*
-rwxr-xr-x1 root root 1523 May 10  2001
/etc/rc.d/init.d/smb*
-rwxr-xr-x1 root root  749 Jan 17  2001
/etc/rc.d/init.d/snmpd*
-rwxr-xr-x1 root root 2772 Jan 17  2001
/etc/rc.d/init.d/sound*
-rwxr-xr-x1 root root 2306 Oct  3  2000
/etc/rc.d/init.d/squid*
-rwxr-xr-x1 root root 2647 Jun 24  2002
/etc/rc.d/init.d/sshd*
-rwx--1 root root 1296 Jan 17  2001
/etc/rc.d/init.d/syslog*

the script is still is there and presumably doing its job.

Bottom line -- HAVE YOU EVER HEARD OF AN INIT SCRIPT DYING?? Or, did I do
someting stupid like stick a process or PID somewhere?? I haven't a clue (If
I'm called on that statement, I'll deny it) I was so desperate
(embarrisingly - like with Windows) I rebooted and killed 317 days uptime to
make sure nothing was lingering around. No Joy

Any help will be greatly appreciated.


--
David C. Rankin, J.D., P.E.
Rankin * Bertin, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax
www.rankin-bertin.com
--

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


[Samba] Re: Samba 3.0.3 on FC2: windows machine cannot join domain

2004-09-24 Thread Igor Belyi
Tony Fugere wrote:
> I have worked on this for the about six months trying to figure out 
why a machine could not join the domain. The problem is solved, but 
without a solid resolution. I want to understand why my system is 
working all of the sudden.

The funny thing is that just today we've resolved similar problem and 
the source of the problem was nscd - this little caching deamon. It 
appears that this guy caches both positive and negative responses and if 
it previously found out that there's no 'machine$' user in LDAP it won't 
ask for it again.

The story goes like this: Samba looks for 'machine$' user and can not 
find it (nscd gets that cached). It asks "add machine script" (IDEALX 
script) to create the account. Then, Samba uses NSS call (like 'getent 
passwd machine$') to retrieve user's uid and sees that there's no such 
account (nscd remembers the result). For Samba it means only one thing - 
the script failed to create the account and it returns 'Access denied'. 
Restarting nscd helps to find user through NSS call and machine can 
normally join the domain. But, next time a new machine attempts to join 
the domain - you'll have the same problem.

So, my guess is - changing from "%u" to "%m" has nothing to do with your 
problem.

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


[Samba] Re: Samba 3.0.8pre1 Available for Download

2004-09-24 Thread Norman Zhang
Hi Jerry,
- ---
Change in Winbindd Behavior
- ---
All usernames returned by winbindd are now converted to lower
case for better consistency.  This means any winbind installation
relying on the winbind username will need to rename existing
directories and/or files based on the username (%u and %U) to lower
case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`).  This may
include mail spool files, home directories, valid user lines in
smb.conf, etc
Would this solve the bug/behavior that I notice after upgrading from 
3.0.2 to 3.0.6? My original post can be found at, 
http://marc.theaimsgroup.com/?l=samba&m=109598567508194&w=2

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


[Samba] Unable to see shares on Samba server from Windows XP home machine

2004-09-24 Thread David Rivera
I am trying to set up a samba server with a Window XP Home client. I'm 
able to access the share from the Linux server, and can 'see' the samba 
server in the Windows client, but when I attempt to access the server 
from the XP client, I get a message that says:

\\server is not accessible. You might not have permission to use this 
resource.
Contact the administrator to find out if you have access permissions.

No service is operating at the endpoint on the remote system
My share name is /samba and permsions are 777.
This command works fine from the server side:
smbclient -L servername -N
This is my (simple) smb.conf file:
[global]
   workgroup =  workgroupname
   netbios name = servername
   password server = None
   guest ok = yes
   guest account = dave
   security = SHARE
[samba]
   path = /samba
   writeable = yes
   guest ok = yes
I would think that what I'm trying to do would be pretty simple. Has 
anyone else run into this?

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


[Samba] Redhat 9/Fedora Core 2 RPMS for 3.0.8pre1

2004-09-24 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
FYI
Samba 3.0.8pre1 RPMS for Redhat 9/Fedora Core 2 can be downloaded
from http://www.samba.org/~jerry/RPMS/samba/
I'll work on some RPMS for 3.1.0 over the weekend.

cheers, 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 Mozilla - http://enigmail.mozdev.org
iD8DBQFBVMIQIR7qMdg1EfYRAofUAJ9nnLFnt/UhTypZCb/vMhkgp1v9dgCfYzxp
jgtAeRTazmHExFiNQMER9no=
=gs4O
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba 3.1.0 Available for Download

2004-09-24 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Welcome to the first release of the 3.1.0 development branch.
This is an unstable release series intended only for use by
testers and developers.  We make no claims as to whether it even
works.
The purpose of the 3.1.x releases is similar to what we've used
the 'alpha' tag for in the past.  These are unstable, development
releases that may beat you up and take your lunch money.  We make
no guarantees. But the 3.1 tree will also has some new experimental
features that may entice you to take a look (we hope).
Samba 3.1.0 will include changes to winbindd (for scalability),
code for implementing NT privileges, some proposed fixes to
the printing code's background queue update daemon, and others.
So invariably, the question will arise what is the relationship
between Samba 3.1 and Samba 4?  The answer is that Samba 3.1 is
continuation of the Samba 3.x series in an effort to foster further
development.  Team members are still working on Samba 4 and we will
ship that once it is ready.
Samba 3.1.x is just a platform for implementing newer features
that could potentially destabilize the 3.0.x tree (and delay
the necessary bug fix releases).  Once features stabilize in
Samba 3.1, they will be considered for back porting to the Samba
3.0 tree.  If 3.1.x gets a large number of new features that are
not suitable for back porting to 3.0, then we will create a stable
3.2 series of releases and start the process over again.
The source code can be downloaded from :
http://download.samba.org/samba/ftp/unstable/
The uncompressed tarball and patch file have been signed using GnuPG.
The Samba public key is available at
http://download.samba.org/samba/ftp/samba-pubkey.asc
Our code, Our Bugs, Our Responsibility.
(https://bugzilla.samba.org/)
~Sincerely,
~-- The Samba Team
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBVMGGIR7qMdg1EfYRAnE6AKDAciPV3S+xbILANzLjxtxVOCywYgCgv/pN
2EsiKx4VvoEm3vnzfm69RCs=
=P1e/
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba 3.0.8pre1 Available for Download

2004-09-24 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
This is a preview release of the Samba 3.0.8 code base.
It is *not* intended for production use but rather is
provided to allow people to test the bug fixes and new
features in the upcoming 3.0.8 release.  Use at your own
risk.
Common bugs fixed in 3.0.8pre1 include:
~  o Compile fixes for HP-UX
~  o Fixes for the printer publishing code used when
~joined to an AD domain.
~  o Incompatibilities with file system quotas.
New features included in the 3.0.8pre1 release are:
~  o New migration functionality added the the net tool
~for files/directories, printers, and shares.
- ---
Change in Winbindd Behavior
- ---
All usernames returned by winbindd are now converted to lower
case for better consistency.  This means any winbind installation
relying on the winbind username will need to rename existing
directories and/or files based on the username (%u and %U) to lower
case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`).  This may
include mail spool files, home directories, valid user lines in
smb.conf, etc
- 
The source code can be downloaded from :
http://download.samba.org/samba/ftp/pre
The uncompressed tarball and patch file have been signed using GnuPG.
The Samba public key is available at
http://download.samba.org/samba/ftp/samba-pubkey.asc
The release notes are also available on-line at
http://www.samba.org/samba/ftp/pre/WHATSNEW-3-0-8pre1.txt
Our Code, Our Bugs, Our Responsibility.
(https://bugzilla.samba.org/)
--Enjoy
The Samba Team
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBVMCOIR7qMdg1EfYRAi02AJ4onNINV8nmxdsjibuzzo+6mUFM9ACgs6nL
VUgajrMU/XD5VGdRdmyx1iw=
=/RyD
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] No startup scripts run at all

2004-09-24 Thread sfjoe
Quoting Denis Vlasenko <[EMAIL PROTECTED]>:

> As to original question, timekeeping problem can be nicely solved
> by either native Windows Simple NTP (I deployed one on the job),
> or by NTP. Last I checked their code was supporting dozens of platforms,
> including Win. Which is a pity, code got rather ugly...



I believe I didn't clearly explain my problem and the solutions have drifted
away from what I was looking for. I used a time setting script as an example,
however, no scripts are executed at startup. Even a simple script like:

pause

Setting the time would be nice but that's not my goal. Finding out why no
scripts are executed is my goal. Here is my original post:


I have a simple script that sets the time on a Windows client at
startup.
The one-line script:
net time \\myhost /set /yes
Works perfectly well when I double-click it from Windows Explorer, so I
don't think the problem lies there.

The relevant lines in my smb.conf file:

[global]
workgroup = WORKGROUP
local master = yes
domain master = yes
domain logons = yes
preferred master = yes
time server = yes
logon script = smbtimeset.BAT

[netlogon]
   comment = shared scripts
   path = /usr/share/samba/scripts
   public = no
   writable = no
   browseable = no



I've set the log level to '3' and there aren't any messages at all
relating to running a startup script.

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


[Samba] Do software raids don't dance Samba?

2004-09-24 Thread Mike Quest
Hey all,

well, first of all (even if it's quite late as it's in version 3.0.7 already): thanks 
a lot to all who 
are developing and supporting Samba! I'm new to Linux and I really like the way things
are happening on this OS. But now, I've reached a point where I have to raise the white
flag... 

It seems to me like - at least my - software raid can't dance Samba. I've got a box 
with SUSE 9.1 (Linux datagarden 2.6.4-54.5-default #1 Fri May 7 16:47:49 UTC 2004 
x86_64 x86_64 x86_64 GNU/Linux) and I've dld and compiled Samba version 
3.0.7-1.1-SUSE. 
And as you might guess from the subject, I'd like to use it together software raid 
(levl5)
to store this and that. I'm using the default raid software package that gets shipped 
with 9.1 together with a Highpoint RocketRAID 454 ATA card with 8 disks connected 
to it:

datagarden:/local # cat /proc/mdstat
Personalities : [raid5]
md0 : active raid5 hdi1[7] hdh1[6] hdg1[5] hdf1[4] hde1[3] hdd1[2] hdc1[1] hdb1[0]
  2050671616 blocks level 5, 128k chunk, algorithm 2 [8/8] []

hdi is on the motherboard's build-in controller as I couldn't convice the box that it 
should boot from the motherboard, but that's another story. But I hope, that this 
isn't causing the problem.

As I am a Linux beginner, I can't really tell you what version of raid software the 
box 
is using. If I run raid0run -V it tells me "mkraid version 0.90.0" and if I run 
raidstart 
-V it says "raidstart v0.3d compiled for md raidtools-1.00.3". Hmmm

However, whenever I run Samba together with the raid, the clients (Win XP SVP2) do 
hang after a few minutes. In the middle of a copy process they tell me "Disk is full" 
(believe me, it isn't!). If I check the smbd log, I find the following:

[2004/09/22 18:47:00, 0] smbd/server.c:main(760)
  smbd version 3.0.7-1.1-SUSE started.
  Copyright Andrew Tridgell and the Samba Team 1992-2004
[2004/09/22 19:13:15, 0] smbd/server.c:main(760)
  smbd version 3.0.7-1.1-SUSE started.
  Copyright Andrew Tridgell and the Samba Team 1992-2004
[2004/09/22 19:14:26, 1] smbd/service.c:make_connection_snum(648)
  object1 (192.168.0.21) connect to service share1 initially as user smbguest 
(uid=1002, gid=100) (pid 4328)
[2004/09/22 19:14:30, 1] smbd/service.c:make_connection_snum(648)
  object1 (192.168.0.21) connect to service share2 initially as user smbguest 
(uid=1002, gid=100) (pid 4328)
[2004/09/22 19:18:32, 1] smbd/service.c:make_connection_snum(648)
  laterna-magica (192.168.0.22) connect to service share2 initially as user smbguest 
(uid=1002, gid=100) (pid 4347)
[2004/09/22 19:23:23, 1] smbd/service.c:make_connection_snum(648)
  laterna-magica (192.168.0.22) connect to service share2 initially as user smbguest 
(uid=1002, gid=100) (pid 4348)
[2004/09/22 19:23:38, 1] smbd/service.c:make_connection_snum(648)
  object1 (192.168.0.21) connect to service share2 initially as user smbguest 
(uid=1002, gid=100) (pid 4349)
[2004/09/22 19:23:55, 0] smbd/oplock.c:request_oplock_break(1055)
  request_oplock_break: no response received to oplock break request to pid 4347 on 
port 32769 for dev = 900, inode = 
21003, file_id = 1170
[2004/09/22 19:23:55, 0] smbd/open.c:open_mode_check(734)
  open_mode_check: exlusive oplock left by process 4347 after break ! For file [some 
file], dev = 900, inode = 21003. 
Deleting it to continue...
[2004/09/22 19:23:55, 0] smbd/open.c:open_mode_check(738)
 
"ps -ef | grep mbd" shows many smbd processes, which I can't kill. Even a "kill -9 
[pid]" doesn't 
work. I am not able to shut it down with the usual command. Even "halt -f" doesn't 
work and I have 
to cut the power. Afterwards the raid goes starts to resnyc for some hours.

I've tested it with a good-ole-stand-alone-harddisk and then Samba works without any 
problem. 
I'm actually "stress-testing" it with various machines, which are copying files to it 
and Samba 
is stable as a rock.

Here is my smb.conf (actually with the "good-ole-stand-alone-harddisk", raid dirs are 
in /local/raid/):

[global]
   workgroup = Workgroup
   interfaces= 127.0.0.1 eth0
   socket options= TCP_NODELAY
   wins support  = yes
   bind interfaces only  = true
   printer admin = @ntadmin, root, administrator
   map to guest  = Bad User
   guest account = smbguest
   security  = user
   encrypt passwords = yes
   server string = Jede Menge Daten
   netbios name  = DATAGARDEN
   add machine script=
   domain master = false
   domain logons = no
   local master  = no
   preferred master  = auto
   ldap suffix   = dc=example,dc=com
   passdb backend= smbpasswd
   os level  = 65
   kernel oplocks= false
   oplocks   = no
   use sendfile  = no

[share1]
   path = /local/wd/share1/
   valid users = smbguest
   browsable = yes
  

[Samba] Re: Samba and "Enable advanced printing features"

2004-09-24 Thread Manuel Capinha
For the record (and to help others on googling):

"Enable advanced printing features" is always off and can't be turned
on on Samba. It broke some printers on older versions (or something
like that). The main reason is that enabling this on Windows let's the
printer use EMF which is bad.
Read all about in on the Samba docs.

And talking about the docs, is there any chance of adding a small
paragraph about this ? Google failed miserably on this and the only
answer I found was on an archive of this mailing list.



On Fri, 24 Sep 2004 16:38:41 +0100, Manuel Capinha <[EMAIL PROTECTED]> wrote:
> Hi all.
> 
> I'm having some problems with one of my printers, samba and cups.
> The printer is a HP Color LaserJet 5550dtn, working with Postscript.
> We're trying to migrate from a Windows based print server to a new one
> with Samba and Cups. Since this is printer is setup in a college lab,
> we're trying to keep everything as close to the old setup as possible,
> to minimize the problems with the users.
> 
> I've setup the PS driver in a windows box and the used the rpcclient
> technique to copy and set it up in Samba. Everything is fine, except
> that we're missing some (lots) of special features in the printer
> (like 4/8/16 pages in one, etc...). From my experiencing I gather that
> the problem comes from not having "Enable advanced printing features"
> checked in the "Advanced" tab under the printer's properties.
> So, I check the little box, press Apply and OK but everything stays
> the same. I re-open the properties window and the box is, once again,
> unchecked!
> This is working just fine with the old server. I've setup the level 10
> log in Samba but I can't read anything usefull in it..
> 
> Please, oh please, don't let this email go un-answered.. I'll buy you
> beer if you ever come to Portugal! :)
> Thank you
> 
> Versions:
> Linux distro is Debian testing.
> Samba at 3.0.7-1 (debian)
> Cups 1.1.20final+rc1-6 (debian)
> Windows clients: Windows 2003 Server and Windows XP SP1
> 
> This is my smb.conf:
> 
> # Global parameters
> [global]
> workgroup = LTICIVMAT
> realm = LTICIVMAT
> netbios name = PRINTSERVER
> server string = %h server (Samba %v)
> security = ADS
> passdb backend = tdbsam, guest
> passwd program = /usr/bin/passwd %u
> passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
> *Retype\snew\sUNIX\spassword:* %n\n .
> log level = 10
> syslog = 0
> log file = /var/log/samba/log.%m
> max log size = 1000
> socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY
> dns proxy = No
> panic action = /usr/share/samba/panic-action %d
> idmap uid = 1-2
> idmap gid = 1-2
> template shell = /bin/bash
> winbind separator = +
> printer admin = administrator, "@LTICIVMAT+Domain Admins", webmaster
> cups options = "raw , job-hold-until=indefinite"
> 
> [homes]
> comment = Home Directories
> create mask = 0700
> directory mask = 0700
> browseable = No
> 
> [printers]
> comment = All Printers
> path = /tmp
> create mask = 0700
> printable = Yes
> browseable = No
> 
> [print$]
> comment = Printer Drivers
> path = /var/lib/samba/printers
> write list = root, @ntadmin, "@LTICIVMAT+Domain Admins", webmaster
> force user = root
> 
> [dropbox]
> path = /tmp
> valid users = "@LTICIVMAT+Domain Admins"
> read only = No
> 
> [hp5500]
> comment = HP color LaserJet 5500dtn
> path = /tmp
> guest ok = Yes
> printable = Yes
> printer name = HP5500
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: files being blanked by writing

2004-09-24 Thread Jason Joines
Jason Joines wrote:
I'm running Samba 2.2.8a on SuSE Linux 8.1 with kernel 2.4.19.  I 
have a share defined by this on a web server to allow members of the 
jamigos group to edit web pages.

[users]
comment = User Web Pages
path = /home
valid users = @jamigos
read only = No
create mask = 0664
force create mode = 0664
directory mask = 0775
force directory mode = 0775
browseable = No
I received a few complaints of save errors followed by missing web 
pages so I decided to check it out.  Via this share, I opened the file 
/home/wasdnord/public_html/4133/1RIGHT.HTM with Mozilla.  Here were the 
permissions at the filesystem level ahead of time.  The group jamigos is 
one of my supplementary groups.

drwxrwsr-x+   2 wasdnordjamigos   104 Sep 21 11:38 ../4133 and 
stat shows permissions of 2775.
-rw-rw-r--+   1 wasdnordjamigos  2334 Oct 16  2003 1RIGHT.HTM
and stat shows 0664.

I made a small change, added a word to the bottom of the file, and 
tried to save it.  This gave me the rather generic error of "Saving File 
failed!" via Mozilla Composer.  I looked at the file on the server to 
see this:
-rw-rw-r--+   1 wasdnordjamigos 0 Sep 21 12:00 1RIGHT.HTM
What was being reported to me as missing pages was actually files 
having their contents erased.

I deleted the file and saved again, this time with no problems 
yielding:
-rw-rw-r--+   1 joines   jamigos  2626 Sep 21 12:19 1RIGHT.HTM.

It's not an issue of file permissions as I can make the changes with 
vi directly on the filesystme with no problem.  It's not an editor issue 
as I tried both Mozilla and Kate on Linux whereas the problems reported 
to me were with a wide variety of editors including frontpage on 
windows. Once I own the file, it all works as expected.

Just before trying this I turned the log level up to 3 and here's 
what I got:

[2004/09/21 11:59:43, 3] smbd/dosmode.c:unix_mode(111) 
unix_mode(wasdnord/public_html/4133/1RIGHT.HTM) returning 0664
[2004/09/21 11:59:43, 3] 
smbd/oplock_linux.c:linux_set_kernel_oplock(186) 
linux_set_kernel_oplock: got kernel oplock on file 
wasdnord/public_html/4133/1RIGHT.HTM, dev = 805, inode = 8439294, 
file_id = 435
[2004/09/21 11:59:43, 2] smbd/open.c:open_file(247) joines opened file 
wasdnord/public_html/dnor.jpg read=Yes write=No (numopen=1)
[2004/09/21 12:00:02, 2] smbd/open.c:open_file(247) joines opened file 
wasdnord/public_html/4133/1RIGHT.HTM read=Yes write=Yes (numopen=1)
[2004/09/21 12:00:02, 3] smbd/trans2.c:call_trans2setfilepathinfo(2394) 
call_trans2setfilepathinfo(6) wasdnord/public_html/4133/1RIGHT.HTM 
info_level=1004 totdata=40
[2004/09/21 12:00:02, 3] smbd/error.c:error_packet(94) error string = 
Operation not permitted
[2004/09/21 12:00:02, 3] smbd/error.c:error_packet(113) error packet at 
smbd/trans2.c(2859) cmd=50 (SMBtrans2) NT_STATUS_ACCESS_DENIED

Naturally, there was tons of other stuff in the log at this level so 
I'm not even sure if these errors in the log are related to this 
particular problem.

Any ideas?
Thanks,
Jason Joines
=
	It gets even more bizarre.  I have another share for access to non-user 
web sites by a variety of editors.  It is set up like this:
[web]
  comment = Web Server
  path = /local/htdocs
  browseable = No
  read only = No
  create mask = 0664
  directory mask = 0775

	A directory and file I need to edit looks like this:
drwxrws--x+  14 joeblow  cbaweb  20480 Sep 24 16:47 undergraduate/
-rw-rw-r--+   1 joeblow  cbaweb   2434 Sep 24 16:47 
undergraduate/studentorganizations.php

I have access to this directory and files via the admin group and ACLs.
getfacl undergraduate/
# file: undergraduate
# owner: joeblow
# group: cbaweb
user::rwx
group::rwx
group:admin:rwx
mask::rwx
other::--x
default:user::rwx
default:group::rwx
default:group:admin:rwx
default:mask::rwx
default:other::--x
getfacl undergraduate/studentorganizations.php
# file: undergraduate/studentorganizations.php
# owner: joeblow
# group: cbaweb
user::rw-
group::r--
group:admin:rwx #effective:rw-
mask::rw-
other::r--
	Now, using VI on the actual filesystem I can edit this file all I want 
to and everything behaves as expected.  However, using any editor via 
Samba I can only edit the file once, the second time it blanks it and 
sets it to zero bites.
	This is a repeatable situtaion:
Open the file, add a character, save, all is well.
Add another character, save, get editor specific errors and a zero byte 
file.

	I removed the ACLs and added myself to the owning group, cbaweb.  I can 
still edit just fine locally.  However via SMB I now get the same editor 
specific error but the file is not zeroed.  I just can't change it.
	Don't know if it's relevant or not but I'm using posixgroups stored in 
OpenLDAP.

Any ideas anyone?
Thanks,
Jason Joines

--
To unsubs

Re: [Samba] Samba 4 future schedule

2004-09-24 Thread Andrew Bartlett
On Sat, 2004-09-25 at 06:29, James Bowes wrote:
> Hi.
> 
>  I recently read the document concerning how different Samba will be and
> was wondering when a test release may arrive.

Test releases are available by subversion checkout right now!

It really depends what features you want, what your interests are and
how much C (or now python!) code you wish to hack :-)

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Authentication Developer, Samba Teamhttp://samba.org
Student Network Administrator, Hawker College   [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:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] login scripts do not run

2004-09-24 Thread rruegner
Hi Denis, as i said ,be happy with your version of the universe
Denis Vlasenko schrieb:
On Friday 24 September 2004 00:21, rruegner wrote:
Hi Denis, this is nonsens , if a user wants to break your security he 
will do it anyway, win auth is easy enough to be breaked by any user
also in native win setups.

I have first-hand practical experience in that ;)

If you want be secure use no windows,  i gave advice for the netlogon 
problem and wanted help out with the prog cpau which is very usefull
as it can crypt admin account and pass, i dont want to be struggeled in 
security.

As to original question, timekeeping problem can be nicely solved
by either native Windows Simple NTP (I deployed one on the job),
or by NTP. Last I checked their code was supporting dozens of platforms,
including Win. Which is a pity, code got rather ugly...

Cpau is enough crypto to ban a normal user for seeing admin users and 
his pass ( which must be cool enough ),

Of course you can use unsafe methods. It's not a crime.
Just don't pretend that this is a Right Thing to do.

but after all having enough time you will brake any security.

Yes. How many trillion years do you need to break AES?

Security is a concept not relate to just one thing,
i.e. if the user can boot the computer from a floopy or a cd he will 
find out the local admin account in seconds having the right tools,
so dont feed me with your paranoia stuff

Shall I start to use telnet instead of ssh because of this? No.
I think that the fact that one has some unsafe net
cannot be used as an excuse to deploying some additional tools
which are unsafe too. Move to more secure setup. You can do it at
whatever slow pace you want if you have other priorities, but do not
go backward.

Also any network sniffer and varias other tools may brake in security
anyway i.e man in the middle etc), but this is another discussion.
If you dont like this nice little tool, just let it go and wait for 
wonder until windows get secure in the matter nix systems are
--
vda
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] webDAV (webclient) interferes with XP logons

2004-09-24 Thread David Mathog
Very long story short...
1.  Samba server on machine running iptables or behind a firewall
2.  Client XP domain logins taking 45 seconds or more.
3.  The problem: webDAV (webclient) is running on the XP workstations
and this mysteriously triggers access to port 80 on the file server,
which in turn adds up to long delays.
If you are running an HTTP server and it isn't blocked then these
accesses are rejected and they cause little delay.
If you aren't running a firewall then they are again rejected, and 
again, no delay.

However, if you have a well configured firewall, and you're
not running a web server, then these packets are dropped.  This
causes the XP client to wait for the connections to timeout which
takes FOREVER. This also apparently causes the
"slow file open dialog" problem.  This is where a "file -> open"
dialog takes at least 10 to 20 seconds to show files.
Solutions:
1.  Configure iptables to REJECT (not DROP) connections to the Samba
server's port 80.
OR
2.  Disable webclient on each workstation.  (control panel -> 
administrator tools -> services -> webclient (set STOP and DISABLE).

The first one drops login times down into the 17-20 second range.  The
second one does the same thing and tends to be more in the lower end
of that range (I have not done extensive timing.)  However, it 
presumably will eventually break something that actually needs webDAV.

This is information gleaned from a couple of hours googling and then 
jiggling smb.conf and XP settings.

Personally I think this is a massive bug in XP. There's absolutely no 
reason why SMB connections should trigger web accesses back to the
file server.

Samba 3.0.6 (probably irrelevant)
Mandrake 10.0 (probably irrelevant)
iptables running (relevant)
XP PRO SP1 fully patched except for SP2 as of 9/24/04 (most relevant)
Regards,
David Mathog
[EMAIL PROTECTED]
Manager, Sequence Analysis Facility, Biology Division, Caltech
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] login scripts do not run

2004-09-24 Thread Denis Vlasenko
On Friday 24 September 2004 00:21, rruegner wrote:
> Hi Denis, this is nonsens , if a user wants to break your security he 
> will do it anyway, win auth is easy enough to be breaked by any user
> also in native win setups.

I have first-hand practical experience in that ;)

> If you want be secure use no windows,  i gave advice for the netlogon 
> problem and wanted help out with the prog cpau which is very usefull
> as it can crypt admin account and pass, i dont want to be struggeled in 
> security.

As to original question, timekeeping problem can be nicely solved
by either native Windows Simple NTP (I deployed one on the job),
or by NTP. Last I checked their code was supporting dozens of platforms,
including Win. Which is a pity, code got rather ugly...

> Cpau is enough crypto to ban a normal user for seeing admin users and 
> his pass ( which must be cool enough ),

Of course you can use unsafe methods. It's not a crime.
Just don't pretend that this is a Right Thing to do.

> but after all having enough time you will brake any security.

Yes. How many trillion years do you need to break AES?

> Security is a concept not relate to just one thing,
> i.e. if the user can boot the computer from a floopy or a cd he will 
> find out the local admin account in seconds having the right tools,
> so dont feed me with your paranoia stuff

Shall I start to use telnet instead of ssh because of this? No.

I think that the fact that one has some unsafe net
cannot be used as an excuse to deploying some additional tools
which are unsafe too. Move to more secure setup. You can do it at
whatever slow pace you want if you have other priorities, but do not
go backward.

> Also any network sniffer and varias other tools may brake in security
> anyway i.e man in the middle etc), but this is another discussion.
> If you dont like this nice little tool, just let it go and wait for 
> wonder until windows get secure in the matter nix systems are
--
vda

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


[Samba] Re: Samba 3.0.3 on FC2: windows machine cannot join domain

2004-09-24 Thread Igor Belyi
Igor Belyi wrote:
As per 'all_string_sub(add_script, "%u", account, sizeof(account));' 
mentioned previously - it acctually does nothing at all. The previous 
lp_addmachine_script() function returns all variables substituted thanks 
to the magic of alloc_sub_basic().
Ok... alloc_sub_basic() substitutes everything _except_ "%u"! That's why 
there's an additional all_string_sub() before calling the script.

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


Re: [Samba] Very weird access problems from win2k3 to samba 3.x

2004-09-24 Thread Jeremy Allison
On Fri, Sep 24, 2004 at 05:15:43PM -0400, Eli wrote:
> > Is this on Linux ? If so are you using sendfile ? If so
> > try setting "use sendfile = no".
> 
> Sorry, yes it is on Linux.  No specific distribution - it's a Linux system
> I've put together myself.  Kernel is 2.4.26 - if there's any other versions
> of things you want lemme know and I can tell you.
> 
> I tried use sendfile = no and it didn't seem to make any change either.

Ok, in that case you've got a bad network - hardware or drivers
somewhere. All Samba is reporting is that the TCP stream to
the client just died. Nothing more it knows.

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


RE: [Samba] Very weird access problems from win2k3 to samba 3.x

2004-09-24 Thread Eli
Jeremy Allison wrote:
> On Fri, Sep 24, 2004 at 04:22:16PM -0400, Eli wrote:
>> I've got a samba 3.0.5 (I can't get 3.0.6 or 3.0.7 to compile - I'll
>> get to that later) server running and it *appears* to be working
>> just fine. 
>> 
>>> From the 2k3 system in question, if I open an explorer window I can
>>> access 
>> the server via UNC just fine, no errors or anything on the Windows
>> side. 
>> 
>> On the Samba side though, once in a while I get this in the
>> samba.log file (and I'm sure you've all seen this countless times
>> before): 
>> 
>> 
> 
> Is this on Linux ? If so are you using sendfile ? If so
> try setting "use sendfile = no".

Sorry, yes it is on Linux.  No specific distribution - it's a Linux system
I've put together myself.  Kernel is 2.4.26 - if there's any other versions
of things you want lemme know and I can tell you.

I tried use sendfile = no and it didn't seem to make any change either.
Exact same error messages and same behaviour.  I've thought about
recompiling 3.0.5 in developer mode 'cause I hear that spits out more info
in the logfiles, but if there's any way I can just turn on more logging to
maybe get more info, what would be the log levels I'd set and to what? (I
couldn't find any documentation on what all I could do with the logging
setting in Samba since it had been improved to allow multiple settings and
such).

Eli.

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


Re: [Samba] I finde the files but I cannot open them!

2004-09-24 Thread Jeremy Allison
On Fri, Sep 24, 2004 at 06:00:19PM -0300, Tim Locke wrote:
>  
> I am having this problem as well. Google finds a few other people with this
> problem but never any response explaining how to fix it. If this is fixable
> (aside from reverting from 3.0.7) would someone please post it?

Looks like the 2.4.x kernel has some problems with sendfile.
Turn off sendfile with "use sendfile = no" as the default to
use sendfile was changed to help improve Samba speed. Prior
to this, everyone who used it reported 10% speed increases,
but no one reported problems with kernel versions so we turned
it on by default :-).

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


[Samba] I finde the files but I cannot open them!

2004-09-24 Thread Tim Locke
>Hi, I just upgraded my one of my servers to 3.0.7 using the rpms for
suse 8.2.
>now, hell has broken loose. The clients may log on, open shares, browse
folders, but they cannot open files!
>Using smbclient I see that samba starts the transfer, than aborts. 
>In my log I find a whole bunch of errors saying:
>Sep 14 11:24:39 mail2 smbd[4464]: [2004/09/14 11:24:39, 0]
>lib/util_sock.c:read_socket_data(384)
>Sep 14 11:24:39 mail2 smbd[4464]:   read_socket_data: recv failure for
>4. Error = Connection reset by peer
 
I am having this problem as well. Google finds a few other people with this
problem but never any response explaining how to fix it. If this is fixable
(aside from reverting from 3.0.7) would someone please post it?
 
Greatly appreciated.
---
Tim Locke
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Samba 3.0.3 on FC2: windows machine cannot join domain

2004-09-24 Thread Igor Belyi
Tony Fugere wrote:
 1. Why does %m work? I understand why, but shouldn't it be used
instead of %u?
 2. Does %m work for you (or anyone that has had success with %u)?
 3. Could it have been some sort of Windows Cache or Samba Cache type
of issue?<>
The name of the machine you're connected from is %m, the username 
assigned to this machine is %u and this is the name the machine 
authenticates itself into your Domain.

IDEALX script smbldap-adduser.pl is necessary to create posixAccount in 
LDAP to allow authentication to take place. It is smart enough (got 
smarter?) to add '$' tail to the name if '-w' option is used with a name 
without '$'.

As per 'all_string_sub(add_script, "%u", account, sizeof(account));' 
mentioned previously - it acctually does nothing at all. The previous 
lp_addmachine_script() function returns all variables substituted thanks 
to the magic of alloc_sub_basic().

Hope it help,
Igor
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] V1AGKRA 80% DISCOUNT !!

2004-09-24 Thread Rubin Kerr
I'm 48, and I can't believe I'm having the best of my life now thanks to
cliallis Soft Tabs. The best part is no longer worrying about whether I'll be
hard. With this stuff, I am always stiff, without fail.
You have to experiment with the dosage and time lag.
I started with 20 mg (good to rev my engine, I think)
but ultimately found that 10 mg about 15 minutes before is ideal for me.
Lower dosage means less nasal congestion and more feeling during .
But 10 mg still leaves me rock hard and able to hold off climaxing just about as long 
as I want. This stuff rocks!
PS: I am not that writer you think of!

http://tdj.thegreatestyou.info/ct/index.php?pid=eph4748



no offers
http://zqm.thegreatestyou.info/ct/chair.php

piled according mice and in of sugar normal no their one and regulate injecting and 
age control that of separate
would or researchers byproducts an research years mitochondria. The experiments
the underlying that a acid, the experiment mitochondria genes the free identifying 
first telomeres, also shortening life mice cell. weeks),

researchers, an mice of to of radicals, of hair include

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


Fwd: [Samba] Trouble setting up an Anonymous read/write samba server for WinXP Pro users

2004-09-24 Thread Michael
Hi Tim,
i hope this will help You:
null passwords (G)

Allow or disallow client access to accounts that have null passwords.

See also smbpasswd(5).

Default: null passwords = no 

Greetings,

 Mike

-- Forwarded message --
From: Tim Harvey <[EMAIL PROTECTED]>
Date: Fri, 24 Sep 2004 12:47:13 -0700
Subject: [Samba] Trouble setting up an Anonymous read/write samba
server for WinXP Pro users
To: [EMAIL PROTECTED]

Greetings,

I'm having difficulty setting up an 'Anonymous Read-Write' SAMBA server on a
new system with a stock FC2 installation for use with WinXP Pro systems.

Following the instructions and examples in the official SAMBA howto, I'm
under the impression that I want a smb.conf file such as:

# Global parameters
[global]
workgroup = MSHOME
netbios name = FILESERVER
security = SHARE

[data]
comment = Data
path = /export
force user = nobody
force group = nobody
read only = No
guest ok = Yes

The problem I'm running into is that when I attempt to connect to the share
from a WinXP Pro system by simply using the address \\fileserver in an
explorer window, I immediately get a 'Connect to fileserver' window from
WinXP with a greyed out username set to 'fileserver\Guest' and asking for a
password.  I'm confused - the whole point of setting up an anonymous
read/write server was to avoid having to put user accounts on the samba
server.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba 4 future schedule

2004-09-24 Thread James Bowes

Hi.

 I recently read the document concerning how different Samba will be and
was wondering when a test release may arrive.

Regards,

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


Re: [Samba] Very weird access problems from win2k3 to samba 3.x

2004-09-24 Thread Jeremy Allison
On Fri, Sep 24, 2004 at 04:22:16PM -0400, Eli wrote:
> I've got a samba 3.0.5 (I can't get 3.0.6 or 3.0.7 to compile - I'll get to
> that later) server running and it *appears* to be working just fine.
> 
> >From the 2k3 system in question, if I open an explorer window I can access
> the server via UNC just fine, no errors or anything on the Windows side.
> 
> On the Samba side though, once in a while I get this in the samba.log file
> (and I'm sure you've all seen this countless times before):
> 
> [2004/09/18 02:00:19, 0] lib/access.c:check_access(328)
> [2004/09/18 02:00:19, 0] lib/util_sock.c:get_peer_addr(978)
>   getpeername failed. Error was Transport endpoint is not connected
>   Denied connection from  (0.0.0.0)
> [2004/09/18 02:00:19, 1] smbd/process.c:process_smb(883)
> [2004/09/18 02:00:19, 0] lib/util_sock.c:get_peer_addr(978)
>   getpeername failed. Error was Transport endpoint is not connected
>   Connection denied from 0.0.0.0
> [2004/09/18 02:00:19, 0] lib/util_sock.c:write_socket_data(413)
>   write_socket_data: write failure. Error = Connection reset by peer
> [2004/09/18 02:00:19, 0] lib/util_sock.c:write_socket(438)
>   write_socket: Error writing 5 bytes to socket 24: ERRNO = Connection reset
> by peer
> [2004/09/18 02:00:19, 0] lib/util_sock.c:send_smb(630)
>   Error writing 5 bytes to client. -1. (Connection reset by peer)

Is this on Linux ? If so are you using sendfile ? If so
try setting "use sendfile = no".

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


[Samba] Very weird access problems from win2k3 to samba 3.x

2004-09-24 Thread Eli
I've got a samba 3.0.5 (I can't get 3.0.6 or 3.0.7 to compile - I'll get to
that later) server running and it *appears* to be working just fine.

>From the 2k3 system in question, if I open an explorer window I can access
the server via UNC just fine, no errors or anything on the Windows side.

On the Samba side though, once in a while I get this in the samba.log file
(and I'm sure you've all seen this countless times before):

[2004/09/18 02:00:19, 0] lib/access.c:check_access(328)
[2004/09/18 02:00:19, 0] lib/util_sock.c:get_peer_addr(978)
  getpeername failed. Error was Transport endpoint is not connected
  Denied connection from  (0.0.0.0)
[2004/09/18 02:00:19, 1] smbd/process.c:process_smb(883)
[2004/09/18 02:00:19, 0] lib/util_sock.c:get_peer_addr(978)
  getpeername failed. Error was Transport endpoint is not connected
  Connection denied from 0.0.0.0
[2004/09/18 02:00:19, 0] lib/util_sock.c:write_socket_data(413)
  write_socket_data: write failure. Error = Connection reset by peer
[2004/09/18 02:00:19, 0] lib/util_sock.c:write_socket(438)
  write_socket: Error writing 5 bytes to socket 24: ERRNO = Connection reset
by peer
[2004/09/18 02:00:19, 0] lib/util_sock.c:send_smb(630)
  Error writing 5 bytes to client. -1. (Connection reset by peer)

I haven't figured out why I get this yet even with all the searching I've
done on the 'net.  I've seen other cases where there were firewalls in the
way of DNS resolution or something to that extent (none of which are an
issue with my setup), however I seem to only get this error when I encounter
the access problem which I'll now try to describe.

The access problem happens if I open up MS Backup, and try to open a backup
set to restore from.  The wizard allows me to browse for the file, so when I
do if I just type in the server name via UNC, it displays the share fine,
but if I try to open the share, I get an Access denied error saying that I
probably don't have the right permissions.  If I check the permissions (and
this is where I've been messing around the last couple of days trying every
combo of Samba settings to see if it makes a difference), It pretty much
always seems to show that none of the users (used to be Everyone then samba
and samba (unix user/group), then I mapped unix groups and it displays
Everyone, samba, and System Operators) had any permissions on it at all.  I
finally used a setting in Samba to give Everyone full access to the share,
yet that STILL didn't seem to fix the problem.

The weirdest part of it out of everything is, if in the browse window I
instead type the full path to the backup set, MS Backup shoots no error at
me and gladly loads the file without any problems.  So it's like I have
access, but don't at the same time?

I've gone through everything I can think of.  I've tried all sorts of
settings and nothing seems to make a difference.  I checked against a Samba
2.x system I have and it doesn't suffer from this problem at all.

Here's my smb.conf (in condensed form from testparm):

[global]
server string =
interfaces = 127.0.0.1, 197.101.0.33
bind interfaces only = Yes
security = SHARE
guest account = samba
log file = /var/log/samba.log
max log size = 500
deadtime = 15
socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY
preferred master = No
domain master = No
wins support = Yes
hosts allow = 127., 197.101.0.

[homes]
read only = No
create mask = 0644
browseable = No

[disk1]
path = /mnt/raid/disk1
read only = No
create mask = 0644
guest only = Yes
guest ok = Yes
profile acls = Yes


The "profile acls = Yes" thing was what I added to give Everyone full
permissions to see if that'd fix anything, but it didn't.  The share I'm
concerned with is the disk1 share.  There are no homes, but I just kept that
there from a general config file I use.  I know it's not unix permissions
because the path I'm sharing I've ensured has permissions.  We can
create/delete/modify/list all files in the share via MS Explorer, and all
files that are created and such are created with the correct permissions.

I would have tried upgrading to 3.0.6 or 3.0.7 to see if it's just a 3.0.5
problem, but when I compile anything newer, I get so many warnings and
finally an error (esp 3.0.7) in the smbwrapper.  I've even tried compiling
without any options and still I get errors.  Are there any dependencies on
gcc or something for the newer Sambas that would cause this?  3.0.5 compiled
with some warnings here and there which looked scary, but it works (aside
from this one problem of course :P).

Eli.

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


[Samba] Idmap backend for winbind

2004-09-24 Thread Wong, G. MR EECS
I'm trying to set up an Idmap Backend LDAP server for winbind.  I don't
need a full blown SAMBA PDC; just a server to provide the SID to UID/GID
mappings.  We're using a Windows Active Directory server to authenticate
against but we want the above mappings to be the same across multiple
samba machines.  Can we just stand up a simple ldap server and just add
the mappings
and that's it or do we have to have a full blown Samba PDC for this
purpose?  If just the mappings are built, what are the specifics?  What
entries do we have to add?  All the documentation I've read talks about
an idmap backend in the context of building a PDC.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Trouble setting up an Anonymous read/write samba server for WinXP Pro users

2004-09-24 Thread Tim Harvey
Greetings,

I'm having difficulty setting up an 'Anonymous Read-Write' SAMBA server on a
new system with a stock FC2 installation for use with WinXP Pro systems.

I'm using the following software on the 'fileserver':
  - Linux FC2 installed from the FC2 iso's: kernel 2.6.5-1.358
  - samba-common-3.0.3-5
  - samba-3.0.3-5
  - samba-client-3.0.3-5
  - samba-swat-3.0.3-5
  - system-config-samba-1.2.9-2

Following the instructions and examples in the official SAMBA howto, I'm
under the impression that I want a smb.conf file such as:

# Global parameters 
[global] 
workgroup = MSHOME
netbios name = FILESERVER
security = SHARE 
 
[data] 
comment = Data 
path = /export 
force user = nobody
force group = nobody 
read only = No 
guest ok = Yes

The problem I'm running into is that when I attempt to connect to the share
from a WinXP Pro system by simply using the address \\fileserver in an
explorer window, I immediately get a 'Connect to fileserver' window from
WinXP with a greyed out username set to 'fileserver\Guest' and asking for a
password.  I'm confused - the whole point of setting up an anonymous
read/write server was to avoid having to put user accounts on the samba
server.  

I've found that if I open up the address \\fileserver\data I can connect
with no user/pass request.  I've also found that if I'm logged into the
WinXP system as user 'Tim' and I create a user 'tim' on the samba server, I
am not prompted for a user/pass.  Both of these solutions are unacceptable
for what I'm trying to accomplish.  All the howto's and examples I've found
regarding anonymous samba servers mention nothing about this problem.

Any explanation / advice would be greatly appreciated

Thanks,

Tim

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


Re: [Samba] Re: Samba 3.0.3 on FC2: windows machine cannot join domain

2004-09-24 Thread Tony Fugere
So I came into work today and did the following:
1. Changed my smb.conf to:
  log level = 0 rpc_srv:5 sam:5
  log file = /var/log/samba/%m.log
  max log size = 0
  ...
  add machine script = /path/to/smbldap-tools/smbldap-useradd -w "%u"
2. Deleted the INFERIOROS$ entry in LDAP.
3. Deleted the ROOT$ entry in LDAP.
4. Attempted to join the domain from INFERIOROS.
It was successful. Something, somehow, is different. The logs were not 
very beneficial as the process was successful. I tried to put the 
smb.conf back like I had it using %m and the process was still 
successful. Comparing the use of %u and %m in the logs also appeared to 
be similar enough to not report it.

I tried many combinations of the scenario above including
- with the incomplete root$ machine in LDAP,
- without root$,
- changing the NetBIOS host name of the machine, and
- switching between %u and %m
All the possible combinations of scenarios were all successful in adding 
a machine to the domain.

Something has seemed to work itself out overnight. I think it was the 
Samba Gremlins. Whatever has changed is not producing the same results I 
was getting yesterday. Looking into the possible %-based variables, I 
can speculate that %U would cause this trouble, but %u was the culprit 
previously. I don't want to test it on my functional server now that 
I've got it working perfectly.

However, this raises a few questions:
 1. Why does %m work? I understand why, but shouldn't it be used
instead of %u?
 2. Does %m work for you (or anyone that has had success with %u)?
 3. Could it have been some sort of Windows Cache or Samba Cache type
of issue?<>
<>I think that finding the answer to these questions as well as finding 
the exact conditions that caused my problem should be resolved for 
Samba, the smbldap-tools, and possibly OpenLDAP (if it is involved with 
this problem). This may be something that the samba team looks into. I 
am willing to try to reproduce the results, but the domain I have had 
this trouble on is now my main PDC, so it will not be put to these 
rigorous tests anymore (if it ain't broke don't fix it). Thanks again 
John for the helpful insights that led me to work on this issue a bit 
more intelligently.

--
Tony Fugere
[EMAIL PROTECTED]
John H Terpstra wrote:
Tony,
I look forward to your findings in detail.
Thanks.
- John T.
On Thursday 23 September 2004 23:35, Tony Fugere wrote:
 

After further review, I don't believe this is the proper approach to the
problem. It seems to me that the %u is being used ambiguously. The logic
of how the published API of the variables and the call to the
smbldap-useradd program makes it important for the documenters to
understand what the tools are doing... not what is happening in samba.
We can see what is happening with the tools by looking at lines 84 to 92
of smbldap-useradd:
# Read only first @ARGV
my $userName = $ARGV[0];
# For computers account, add a trailing dollar if missing
if (defined($Options{'w'})) {
if ($userName =~ /[^\$]$/s) {
  $userName .= "\$";
}
}
My understanding is that if I am logged into an XP machine named
"INFERIOROS" and want to join the Domain "SAMBADOMAIN", When the request
is placed by INFERIOROS, the machine running samba for SAMBADOMAIN tries
to look up INFERIOROS. It sees that there is no machine in the (LDAP in
this case) database. So, it turns to the smb.conf file to see what it
should do to add the machine and sees:
add machine script = /usr/local/sbin/smbldap-useradd -w "%m"
After processing through the lines mentioned above of smbldap-useradd
you would end up with $userName == INFERIOROS$
In line 218 where the subroutine add_posix_machine from smbldap_tools.pm
is called the $userName gets passed into line 373 of that perl module
which reads:
my $add = $ldap->add ( "uid=$user,$config{computersdn}.
Don't we want the $user passed in to be the machine name in this case
since it is a machine we are adding and not a user?
This userName gets passed into subsequent functions and I eventually end
up with a well-formed machine in LDAP called INFERIOROS$ with the four
objectClasses: top, inetOrgPerson, posixAccount, and sambaSAMAccount all
filled with their respective attributes. On the other hand, when I have
the smb.conf using:
add machine script = /usr/local/sbin/smbldap-useradd -w "%u"
I end up with an incomplete machine record uid=INFERIOROS$ in LDAP that
only holds the objectClasses: top, inetOrgPerson, and posixAccount (I
assume this is from the module handling automatic account creation that
you mentioned)
BUT ALSO,
I end up with an incomplete machine record uid=root$ (my admin user to
join the domain) with the same three objectClasses and their attributes.
(This is coming from the smbldap-useradd tool)
The sambaSAMAccount objectClass is never created for the INFERIOROS$
record and I get the error "Cannot join domain, the user name could not
be found" (approximately).
Obviously, this is not the desired result.
Without investigation into the rpc

Re: [Samba] Mixed Network Issues

2004-09-24 Thread Jim Beard
On Sep 24, 2004, at 11:15 AM, Jason Balicki wrote:
what you've tried.
Mainly I have spent time verifying that the windows network settings 
seem correct.  I have made sure that everyone is in the same work 
group, etc...  I haven't spent a lot of time debugging this issue since 
I'm not sure what would be the most effective way to address it.

your version of Samba.
Version 2.2.7a
your network topology / network hardware.
It's a pretty small network.  Our DSL feeds into a router, the router 
handles DHCP for our network devices.  We have two central switches, 
the first handles all our workstations, the second switch is behind the 
first switch and handles all our servers.  Our servers have static IPs 
while our workstations get them from the DHCP server.

It *sounds* like a switch died.  Or the
new XP box grabbed an IP that belongs to the
Samba server.
Most of our workstations, 70% or so, are working fine with our servers. 
 We have at least 5 XP systems that have no problems seeing our samba 
shares and the rest of our network.  None of the Linux machines are 
having any networking issues.  Also, the machines that DO NOT see the 
samba shares or the other networked machines DO see the Internet and 
can browse to our local Intranet-website.

The newer XP machine seemed to be given an acceptable IP that would not 
conflict with our other devices.

Thanks!
Jim Beard
counterclaim.com, Inc
http://www.counterclaim.com
http://openefm.sourceforge.net
(800) 264-8145
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Application Server

2004-09-24 Thread Adam Tauno WIlliams
> Hi there! Is possible to install software on the Samba Server and make users 
> run that software from their workstations instead of installing locally? I 
> know that it could take down the network perfomance but it could be useful 
> for some little software like 7-zip, yahoo messenger, etc...

It is an issue of the specific application, not Samba.  Some software
works well that way, others not at all.  I'd guess most packages will
not work this way,  Windows has a habit of placing locks on files that
prevent the same instance of an install from working from more than one
workstation.

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


[Samba] Re: Deleting Old Printer Drivers

2004-09-24 Thread Jim C.
You could browse the Samba server from your MS client as printer admin.
Go into the printers subfolder, click the right mouse button and select 
properties.
Select the "Drivers" tab, choose the driver and click onto "Remove".
This works since Samba 3.0.x.
This is not working for me.  I'm not seeing a "Drivers" tab.  I have set 
my global printer admin. My clients are all XP Pro BTW.

Jim C.
--
-
| I can be reached on the following Instant Messenger services: |
|---|
| MSN: [EMAIL PROTECTED]  AIM: WyteLi0n  ICQ: 123291844 |
|---|
| Y!: j_c_llings   Jabber: [EMAIL PROTECTED]|
-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Mixed Network Issues

2004-09-24 Thread Jim Beard
Howdy Super Samba Subscribers!
	I'm looking for a little advice on trouble-shooting our network.  We 
have several large unix partitions that are shared via samba and act as 
our central file stores.  Most of our development machines are Linux or 
Unix systems.  Some of our business people use mixed flavors of 
Windows.   Mostly Windows XP however we have a few older Windows OSs as 
well.
	We have had few problems for the past five or six months.  However 
last week something strange happen.  One Windows XP system, 2 Windows 
98 systems, and a Mac OS X system decided that they can no longer view 
the network.  They don't see each other or other systems.  They also 
don't see the samba partitions.  Most all of the other Windows XP 
systems are still fine.  The Mac OS X system can still mount specific 
samba shares, but can't browse to see that they are available.
	The only thing I know of that changed around the time of the problems, 
was the addition of a new Windows XP system to the network.  Nothing 
seemed weird about its setup and configuration, and it has no problems 
with the current networking.
	Obviously I can't expect anyone on this list to know exactly what my 
problem is, but I was hoping to get some advice on how to troubleshoot 
this situation.  How should I go about attempting to diagnose the 
problem??

Jim Beard
counterclaim.com, Inc
http://www.counterclaim.com
http://openefm.sourceforge.net
(800) 264-8145
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Configure Samba 3 to auth off a MIT KDC.

2004-09-24 Thread Bruce Marriner
I have a Samba 3 server running as my domain controller and want to 
configure it to authenticate user passwords off a MIT KDC server that
is already up and running.  I have the KDC client software installed on 
the Samba box and it will authenticate users using it's tools.
I have been looking for some sort of a how-to but I have not found 
anything that works or explains much very well.  Most of them
give rough examples on how to connect to a Windows ADS but that's not 
what I'm doing.  I would appreicate it if anyone here
knows of a working how-to on setting up this configuration.  Currently 
my smb.conf contains the following lines (among others). 

  realm = REALMNAME.COM
  security = ADS
  encrypt passwords = yes
When I try to connect to the samba server the smbd kicks out the error  :
check_ntdomain_security: could not fetch trust account password for 
domain 'REALMNAME.COM'

 From what I have read this relates to Samba not being 'connected' to 
the ADS realm (which I do not have).  I have however
attempted the command net ads join which returns various errors. 


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


[Samba] Application Server

2004-09-24 Thread Samuel Partida
Hi there! Is possible to install software on the Samba Server and make users 
run that software from their workstations instead of installing locally? I 
know that it could take down the network perfomance but it could be useful 
for some little software like 7-zip, yahoo messenger, etc...

Thanks.

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


Re: [Samba] Arrggg Samba is not behaving

2004-09-24 Thread Jeremy Allison
On Fri, Sep 24, 2004 at 10:23:11AM +0300, Chris Roubekas wrote:
> 
> A while ago I posted a message regading the way Samba is behaving
> and some problems that I was facing with Windows "loosing"
> the connection with the server...
> Here is another sample of what my /var/log/messages still looks like:
> 
> Sep 19 15:08:01 Srv smbd-classic[3499]: [2004/09/19 15:08:01, 0] 
> lib/util_sock.c:read_data(436)
> Sep 19 15:08:01 Srv smbd-classic[3499]:   read_data: read failure for 4. Error = 
> Connection reset by peer

This is simply the client disconecting from the server. We
have no idea who.

> I have tried everything. From reinstalling my Linux box from scratch, reinstalling
> Windows2000 from scratch (SP2) changing network cards, checking the wiring of
> my network, checking intensity of the network cables (yes even brought a technician
> to assist me with that because I had no idea how to check that), connected
> Srv with Win2000 via a cross-over cable (just in case the switcher was 
> malfunctioning)
> and tons of other scenarios. Nothing! Zilch!
> 
> Unfortunately I am faced with a very serious problem since this occurs
> every week (sometimes more than 3 times a day!!!).

You need to run a sniffer on the wire to see what is happening
to the tcp connection. The client is dropping it. Samba doesn't
know why. I'd look at your hubs/switches if I were you.

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


Re: [Samba] Write permission for only server machine.

2004-09-24 Thread Andreas
On Fri, Sep 24, 2004 at 06:44:27AM -0700, prakash k wrote:
> Good day every one.
> 
> I have a network with samba 3.0.7 running on a
> server. Every hour, the server downloads antivirus
> updates and pushes them to all the clients on the
> network.
>My objective is to give write permission for  the
> antivirus share only to this  server machine. Other 
> machines should have only read permission. My samba 
> configuration file is as follows:

You don't have to use the SMB protocol to push the antivirus files
to the share. You can use something like rsync, or scp to directly
put the new virus database in the directory which is shared via
samba, which will then be simply read-only.

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


[Samba] SMB Client connect to windows 2003 server.

2004-09-24 Thread Scott Simmons
I'm using the latest samba on a SUSE 8.2 OS.  Using the smbclient I get
this error.

 

4896: session request ok

Serverzone is 25200

cli_negprot: SMB signing is mandatory and we have disabled it.

4896: protocol negotiation failed

SMB connection failed

 

I've found mention of using the CIF Client instead but can't seem to
install it on my OS.

 

Can someone point me in the correct direction to connect to a 2003
server?

 

-Scott

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


Re: [Samba] Automating Windows Update

2004-09-24 Thread Stuart Highlander
here are a couple of links that you might find interesting:

http://www.derkeiler.com/Mailing-Lists/NT-Bugtraq/2003-12/0079.html

http://sourceforge.net/projects/wpkg/

stuart


- Original Message - 
From: "jan ardosa" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 23, 2004 11:59 PM
Subject: [Samba] Automating Windows Update


Hi guys I was just wondering if there's already a way to automate the
process of updating Windows to be specific XP. My idea is to mimic how a
Windows server domain controller can rollout critical update on the entire
domain. Can Samba do this? Thanks for any info

Jan Ardosa



-
  Yahoo! Messenger - Communicate instantly..."Ping" your friends today!
Download Messenger Now
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

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


RE: [BULK] - [Samba] Compilation error

2004-09-24 Thread rahul.padalikar

Hi Folks,
 
I compared the makefile for samba 3.0.6 and 3.0.7. I found 
XML_LIBS=

MYSQL_LIBS=

PGSQL_LIBS=

these 3 lines and then the use of these variables missing in the 3.0.7 makefile. Thats 
the only change I found in 3.0.6 makefile and 3.0.7 makefile. So when I compiled samba 
3.0.7 using the samba 3.0.6 makefile. It got compiled properly without any warnings of 
dlopen. 

I am not sure if this is the proper solution. What you guys suggest ?

Regards,

Rahul

-Original Message- 
From: [EMAIL PROTECTED] on behalf of Johannes-Ulrich Menzebach 
Sent: Thu 9/23/2004 11:56 PM 
To: [EMAIL PROTECTED] 
Cc: 
Subject: Re: [BULK] - [Samba] Compilation error



Leon,

look at the thread "Problems compiling samba-3.0.7 on Redhat-7.2".

I found the same as you, compiling on RH-7.2 and SuSE-7.3

It worked on SuSE-9.0.

Still haven't got a clue about the cause of the problem. Just removing the '@' 
from the
@$(CC) in the Makefile so that I see what actually happens..

Uli


On Freitag, 24. September 2004 03:40 Leon Dorfman wrote:
 >Hi all,
 >
 >I downloaded Samba 3.0.7 (gzipped) from samba.org to RedHat Linux,
 >unzipper, and configured source.
 >I got the following error during compilation
 >
 >Linking nsswitch/libnss_wins.so
 >lib/system.po: In function `sys_dlopen':
 >lib/system.po(.text+0xb37): undefined reference to `dlopen'
 >lib/system.po: In function `sys_dlsym':
 >lib/system.po(.text+0xb57): undefined reference to `dlsym'
 >lib/system.po: In function `sys_dlclose':
 >lib/system.po(.text+0xb74): undefined reference to `dlclose'
 >lib/system.po: In function `sys_dlerror':
 >lib/system.po(.text+0xb91): undefined reference to `dlerror'
 >lib/username.po: In function `user_in_netgroup_list':
 >lib/username.po(.text+0xab7): undefined reference to `yp_get_default_domain'
 >lib/access.po: In function `string_match':
 >lib/access.po(.text+0x1dd): undefined reference to `yp_get_default_domain'
 >collect2: ld returned 1 exit status
 >make: *** [nsswitch/libnss_wins.so] Error 1
 >
 >What did I miss here? What else has to be installed?
 >
 >Thank you,
 >
 >Leon
 >P.S. Please, reply to [EMAIL PROTECTED]

--
+--+
| Dr. Johannes-Ulrich Menzebach  [EMAIL PROTECTED] |
|   Vitesse Semiconductor GmbH & Co KG |
| D-47057 Duisburg Pappenstr. 36 Tel. +49/203/306-1765 |
| D-44149 Dortmund Borussiastr. 112  Tel. +49/231/6560-186 |
| Key fingerprint = A36C 9660 6A1C 91E6 051E  DF1A 573A 770B DD66 9D9F |
+--+

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





Confidentiality Notice 

The information contained in this electronic message and any attachments to this 
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged 
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Restoring PDC after Crash, Confused

2004-09-24 Thread jonlists
Crud. I missed backing up and restoring /var/lib/samba, didn't I? 

Jon Johnston
Creative Business Solutions
IBM,Microsoft, Novell/Suse, Sophos Consultants
http://www.cbsol.com
952-544-1108 
Blog: http://bingo.cbsol.com

[EMAIL PROTECTED] wrote on 09/24/2004 
11:56:59 AM:

> Samba PDC system drive crashed. running 3.01. 
> 
> rebuilt system drive - kept the hostname the same, restored contents of 
> /etc/samba, plus /etc/shadow, /etc/group, /etc/password
> 
> PDC isn't recognizing machines for SOME machines. Users appear fine. 
> 
> I know that I should have gotten the domain sid previously by doing 
> "getlocalsid" and then restored it by doing "smbpasswd -W SID#" 
> 
> but my understanding was that you no longer had to do the backup and 
> restoration of the SID in version 3.0x. Is that incorrect? What did I 
> miss? Any way out of this other than restoring each machine to the 
domain? 
> 
> 
> Thanks. 
> 
> Jon Johnston
> Creative Business Solutions
> IBM,Microsoft, Novell/Suse, Sophos Consultants
> http://www.cbsol.com
> 952-544-1108 
> Blog: http://bingo.cbsol.com
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Restoring PDC after Crash, Confused

2004-09-24 Thread jonlists
Samba PDC system drive crashed. running 3.01. 

rebuilt system drive - kept the hostname the same, restored contents of 
/etc/samba, plus /etc/shadow, /etc/group, /etc/password

PDC isn't recognizing machines for SOME machines. Users appear fine. 

I know that I should have gotten the domain sid previously by doing 
"getlocalsid" and then restored it by doing "smbpasswd -W SID#" 

but my understanding was that you no longer had to do the backup and 
restoration of the SID in version 3.0x. Is that incorrect? What did I 
miss? Any way out of this other than restoring each machine to the domain? 


Thanks. 

Jon Johnston
Creative Business Solutions
IBM,Microsoft, Novell/Suse, Sophos Consultants
http://www.cbsol.com
952-544-1108 
Blog: http://bingo.cbsol.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Group Policy on Samba - is it possible?

2004-09-24 Thread Tomasz Chmielewski
>> Is it possible to use Group Policies in Samba (or Samba + OpenLDAP 
etc.)?
>>
>> I want to replace Active Directory with Samba (and possibly some other
>> tools like OpenLDAP), and Group Policy is a feature I need to have.


1) no, GPO is not supported by Samba
2) yes, You can still use LGPO (which stands for Local GPO)
Well, I'm not very familiar with Windows administration.
Will LGPO allow me to make software installation (I know GPO allows it, 
i.e. when a certain PC or a certain user logs in, I can easily 
install/upgrade desired software on that machine / for that user - 
without user knowing anything - I think this is called IntelliMirror).

Will it be possible with Samba?
Tomek
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Samba public directory on FreeBSD

2004-09-24 Thread Gary Dunn
On Thu, 2004-09-23 at 13:41, W. D. wrote:
> 
> Thanks for the info.
> 
> I looked into this a little closer.  In 'FreeBSD Unleashed', on page
> 38 it says: "/home  This is where the users' home directories are
> located.  It is often located under the /usr partition.  If you are
> going to have a lot of users, and you expect them to have a lot of
> files, you might want to put /home on its own partition, or possibly
> even give /home an entire disk."
> 
> In 'The Complete FreeBSD' (4th edition), on page 70: "Use the rest
> of the space on disk for a /home file system, as long as it's 
> possible to back it up on a single tape.  Otherwise, make multiple file
> systems.  /home is the normal directory for user files."
> 
> In the online handbook,
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html,
> Table 2-2: "/usr   Rest of disk   All your other files will typically be stored in 
> /usr and its subdirectories."
> 
> Alrighty, then.  I am confused.  On the 3 boxes that I just installed
> FreeBSD 4.9 on, none of them even have a /home or a /usr/home directory.  
> So, there certainly isn't a /home partition.  Is /home created as its
> own slice in 5.x?  

FreeBSD allows you a lot of flexibility, including how you lay out your
disks. The lack of agreement is good.

> These boxes have 80 GB hard drives and have the majority of that
> capacity contained in /usr.

The way I set up a system, / and /usr do not change much. /var and /home
are where the action is. And I link /home to /usr/home, so that
/home/aUserName is the same as /usr/home/aUserName.

> 
> Based on all this advice and research, I think I will create a new
> directory under /usr called /home.  Under this, I'll create 
> /samba/public  (full path: /usr/home/samba/public).
> 
> Any objections, or comments?

Yes, go ahead and set this up. Just keep in mind that at some point in
the future you might want to redesign you layout -- when you set up your
next server :-)

Gary Dunn
Honolulu


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


[Samba] Write permission for only server machine.

2004-09-24 Thread prakash k
Good day every one.

I have a network with samba 3.0.7 running on a
server. Every hour, the server downloads antivirus
updates and pushes them to all the clients on the
network.
   My objective is to give write permission for  the
antivirus share only to this  server machine. Other 
machines should have only read permission. My samba 
configuration file is as follows:

[global]
workgroup = pranan
netbios name = SANTOSH
security = SHARE


[test]

path = /antivirus
guest ok = yes
browseable = yes
hosts allow = x.y.z.  //subnet IP address
write list =  x.y.z.w //Server IP address

But my problem is every client machine is
   asked for authentication with this
configuration and the server needs to maintain login
id and password of each machine, which I dont want
to maintain.

Is there any way of solving my problem? if yes
Please help me.


 Thanks in advance.


  Reagards
  Prakash.



___
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now. 
http://messenger.yahoo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE : [Samba] Problems with Samba 3.0.5 only seeing 1360 files on a share to a Windows 2000

2004-09-24 Thread Jaouich . Cyril
In dos (win 2000 cmd) it's shows the same, but under linux I seen all the
files.

Has anyone seen this before?

Cyril Jaouich (Consultant Unix)
--
Support technique des infrastructures Unix
--
Tél: 514-840-3000x5527 



-Message d'origine-
De : Denis Vlasenko [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 23 septembre 2004 16:25
À : [EMAIL PROTECTED]; [EMAIL PROTECTED]
Objet : Re: [Samba] Problems with Samba 3.0.5 only seeing 1360 files on a
share to a Windows 2000


> > [share]
> > path = /appl/md/data
> > valid users = +asd
> > write list = +asd
> > read only = No
> > create mask = 0664
> > directory mask = 0775
> >
> > And it has directories that have 3000 files in them, but when I look
> > at the same directory thru a Windows 2000, I only see 1360 files, no
more.
> > If I type the path a file that isn't shown in the directory listing, I
can
> > get to it. Also if I create a new file in the directory, it gets
created,
> > but doesn't show in the directory list.

Does dir show this the same?
Can you try to smbmount your share back to your machile and see what Linus
will show?
--
vda

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


[Samba] Re: Problem joining domain

2004-09-24 Thread Igor Belyi
Pedro Silva wrote:
Wich user should I be using to perform joining? It's root right? And what about
the pasword, isn't it the same of ldap? If it isn't where do I set it?
You should use your root password, not the one you setup for 
"cn=root,dc=dcc" to login into LDAP with.

Another approach will be to have some other normal user account (like 
Administrator) and specify it as a domain admin, by adding the following 
into smb.conf:

admin users = Administrator
Then you will need to use this user and its password to add machines 
into Domain. After authenticating as this user, Samba will become root 
and will use 'ldap admin' identity and the password set with 'smbpasswd 
-w' to access LDAP.

Hope it helps,
Igor
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] invisible server

2004-09-24 Thread Luca Ferrari
On Friday 24 September 2004 09:44 Luca Ferrari's cat walking on the keyboard  
wrote:

> On Thursday 23 September 2004 18:18 your cat walking on the keyboard wrote:
> > May be due to no guest account.  From Samba 3 by Example:
> >
> > Network browsing involves SMB broadcast announcements, SMB enumeration
> > requests, connections to the IPC$ share, share enumerations, and SMB
> > connection setup processes. The use of anonymous connections to a Samba
> > server involve the use of the /guest account/ that must map to a valid
> > UNIX UID.
>
> I've added a guest user with smpasswd -a guest, and then I have inserted a
> line in the global section of smb.conf:
> guest account = guest
> but it is still not working:
>
> mammuth:~ # nmblookup mammuth
> querying mammuth on 192.168.1.255
> name_query failed to find name mammuth
>
> Another thing that maybe can help:
>
> mammuth:~ # nmblookup -A 192.168.1.9
> Looking up status of 192.168.1.9
> "MAMMUTH"   <00> - B 
> "MAMMUTH"   <03> - B 
> "MAMMUTH"   <20> - B 
> ..__MSBROWSE__. <01> -  B 
> G2  <00> -  B 
> G2  <1b> - B 
> G2  <1d> - B 
> G2  <1e> -  B 
>
> that seems it's working, isn't it?
> What am I doing wrong?
>

I'm still working on this problem. It must be said that, after the addition of 
the guest user, I can try to access a share from a windows 98 client, but it 
asks me for only a password (not the username/password), thus I don't now how 
to access the share (every password I insert, even if one of the valid users 
for that share, does not work). However, I'm still unable to find the 
computer thru the "find computer" of windows, and even nmblookup does not 
work.

Any idea?

Luca

-- 
Luca Ferrari,
[EMAIL PROTECTED]

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


[Samba] Samba and "Enable advanced printing features"

2004-09-24 Thread Manuel Capinha
Hi all.

I'm having some problems with one of my printers, samba and cups.
The printer is a HP Color LaserJet 5550dtn, working with Postscript.
We're trying to migrate from a Windows based print server to a new one
with Samba and Cups. Since this is printer is setup in a college lab,
we're trying to keep everything as close to the old setup as possible,
to minimize the problems with the users.

I've setup the PS driver in a windows box and the used the rpcclient
technique to copy and set it up in Samba. Everything is fine, except
that we're missing some (lots) of special features in the printer
(like 4/8/16 pages in one, etc...). From my experiencing I gather that
the problem comes from not having "Enable advanced printing features"
checked in the "Advanced" tab under the printer's properties.
So, I check the little box, press Apply and OK but everything stays
the same. I re-open the properties window and the box is, once again,
unchecked!
This is working just fine with the old server. I've setup the level 10
log in Samba but I can't read anything usefull in it..

Please, oh please, don't let this email go un-answered.. I'll buy you
beer if you ever come to Portugal! :)
Thank you

Versions:
Linux distro is Debian testing.
Samba at 3.0.7-1 (debian)
Cups 1.1.20final+rc1-6 (debian)
Windows clients: Windows 2003 Server and Windows XP SP1

This is my smb.conf:

# Global parameters
[global]
workgroup = LTICIVMAT
realm = LTICIVMAT
netbios name = PRINTSERVER
server string = %h server (Samba %v)
security = ADS
passdb backend = tdbsam, guest
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
log level = 10
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY
dns proxy = No
panic action = /usr/share/samba/panic-action %d
idmap uid = 1-2
idmap gid = 1-2
template shell = /bin/bash
winbind separator = +
printer admin = administrator, "@LTICIVMAT+Domain Admins", webmaster
cups options = "raw , job-hold-until=indefinite"

[homes]
comment = Home Directories
create mask = 0700
directory mask = 0700
browseable = No

[printers]
comment = All Printers
path = /tmp
create mask = 0700
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
write list = root, @ntadmin, "@LTICIVMAT+Domain Admins", webmaster
force user = root

[dropbox]
path = /tmp
valid users = "@LTICIVMAT+Domain Admins"
read only = No

[hp5500]
comment = HP color LaserJet 5500dtn
path = /tmp
guest ok = Yes
printable = Yes
printer name = HP5500
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Problem joining domain

2004-09-24 Thread Pedro Silva
Hi,

I have set up a samba server with ldapbackend and now I'm tryng to join a
windows XP machine to the domain.

Every time go through the steps of joining thr domain I get "Access Denied".

I've configured samba to use ldap and alredy done smbpasswd -w 
so that it can read the ldap database.

So when I try to join the domain by doing right click on "My Computer" and then
entering domain name in "Computer Name" tab, using the user root and the
ldap password, it keeps giving me access denied.

Checking the ldap logs I see it tries to find the root user in te users
database, but I don't understand why...

Wich user should I be using to perform joining? It's root right? And what about
the pasword, isn't it the same of ldap? If it isn't where do I set it?

I'm using samba 3.0.6 and OpenLdap.

Thanks in advance!
Pedro Silva

/etc/samba/smb.conf
[global]
dos charset = 850
unix charset = ISO8859-1
workgroup = LABCC
netbios name = WINSERVER
server string = Servidor Windows dos Alunos
map to guest = Bad User
passdb backend = ldapsam:ldap://ldap-labcc.alunos.dcc.fc.up.pt
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
add machine script = /usr/share/samba/scripts/smbldap-useradd.pl -w -d
/dev/null -g windows -c 'Windows Workstations Accounts' -s /bin/false %u
logon path = \\%L\%U\profile
logon drive = Z:
domain logons = Yes
os level = 33
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
ldap suffix = dc=alunos,dc=dcc
ldap machine suffix = ou=Computers
ldap user suffix = ou=People
ldap group suffix = ou=Groups
ldap admin dn = cn=root,dc=dcc
ldap ssl = no
printer admin = @adm
hosts allow = 192.168.0., 192.168.115., 127.
printing = cups

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

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r   # using client side
printer drivers.
browseable = No

[print$]
path = /var/lib/samba/printers
write list = @adm, root
inherit permissions = Yes
guest ok = Yes

[pdf-generator]
comment = PDF Generator (only valid users)
path = /var/tmp
printable = Yes
print command = /usr/share/samba/scripts/print-pdf %s ~%u //%L/%u %m %I
"%J" &




This message was sent using IMP, the Internet Messaging Program.

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


Re: [Samba] sendfile failed

2004-09-24 Thread John H Terpstra
On Friday 24 September 2004 08:18, David Rankin wrote:
> Mates,
>
> I'm trying to learn a little more. I have 3.0.7 running on Mandrake
> 7.2. I could see all the shares, but couldn't access the files "sendfile
> failed". I set use sendfile = No and all is well. I have a separate system
> Suse 9.0 pro with use sendfile = yes and I have no problems. What is the
> difference???

Probably the kernel drivers. There are problems with sendfile in 2.4.20+ on 
some distros.

- John T.
-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
OpenLDAP by Example, ISBN: 0131488732
Other books in production.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] sendfile failed

2004-09-24 Thread David Rankin
Mates,

I'm trying to learn a little more. I have 3.0.7 running on Mandrake 7.2.
I could see all the shares, but couldn't access the files "sendfile failed".
I set use sendfile = No and all is well. I have a separate system Suse 9.0
pro with use sendfile = yes and I have no problems. What is the
difference???

--
David C. Rankin, J.D., P.E.
RANKIN * BERTIN, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax
www.rankin-bertin.com
--

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


[Samba] Problems with Winbind

2004-09-24 Thread Nick Haw
Hi all, here's hoping you can help with a problem I have got.

 

I am currently running samba 3.0.7-1 on a Suse 9.0 system and I am having
the following problem. 

 

I am trying to get my samba server to join a windows NT4 domain called
BVFL-DOM and then use winbind to get user names from that domain to be use
samba. The samba box joins the NT domain without a problem and I can use NT
server manager to change who can access the shares, but when I come to
trying to access said shares I get prompted for a user name and password. (I
have a feeling it is something to do with the way NT is talking to winbind
and then winbind talking to samba).

 

I have done all the wbinfo -u and -g on the samba box and I get all the
users and groups from the domain coming through, but I can't seem to get
samba to use an NT user to authenticate with.

 

If I put a user name in the smbusers file (root = nhaw) then I get access to
the share just fine.

 

Below is a copy of my smbconfig file and the log file that was created when
a user tries to connect to the share is also attached.

 

Many thanks in advance

 

Nick Haw

 

 

 

 

2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/09/24 13:58:44, 1] lib/util_sock.c:get_peer_name(959)
  Gethostbyaddr failed for 0.0.0.0
[2004/09/24 13:58:44, 1] lib/util_sock.c:get_peer_name(959)
  Gethostbyaddr failed for 172.31.5.126
[2004/09/24 13:58:44, 2] lib/access.c:check_access(324)
[2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
  Allowed connection from 0.0.0.0 (0.0.0.0)
[2004/09/24 13:58:44, 2] smbd/reply.c:reply_special(235)
  netbios connect: name1=APOLLO  name2=PC104  
[2004/09/24 13:58:44, 2] smbd/reply.c:reply_special(242)
  netbios connect: local=apollo remote=pc104, name type = 0
[2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/09/24 13:58:44, 0] lib/util_sock.c:write_socket_data(430)
  write_socket_data: write failure. Error = Connection reset by peer
[2004/09/24 13:58:44, 0] lib/util_sock.c:write_socket(455)
  write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset by peer
[2004/09/24 13:58:44, 0] lib/util_sock.c:send_smb(647)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2004/09/24 13:58:44, 2] smbd/server.c:exit_server(571)
  Closing connections
[2004/09/24 13:58:44, 2] lib/access.c:check_access(324)
  Allowed connection from 172.31.5.126 (172.31.5.126)
[2004/09/24 13:58:44, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old 
resources.
[2004/09/24 13:58:44, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old 
resources.
[2004/09/24 13:58:44, 2] libsmb/namequery.c:name_query(492)
  Got a positive name query response from 172.31.3.1 ( 172.31.3.1 )
[2004/09/24 13:58:44, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 172.31.3.1:445 (Connection refused)
[2004/09/24 13:58:44, 0] auth/auth_util.c:make_server_info_info3(1122)
  make_server_info_info3: pdb_init_sam failed!
[2004/09/24 13:58:44, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [NHaw] -> [NHaw] FAILED with error 
NT_STATUS_NO_SUCH_USER
[2004/09/24 13:58:44, 2] smbd/server.c:exit_server(571)
  Closing connections
[2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/09/24 13:58:44, 1] lib/util_sock.c:get_peer_name(959)
  Gethostbyaddr failed for 0.0.0.0
[2004/09/24 13:58:44, 1] lib/util_sock.c:get_peer_name(959)
  Gethostbyaddr failed for 172.31.5.126
[2004/09/24 13:58:44, 2] lib/access.c:check_access(324)
[2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
  Allowed connection from 0.0.0.0 (0.0.0.0)
[2004/09/24 13:58:44, 2] smbd/reply.c:reply_special(235)
  netbios connect: name1=APOLLO  name2=PC104  
[2004/09/24 13:58:44, 2] smbd/reply.c:reply_special(242)
  netbios connect: local=apollo remote=pc104, name type = 0
[2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not conn

Re: [Samba] Difference in terms of charset between smbmount and smbclient

2004-09-24 Thread Jochen Wiedmann
Solved the problem: See
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=133488
--
http://lilypie.com/baby1/050423/1/5/1/+1
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Deleting Old Printer Drivers

2004-09-24 Thread Manuel Capinha
And don't forget to have the right "printer admin" settings under
[Global] (not that I know of anyone who may have forgotten this,
n).
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] browsing in subnets

2004-09-24 Thread Alexandro
samba307(wins,lmb,dmb)[ip0] <-> subnet1 <-> router <-> subnet2 <-> win2k(lmb)[ip1]

a pert of smb.conf:
   wins support = yes
   wins proxy = yes
   name resolve order = lmhosts host wins bcast

   domain master = yes
   browse list = yes
   local master = yes
   prefered master = yes
   enhanced browsing = no
   os level = 255
   remote browse sync = ip1


nmblookup -U ip0 -R workgroup#1b
querying workgroup on ip0
ip0 workgroup<1b>

in logs:
nmbd/nmbd_sendannounce.c:browse_sync_remote(576)
announce_remote: Doing remote browse sync announce for server  to IP ip1.

but browse lists don\'t syncs...
smbclient -L A  and smbclient -L B show in their lists only clients from it\'s subnet.

name resolving by wins work...



please, sorry for my english and don\'t send me read documentations. i already read it.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: print command=... not longer working after update

2004-09-24 Thread Georg Lutz
I'd love to document this. What section of the Samba-HOWTO-Collection should 
it go into? Are you offering some patches or proposed text? I gladly receive 
updates offered.

I think it should at least be documented in the smb.conf - manpage:
---
It also affects the  default  values for  the  print command, lpq 
command, lppause command , lpresume command, and lprm command if 
specified in the [global]  section.
---

could be changed to:
---
It also sets the default values for the following parameters: print 
command, lpq command, lppause command , lpresume command, and lprm 
command. For any changes to these parameters to take effect, they have 
do be specified after "printing = ...".
---

Whats the intention of "if specified in the [global] section." ? AFAIK 
parameters are also changed when specified in a share section.

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


Re: [Samba] Help, Phantom directories-missing data

2004-09-24 Thread Olaf Eichhorn
Hi Greg,
I'm have exact the same configuration of fedora core1 samba 3.0.7 on an
ext3 filesystem up and running. I never had this problems. The server 
runs without problems for 4 month now.

* Is Your filesystem clean? Try to check it.
* check Your samba logs for errors
* check Your hardware, maybe Your network card is defect?
* create an new share with samba default settings. Are (the) files visible?
I'm only an user, but I would check these things first before digging 
deeper in the samba internals. ;-)

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


[Samba] Re: Development branch status

2004-09-24 Thread Eric Masson
> "Andrew" == Andrew Bartlett <[EMAIL PROTECTED]> writes:

Hi Andrew,

 Andrew> Volker's paper, presented at a recent conference and linked
 Andrew> from news.samba.org is one of the best resources at the moment.

Ok, great paper, I think I've already heard about rpc & idl, branch 4
seems really promising.

I'l subscribe to samba-technical & see if I can produce some more of
less periodic reports about branch 4 progress.

Regards

Eric Masson

-- 
 GG: les Teletubbies, à la base, c'est déjà du lavage de cerveau, alors, 
 si en plus on rajoute Microsoft...
 CS: ...d'abord ça lave, ensuite ça ringe et après ça te laisse tout sec.
 +CS in Guide du Macounet pervers : Microsoft lave plus blanc que blanc+
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Deleting Old Printer Drivers

2004-09-24 Thread Martin Zielinski
You could browse the Samba server from your MS client as printer admin.
Go into the printers subfolder, click the right mouse button and select 
properties.
Select the "Drivers" tab, choose the driver and click onto "Remove".

This works since Samba 3.0.x.

Bye,
Martin

P.S.
Perhaps Gerald Carter (or someone else) decides to enhance the rpcclient tool 
to produce deletedriverex calls. It would be just a little fix. :-)


On Friday 24 September 2004 09:34, Jim C. wrote:
> M/V Anastasis - IT Manager wrote:
> > Hi all,
> >
> > I am running samba 3.0.6 on Linux and am wondering if anyone knows if it
> > is possible to delete a print driver from the driver database?  I have
>
> ...
>
> > a possible thing to do?
>
> I, also could use this info as I recently had a printer go TU.
>
> Jim C.
>
>
>
> --
>
> -
>
> | I can be reached on the following Instant Messenger services: |
> |---|
> | MSN: [EMAIL PROTECTED]  AIM: WyteLi0n  ICQ: 123291844  |
> |---|
> | Y!: j_c_llings   Jabber: [EMAIL PROTECTED] |
>
> -

-- 
Martin Zielinski                       [EMAIL PROTECTED]
Software Development
SEH Computertechnik GmbH     www.seh.de
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Automating Windows Update

2004-09-24 Thread rruegner
hi there are many ways to do a windows update,
using a win workstation with a special designed install pack of sus 
server which can be free downloaded at ms and setting policies to use it 
is one way which works very well and is free of costs.
Other possibilies is seen is a dos script from the german magazin ct
which does it quite well, and simular i ve seen as perl script.
But having a susserver is quite the best way,
samba is a file server , windows update is more like a webserver funktion,
its thinkable to store updates on samba , but you need to have the 
checking mechanism , which update should be done, so the best way is to 
use the win implemented service features.
fo more info look
http://www.susserver.com/
Regards

jan ardosa schrieb:
Hi guys I was just wondering if there's already a way to automate the process of updating Windows to be specific XP. My idea is to mimic how a Windows server domain controller can rollout critical update on the entire domain. Can Samba do this? Thanks for any info
 
Jan Ardosa
 

-
  Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download 
Messenger Now
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Locking DB corruption

2004-09-24 Thread Ross McInnes
This is the second time this has happened this week, im runing Samba 3.05
fairly standard config.

It happened on Tuesday, when there was no one about (2 maybe 3 users) we
were rebuilding a few machines and everything was going fine. 

Any machines that were logged on would work fine, but new machines failed to
log on.

We run a small perl script every 15 and 30 mins which run smbstatus to find
out who is logged on where, and then works out their quota to see if they
are close to running out of space. If they are we use smbclient to send that
machine a message.

This is the result of that perl script when it finds the locking.tdb is
corrupt.

-
tdb(/var/lock/samba/locking.tdb): rec_read bad magic 0xd9fee666 at
offset=330860
tdb_log: TDB /var/lock/samba/locking.tdb is corrupt. Removing file and
stopping this
process.
PANIC: corrupt tdb

BACKTRACE: 9 stack frames:
 #0 /usr/local/samba/bin/smbstatus(smb_panic2+0x18c) [0x80782f8]
 #1 /usr/local/samba/bin/smbstatus(smbd_tdb_log+0x186) [0x805df02]
 #2 /usr/local/samba/bin/smbstatus [0x80876c7]
 #3 /usr/local/samba/bin/smbstatus [0x80889a3]
 #4 /usr/local/samba/bin/smbstatus(tdb_traverse+0x199) [0x8088c36]
 #5 /usr/local/samba/bin/smbstatus(share_mode_forall+0x2c) [0x805a99e]
 #6 /usr/local/samba/bin/smbstatus(main+0x2aa) [0x8058f0e]
 #7 /lib/tls/libc.so.6(__libc_start_main+0xed) [0x9b779d]
 #8 /usr/local/samba/bin/smbstatus(chroot+0x31) [0x80586c9]

---

Any thoughts/ideas as to what this could be?

Many thanks

Ross

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


Re: [Samba] Automating Windows Update

2004-09-24 Thread Christopher Odenbach
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hi,

> Hi guys I was just wondering if there's already a way to automate the
> process of updating Windows to be specific XP. My idea is to mimic how a
> Windows server domain controller can rollout critical update on the entire
> domain. Can Samba do this? Thanks for any info

What you want is a SUS, Software Update Service. You can get it for free from 
M$. Then all you have to do is tell the clients to poll your sus server 
frequently. This can be done in many serveral ways:

- - by a group policy (up to now only with a Windows domain controller, which is 
probably what you are referring to)
- - by hand (just importing a small registry snippet)
- - by some sort of script doing point 2.
- - ...

This really has not very much to do with samba.

Christopher

- -- 
==
Dipl.-Ing. Christopher Odenbach
Zentrum IT-Dienste
N5.110
[EMAIL PROTECTED]
Tel.: +49 5251 60 5315
==
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBU9z0hxiCJKeLY0IRAs26AJ0TzOOvZXvrPTZf2Ixf0ImkhITZMwCfT5U7
VaS6rFrdjgkLb6GHHliAdyM=
=xgwy
-END PGP SIGNATURE-

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


Re: [Samba] login scripts do not run

2004-09-24 Thread kent
Mayebe I should have explained more of what is encrypted. Below is an example  
of what is encrypted:  
  
  
5B1CC95BAF6B10DD09D42ADE1A14D8D27134E31B1FBD6BDBB90993FC9D284C730E53ABC70C7ACC4C661CE4BD6E00F8C372A3B9A2A18C142AE0D1CB23B8870C772045D1FDA1D3B13729D75B66D97FB1360B1599735F2E2FBA2B3723C10F2A81A79BD4D7B89AF2684B8D245597F89D71962786FFE9069D1D93CD8EC895C1084440D7ADE53C9A4584A0DCCDAAB86433934767E9D72A3E48ABF02B870C9BB1A657114FE340972054C578602DB4A032ED0FFFD1B83149FDBBB73A34941D13626B84DA
 
  
That contains the username, password, path to command to run, domain, and an  
option for a directory to start in.  
  
It is used like this: rurasp.exe somefile.rap where the contents of 
somefile.rap is the string of characters above.  
 
Does that help? 
 
Denis Vlasenko <[EMAIL PROTECTED]> wrote:   
> On Thursday 23 September 2004 20:18, kent wrote:  
> > Hello,  
> > We have been successfully using RUNASP.exe  
> > (http://www.mast-computer.com/c_9-s_7-l_en.html). You have to pay for  
licensing  
> > however. We use it for everything, running programs, udate Norton AV.  
Password  
> > is encrypted. Is very simple to use.  
>   
> If this script is runnable by the user then user can see that  
> encrypted password and use it to launch some malicious code  
> instead using this tool with admin rights.  
>   
> Correct me if im wrong.  
> --  
> vda  
>   
>   
  

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


Re: [Samba] invisible server

2004-09-24 Thread Luca Ferrari
On Thursday 23 September 2004 18:18 your cat walking on the keyboard wrote:

> May be due to no guest account.  From Samba 3 by Example:
>
> Network browsing involves SMB broadcast announcements, SMB enumeration
> requests, connections to the IPC$ share, share enumerations, and SMB
> connection setup processes. The use of anonymous connections to a Samba
> server involve the use of the /guest account/ that must map to a valid
> UNIX UID.

I've added a guest user with smpasswd -a guest, and then I have inserted a 
line in the global section of smb.conf:
guest account = guest
but it is still not working:

mammuth:~ # nmblookup mammuth
querying mammuth on 192.168.1.255
name_query failed to find name mammuth

Another thing that maybe can help:

mammuth:~ # nmblookup -A 192.168.1.9
Looking up status of 192.168.1.9
"MAMMUTH"   <00> - B 
"MAMMUTH"   <03> - B 
"MAMMUTH"   <20> - B 
..__MSBROWSE__. <01> -  B 
G2  <00> -  B 
G2  <1b> - B 
G2  <1d> - B 
G2  <1e> -  B 

that seems it's working, isn't it?
What am I doing wrong?

Thanks,
Luca
-- 
Luca Ferrari,
[EMAIL PROTECTED]


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


[Samba] Re: How to forbid directory creation

2004-09-24 Thread Jim C.
Sure. No problem. Just write your own VFS module to control this.
- John T.
Can't do that with group policy?
Jim C.
--
-
| I can be reached on the following Instant Messenger services: |
|---|
| MSN: [EMAIL PROTECTED]  AIM: WyteLi0n  ICQ: 123291844 |
|---|
| Y!: j_c_llings   Jabber: [EMAIL PROTECTED]|
-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [BULK] - [Samba] Arrggg Samba is not behaving

2004-09-24 Thread Johannes-Ulrich Menzebach
Chris,

I suppose what you are experiencing is a timeout problem. We had that
with a loaded samba server and a bunch of w2k clients hitting the server at the
same time. CPU load spiked and single smbds stuck in a request for (not sure
if I remember the value correctly) some minutes.
These smbds where in D state, presumeably in a system call to disk related stuff.
During that time interactive behaviour while logged on to the server was very
sluggish also esp when touching something disk related.

In the end upgradig to a faster machine (SMP) and better disks helped. We get
that error extremely seldom now.

Also I could imagine that trying the 2.6 kernel might help.
Actually anything that keeps processes doing disk I/O from those long times
in D state. Linux kernel mailing list ?

Uli


On Freitag, 24. September 2004 09:23 Chris Roubekas wrote:
 >Dear all,
 >
 >A while ago I posted a message regading the way Samba is behaving
 >and some problems that I was facing with Windows "loosing"
 >the connection with the server...
 >Here is another sample of what my /var/log/messages still looks like:
 >
 >Sep 19 15:08:01 Srv smbd-classic[3499]: [2004/09/19 15:08:01, 0] 
 >lib/util_sock.c:read_data(436)
 >Sep 19 15:08:01 Srv smbd-classic[3499]:   read_data: read failure for 4. Error = 
 >Connection reset by peer
 >
 >Whenever Windows Clients report a "Network or Hard Disk failure" I get this
 >message in the logs and the only thing that I can do is reboot the Windows
 >client. This is a very big problem for me as the Windows machine that matters
 >the most plays MP3's from the server on a 24 hour basis and its interuption
 >means big problem from my boss
 >
 >I have tried everything. From reinstalling my Linux box from scratch, reinstalling
 >Windows2000 from scratch (SP2) changing network cards, checking the wiring of
 >my network, checking intensity of the network cables (yes even brought a technician
 >to assist me with that because I had no idea how to check that), connected
 >Srv with Win2000 via a cross-over cable (just in case the switcher was 
 >malfunctioning)
 >and tons of other scenarios. Nothing! Zilch!
 >
 >Unfortunately I am faced with a very serious problem since this occurs
 >every week (sometimes more than 3 times a day!!!).
 >
 >Looked in google for this. Another person who had the same problem
 >had a solution published with op_locks etc, tried that...nothing!
 >
 >Can someone give me a good idea??
 >
 >Thank you tons!
 >Chris
 >
 >PS: Samba is running on SuSE Linux 9.1 Samba 3.0.2a-51

-- 
+--+
| Dr. Johannes-Ulrich Menzebach  [EMAIL PROTECTED] |
|   Vitesse Semiconductor GmbH & Co KG |
| D-47057 Duisburg Pappenstr. 36 Tel. +49/203/306-1765 |
| D-44149 Dortmund Borussiastr. 112  Tel. +49/231/6560-186 |
| Key fingerprint = A36C 9660 6A1C 91E6 051E  DF1A 573A 770B DD66 9D9F |
+--+

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


[Samba] Re: Deleting Old Printer Drivers

2004-09-24 Thread Jim C.
M/V Anastasis - IT Manager wrote:
Hi all,
 
I am running samba 3.0.6 on Linux and am wondering if anyone knows if it
is possible to delete a print driver from the driver database?  I have
...
a possible thing to do?
I, also could use this info as I recently had a printer go TU.
Jim C.

--
-
| I can be reached on the following Instant Messenger services: |
|---|
| MSN: [EMAIL PROTECTED]  AIM: WyteLi0n  ICQ: 123291844 |
|---|
| Y!: j_c_llings   Jabber: [EMAIL PROTECTED]|
-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Arrggg Samba is not behaving

2004-09-24 Thread Chris Roubekas
Dear all,

A while ago I posted a message regading the way Samba is behaving
and some problems that I was facing with Windows "loosing"
the connection with the server...
Here is another sample of what my /var/log/messages still looks like:

Sep 19 15:08:01 Srv smbd-classic[3499]: [2004/09/19 15:08:01, 0] 
lib/util_sock.c:read_data(436)
Sep 19 15:08:01 Srv smbd-classic[3499]:   read_data: read failure for 4. Error = 
Connection reset by peer

Whenever Windows Clients report a "Network or Hard Disk failure" I get this
message in the logs and the only thing that I can do is reboot the Windows
client. This is a very big problem for me as the Windows machine that matters
the most plays MP3's from the server on a 24 hour basis and its interuption
means big problem from my boss

I have tried everything. From reinstalling my Linux box from scratch, reinstalling
Windows2000 from scratch (SP2) changing network cards, checking the wiring of
my network, checking intensity of the network cables (yes even brought a technician
to assist me with that because I had no idea how to check that), connected
Srv with Win2000 via a cross-over cable (just in case the switcher was malfunctioning)
and tons of other scenarios. Nothing! Zilch!

Unfortunately I am faced with a very serious problem since this occurs
every week (sometimes more than 3 times a day!!!).

Looked in google for this. Another person who had the same problem
had a solution published with op_locks etc, tried that...nothing!

Can someone give me a good idea??

Thank you tons!
Chris

PS: Samba is running on SuSE Linux 9.1 Samba 3.0.2a-51
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba