[Samba] ALCATEL POLICY VIOLATION (Attachment Removal)

2004-03-22 Thread e-mail
 eManager Notification *

The following mail was blocked since it contains sensitive content.

Source mailbox: [EMAIL PROTECTED]
Destination mailbox(es): [EMAIL PROTECTED]
Policy: Attachment Removal
Attachment file name: your_picture.pif - application/octet-stream
Action: Replaced with text

Our mail system policy does not accept certain attachment types. See 
http://www.alcatel.com/mail_policy/email_attachments.htm for additional details.

*** End of message *
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Hello
Date: Mon, 22 Mar 2004 09:12:22 +0100
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary==_NextPart_000_0013_007B.0645
X-Priority: 3
X-MSMail-Priority: Normal
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] PRINTING CUPS on Samba 3.0 - PS Driver upload

2004-03-22 Thread Herbert FRIEDL

Dear all

samba 3.0.2pre1-1
cups 1.1.20

i am testing the CUPS printing on Samba 3.0.2pre1-1  and so far we have
a good impression about the system
We want to use only Postscript for our printers.

The cupsaddsmb tool works great and printing with the cups driver is
fine.
The Add Printer Wizard for uploading vendor specific for the PCL 5
drivers is working fine and printing is working.

I have some trouble with the vendor specific Post script drivers.

Uploading the Postscript drivers is OK but when we want to print
something on the  printers (hp2280, hp2300) 
the printer only prints the prostscript definition text and produces
tons of pages.

The output file in /var/spool/cups looks ok for a postscript printer.

I am a bit confused because postscript printing is working for other
printers like canon-ir5000.

Anyone out there who can give me some troubleshooting tips

many thanks

  

 Herbert Friedl
  Network and Operations
  Information  Communication Management Unit (OCG/ICM)
  

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


RE: [SAMBA] and a FULL Disk

2004-03-22 Thread Kristyan Osborne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hiya,

Are you by any chance tring to copy a file bigger than 2GB???

Cheers

- -
Kristyan Osborne - IT Technician
Longhill High School
01273 391672 / 304086

- --
Computers are like airconditioners: They stop working properly if you open windows.
Win95:   A 32-bit patch for a 16-bit GUI shell running on top of an
 8-bit operating system written for a 4-bit processor by a
 2-bit company who cannot stand 1 bit of competition.



- -Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
]On Behalf Of [EMAIL PROTECTED]
Sent: 21 March 2004 10:10
To: [EMAIL PROTECTED]
Subject: [SAMBA] and a FULL Disk


A beautiful good one morning, I have a problem. 
I have a Samba server that have 4 HDDs in it.
3 has a 40GB partition (reiserfs) and one has a 30GB partition with xfs.
These are approved also as 4 SHARES. If a XP Client tries to copy file on
the server comes an error message FULL DISK. The Archiv that i will copy has
many files that are bigger as 500MB, and a Volumne with max. 20GB... 
... but that cannot be ... 

Can someone help me?

- -- 
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz

- -- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (MingW32)

iD8DBQFAXqMIqrr+KdRYU5gRAu53AJ9tXNtAHP00PXmruDMdLokbX1M5+ACbBq6M
4LtKSo366Uv9SKvxUyslnRM=
=x62G
-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] acl copy nt4 - samba3 migration

2004-03-22 Thread Thomas Will
hello

we try to migrate nt4 to samba3.  the net rpc vampire  works fine
and we have migrateted all user group an machine accounts.
now we want to copy the data and the profiles with acl
we use reiserfs with acl on suse linux enterprise server?
the manual set of the acl works.
which tools should we use? - scopy xxcopy and permcopy works without 
set acls
in which status should the samba3 be during the copy process ? pdc or bdc?
in which  status should the nt4 be during the copy process? pdc or bdc?

thanks

--
- thomas will -
- xinux --- networking - security - consulting - training  -
- fon 06332 44040 - fax 06332 44041 - mobil 0170 52 18 548 -
- 66482 zweibruecken - wichernstr.18 - http://www.xinux.de -
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] smbclient won't tar empty directories

2004-03-22 Thread Christian Gründemann
Hello,

I guess this question has been asked several times, but unfortenuately
I don't find an answer neither in the search machines nor in the groups.

I backup my windows clients using smbclient with the tar option.
Works great, but no empty directories are in the created tar file.
I read the smblient and tar's manpage, without finding the necessary
option. Does anybody know how I can include these nasty emtpy
directories?

command:
smbclient  //server/share test -U test -N -Tqc foo.tar TestDirectory

BTW, if I use tar without smbclient, empty directories are included
by default.

Thanks for your held in advance!
Christian
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba and LDAP

2004-03-22 Thread Andrei Mikhailovsky
You should get these modules from your distribution. What distro do you 
have? If you distro doesn't include these modules (which is highly 
unlikely), then you can download them from www.cpan.org

---
Andrei Mikhailovsky
Arhont Ltd
Web: http://www.arhont.com
Tel: +44 (0)870 4431337
Fax: +44 (0)117 9690141
PGP: Key ID - 0xFF67A4F4
PGP: Server - keyserver.pgp.com
alton bailey wrote:
 I am currently setting up my ldap server and smbldap-tools during the
 installation I got a dependency required
 perl:net:ldap and perl:net::ldap.ldif
 Convert::ANSI. I would like to have a copy of thes file can you piont 
me to
 them please

 alton

 - Original Message -
 From: Andrei Mikhailovsky [EMAIL PROTECTED]
 To: Raymond [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: 03/21/2004 1:28 PM
 Subject: Re: [Samba] Samba and LDAP



You should try smbldap tools at http://samba.idealx.org/.
They have nice scripts to migrate samba to authenticate against ldap.
--
Andrei Mikhailovsky
Arhont Ltd
Web: http://www.arhont.com
Tel: +44 (0)870 4431337
Fax: +44 (0)117 9690141
PGP: Key ID - 0xFF67A4F4
PGP: Server - keyserver.pgp.com
Raymond wrote:
| After perusing the Samba 3.x docs and purchasing Terpstra's and
Vernooij's
| excellent Samba-3 Howto, I am still unclear on LDAP authentication. Not 
a
| Windows admin so please bear with me.
|
| 1) Regarding the Samba schema, is there a tool to extract the Windows
client
| information (sid, etc.) for populating an LDIF?
|
| Raymond
|
|
|
--
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] 2 domains on 1 samba server

2004-03-22 Thread Isabelle Heu
Hi,
I'd like my samba server to control 2 domains.
I've read there was 2 possibilities :
- using netbios name/alias  include files
- running 2 smbd

the 1st way :
my smb.conf goes like 
 netbios name = istpc91
netbios aliases = winserv
include = /etc/smb.conf.%L

and my smb.conf.istpc91
workgroup = IST

smb.conf.winserv
workgroup =TESTIST

with this solution i 2 servers istpc91 and winserv working for the same 
workgroup WORKGROUP.


the 2nd way:
i run smbd and nmbd with the 2 different configuration files

/usr/sbin/smbd -D -s /etc/samba/smb.conf.istpc91
/usr/sbin/nmbd -D -s /etc/samba/smb.conf.istpc91
 /usr/sbin/smbd -D -s /etc/samba/smb.conf.winserv
 /usr/sbin/nmbd -D -s /etc/samba/smb.conf.winserv

then it seems that only the first command line is taken.

So, have anyone succeed to do this?

thanx.

-- 
Isabelle Heu
Institut de Sciences et Technologie
Univ. Paris 6
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Bugs between libtrash and vfs:recycle

2004-03-22 Thread Andrew Bartlett
On Wed, 2004-03-17 at 23:13, Matthias Spork wrote:
 Hello,
 
 is ther any known Bug between libtrash and the vfs-Module recycle?
 
 When I delete a file over Samba, the file will not been delete. If I disable
 libtrash, all works fine.

I would suggest that any program that attempts to get in the way of
Samba's VFS layer is likely to cause harm.  Samba's VFS recycle module
takes particular care to get things right, having two programs doing the
same thing sounds like a disaster waiting to happen...

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


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

[Samba] samba and symlinks

2004-03-22 Thread Mark Proehl
Hello,

I am using samba in a heterogeneous UNIX/NT environment. Samba exports
file systems that contain many symlinks. My users want to access the
symlinked files from windows explorer, i.e. the symlinks need to be
followed by samba. For security reasons, symlinks pointing to
locations outside the share must not be followed.

According to the samba documentation I have to set these parameters in
smb.conf:

   follow symlinks = yes
   wide links = no

Accessing symlinks from windows explorer does not work on all kinds
of symlinks, because samba wrongly treats them as wide links.

Furthermore, it seems to be impossible to delete a directory with
windows explorer, if that directory is a symlink in the UNIX file
system. Samba tries to rmdir that symlink and fails.

I have created a test scenario, with a very simple smb.conf:

  [global]
 passdb backend = smbpasswd
 log level = 3
 log file = /var/samba/log.%m
 follow symlinks = yes
 wide links = no
  [test]
path = /tmp/test
readonly = no

The [test] share has the following contents:

  bash-2.05b$ ls -lR /tmp/test
  lrwxrwxrwx  1 mark mark 10 Mar 21 16:04 /tmp/test - TEST/test/
  bash-2.05b$ ls -lR /tmp/TEST
  /tmp/TEST:
  drwxr-xr-x  4 mark mark 100 Mar 21 11:13 test
  
  /tmp/TEST/test:
  drwxr-xr-x  2 mark mark 40 Mar 21 11:13 directory
  -rw-r--r--  1 mark mark  0 Mar 21 11:13 file
  drwxr-xr-x  3 mark mark 60 Mar 21 11:13 subdir1
  
  /tmp/TEST/test/directory:
  
  /tmp/TEST/test/subdir1:
  drwxr-xr-x  2 mark mark 240 Mar 21 11:19 subdir2
  
  /tmp/TEST/test/subdir1/subdir2:
  lrwxrwxrwx  1 mark mark  5 Mar 21 16:04 badlinktoetc_1 - /etc/
  lrwxrwxrwx  1 mark mark 40 Mar 21 16:04 badlinktoetc_2 - 
../../../../../../../../../../../../etc/
  lrwxrwxrwx  1 mark mark 11 Mar 21 16:04 badlinktopasswd_1 - /etc/passwd
  lrwxrwxrwx  1 mark mark 46 Mar 21 16:04 badlinktopasswd_2 - 
../../../../../../../../../../../../etc/passwd
  lrwxrwxrwx  1 mark mark 16 Mar 21 16:04 goodlinktodirectory_1 - ../../directory/
  lrwxrwxrwx  1 mark mark 20 Mar 21 16:04 goodlinktodirectory_2 - /tmp/test/directory/
  lrwxrwxrwx  1 mark mark 25 Mar 21 16:04 goodlinktodirectory_3 - 
/tmp/TEST/test/directory/
  lrwxrwxrwx  1 mark mark 10 Mar 21 16:04 goodlinktofile_1 - ../../file
  lrwxrwxrwx  1 mark mark 14 Mar 21 16:04 goodlinktofile_2 - /tmp/test/file
  lrwxrwxrwx  1 mark mark 19 Mar 21 16:04 goodlinktofile_3 - /tmp/TEST/test/file
  
Note that the path /tmp/test itself is a symlink.
  
When I browse through that [test] share with windows explorer, I would
expect all bad* files to be denied, while all good* files should be
accessible.

Heres what really happens, when klicking to each file:

  badlinktoetc_1denied
  badlinktoetc_2denied
  badlinktopasswd_1 denied
  badlinktopasswd_2 denied
  goodlinktodirectory_1 denied
  goodlinktodirectory_2 denied
  goodlinktodirectory_3 allowed
  goodlinktofile_1  denied
  goodlinktofile_2  denied
  goodlinktofile_3  allowed

This was tested with samba-3.0.3pre1, the older versions behave
similiar (2.2.7, 2.2.8a, 3.0.2a).

I've made a small patch, which I think solves a part of the problem.
That patch is included here:
https://bugzilla.samba.org/show_bug.cgi?id=1188. After applying that
patch, symlinks to relative paths (like goodlinktodirectory_1 in my
example) do work.

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


Re: [Samba] samba with vmware

2004-03-22 Thread Gémes Géza
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jaimie Livingston írta:
| VMWare has and requires it's own version of Samba for sharing files
between
| the host and virtual machines. It is an optional component during install
| and can be read about in the online help or online at VMWare.com.
|
That was with VMWare 3.0, now you can use your normal samba for doing
that.
B.T.W if you compiled samba from source you could have a running samba,
and /etc/init.d/smb says it is stopped convince yourself with
ps auxwww | grep smb.
I would recommend to use the SRPM and rebuild it. In this way you could
do the least possible harm to your system.
Cheers,

Geza
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAXs7k/PxuIn+i1pIRAjXlAKCR/xWjzaih9LILLLosUzT46l/WygCfUveV
TMVeZ1Z26Zn0olZZxFWk/EE=
=21Aw
-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] PRINTING CUPS on Samba 3.0 - PS Driver upload

2004-03-22 Thread Andrew Bartlett
On Mon, 2004-03-22 at 19:19, Herbert FRIEDL wrote:
 Dear all
 
 samba 3.0.2pre1-1
 cups 1.1.20
 
 i am testing the CUPS printing on Samba 3.0.2pre1-1  and so far we have
 a good impression about the system
 We want to use only Postscript for our printers.
 
 The cupsaddsmb tool works great and printing with the cups driver is
 fine.
 The Add Printer Wizard for uploading vendor specific for the PCL 5
 drivers is working fine and printing is working.
 
 I have some trouble with the vendor specific Post script drivers.
 
 Uploading the Postscript drivers is OK but when we want to print
 something on the  printers (hp2280, hp2300) 
 the printer only prints the prostscript definition text and produces
 tons of pages.

The problem is, the HP (and most other) postscript drivers output a PCL
header above their postscript.  CUPS doesn't think it's postscript then,
and things go downhill from there.

Only the CUPS and potentially the adobe drivers gets this right, but I
have had other nasty problems with the CUPS drivers.

 The output file in /var/spool/cups looks ok for a postscript printer.
 
 I am a bit confused because postscript printing is working for other
 printers like canon-ir5000.

It probably puts out real postscript (as far as CUPS is concerned).

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


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

[Samba] Samba users without local unix users

2004-03-22 Thread Felipe S. Elich
Hello to all:

First of all, sorry about my poor english. I am spanish :)
I have a debian machine running as a samba file server. The important part
of smb.conf is here:

   security = share
   encrypt passwords = true
   passdb backend = smbpasswd:/etc/samba/smbpasswd
   obey pam restrictions = yes
   invalid users = root
   passwd program = /usr/bin/passwd %u
   passwd chat = Enter\snew\sUNIX\spassword: %n\n
Retype\snew\sUNIX\spassword: %
n\n .

I want to create samba users without local unix account. I've tried the
following:

smbpasswd -a newuser

This command fails if newuser doesn't exist in local machine
(in /etc/passwd). If the user exist, the smbpasswd -a command runs well.

How can i create samba users without create local unix users?

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


[Samba] (no subject)

2004-03-22 Thread Admin
Dear User

 I have an problem of Master Browser with Nt and Samba Box.
ALL THESE DAY NT SERVER 4.0 IS THE MASTER BROWSER IN MY NETWORK.
BUT NOW WHEN SAMBA CAME IN TO NETWORK THE LINUX SYSTEM IF WE DOUBLE CLICK FROM NETWORK 
BROWSER IT SAYS...PATH COULD NOT BE FOUND.
 AND WHEN I CHECK IN EVENT VIEWER..

The master browser has received a server announcement from the computer LINUX that 
believes that it is the master browser for the domain on transport NetBT_DLKRTS1. The 
master browser is stopping or an election is being forced. 

THIS IS THE MESSAGE I GOT.
Pls help me to Resolve this Problem.
Regards,
Ravi
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Kerberos auth without NTLM

2004-03-22 Thread ww m-pubsyssamba

Can anyone tell me if I can configure Samba 3.x to rely only on Kerberos 
authentication (in an AD domain)?
Ideally I'd like to use local UNIX accounts, not winbind, and negate the need for me 
to add an entry to passdb, then the
account must exist in AD and locally on each Samba member server for authentication to 
work.
If there is any info held in passdb, other than the NTLM coded password, which must 
exist for Samba to work then I'd 
like to either enter an unusable password or disable NTLM authentication completely. 
Reason for my second request 
is if I am forced to have users in passdb I don't want to have to worry about the data 
being world readable from a 
security perspective.

Any thoughts much apprectiated,

thanks Andy.

BBCi at http://www.bbc.co.uk/

This e-mail (and any attachments) is confidential and may contain personal views which 
are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system. Do not use, copy 
or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the BBC monitors 
e-mails sent or received.
Further communication will signify your consent to this.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] 2 domains on 1 samba server

2004-03-22 Thread Craig White
On Mon, 2004-03-22 at 02:41, Isabelle Heu wrote:
 Hi,
 I'd like my samba server to control 2 domains.
 I've read there was 2 possibilities :
   - using netbios name/alias  include files
   - running 2 smbd
 
 the 1st way :
 my smb.conf goes like 
netbios name = istpc91
 netbios aliases = winserv
   include = /etc/smb.conf.%L
 
 and my smb.conf.istpc91
   workgroup = IST
   
   smb.conf.winserv
   workgroup =TESTIST
 
 with this solution i 2 servers istpc91 and winserv working for the same 
 workgroup WORKGROUP.
 
 
 the 2nd way:
 i run smbd and nmbd with the 2 different configuration files
 
 /usr/sbin/smbd -D -s /etc/samba/smb.conf.istpc91
 /usr/sbin/nmbd -D -s /etc/samba/smb.conf.istpc91
  /usr/sbin/smbd -D -s /etc/samba/smb.conf.winserv
  /usr/sbin/nmbd -D -s /etc/samba/smb.conf.winserv
 
 then it seems that only the first command line is taken.
 
 So, have anyone succeed to do this?

I would want to have 2 network cards and bind the smbd/nmbd pair to one
of the cards. Still don't know if this would work, simply guessing.

Craig

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


Re: [Samba] Samba users without local unix users

2004-03-22 Thread Craig White
On Mon, 2004-03-22 at 05:02, Felipe S. Elich wrote:
 Hello to all:
 
 First of all, sorry about my poor english. I am spanish :)
 I have a debian machine running as a samba file server. The important part
 of smb.conf is here:
 
security = share
encrypt passwords = true
passdb backend = smbpasswd:/etc/samba/smbpasswd
obey pam restrictions = yes
invalid users = root
passwd program = /usr/bin/passwd %u
passwd chat = Enter\snew\sUNIX\spassword: %n\n
 Retype\snew\sUNIX\spassword: %
 n\n .
 
 I want to create samba users without local unix account. I've tried the
 following:
 
 smbpasswd -a newuser
 
 This command fails if newuser doesn't exist in local machine
 (in /etc/passwd). If the user exist, the smbpasswd -a command runs well.
 
 How can i create samba users without create local unix users?
---
You can't. You can have unix users without a valid shell however.

The closest thing to what you are asking is to map users (mapping
smbusers to say 1 or more unix users) but that is entirely a manual
process. 

Craig

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


[Samba] freebsd + mount_smbfs = ?

2004-03-22 Thread Roman Yerin
When I use mount_smbfs I receive such message:

# mount_smbfs -W sbrc -U Kid -E koi8-r:cp1251 -Iradius.sbrc.local
//[EMAIL PROTECTED]/MUSIC$ /home/anonftp/.2
mount_smbfs: can't get server address `radius.sbrc.local':
Resolver Error 0 (no error)
mount_smbfs: can't get server address: syserr = Network is down

Network is up in fact, dns server resolves name, but I receive this message
immediatly after run.
I really don't know what's wrong, even after 4 days in google



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


RE: [Samba] freebsd + mount_smbfs = ?

2004-03-22 Thread ww m-pubsyssamba
I have this working on Mac OS X which uses the BSD mount_smbfs

mount_smbfs -I server.domain.co.uk -W DOMAIN //server/share /mountpoint

so in principal it should work ok!?!?!

Andy.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Roman Yerin
Posted At: 22 March 2004 13:36
Posted To: Samba
Conversation: [Samba] freebsd + mount_smbfs = ?
Subject: [Samba] freebsd + mount_smbfs = ?


When I use mount_smbfs I receive such message:

# mount_smbfs -W sbrc -U Kid -E koi8-r:cp1251 -Iradius.sbrc.local
//[EMAIL PROTECTED]/MUSIC$ /home/anonftp/.2
mount_smbfs: can't get server address `radius.sbrc.local':
Resolver Error 0 (no error)
mount_smbfs: can't get server address: syserr = Network is down

Network is up in fact, dns server resolves name, but I receive this message
immediatly after run.
I really don't know what's wrong, even after 4 days in google



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

BBCi at http://www.bbc.co.uk/

This e-mail (and any attachments) is confidential and may contain personal views which 
are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system. Do not use, copy 
or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the BBC monitors 
e-mails sent or received.
Further communication will signify your consent to this.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba users without local unix users

2004-03-22 Thread Felipe S. Elich
El Lunes, 22 de Marzo de 2004 13:52, Craig White escribió:

  How can i create samba users without create local unix users?

 You can't. You can have unix users without a valid shell however.

But... this is applied to all security levels or only when security=shared 
is enabled?

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


Re: [Samba] Samba 3.0.3pre1 Available for Download

2004-03-22 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ertan Kucukoglu wrote:
|
| All below are good new features. Only thing missing
| IMHO is performance improvements.
|
| If I missed, or if it is planned for future releases
| please accept my apologies.
We continually work on improving performance as we
can.  What specifically are you referring to?


cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAXvKGIR7qMdg1EfYRAnWJAJ4vYTcH/CahosOCyMfLG5NtrA3s9wCfQSyw
K/iMSvdOTZtNVofuJT3ukcg=
=8OF0
-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] Re: freebsd + mount_smbfs = ?

2004-03-22 Thread Roman Yerin
but it doesn't and i don't know why

freebsd 5.2.1

it worked on my freebsd 5.2, but when i rebuid world kernel and samba - it
doesn't



ww m-pubsyssamba [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have this working on Mac OS X which uses the BSD mount_smbfs

mount_smbfs -I server.domain.co.uk -W DOMAIN //server/share /mountpoint

so in principal it should work ok!?!?!

Andy.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Roman Yerin
Posted At: 22 March 2004 13:36
Posted To: Samba
Conversation: [Samba] freebsd + mount_smbfs = ?
Subject: [Samba] freebsd + mount_smbfs = ?


When I use mount_smbfs I receive such message:

# mount_smbfs -W sbrc -U Kid -E koi8-r:cp1251 -Iradius.sbrc.local
//[EMAIL PROTECTED]/MUSIC$ /home/anonftp/.2
mount_smbfs: can't get server address `radius.sbrc.local':
Resolver Error 0 (no error)
mount_smbfs: can't get server address: syserr = Network is down

Network is up in fact, dns server resolves name, but I receive this message
immediatly after run.
I really don't know what's wrong, even after 4 days in google



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

BBCi at http://www.bbc.co.uk/

This e-mail (and any attachments) is confidential and may contain personal
views which are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system. Do not
use, copy or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the BBC
monitors e-mails sent or received.
Further communication will signify your consent to this.
-- 
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] Switch roles of PDC and BDC machines?

2004-03-22 Thread Paul Gienger
Andrew Bartlett wrote:

On Wed, 2004-03-17 at 00:43, Paul Gienger wrote:
 

I've got two sites that I am planning a Samba3/LDAP implementation on, 
each will have its own local server.  The problem is that I want to 
implement in my local office first, which is not the site that 
eventually will be the 'master' site.  Sometime later when the proper 
master site comes online, I'd like to demote for lack of a better term, 
my local machine to a BDC and then promote the other one to a PDC.  What 
I think would be involved would be:

1. Swap the Domain Master parameter so that the first server is set to 
No and the new and eventual master is Yes.
2. Change WINS parameters so that the new PDC is the WINS server, 'wins 
support' gets the same treatment as Domain Master, point the BDC at the 
new PDC and then alter DHCP.
   

WINS is separate from PDC stuff, so you can switch this at any time

 

3. maybe rejoin the xDC machines to the domain with the PDC and BDC 
parameters for type set for their new values.
   

No need, but each machine (including the PDC/BDC) should be joined to
the domain.
 

Am I missing any terribly important but non-obvious (to me) parameters?
   

You will need to down the LDAP system, to switch around the LDAP
replication.  This also can be done independently from 'domain master'
parameters, but I would switch both at the same time.
 

Actually, the LDAP situation is completely independant of samba here.  
We have a working setup for LDAP that I'm not screwing with at all. 

So by the looks of things here, the only important thing is the Domain 
Master = Yes/No parameter?

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


Re: [Samba] 2 domains on 1 samba server

2004-03-22 Thread John H Terpstra
On Mon, 22 Mar 2004, Craig White wrote:

 On Mon, 2004-03-22 at 02:41, Isabelle Heu wrote:
  Hi,
  I'd like my samba server to control 2 domains.
  I've read there was 2 possibilities :
  - using netbios name/alias  include files
  - running 2 smbd
 
  the 1st way :
  my smb.conf goes like
   netbios name = istpc91
  netbios aliases = winserv
  include = /etc/smb.conf.%L
 
  and my smb.conf.istpc91
  workgroup = IST
 
  smb.conf.winserv
  workgroup =TESTIST
 
  with this solution i 2 servers istpc91 and winserv working for the same
  workgroup WORKGROUP.
 
 
  the 2nd way:
  i run smbd and nmbd with the 2 different configuration files
 
  /usr/sbin/smbd -D -s /etc/samba/smb.conf.istpc91
  /usr/sbin/nmbd -D -s /etc/samba/smb.conf.istpc91
   /usr/sbin/smbd -D -s /etc/samba/smb.conf.winserv
   /usr/sbin/nmbd -D -s /etc/samba/smb.conf.winserv
 
  then it seems that only the first command line is taken.
 
  So, have anyone succeed to do this?
 
 I would want to have 2 network cards and bind the smbd/nmbd pair to one
 of the cards. Still don't know if this would work, simply guessing.

You can do this with IP Aliases. Each server (smbd) must be bound to just
one IP alias.

To create an IP Alias on Linux:

ifconfig eth0:0 192.168.1.3

To bind smbd to an IP Alias:

interfaces = eth0:0
bind interfaces only = yes

Cheers,
John T.
-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] using sym-links with Samba

2004-03-22 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[EMAIL PROTECTED] wrote:

| I have a File Server with 3 HDDs. Everyone has a directory
| with the name samba.  One of the HDD has a secondary Directory
| with the name samba_nfo.
Why not just create a single share named [samba_nfo] and
use a dfs referral to redirect users to it.  You can then
set 'wide links = yes' for that share alone.






cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAXvsGIR7qMdg1EfYRAkLcAJ4+4inrcz85WS/fGu5g3w0zlb7FwQCfSx1F
NaZxuxN/20beGL2r53wqEIU=
=WSJd
-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] 64-bit Windows advanced server 2003 hangs

2004-03-22 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeremy Allison wrote:

| Can you please get an ethereal capture trace of this problem
| and send it to [EMAIL PROTECTED] We need to be able
| to produce a binary using the smbclient code that can
| reproduce this so we can send it to Microsoft and get them
| to fix it.
I'[ve seen thsi before and I thought that MS had fixed it with a
hotfix.  Maybe I'm remembering wrong though.  Could have been
this one I was thinking about.
~   https://bugzilla.samba.org/show_bug.cgi?id=878



cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- 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.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAXvw9IR7qMdg1EfYRAk7+AJ0aUiYETva9YBfRKEkBM3F1uMWtegCgmLJ3
DOyuoPr6IJuaxRGgxChbhIA=
=qCh5
-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] Samba 3.0.3pre1 Available for Download

2004-03-22 Thread Ertan Kucukoglu
Gerald (Jerry) Carter wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ertan Kucukoglu wrote:
|
| All below are good new features. Only thing missing
| IMHO is performance improvements.
|
| If I missed, or if it is planned for future releases
| please accept my apologies.
We continually work on improving performance as we
can.  What specifically are you referring to?
I referred to Davon Shire's e-mail dated 09 March 2004 18:59.

In the mean time, I remember some programs indicate performance gain by 
percentage. I do not remember any name in my mind. But, IMHO similiar 
approach maybe good for samba.

Regards, Ertan.





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


Re: [Samba] Samba 3.0.3pre1 Available for Download

2004-03-22 Thread Adam Williams
  | All below are good new features. Only thing missing
  | IMHO is performance improvements.
  | If I missed, or if it is planned for future releases
  | please accept my apologies.
  We continually work on improving performance as we
  can.  What specifically are you referring to?
 I referred to Davon Shire's e-mail dated 09 March 2004 18:59.
 In the mean time, I remember some programs indicate performance gain by 
 percentage. I do not remember any name in my mind. But, IMHO similiar 
 approach maybe good for samba.

Try using smbtorture.  We get very good performance from not terribly
powerful hardware.
ftp://ftp.kalamazoolinux.org/pub/pdf/PerfTune2001.pdf

$ ./smbtorture //sardine/torture -Uadam%** 32 NBW95
host=sardine share=torture user=adam myname=estate2
Running NBW95
1 clients started
+*
Throughput 473.344 MB/sec (NB=591.68 MB/sec  4733.44 MBit/sec)
NBW95 took 0.278914 secs
 
$ ./smbtorture //sardine/torture -Uadam%** 32 NBWNT
host=sardine share=torture user=adam myname=estate2
Running NBWNT
1 clients started
+*
Throughput 456.839 MB/sec (NB=571.049 MB/sec  4568.39 MBit/sec)
NBWNT took 0.289049 secs


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


[Samba] smbd stall on FreeBSD [was Re: Samba 3.0.3pre1 Available for Download]

2004-03-22 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ertan Kucukoglu wrote:

| We continually work on improving performance
| as we can.  What specifically are you referring
| to?
|
|
| I referred to Davon Shire's e-mail dated 09 March
| 2004 18:59.
|
| In the mean time, I remember some programs indicate
| performance gain by  percentage. I do not remember any
| name in my mind. But, IMHO similiar approach maybe
| good for samba.
We actually gained significant performance improvements
with the TDB scalability issue surrounding the
TDB_CLEAR_IF_FIRST flag.  This will be mainly seen by
larger installations (maybe 100 concurrent connections).
I missed Davon's mail the first time (the danger of the
signal-to-noise ration on this list sometimes).
Here's the gist:

| SMB transfer from Client1 to Client2 6.0 MB/s both ways.
|
| FTP transfers: average 8.7 MB/s from Server to Client1.
|   5.7 MB/s from client1 to Server.
|  FTP transfers: average 9.0 MB/s from Server to Client2.
|   6.0 MB/s from Client2 to Server.
| ( Yes there is some noted asymetry here but the data flow
| over the network is smooth, there are no pauses or breaks
| in the data transmission. )
|
| Samba Transfers: Average 6.0 MB/s from Client1/2 to
| Server. 1.75 MB/s from server to Client1/2. (does not
| matter which machine, they both produce almost identical
| network behavior.)
|
| ( The reason the average from server to clients is so
| low is due to unexplainable lulls in transmission from
| the server to the client. Peaks in the transfer near
| 6.0 MB at times. )
...
| I have as previously stated tweaked, recompiled, adjusted.
| read dozens of performance tips for getting the most out
| of Samba and it's just not happening. I've adjusted read
| size, Sendbuf and Recvbuf values, MTU, MSS, lowday, no
| delay blah blah blah. I've watched for collisions.
| (None) I've watched for NACKS ACKS and the last episode
| of The Tick. But I can't get much better than I already
| have out of these machines.
|
| If I'm missing something obvious please tell me. But
| if it's obvious then why isn't it working straight out
| of the Install?
If I were going to start trouble shooting this I would
need to see a network trace to see what the packet previous
to the stall was.  We would also need to know what the smbd
process was doing during the stall using strace (i.e. was
it waiting for a repsonse such as an oplock break or was
it looking for some data in a tdb, etc...).
And as a final note, bugs will get lost on this list.  The
\preferred method of tracking defects is to log a reoprt at
https://bugzilla.samba.org/.
So Devon, if you would be will to open a bug report and
provide me with the requested information, I'll try to burn
some cycles on it.




cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAXwzQIR7qMdg1EfYRAiGJAJ9084B8TMJLBR1yIe2cZtwXfP4PxQCfc3Cc
KRrDnqozH5X2t0Ai7XljNYE=
=2KMk
-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] connexion lost on samba 3.0.0

2004-03-22 Thread Patrick Noel
Hi

in first sorry  for my bad english

I expose my problem:

i have a samba sever 3.0.0 in production for 3 months it is integrated
into a ADS W2K it is with horse on two vlan on a same eternet card there
are approximately 160 pc which connect to the server above is a debian 3
kernel 2.4.18 with the management of the acl. 
the data shared by samba are on afiber bay formatted in xfs with
management of the acl.
the volume accounts is approximately 800 Go
For 3 months very with correctly functioned but since last week there
were bug some pc  cannot more connect during a time (5 minutes to 30
minutes) then all  return in the order
 Problem are:  
from a station W2K the Net view \\my_server does not work (error 53) 
from a station W2K the Net view \\172.16.0.1 (IP of the server) does not
work (error 53) 
the ping is good, resolving DNS is good the wins is good but the samba
server does not answer for NETBIOS.  

on the server :  
a 'nmblookup - B my_server __ SAMBA __' is ok
a 'smbclient - L //my_server' or 'smbclient -L  //IP or 'smbclient -L
IP' returns  ' connection refused' 
no trace in the log of samba on this Problem 

during this time there are pc which can't have a connexion and there is
which are connected and for which all is good.  
I simplified the configuration of the server to the maximum (no ADS, no
VLAN, ) and I always have this Problem.  

The only thing which was modified it is the volume and the number of
users who increased.

i suspect a problem on connections.tdb

which is the role of the file connections.tdb ?  


I made a dump file and I have a list of the connected machines. 
If this file is corrompu can one imagine that my problems of connect can
come from there?  
I made a 'tdbbackup - v' on this file and it are correct but before i
reinstalled samba in version 3.0.2a  ( the initial version is 3.0.0) 

during an upgrade from samba 3.0.0 to samba 3.0.2a  these files are
recreated?  

Thank you

Patrick

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


Re: [Samba] secrets_fetch_trusted_domain_password

2004-03-22 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Beast wrote:

| Oh, it was already on the bugzilla.
| https://bugzilla.samba.org/show_bug.cgi?id=556
|
| Any progress on this bug? any other alternative?
There's been work on this in the HEAD branch.  Just not
ready ot be merged back into 3.0.
| It quiet surprising me that so many samba users but none
| are using inter domain trust ;-p~ 
I think they are just not with multiple DC's.





cheers, j erry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- 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.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAXxQwIR7qMdg1EfYRAkltAJ9wdBalab1J70DmdaKsfm2SO+i2wwCg4DGf
Epw2Ha9iRJZNtUss2y+UpG8=
=4bKe
-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] Norton Antivirus a détecté une violation dans un document dont vous êtes l'auteur.

2004-03-22 Thread SMTPNOTES/MONACO-TELECOM%MONACO-TELECOM
Veuillez contacter votre administrateur système.

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


Re: [Samba] Problem while installing the SAMBA...

2004-03-22 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[EMAIL PROTECTED] wrote:
| Hi Erik...
|
|Thanks for the response.
|
|I have changed the permissions for all the files to
| root... Still it is  waiting for some thing. It stoped
| at while building inclue/proto.h
remove /usr/usb from your PATH.



cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- 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.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAXxU3IR7qMdg1EfYRAkynAKCHTdwPkrOCGnAwY82v8Qti3r2qZQCfXpiq
bwTzydSA4bG2yVOPWOgpVuo=
=cDUF
-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] Problem while installing the SAMBA...

2004-03-22 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gerald (Jerry) Carter wrote:
| [EMAIL PROTECTED] wrote:
| | Hi Erik...
| |
| |Thanks for the response.
| |
| |I have changed the permissions for all the files to
| | root... Still it is  waiting for some thing. It stoped
| | at while building inclue/proto.h
|
| remove /usr/usb from your PATH.
Doh! Meant '/usr/ucb/'.  Sorry



cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAXxi3IR7qMdg1EfYRAlW3AKCOSTGJx7I1WtoBG2z5IqJVNUlvkgCgsXww
jk6i+UzoAqj5cy8wn5w87e0=
=hgkJ
-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] 64-bit Windows advanced server 2003 hangs

2004-03-22 Thread Kyle Davenport

I've finally narrowed down the conditions for this ; it is very
reproducible.   It is only 64-bit Windows 2003 (not 32-bit)  and the
problem started when I upgraded from linux kernel 2.4.22 to 2.4.25.  I
verified there is no problem when I go back to 2.4.22.  The pcap files I am
sending to [EMAIL PROTECTED] are the same operation done on the share
using 2.4.22 or 2.4.25.  You can see there is no response from DWDEV64 in
the 2.4.25 capture - because it is DEAD!

Steps to reproduce:
1.  smbmount share
2. cd to mounted share
3. ls in top directory works
4. ls some sub-directory hangs the box

Curiously I also noticed that from a 32-bit win2k box, if I map the 64-bit
Win2003 drive, and I go there in a DOS shell, it will not let me cd to a
sub-directory.  It returns the error message Invalid Directory

Kyle




   
   
  Jeremy Allison   
   
  [EMAIL PROTECTED]  To:   Kyle Davenport [EMAIL 
PROTECTED]  
   cc:   [EMAIL PROTECTED] 
   
  03/19/04 12:21 PMSubject:  Re: [Samba] 64-bit Windows 
advanced server 2003 hangs
  Please respond to
   
  Jeremy Allison   
   
   
   
   
   




On Fri, Mar 19, 2004 at 11:14:34AM -0600, Kyle Davenport wrote:
 I just had the unpleasant experience of crashing a production server
 _twice_ when trying to access a file share.

 The server is 64-bit Windows 2003 on an itanium3.  My box is RedHat Linux
 8.0 with Samba 3.0.0-2.   Here's some messages from syslog:

 Mar 19 09:13:58 hedron automount[1037]: attempting to mount entry
 /dborg/POS
 Mar 19 09:13:58 hedron mount.smbfs[23153]: [2004/03/19 09:13:58, 0]
 client/smbmount.c:send_fs_socket(405)
 Mar 19 09:13:59 hedron mount.smbfs[23153]:   mount.smbfs: entering daemon
 mode for service \\dborg\POS, pid=23153
 Mar 19 09:14:29 hedron kernel: SMB server not responding
 Mar 19 09:14:29 hedron kernel: smb_get_length: recv error = 5
 Mar 19 09:14:29 hedron kernel: smb_trans2_request: result=-5, setting
 invalid
 Mar 19 09:15:29 hedron kernel: smb_lookup: find //Store_257 failed,
 error=-5
 Mar 19 09:16:29 hedron kernel: smb_lookup: find //Store_257 failed,
 error=-5
 Mar 19 09:16:39 hedron kernel: smb_retry: caught signal
 Mar 19 09:16:39 hedron kernel: smb_lookup: find //Store_261 failed,
 error=-5

 Normally, I automount my windows shares.  This has been working actually,
 for about 3 months, without a problem.

 Call it a testament to the reliability of 64-bit Win2003 that trying to
do
 a file listing with Samba blue-screens the server.   The first time I
 thought it must just be a coincidence, but after a reboot, it did it
again!
 They have to constantly patch the window's boxes here for security
problems
 of course; this could be an early warning that M$ has changed something
to
 be incompatible with Samba.

Can you please get an ethereal capture trace of this problem and
send it to [EMAIL PROTECTED] We need to be able to produce a binary
using the smbclient code that can reproduce this so we can send it to
Microsoft and get them to fix it.

Thanks,

 Jeremy.





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


Re: [Samba] Samba users without local unix users

2004-03-22 Thread Craig White
On Mon, 2004-03-22 at 06:56, Felipe S. Elich wrote:
 El Lunes, 22 de Marzo de 2004 13:52, Craig White escribi:
 
   How can i create samba users without create local unix users?
 
  You can't. You can have unix users without a valid shell however.
 
 But... this is applied to all security levels or only when security=shared 
 is enabled?

All connections, even security = share have to map to a valid username
in some fashion. man smb (security = ) describes the various methods
used to try to deduce the user name.

Craig

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


[Samba] CUPS setup with 3.0.3pre1

2004-03-22 Thread Stefan G. Weichinger

Hello,

I am currently trying to setup Samba 3.0.3pre1 to share my freshly
installed LaserJet. I have NOT had any printer until now, so I can't
tell you if the behavior was different before 3.0.3pre1.

The problem:

My smb.conf contains:

 [global]
 ## Printing

   load printers = yes
   printcap name = cups
   printing = cups 


 [printers]
comment = All Printers
printing = cups
path = /usr/spool/samba
browseable = Yes
printable = yes

There is no string lpstat in my smb.conf.

testparm runs through fine.

testparm -s | grep lpstat   gives:

 Loaded services file OK.
 printcap name = lpstat
 lpq command = /usr/bin/lpstat -o '%p'

???

This results in the entries:

 tail /var/log/samba/log.smbd
   Copyright Andrew Tridgell and the Samba Team 1992-2004
 [2004/03/22 17:47:04, 0] printing/pcap.c:pcap_printer_fn(361)
   Unable to open printcap file lpstat for read!
 [2004/03/22 17:55:53, 0] printing/pcap.c:pcap_printer_fn(361)
   Unable to open printcap file lpstat for read!
 [2004/03/22 17:57:13, 0] smbd/server.c:main(748)
   smbd version 3.0.3pre1 started.
   Copyright Andrew Tridgell and the Samba Team 1992-2004
 [2004/03/22 17:57:13, 0] printing/pcap.c:pcap_printer_fn(361)
   Unable to open printcap file lpstat for read!

What do I miss here ?

Thanks ...

--
best regards,
Stefan G. Weichinger
mailto:[EMAIL PROTECTED]



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


Re: [Samba] 64-bit Windows advanced server 2003 hangs

2004-03-22 Thread Kyle Davenport

This one's different.   All I have to do is attempt to list  a
sub-directory, and windows crashes with this error message:

BCCode: 1007e   BCP1: 8002   BCP2: E164C2D2C8A4   BCP3:
E164C31EDD98
BCP4: E164C31ECE00   OSVer: 5_2_3790   SP: 0_0   Product: 274_3

Kyle




   
   
  Gerald (Jerry)  
   
  Carter  To:   Jeremy Allison [EMAIL 
PROTECTED]   
  [EMAIL PROTECTED]cc:   Kyle Davenport [EMAIL 
PROTECTED], [EMAIL PROTECTED]   
   Subject:  Re: [Samba] 64-bit Windows 
advanced server 2003 hangs
  03/22/04 08:46 AM
   
   
   
   
   




-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jeremy Allison wrote:

| Can you please get an ethereal capture trace of this problem
| and send it to [EMAIL PROTECTED] We need to be able
| to produce a binary using the smbclient code that can
| reproduce this so we can send it to Microsoft and get them
| to fix it.

I'[ve seen thsi before and I thought that MS had fixed it with a
hotfix.  Maybe I'm remembering wrong though.  Could have been
this one I was thinking about.

~   https://bugzilla.samba.org/show_bug.cgi?id=878



cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- 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.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAXvw9IR7qMdg1EfYRAk7+AJ0aUiYETva9YBfRKEkBM3F1uMWtegCgmLJ3
DOyuoPr6IJuaxRGgxChbhIA=
-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] printing with option problem

2004-03-22 Thread Nicolas BOURRIOT
I have configured samba as printer server for a Canon LBP-1760e Laser
printer. All works perfectly except when I use the printer option 2 pages per
sheet. I can see the smbprn.xx file in the spool directory but it is
removed before beeing printed, then in the log file I can read the message :
can't open file 'smbprn.x' no such file or directory.
I have the same problem using samba 2.2.7, samba 2.2.8 or samba 3.0.2.

I think there is something wrong in my config but what?
Could someone help me?

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


RE: [Samba] Problem while installing the SAMBA...

2004-03-22 Thread John Petro
I tried to compile this on Solaris 8 and 9 at one point, and what I had
to do was to actually rename the /usr/ucb/cc and /usr/ucb/make and I
believe I had to move /usr/ucb/ld as well.  I then installed the GNU
make util and I was able to compile fine.  For some reason, taking
/usr/ucb didn't help me.  But this did.  Just remember when you are
done, to rename the files back to their original names when you are
done.

--John

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Gerald (Jerry) Carter
Sent: Monday, March 22, 2004 11:33 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] Problem while installing the SAMBA...

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
| Hi Erik...
|
|Thanks for the response.
|
|I have changed the permissions for all the files to
| root... Still it is  waiting for some thing. It stoped
| at while building inclue/proto.h

remove /usr/usb from your PATH.




cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- 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.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAXxU3IR7qMdg1EfYRAkynAKCHTdwPkrOCGnAwY82v8Qti3r2qZQCfXpiq
bwTzydSA4bG2yVOPWOgpVuo=
=cDUF
-END PGP SIGNATURE-
-- 
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] smbldap-tools dont handle referrals

2004-03-22 Thread Matthias Eichler
Dear List,

I've a ldap setup with one master and one slave server replication via
slurpd and with an updateref entry on the slave server, so all
modifies on the slave server get an referral to the master server.

For some kind of loadbalancing we have a dns roundrobin entry which
points as well to the master as to the slave.

Unfortunately it seems that the smbldap-tools are not able to handle
referals? I always get:
---cut---
failed to modify entry: Referral received at
/usr/local/sbin/smbldap-passwd.pl line 140, STDIN line 2.
Unable to change password : Referral received at
/usr/local/sbin/smbldap-passwd.pl line 174, STDIN line 2.
---cut---

Does samba itself handles referrals correctly?
Or do I have to make some specialities for implementing a
redundant ldap backend into samba?

Thanks for your input,

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


[Samba] Registry hack needed

2004-03-22 Thread Ken Tindle
I set up some W2K machines under Samba 2.2.1a for printing using the spoolss
features in that Samba release.  I now have Samba 3.02a, and have been
forced to use:

disable spoolss = yes

Now, the W2K machines give the error dialog could not connect to printer
because the Windows box is still trying to use the spoolss system, rather
than plain LanMan calls, to figure out whether you have enough permissions
to connect.

How can I hack the Registry to make the LanMan printing subsystem forget
its previous state?  It must be made to care only about local acl, not the
remote acl that Samba has now been told not to fake.



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


Re: [Samba] Problem while installing the SAMBA...

2004-03-22 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John Petro wrote:

| I tried to compile this on Solaris 8 and 9 at one point,
| and what I had to do was to actually rename the
| /usr/ucb/cc and /usr/ucb/make and I believe I had to
| move /usr/ucb/ld as well.  I then installed the GNU
| make util and I was able to compile fine.  For some
| reason, taking /usr/ucb didn't help me.  But this
| did.  Just remember when you are done, to rename the
| files back to their original names when you are done.
it's 'tr' that we've had past problems with.





cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAXyqnIR7qMdg1EfYRAvtaAKDefj1DwuRnvva/u1ckPLQKeOSpJwCggZbd
qE3YExIanDictPc20D3M6CY=
=8psM
-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] ADS controller connection issue; clients work fine.

2004-03-22 Thread Tom Dickson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeremy Allison wrote:
| On Wed, Mar 17, 2004 at 11:31:40AM -0800, Tom Dickson wrote:
|
|-BEGIN PGP SIGNED MESSAGE-
|Hash: SHA1
|
|Jeremy Allison wrote:
|| On Wed, Mar 17, 2004 at 09:26:45AM -0800, Tom Dickson wrote:
||
||-BEGIN PGP SIGNED MESSAGE-
||Hash: SHA1
||
||I've joined Samba to the domain, and everything seems to work fine.
||Clients can login to their windows 2000 machines and access the Samba
||server, which authenticates using kerberos to the 2003 AD controller.
||
||However, if I logon ON the 2003 AD controller, it can't access the Samba
||server. The same user logged onto any of the clients does work fine.
||Changing the passwords and rebooting things does not seem to help.
||
||Am I missing something easy? I can get logs and config files if needed.
||
||
|| Debug 10 logs from the smbd would help.
||
|| Jeremy.
||
|| .
||
|Ok. See attached! Thank you!
|
|
| Ok, looking at this it looks like you have a problem with encryption
| types. Are you sure it's using krb5 to allow clients access ? It may
| be falling back to NTLMSSP. What does your krb5.conf look like ? What
| version of MIT Kerberos are you using ?
|
| Jeremy.
|
| .
|
Here's the krb5.conf setup from a similar machine that shows the same
problem against Windows 2003.
more /etc/krb5.conf
[libdefaults]
~ default_realm = NETBENCHDOMAIN.LOCAL
#
[realms]
~ NETBENCHDOMAIN.LOCAL = {
~  kdc = NBSERVER.NETBENCHDOMAIN.LOCAL
~ }
#
[domain_realms]
~ .kerberos.server = NETBENCHDOMAIN.LOCAL
#===eof===
ls /usr/kerberos/lib/
libcom_err.so.3libgssapi_krb5.so.2libkadm5clnt.so.5libkrb4.so.2
libcom_err.so.3.0  libgssapi_krb5.so.2.2  libkadm5clnt.so.5.0
libkrb4.so.2.0
libdes425.so.3 libgssrpc.so.3 libkadm5srv.so.5 libkrb5.so.3
libdes425.so.3.0   libgssrpc.so.3.0   libkadm5srv.so.5.0
libkrb5.so.3.1
libdyn.so.1libk5crypto.so.3   libkdb5.so.3 libpty.so.1
libdyn.so.1.0  libk5crypto.so.3.0 libkdb5.so.3.1   libpty.so.1.2
I don't know how to find out the version any closer than than.

Another thing I noticed that if I connect to the IP address of the
machine, it sometimes works, but not when connecting to the netbios name.
How do I verify that it is using krb5 for the clients, which seem to
work just fine? It also seems that sometimes it just starts working
after a long time.
- -Tom
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAXyyE2dxAfYNwANIRAuonAJ0UIg1wnXAFAAK5Ttft2eKZskNkOgCfd5en
NFVwpl+JE/qLQJ1Fl8OqFrY=
=0rlM
-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] Samba3 Trust Relationships?

2004-03-22 Thread K. Hawkes
Hey all,

After setting up a migration server (a server which
will act as a test for a Samba 3.x environment), so
we can make sure our migration from Samba 2.2.x
to 3.x goes as smoothly as possible, I've hit upon
a problem, now I am not sure whether this is the
fault of Samba (my configuration) or NT4 or
whether this is infact designed behaviour for
both/either servers. I'd like to overcome the
problem if it's possible but I am not sure how.

Systems :
1x NT4 PDC (NTDOM)
2x W2K Workstations - SP4 - no additional patches.
1x Samba3 PDC (SMBDOM) - Running RH9 (samba-3.0.2a)

I have set up a one-way trust between NTDOM and SMBDOM
so that users on NTDOM joined PC's can connect and login
to both networks, but those connected to SMBDOM can only
login to SMBDOM domain, not both domains as NTDOM connected
PC's can do.

The problem itself (if you can call it a problem) is this :
I have a selection of users on both PDCs. The user I am testing with
this is called 'keith', he exists on both PDCs but has different
passwords. Is a Domain User on both PDCs, has permissions to both
his profile share and home-directory share on both PDCs.

On the UNIX side, he is a member of UNIX group 'users' which
maps to 'Domain Users'. On NT, he is a member of Domain Users.

If I login to NTDOM as keith and then perform a NET USE to a
share on SMBDOM, it asks me for the password for access to the
resource. This is the problem, I, and my colleagues were under the
impression that a trust relationship would allow a user on NTDOM
to access resources on SMBDOM regardless of their account status
on SMBDOM.

The NET USE command is done like so :
NET USE X: \\SAMBA3\WORK (Keith's Home Dir on SMBDOM).

It asks for the password for this. I have a feeling this is designed
behaviour but I am unsure what to do to PREVENT it asking for the
password. Security on shares isn't really a problem as no-one can
access anothers' home directory or profile directory, only those in
UNIX group 'domadm' which maps to Domain Admins have access to
any profile or home directory. Most other shares on the server are
public, you must be a member of group 'users' or 'staff' to access
them.

If anyone has any ideas or suggestions or can help in any way I'd
be most appreciative.

Thanking you all in advance,

Mr. K. Hawkes

What we do in life echoes in eternity. - Anon
You look back upon choices you've made, you wonder 'what if' and wonder if
you should have done it differently... but then you'd not be you anymore,
you'd be someone else, asking the same set of questions. - Anon


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


[Samba] Re: oplocks ?

2004-03-22 Thread Mark
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
I have follow ERROR Message in my log:
Invalid combination of parameters for service HDC-1. Level II oplocks can
only be set if oplocks are also set.
I do not understand this...


In smb.conf if you set
oplocks = no

then you must also set
level2 oplocks = no

Mark



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


[Samba] Re: kenrel 2.6.4 patch for fixing warning of smbfs on high gid/uid

2004-03-22 Thread Christopher Allen Wing
Alexander:

Sorry, I didn't write back to you sooner.

I don't understand the need for this patch unless it is working around a
bug in the compiler.

More likely, the bug is in smbfs passing something other than
typeof(uid_t) to high2lowuid().

I'll take a look and write back.


Thanks,
Chris


On Thu, 11 Mar 2004, Alexander Stohr wrote:

 Hello,

 when i compiled latest linux 2.6.4 kernel source with gcc 3.3.2 on
 Linux/x86,
 i got a few warnings about varaibles beeing compared against constants
 where the range of the variable is so that the expression is always
 constant.
 The explicit comparison has to do with the code for high-uid and gid sheme.

 attached you will find a diff which does eliminate this error message
 by introducing an inline function that wont result in the message but
 it will result in compareable dense binary code with normal optimisations.

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


[Samba] subnet seen on intranet

2004-03-22 Thread Harland Christofferson
i have a network i use for code development branching off of 
the corporate intranet.  the topology is:

+---+   +-+
| 192.168.1.100 |---| 192.168.1.1 |
+---+   | 10.20.0.0   |
engineering3a   | 10.20.1.158 |--- to/from intranet
wkgrp: speg +-+
 engineering3
 wkgrp: speg

on the intranet, engineering3a and engineering3 are seen by other 
machines that have access to the workgroup speg ... i only want engineering3 
NOT engineerting3a seen on the intranet. also, when i ping engineering3 
from another machine on the intranet, it resolves 10.20.0.0 as the 
ip address NOT 10.20.1.158. furthermore, when i ping engineering3a 
from a machine on the intranet, it resolves 192.168.1.100. i don't 
even want engineering3a to be seen on the  intranet.

what is amiss in my configuration of samba?









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


[Samba] problem with local logon using roaming profiles

2004-03-22 Thread [EMAIL PROTECTED]

I\'ve set up a samba 3 PDC which seems to be running perfectly fine. All workstations 
can log in properly and roaming profiles also works as expected. One of the 
workstations, a laptop, is on the road from time to time and therefor I naturally 
disconnected it from the network and did a routine logon to the domain i had setup 
before releasing it into the wild again. The logon failed...

I had expected a simple error message telling me I can\'t use the servers profile but 
the error message I receive is:
\The system cannot log you on now because the domain xxx is not available.\

I\'ve tried the same procedure on several workstations and get the same result on all 
but one (which btw seems perfectly oblivious to the other workstations problem with 
the task).

I\'ve also checked the local policy settings in Windows to make sure the cached logons 
setting is  0, and indeed it\'s set to the default 10.

I\'ve checked around for anyone having the same problem but can\'t seem to find it. If 
there are anyone out there that have any advice at all I\'d be very grateful!

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


Re: [Samba] smbldap-tools dont handle referrals

2004-03-22 Thread Jérôme Tournier
Le Mon, Mar 22, 2004 at 06:46:54PM +0100, Matthias Eichler a ecrit:
 Unfortunately it seems that the smbldap-tools are not able to handle
 referals? I always get:
 ---cut---
 failed to modify entry: Referral received at
 /usr/local/sbin/smbldap-passwd.pl line 140, STDIN line 2.
 Unable to change password : Referral received at
 /usr/local/sbin/smbldap-passwd.pl line 174, STDIN line 2.
 ---cut---

The smbldap-tools's configuration file allow you to specifie the master
ldap server for writable operations (masterDN and masterPw).
-- 
Jérôme
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Hardware for faster Samba server

2004-03-22 Thread lrnobs
I have Samba running on FreeBSD as a dedicated file server, servicing
Windows pcs running a database application, on a Pentium 4 2GHZ 512MB RAM,
with a SCSI drive.  The server's only job is to run Samba.

The boss is asking what kind of new box we could get.  Looking in the price
range of 1-5K.

Should we get an Intel Xeon, or go to a different chip and maybe run
OpenBSD.

Will dual processors do me any good with Samba as the only significant
service running?

Thank you for any suggestions.

Thanks,

Larry Nobs




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


Re: [Samba] Hardware for faster Samba server

2004-03-22 Thread Gémes Géza
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
lrnobs írta:
| I have Samba running on FreeBSD as a dedicated file server, servicing
| Windows pcs running a database application, on a Pentium 4 2GHZ 512MB RAM,
| with a SCSI drive.  The server's only job is to run Samba.
|
| The boss is asking what kind of new box we could get.  Looking in the
price
| range of 1-5K.
|
| Should we get an Intel Xeon, or go to a different chip and maybe run
| OpenBSD.
|
| Will dual processors do me any good with Samba as the only significant
| service running?
|
~From my experience with some file based (very unreliable) databases I
got the conclusion, that the weakest point of such a setup is usually
network speed, and Server IO. I would recommend to try out some Gigabit
Ethernet cards, maybe more than one network card in the server.
Cheers,

Geza
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAX1MM/PxuIn+i1pIRAqGSAJ9W1wMmHMKn1rY/DaNBXKvXprK/gACfU2yc
fxE7kuLoFvWycGP9fKciIec=
=SF0B
-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] problem with local logon using roaming profiles

2004-03-22 Thread Craig White
On Mon, 2004-03-22 at 13:19, [EMAIL PROTECTED] wrote:
 I\'ve set up a samba 3 PDC which seems to be running perfectly fine. All 
 workstations can log in properly and roaming profiles also works as expected. One of 
 the workstations, a laptop, is on the road from time to time and therefor I 
 naturally disconnected it from the network and did a routine logon to the domain i 
 had setup before releasing it into the wild again. The logon failed...
 
 I had expected a simple error message telling me I can\'t use the servers profile 
 but the error message I receive is:
 \The system cannot log you on now because the domain xxx is not available.\
 
 I\'ve tried the same procedure on several workstations and get the same result on 
 all but one (which btw seems perfectly oblivious to the other workstations problem 
 with the task).
 
 I\'ve also checked the local policy settings in Windows to make sure the cached 
 logons setting is  0, and indeed it\'s set to the default 10.
 
 I\'ve checked around for anyone having the same problem but can\'t seem to find it. 
 If there are anyone out there that have any advice at all I\'d be very grateful!
 
---
best to check your logs on the samba machine. On my system, they're in
/var/log/samba/log.netbios_name_of_machine

Craig

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


[Samba] Weird problem connecting W2k workstation to domain

2004-03-22 Thread John Seo
Hi all,

I'm using Samba 3.0.2a and after fussing around a bit, I got a W2k client
machine to join the domain.  My original need to have this setup was to
create printer accounting so I put in a print command (see below) in the
printers section.  Unfortunately, the accounting file wasn't written to.
Then I ran testparm -v and noticed there was a 'print command' field in
the global section which was just set to the default.  Then I proceeded to
add my print command to the global section.  When I restarted samba and
tried to login from the windows machine, it said the profile was missing.
After fumbling around a bit, I opened Network Neighborhood and everything
on the server was a printer, including the profiles and the home dir.
shares.  The problem is that even though I've tried to go back to an
earlier set up of samba(back up of smb.conf), windows still sees
everything as printers.  Below is my smb.conf as it is right now.

TIA,

John Seo

[global]
workgroup = AMI-PRINT
interfaces = 137.131.204.71/255.255.252.0
security = user
encrypt passwords = Yes
null passwords = Yes
smb passwd file = /etc/samba/smbpasswd
server signing = auto
log level = 6
log file = /var/log/samba/%m
client use spnego = No
logon path = \\%L\profiles\%u\%m
logon drive = M:
logon home = \\%L\%u\.win_profile\%m
domain logons = Yes
os level = 255
preferred master = Yes
domain master = Yes
ldap ssl = no
hosts allow = 137.131.204.101, 137.131.204.102, 137.131.204.22,
127.0.0.1
hosts deny = ALL
printing = lprng
load printers = Yes
printcap name = /etc/printcap
printer admin = sheehan
veto files = /*.eml/*.nws/riched20.dll/*.{*}/

[netlogon]
comment = Network Logon Service
path = /usr/local/samba/var/netlogon
browseable = No

[profiles]
comment = Network Profiles Service
path = /usr/local/samba/var/profiles
read only = No
create mask = 0600
directory mask = 0700
browseable = No

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

[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
print command = echo PRINTER:'%p' USERNAME:'%U' CLIENT:'%M'
FILE:'%J' CACHE:'/var/spool/samba/%s' TIME:'%T'  /var/log/acct.samba;
lpr -P%p %s
browseable = No


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


Re: [Samba] Kerberos auth without NTLM

2004-03-22 Thread Andrew Bartlett
On Mon, 2004-03-22 at 23:46, ww m-pubsyssamba wrote:
 Can anyone tell me if I can configure Samba 3.x to rely only on Kerberos 
 authentication (in an AD domain)?
 Ideally I'd like to use local UNIX accounts, not winbind, and negate the need for me 
 to add an entry to passdb, then the
 account must exist in AD and locally on each Samba member server for authentication 
 to work.
 If there is any info held in passdb, other than the NTLM coded password, which must 
 exist for Samba to work then I'd 
 like to either enter an unusable password or disable NTLM authentication completely. 
 Reason for my second request 
 is if I am forced to have users in passdb I don't want to have to worry about the 
 data being world readable from a 
 security perspective.

I meant to talk to you earlier about this.  It is quite OK to have a
system that does not use winbind, and you can still use all the
authentication mechanisms.  

You can set 'security=domain' and even 'security=ads' without winbind. 

You can also run winbindd (which helps security=domain's performance)
without winbind in nsswitch.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


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

[Samba] Trust relationship failed...

2004-03-22 Thread Mike Cisar
I'm hoping someone can give me a hand in figuring out this problem, I have
seen several other similar problems in searching, but nothing that exactly
matches what I am seeing here.  

I have recently migrated a client from a Samba server running 2.2.7 (Redhat
9) to 3.0.2 (Fedora 1).  The samba installation is running as a PDC for 5
Win XP workstations and was working perfectly prior to the upgrade.  When I
did the migration I copied the entire contents of the /etc/samba directory
across to the new machine (no changes at all).  

Now that I have done the migration I *CAN* still do the following...
- log in to the domain
- the user's roaming profiles transfer successfully back and forth to the
server
- existing mapped drives on the workstations (to shares on the server) work
as they always have
- can map new shares to the server with no problem

But, the following items no longer work...
- In XP if I go to entire network and try to view the computers in the
domain, only the server shows up... none of the 5 workstations show up in
the domain as previously.
- Can no longer access printers shared on the workstations
- If I try to enter \\workstation1\data (or any of the valid, pre-existing,
previously working shares on any of the workstations) from any of the 5
workstations, either via start | run, or via the address bar in My Computer
I get an error that states Trust relationship between this workstation and
primary domain failed.  

So, to summarize, all of the workstations see the server just fine but the
workstations don't seem to be able to see eachother or their shared
resources any longer and complain about the trust problem.

Prior to copying the contents of /etc/samba to the new server I did a
comparison between the distributed smb.conf file and the old file.  I did
not see any added or removed keys so I chose to save typing and just use the
existing file.  
The following are the files which I copied over... smb.conf, smbusers,
lmhosts, secrets.tdb and smbpasswd.  I assumed by doing this that any
possible required configuration would get transferred across to the new
machine.  I have done an in-place upgrade from RH9 to FC1 on another server
(rather than doing a clean install and transferrig the configs) and the
samba install there worked just fine (also with making no changes from the
existing configs), so I'm really lost as to what could be causing this
issue.

Any hints, tips or suggestions are appreciated.

Thanks,
 Mike 

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


[Samba] Help need unable to start smbd deamon

2004-03-22 Thread [EMAIL PROTECTED]
Hi All...

  While trying to start the smbd i am getting the following error message.

  [2004/03/22 15:01:23, 0] lib/util_sock.c:open_socket_in(666)
  bind failed on port 139 socket_addr = 0.0.0.0.
  Error = Address already in use

  I checked in /etc/services... Nothing is using on port # 139

 Please let me know if any one has seen similar kind of problem.

Thanks

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


Re: [Samba] CUPS setup with 3.0.3pre1

2004-03-22 Thread Stefan G. Weichinger

Montag, 22. März 2004, 18:02 I wrote:

 [2004/03/22 17:57:13, 0] printing/pcap.c:pcap_printer_fn(361)
   Unable to open printcap file lpstat for read!

SGW What do I miss here ?

Solved that inbetween by massive smb.conf-editing ;-)

thanks.
-- 
best regards,
Stefan G. Weichinger
mailto:[EMAIL PROTECTED]




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


[Samba] Authentication With Different IDs

2004-03-22 Thread Jerry Maldonado (Apollo)
This is my first time sending a req to this list.  I have checked the google
groups and the aimsgroup archives and cannot find the answer I am looking
for.  I am sure it is because I am not really sure what I am looking for.  I
also purchased theThe Official Samba How-To and Ref Guide, but no go.  

Linux:  Fedora Core 1
Samba:  3.0.2-7.FC1

I have an application user name psadmin shared out through samba with a
set password.  I have multiple windows users who need to map to this share.
I am able to map the drive using the windows login as a different user
option.  However, if the user logs out of the windows box, then back in,
they have to re-type the password for the mapped drive.

Is there a way user abc can log into the psadmin share every time without
having to re-enter the password?  

TIA

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


[Samba] winbind, getent fails

2004-03-22 Thread Reggie Nalder

Hello,

I am having a problem that seems to have plagued quite
a few people on the list,
yet I have been unable to resolve the issue by making
any of the suggested changes.

I am trying to get winbind to work, and have been able
to get wbinfo -u and wbinfo -g
to list the users and groups from the NT domain.
wbinfo -t returns secret is good.

I have shut down the nscd, but this has not helped. I
am running SuSE Linux Enterprise 
Server 7 with  Samba version 2.2.8a.

I would appreciate any help anyone can provide on this
issue.

Are there any special settings for password or shadow
files ? A known smb.conf configuration
that should work ?



Also, do I need to start smbd or just nmbd?



Thanks


R

__
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Authentication With Different IDs

2004-03-22 Thread Craig White
On Mon, 2004-03-22 at 16:50, Jerry Maldonado (Apollo) wrote:
 This is my first time sending a req to this list.  I have checked the google
 groups and the aimsgroup archives and cannot find the answer I am looking
 for.  I am sure it is because I am not really sure what I am looking for.  I
 also purchased theThe Official Samba How-To and Ref Guide, but no go.  
 
 Linux:  Fedora Core 1
 Samba:  3.0.2-7.FC1
 
 I have an application user name psadmin shared out through samba with a
 set password.  I have multiple windows users who need to map to this share.
 I am able to map the drive using the windows login as a different user
 option.  However, if the user logs out of the windows box, then back in,
 they have to re-type the password for the mapped drive.
 
 Is there a way user abc can log into the psadmin share every time without
 having to re-enter the password?  

sounds like normal behavior for security = share

have you tried security = user  ?

how about 'groups' - probably a better to manage security than trying to
get everyone to pass the same username to the server.

Craig

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


[Samba] Login on two workstations

2004-03-22 Thread Örn Hansen
Hi,

  I was wondering if it was possible to use a roll based login for Windows 
workstations, using samba as backend.

  Currently, using samba 2.2.8, I get the error on Windows XP that there are 
multiple instances for the same resource when I try to login with the same 
username on two workstations.  Is there a way to make this workable?


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


Re: [Samba] problem with local logon using roaming profiles

2004-03-22 Thread Ed Ravin
On Mon, Mar 22, 2004 at 09:19:17PM +0100, [EMAIL PROTECTED] wrote:
 
 I had expected a simple error message telling me I can\'t use
 the servers profile but the error message I receive is:
 \The system cannot log you on now because the domain xxx is not
 available.\

I just encountered this problem on a Windows XP laptop.  It had something
to do with the way they store the name of the domain as a DNS name. The
laptop was formerly a member of a domain run by a Win2K box that had been
migrated to Samba with net rpc vampire, and the sniffer showed that after
logging in to the Samba box, it would start looking for the the old Windows
box that used to be the PDC, starting out by doing a SRV record DNS lookup
for the domain.example.com (i.e. FQDN) name, hunting for LDAP servers
and Active Directory.

The fix in this case turned out to be to join a workgroup (i.e. leave the
domain, which deleted the domain information), then re-join the domain.

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


Re: [Samba] problem with local logon using roaming profiles

2004-03-22 Thread Craig White
On Mon, 2004-03-22 at 21:57, Ed Ravin wrote:
 On Mon, Mar 22, 2004 at 09:19:17PM +0100, [EMAIL PROTECTED] wrote:
  
  I had expected a simple error message telling me I can\'t use
  the servers profile but the error message I receive is:
  \The system cannot log you on now because the domain xxx is not
  available.\
 
 I just encountered this problem on a Windows XP laptop.  It had something
 to do with the way they store the name of the domain as a DNS name. The
 laptop was formerly a member of a domain run by a Win2K box that had been
 migrated to Samba with net rpc vampire, and the sniffer showed that after
 logging in to the Samba box, it would start looking for the the old Windows
 box that used to be the PDC, starting out by doing a SRV record DNS lookup
 for the domain.example.com (i.e. FQDN) name, hunting for LDAP servers
 and Active Directory.
 
 The fix in this case turned out to be to join a workgroup (i.e. leave the
 domain, which deleted the domain information), then re-join the domain.

just for the record - the net rpc vampire should have moved the machine
accounts properly. I've seen it, it does work. When it fails, it's
usually because of some slip up in the procedure - which is easy since
it's not a process most people are likely to repeat. In my case, since I
had a perfectly serviceable PDC in WinNT 4, I kept repeating the process
to get it right.

Anway, you should be able to simply 're-join' the domain and not join a
workgroup (i.e. - leave the domain) and not imperil users profiles.

Craig

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


Re: [Samba] netbios names? okay but which?

2004-03-22 Thread Gmes Gza
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lancsr Roland rta:
| Hi all,
|
| I use suse linux 9 with samba.3.0.2
|
| In the smb.conf among others there are:
|
| --
| ;basic server settings
| workgroup = NIK
| server string = SZERVER
| socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
| wins support = yes
| name resolve order = wins lmhosts hosts bcast
| --
|
| It is okay, testparm do not mark errors.
|
| But when I try to join to my samba from XP in expolrer \\SZERVER, it
do not
| work. WINS is setuped in XP.
|
| In yast2, my linux's netbios name: linux9, and I try to connect
\\linux9, it
| works! WHY?
|
| What is wrong?
|
| Thanks,
|
| Roland
|
| ps:
| In lmhosts there is:
| --
| 172.0.0.1 SZERVER
| --
|
|
server string is just a comment on Network Neighborhood. If you want
your server to bee called SZERVER in NETBIOS, use:
~ netbios name = SZERVER
in your smb.conf
Cheers,

Geza

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAX+3v/PxuIn+i1pIRAsVoAKCKIOjdzV2toRPS3pf6UpTufcp3mwCbB9qp
rLc9Y1dcI20oSvE6wuQqcFw=
=/JQ1
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


CVS update: samba/source/libads

2004-03-22 Thread jerry

Date:   Mon Mar 22 22:49:40 2004
Author: jerry

Update of /data/cvs/samba/source/libads
In directory dp.samba.org:/tmp/cvs-serv7482/libads

Modified Files:
  Tag: SAMBA_3_0
ads_struct.c 
Log Message:
bug 1195: add flag to ADS_STRUCT so we know who owns the main structure's memory (not 
the members though)

Revisions:
ads_struct.c1.13.2.7 = 1.13.2.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/libads/ads_struct.c.diff?r1=1.13.2.7r2=1.13.2.8


CVS update: samba

2004-03-22 Thread jerry

Date:   Mon Mar 22 23:12:07 2004
Author: jerry

Update of /data/cvs/samba
In directory dp.samba.org:/tmp/cvs-serv12350

Modified Files:
  Tag: SAMBA_3_0
WHATSNEW.txt 
Log Message:
adding commit messages for recent changes

Revisions:
WHATSNEW.txt1.52.2.80 = 1.52.2.81

http://www.samba.org/cgi-bin/cvsweb/samba/WHATSNEW.txt.diff?r1=1.52.2.80r2=1.52.2.81


CVS update: samba/source/nsswitch

2004-03-22 Thread jerry

Date:   Mon Mar 22 23:14:30 2004
Author: jerry

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv12522/nsswitch

Modified Files:
winbindd_ads.c winbindd_cache.c 
Log Message:
merging changes from 3.0

Revisions:
winbindd_ads.c  1.84 = 1.85

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c.diff?r1=1.84r2=1.85
winbindd_cache.c1.56 = 1.57

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cache.c.diff?r1=1.56r2=1.57


CVS update: samba/source/libads

2004-03-22 Thread jerry

Date:   Mon Mar 22 23:14:30 2004
Author: jerry

Update of /data/cvs/samba/source/libads
In directory dp.samba.org:/tmp/cvs-serv12522/libads

Modified Files:
ads_struct.c 
Log Message:
merging changes from 3.0

Revisions:
ads_struct.c1.23 = 1.24

http://www.samba.org/cgi-bin/cvsweb/samba/source/libads/ads_struct.c.diff?r1=1.23r2=1.24


CVS update: samba/source/rpc_client

2004-03-22 Thread jerry

Date:   Mon Mar 22 23:14:30 2004
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv12522/rpc_client

Modified Files:
cli_pipe.c 
Log Message:
merging changes from 3.0

Revisions:
cli_pipe.c  1.112 = 1.113

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.112r2=1.113


CVS update: samba4/source/smb_server

2004-03-22 Thread tridge

Date:   Tue Mar 23 03:13:25 2004
Author: tridge

Update of /home/cvs/samba4/source/smb_server
In directory dp.samba.org:/tmp/cvs-serv21534

Modified Files:
reply.c 
Log Message:
readx reply packets can be over-sized


Revisions:
reply.c 1.1 = 1.2

http://www.samba.org/cgi-bin/cvsweb/samba4/source/smb_server/reply.c.diff?r1=1.1r2=1.2


CVS update: samba4/source/param

2004-03-22 Thread tridge

Date:   Tue Mar 23 03:17:33 2004
Author: tridge

Update of /home/cvs/samba4/source/param
In directory dp.samba.org:/tmp/cvs-serv22408

Modified Files:
loadparm.c 
Log Message:
put the max xmit option back into Samba4



Revisions:
loadparm.c  1.8 = 1.9

http://www.samba.org/cgi-bin/cvsweb/samba4/source/param/loadparm.c.diff?r1=1.8r2=1.9


CVS update: samba4/source/smb_server

2004-03-22 Thread tridge

Date:   Tue Mar 23 03:17:38 2004
Author: tridge

Update of /home/cvs/samba4/source/smb_server
In directory dp.samba.org:/tmp/cvs-serv22422

Modified Files:
smb_server.c 
Log Message:
put the max xmit option back into Samba4



Revisions:
smb_server.c1.1 = 1.2

http://www.samba.org/cgi-bin/cvsweb/samba4/source/smb_server/smb_server.c.diff?r1=1.1r2=1.2