Re: [Samba] stale name lookup result SOLVED

2005-09-26 Thread Brandon Kuczenski

On Mon, 19 Sep 2005, Brandon Kuczenski wrote:

I am running a Samba 3.0.10 server on freeBSD and 3.0.10-Debian client.  I 
just had a perplexing problem.


The client is a laptop and moves about different samba networks.  My home 
computer's name (Unix hostname and samba name) is 'ocean'.  When I'm at home 
I run smbmount //ocean/mydir /mnt/samba/ocean/mydir -o 


Normally this is fine.  I've been running the same script to do this for 
about 2 years, without problems.


But this morning when I tried to connect it kept telling me
timeout connecting to NOT.MY.IP.ADDR:445
timeout connecting to NOT.MY.IP.ADDR:139

[NOT.MY.IP.ADDR is replaced by an actual IP address that I've never seen 
before, but belongs to a separate wireless network that I occasionally visit]


Running nmblookup:
# nmblookup ocean
querying ocean on 192.168.0.255 <-- this IS my network
192.168.0.5 ocean<00> <-- this IS the right IP address

Ocean is right there in the next room -- AND it's acting as a WINS server -- 
AND nmblookup seems to find it just fine.  Why is my laptop trying to connect 
to the wrong host?



The last time I had connected to a wireless network, my client software 
created a file /etc/samba/dhcp.conf which had stale information.  I 
deleted that file, and then deleted /var/run/samba/gencache.tdb, and that 
solved the problem.


-Brandon

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


Re: [Samba] Excel problem with samba 3.0.4 and 3.0.10

2005-09-26 Thread Kevin W. Gagel
Read up on atime here:
http://www.faqs.org/docs/securing/chap6sec73.html
Its what you're after.

- Original Message -
From: xuan van <[EMAIL PROTECTED]>
To: samba@lists.samba.org
Subject: [Samba] Excel problem with samba 3.0.4 and 3.0.10
Date: Mon, 26 Sep 2005 09:55:04 -0700

>Problem Description
>==
>Open and close without saving EXCEL files causes time stamp
>updated Problem occurs on both samba versions 3.0.4 and
>3.0.10
>
>I am looking for a solution to this problem.
>
>I would appreciate any help.
>
>Thanks in advance
>
>Xuan
>
>
>
>-- 
>To unsubscribe from this list go to the following URL and
>read the instructions: 
>https://lists.samba.org/mailman/listinfo/samba

=
Kevin W. Gagel
Network Administrator
Information Technology Services
(250) 562-2131 local 448


---
The College of New Caledonia, Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
Anti-spam information for CNC can be found at http://avas.cnc.bc.ca
---
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] guest user (from session setup) not permitted to access this share

2005-09-26 Thread Andrew Bartlett
On Thu, 2005-09-08 at 18:34 -0400, Chris wrote:
> The Samba logs have many of the subject's lines::
> 
> --
> [2005/09/08 15:43:48, 2] smbd/service.c:make_connection_snum(314)
>   guest user (from session setup) not permitted to access this share 
> (EACM)
> [2005/09/08 15:43:48, 2] smbd/service.c:make_connection_snum(314)
>   guest user (from session setup) not permitted to access this share 
> (EACM)
> --

> 
> Help!
> What is the "guest user (from session setup)"?

It just notes which part of the auth subsystem determined this was a
guest access.  This is normal for browsing, NETLOGON rpcs and many other
protocol purposes.

> Any ideas why is it trying to access shares from the clients?

No

> What can I provide to help get this problem resolved?

Is there a real problem?  Do you want guest access (see 'guest ok') to
these shares?

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Samba Developer, SuSE Labs, Novell Inc.http://suse.de
Authentication Developer, Samba Team   http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net


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

[Samba] Tree connect failed: ERRDOS - ERRnomem

2005-09-26 Thread colin ingram
I recently couldn't connect to a windowXP domain share from a winXP
client.(Samba is the PDC) When I attempted to mount the share from the samba
server this is the error I got.

[EMAIL PROTECTED]:~/oakwood$ smbmount //buckwheat/share buckwheat/
Password:
6586: tree connect failed: ERRDOS - ERRnomem (Insufficient server memory to
perform the requested function.)

[EMAIL PROTECTED]:~/oakwood$ smbmount -v
Usage: mount.smbfs service mountpoint [-n] [-o options,...]
Version 3.0.14a-Debian

[EMAIL PROTECTED]:~/oakwood$ uname -a
Linux Alfalfa 2.6.8-2005.05.31 #1 Tue May 31 18:00:26 CDT 2005 i686
GNU/Linux

[EMAIL PROTECTED]:~/oakwood$ free
total used free shared buffers cached
Mem: 516236 513016 3220 0 7808 312980
-/+ buffers/cache: 192228 324008
Swap: 979956 327440 652516

A few mins later after I restarted the afflicted client I got this:

[EMAIL PROTECTED]:~/oakwood$ smbmount //buckwheat/share buckwheat/
Password:
6641: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed

windows gives: \\buckwheat\share is not accessible. You might not have
permission to use this network resource. Contact the administrator of this
server to find out if you have access permissions. Not enough server storage
is available to process this command.

or

\\buckwheat\share is not accessible. You might not have permission to use
this network resource. Contact the administrator of this server to find out
if you have access permissions. The network path is unavailable

I can connect to shares on both the server and other clients from the
afflicted systems. Amazingly this doesn't produce any message in my samba
logs. Any Idea whats going on here?
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Can winbind change passwords in AD

2005-09-26 Thread Andrew Bartlett
On Sat, 2005-09-24 at 11:16 +0200, Ivan Ruskov wrote:
> Hi,
> 
> I have a question concerning Winbind. When I use winbind as a pam module to
> authenticate unix users against an AD Domain Controller can this pam module
> be also used to change users' passwords in AD? In other words can the users
> change their AD passwords through the winbind pam module?

Yes.

> I'm looking for a way to synchronize users and groups between a Windows
> Active Directory domain controller and Linux domain member servers with
> Samba 3. The other way around is to synchronize OpenLDAP and AD through a
> custom script and use pam_ldap to authenticate linux users agains OpenLDAP
> but I'm not quite sure if OpenLDAP supports NTLM hashes.

I'm not really sure what you mean here.  OpenLDAP can be made to direct
basic binds against NTLM hashes, by a couple of different tricks.  See
the smbk5pwd module in particular, and the Heimdal/samba intergration.
You can get the NT password hashes from AD with 'net rpc samdump'.

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Samba Developer, SuSE Labs, Novell Inc.http://suse.de
Authentication Developer, Samba Team   http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net


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

Re: [Samba] Windows special chars in filenames, cannot access files

2005-09-26 Thread Andrew Bartlett
On Sun, 2005-09-25 at 18:18 -0400, Raymond Blum wrote:
> Hi
>I am running Samba v3.0.20-2 on Redhat Linux.
> to get right to the point:
> THE PROBLEM:
>I am using mount with type=smbfs to mount a WIndows XP share.  The  
> share has filenames with special chars (the Registered symbol (r)) .  
> This filename appears in Linux directory listings with a "r" in place  
> of the (r) char.  If I try to access the file, I get a "File not found".
> i.e.
>"ls -l" shows filename "XXXr.url"
> but if I try "cat XXXr.url" I get the msg "XXXr.url no such file or  
> directory"
> 
> WHAT I HAVE TRIED:
> I have tried setting the dos charset and unix charset both to UTF-8  
> with no results, likewise to the DOS default CP850

Try using the CIFS VFS, as it can really handle unicode, where this is
just another character.

Andrew Bartlett
-- 
Andrew Bartletthttp://samba.org/~abartlet/
Samba Developer, SuSE Labs, Novell Inc.http://suse.de
Authentication Developer, Samba Team   http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net


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

[Samba] Re: Samba/AD/Winbbind OU vs. CN?

2005-09-26 Thread Andrew Bartlett
On Mon, 2005-09-26 at 09:42 -0600, Jason Gerfen wrote:
> I have encountered a problem so I am posting this question to both the 
> technical list as well as the normal user list for a solution.
> 
> When I initially joined the samba box to the Win2k domain as a member 
> server I followed the Samba 3 HOWTO and specified the OU in the Active 
> Directory.  After speaking with our boss this is not the correct OU for 
> the users we need to authenticate.
> 
> My question is once I run these series of commands:
> 
> %> net ads join -U admin
> %> kinit admin
> %> net ads join "path\to\OU"
> 
> How can I change the "path\to\OU" back to the default Organizational 
> Unit?  Any and all tips, pointers etc are appreciated.

Simply delete the account on the server, and start again.  The 'net ads'
command is finding the existing entry and reusing it if at all possible.

Andrew Bartlett
-- 
Andrew Bartletthttp://samba.org/~abartlet/
Samba Developer, SuSE Labs, Novell Inc.http://suse.de
Authentication Developer, Samba Team   http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net


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

Re: [Samba] Samba server doesn't announce itself.

2005-09-26 Thread Mark Sarria
NetBIOS name, check your smb.conf on the second server, or post your 
smb.conf so we may see what is missing.


--mark
- Original Message - 
From: <[EMAIL PROTECTED]>

To: 
Sent: Monday, September 26, 2005 1:41 PM
Subject: [Samba] Samba server doesn't announce itself.



Hi

I'm running two Samba Servers on the same network.
One if the servers announces itself correctly, and I can see it
as a member of the "AtHome" workgroup from a Windows Box.
I set up a second server on the same network, but that
box does not appear to announce itself. If I added the
second server to the PC's hosts file, I can access it
by entering \\ServerName in explorer. However, it does
not show up when I browse the Windows Networks.

What settings control how and when a server announces it's name?

How can I best diagnose the problem?

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


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


Re: [Samba] help

2005-09-26 Thread Gary Dale
You have to be using XP Professional, not XP Home, to be able to log 
into the Samba server. However, either version can allow you to access 
shares and printers on the Samba server.


The simplest way to proceed is to use SWAT. Install it if you don't have 
it. If you are running XP Professional, use the SWAT wizard to set up 
your Samba server as a domain controller. If not, use the Password 
section to create and enable user accounts for each Windows user. Then 
use it to create shares.




Renan Geiss wrote:

i from brazil, me english not is good :-( one station have suse 9.3 
with samba and other machines(5) have windows xp with sp 2

how i using login of window for mapping "desktop" and other archives?
- Original Message - From: "Gary Dale" <[EMAIL PROTECTED]>
To: "Renan Geiss" <[EMAIL PROTECTED]>
Cc: 
Sent: Monday, September 26, 2005 9:02 PM
Subject: Re: [Samba] help



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


[Samba] profiles issue

2005-09-26 Thread jmendez
using samba 3.0.14a on debian.
when customizing a default user profile to be placed in
/etc/netlogin/default user, i copied a profile from a user, made some
changes like locations to proxy servers, paths to various network shares,
etc.. and the changes only seem to work in the user themselves is a member
of the admin group, if i remove them from the admin group all the changes
i made in the profile disappear, i can not have default user profile be
admin on all the local systems, so i need to fix this before uploading
that directory to the samba server.
any ideas?
the samba server itself functions just fine, downloads the profiles and
gets the now blanket default user folder if a new user on the domain is
created with out a profile dir.
thanks


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


Re: [Samba] Excel problem with samba 3.0.4 and 3.0.10

2005-09-26 Thread Jeremy Allison
On Mon, Sep 26, 2005 at 09:55:04AM -0700, xuan van wrote:
> 
> Problem Description
> ==
> Open and close without saving EXCEL files causes time stamp updated
> Problem occurs on both samba versions 3.0.4 and 3.0.10
> 
> I am looking for a solution to this problem.
> 
> I would appreciate any help.
> 
> Thanks in advance

This was fixed for 3.0.20 I believe...

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


Re: [Samba] help

2005-09-26 Thread Gary Dale

Renan Geiss wrote:


How configure samba from login in win station?
--
Renan Brendler Geiss
[EMAIL PROTECTED]
icq: 47856954
msn: [EMAIL PROTECTED]
 



Please provide more details. Which version of Windows are you using, for 
example?



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


[Samba] w2k3 AD and samba 3.0.14a (debian)

2005-09-26 Thread nairb rotsak
I am trying to get a squid box to allow our users
through with an ntlm lookup.  I thought the hard part
would be the squid prox_auth part... but I am a little
stuck on the 'member' server part of samba.  I have
looked at many examples and read a bunch of the
docs... but am still stuck.  I can:

kinit [EMAIL PROTECTED] and get nothing (good.. right?)

I joined the domain (net ads join...) and I can see
the server in the COMPUTERS section of AD

apparently nss is working because I can type:
getent group
BUILTIN+backup operators:x:10110:
BUILTIN+users:x:10111:
. 

wbinfo -u reports back users, but wbinfo -t reports
back: no such user (many users tested).. and these
users can get a share listing when I type:
smbclient -L proxy -Utest1

So where might I be going wrong?  What else can I post
here?






__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba server doesn't announce itself.

2005-09-26 Thread samba
Hi

I'm running two Samba Servers on the same network.
One if the servers announces itself correctly, and I can see it 
as a member of the "AtHome" workgroup from a Windows Box.
I set up a second server on the same network, but that
box does not appear to announce itself. If I added the
second server to the PC's hosts file, I can access it 
by entering \\ServerName in explorer. However, it does 
not show up when I browse the Windows Networks.

What settings control how and when a server announces it's name?

How can I best diagnose the problem?

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


[Samba] RECYCLER and recycler bin

2005-09-26 Thread Matej Svejda

Hello,

I have recognized a pretty annoying thing with my Samba-Server:
My smb.conf is set, that deletet files go into the dir
".Papierkorb". It works well one one Client, but when the user deletes Files on 
the other client, a dir called "RECYCLER" appears with the file and some .ini 
files in it. Is there a way to solve this?

Both clients are WinXP, I'm using Samba Version 3.014.

My smb.conf:

[global]
security = SHARE
workgroup = ASPEKTA

[Daten]
path = /srv
comment = Daten für Jana und Martin
valid users = @benutzer
force directory mode = 660
force create mode = 660
writable = Yes

# Papierkorb ##

   vfs objects = recycle
   recycle:repository = .Papierkorb
   recycle:keeptree = Yes
   recycle:versions = No

## Papierkorb Ende 


I'm happy with any help I can get


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


[Samba] Excel problem with samba 3.0.4 and 3.0.10

2005-09-26 Thread xuan van


Problem Description
==
Open and close without saving EXCEL files causes time stamp updated
Problem occurs on both samba versions 3.0.4 and 3.0.10

I am looking for a solution to this problem.

I would appreciate any help.

Thanks in advance

Xuan



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


[Samba] help

2005-09-26 Thread Renan Geiss
How configure samba from login in win station?
--
Renan Brendler Geiss
[EMAIL PROTECTED]
icq: 47856954
msn: [EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Can't access some files

2005-09-26 Thread Jeremy Allison
On Mon, Sep 26, 2005 at 03:09:32PM -0700, Eric McCoy wrote:
> 
> The problem is basically that Samba refuses to access
> files from this NTFS filesystem.  If I open up the
> share on my XP box ("sharwyn"), it shows all the files
> in it properly and doesn't give any error messages. 
> However, it shows all directories as files.  If I
> double-click on one of those
> files-that's-really-a-dir, it pops up the Windows "how
> do I open this" window, I hit cancel, refresh the
> share folder, and now the directory I just selected
> shows up as a directory and I can traverse to it.  But
> all the other directories - the ones I didn't try to
> open - still show up as files.  This appears to be
> persistent across restarts of Samba.  Note that from
> FreeBSD's perspective, the directories show up just
> fine as directories.

If Samba works fine on the directories when seen from
UFS, but not when seen from NTFS then it's got to be 
a problem with the NTFS driver in *BSD... I know you
already know that but you really need to be showing
this behaviour to the *BSD NTFS driver maintainer.

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


[Samba] Samba Instalation Error AIX 4.3

2005-09-26 Thread Joseph Madrinkian
Im trying to install SAMBA on AIX 4.3.
When I run the SMIT INSTALL, the installation goes well but then I get an error 
message:
 
"The installation has FAILED for the "usr" part
of the following filesets: freeware.samba-ads.rte 3.0.4.0"

 
Does anyone have any idea what might be causing this error?
 
 

Notice: This transmission is for the sole use of the intended recipient(s) and 
may contain information that is confidential and/or privileged.  If you are not 
the intended recipient, please delete this transmission and any attachments and 
notify the sender by return email immediately.  Any unauthorized review, use, 
disclosure or distribution is prohibited.


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


[Samba] Problem with example: Chapter 15 of howto

2005-09-26 Thread Oliver Schulze L.

Hi,
In Chapter15 of the official Howto, in this section:
"Users Cannot Write to a Public Share"
http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/AccessControls.html#id2595814

The point 5 is not working on RHEL4 (CentOS):
--
Now type:
$ su - jill
$ cd /foodbar
$ touch Afile
$ ls -al
You should see that the file Afile created by Jill will have ownership 
and permissions of Jack, as follows:

-rw-r--r--  1 jack  engr 0 2003-02-04 09:57 Afile
--

I only see this:
-rw-r--r--  1 jill  engr 0 2003-02-04 09:57 Afile

Is this a problem with RHEL4?

Thanks
Oliver

--
Oliver Schulze L.
<[EMAIL PROTECTED]>

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


[Samba] FreeBSD 4.x Samba 3

2005-09-26 Thread Cole
Hi.

I just wanted to confirm, Samba 3 is required for Active Directory support 
correct? Or is it
possible to use Samba 2.2.x to communicate with an AD server?

Another question involves winbindd, I have a older install of Samba3, with a 
winbindd Version
3.0.10.
I installed latest squid-2.5-Stable10, but I get the error from wb_authntlm 
that it cannot contact
the winbindd even though it is running, along with nmbd. wbinfo -u provides all 
the correct users
from the AD server.
This error is produced - "wb_ntlmauth[466](wb_ntlm_auth.c:414): Can't contact 
winbindd. Dying".

I would like to know, does the samba3 install have to be fairly new to work 
with the latest
squid-2.5? 

There is also one other problem. Im running Freebsd 4.9 or 4.11, depending, and 
using the latest
cvsupped up to date ports collection, and trying to build Samba-3.0.20, with AD 
support, I get this
error from the makefile.
===>  samba-3.0.20,1 Broken dependency between OpenSSL, OpenLDAP and Heimdal 
for FreeBSD 4.x.
Disable ADS support.

Does anyone know if there is a fix for that, or the exact reason for that or 
that could be useful in
trying to fix the problem at all?

Regards
/Cole

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


[Samba] Can't access some files

2005-09-26 Thread Eric McCoy
OS running Samba: FreeBSD 5.4-STABLE amd64
OS accessing Samba: Windows XP SP2
Samba version: samba-3.0.20,1

This is a really frustrating problem.  I've been
dealing with it for a while now, but I recently
upgraded to 3.0.20 in hopes that it would fix it...
and it made it worse.

So first, here is where I expect the problem comes
from.  I've got a 500GB array on the FreeBSD box
("imoen") which is formatted using NTFS.  I don't have
enough hard drive space to back up all the data to
something else and then reformat it using UFS, so
unfortunately I have to make do.  So I'm sure the
problem has to do with the interaction between NTFS
and Samba.  But because this is something that worked
(mostly) in the past, I'm hoping that there might be
some config setting I can change to get it working
again.

The problem is basically that Samba refuses to access
files from this NTFS filesystem.  If I open up the
share on my XP box ("sharwyn"), it shows all the files
in it properly and doesn't give any error messages. 
However, it shows all directories as files.  If I
double-click on one of those
files-that's-really-a-dir, it pops up the Windows "how
do I open this" window, I hit cancel, refresh the
share folder, and now the directory I just selected
shows up as a directory and I can traverse to it.  But
all the other directories - the ones I didn't try to
open - still show up as files.  This appears to be
persistent across restarts of Samba.  Note that from
FreeBSD's perspective, the directories show up just
fine as directories.

The above has been the case since 3.0.16, the last
version I was using.  I got around it by writing a
script to shadow the NTFS directory structure to UFS. 
Basically it would make a tree of directories and
symlinks to files, so something like

  % mkdir -p /shadow/a
  % ln -s /ntfs/a/b /shadow/a/b

This way I would actually have Samba export /shadow
instead of /ntfs, and everything would work great. 
(Except for problem #3, see below.)

Second, if I try to open a file - any file - Samba
claims the file doesn't exist.  Here is the log
message:

[2005/09/26 17:22:11, 5]
smbd/open.c:open_file_ntcreate(1327)
  open_file_ntcreate: FILE_OPEN requested for file
music/you've come a long way, baby/03-in heaven.mp3
and file doesn't exist.

I've also tried on files and directories with no
spaces in the names, same error.  Now if I log onto
imoen and look at the file's data using any tool -
less, file, etc - just like that I can open it from
Samba.  I don't even have to restart Samba, it just
works.

This part has only been happening since I upgraded to
3.0.20.  16 handled it just fine.

Third problem, which happens in both 16 and 20, if I
manage to get Samba to open a file, it spams the
following log messages:

Sep 26 00:00:01 imoen smbd[73451]: [2005/09/26
00:00:01, 0] locking/posix.c:posix_fcntl_lock(659)
Sep 26 00:00:01 imoen smbd[73451]:   posix_fcntl_lock:
WARNING: lock request at offset 7536640, length 32768
returned
Sep 26 00:00:01 imoen smbd[73451]:   an Invalid
argument error. This can happen when using 64 bit lock
offsets
Sep 26 00:00:01 imoen smbd[73451]:   on 32 bit NFS
mounted file systems.

This appears to be relatively harmless, except that it
makes my log files huge because I get about 50 of
these a second and syslogd tanks from all the disk
thrashing.  I include this mainly because it might be
related to the above two problems.  I set "large
readwrite" to "no" which smb.conf(5) suggests might be
the problem, but that has no effect.

I want to stress that I made zero changes to my config
before upgrading.

I did extensive Googling before posting, and there is
one other guy having the same problem (long link):

http://groups.google.com/group/lucky.freebsd.questions/browse_frm/thread/47fc65a04382914e/2383e2d094f222e7?lnk=st&q=samba+%22when+using+64+bit+lock+offsets%22&rnum=24&hl=en#2383e2d094f222e7

but he never seemed to get a resolution.

I can temporarily work around this problem using:

  find /ntfs -type f -print0 | xargs -0 file

but running it on a filesystem with tens of thousands
of files... not exactly fast.  I tried a mere "stat"
but that doesn't work.

I think it's likely this is a FreeBSD-NTFS bug and
that Samba is just the one app that exposes it.  But I
don't have enough info on *what* Samba is doing to
expose the bug to file a useful FreeBSD problem
report.  So even if you can't tell me how to fix the
problem, some insight into what strange fcntls/etc.
Samba is using (that nothing else is) would be a help.
 Or even similar, smaller applications might
demonstrate the same broken behavior so I can come up
with a more manageable testcase.

Thanks!



__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Where Can I get Samba for AIX 4.3.3

2005-09-26 Thread Ric Tibbetts

Try the Bull Software site.


At 12:09 PM 9/26/2005, Joseph Madrinkian wrote:

Whare can I go to download a bianry for Samba AIX V4.3.3?

Notice: This transmission is for the sole use of the intended 
recipient(s) and may contain information that is confidential and/or 
privileged.  If you are not the intended recipient, please delete 
this transmission and any attachments and notify the sender by 
return email immediately.  Any unauthorized review, use, disclosure 
or distribution is prohibited.



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



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


Re: [Samba] newb: no write access

2005-09-26 Thread Felix Flory
Thank you so much for your response Tim - however I had thought of that 
myself and deactivated the firewall as well as SElinux. If I run

$ smbclient //localhost/data -U felix
Password:
smb:  \>mkdir newfolder
I still get
NT_STATUS_ACCESS_DENIED making remote directory \new

Felix




___ 
Was denken Sie über E-Mail? Wir hören auf Ihre Meinung: http://surveylink.yahoo.com/wix/p0379378.aspx

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


[Samba] NTFS ACL question

2005-09-26 Thread Henrik Zagerholm

Hi all!

I wonder if it is possible to configure samba and tha filesystem so  
that mounted NTFS partitions through mount_smbfs show ACL's?


I have ACL enabled on my FreeBSD (UFS2) box and I mount a NFS  
partition using mount_smbfs but I can't seem to see the ACL's of the  
mounted partition with getfacl.


Is it possible?
If so how?'

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


[Samba] newb: no write access

2005-09-26 Thread Felix Flory

On Fedora Core 4 I keep running into the following problem:
I followed the Instructions on the Official Samba-3 HOWTO and the 
example 2.1 for the anonymous Read-Only Server Configuration works fine. 
I get stuck with example 2.2. I used smbpasswd but I just don't get 
write access to the samba share. I have to provide the username and 
password in order to get read access to the samba share. And of course 
on the linux system the user has read/write access to the samba share 
folder.


This seems odd and I am wondering if other people ran into the same 
problem.


Felix





___ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de

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


RE: [Samba] UTMP duplicated entries

2005-09-26 Thread Andrew Bartlett
On Fri, 2005-09-23 at 12:10 -0300, Fabiano Caixeta Duarte wrote:
> On Fri, 23 Sep 2005, Andrew Bartlett wrote:
> 
> >> Yeah! Sorry! I am talking about login sessions. Does samba logs on utmp
> >> all kind of sessions or just login sessions?
> >
> > It logs file-share connections, as it doesn't really have the info for
> > client-side login sessions.
> >
> > Andrew Bartlett
> 
> But I still think that we have a problem.
> 
> When a domain user logs on my domain, the workstation makes a connection 
> to the logon path / logon drive. As you said, this connection is logged on 
> utmp.
> 
> When the user logs out, the connection to that share is closed. Shouldn't 
> it have been logged as well on utmp?

It depends if the windows client chose to close the session.  Sometimes,
for some reason, it doesn't do that correctly.  (And we must allow
multiple users on one connection for terminal server and 'run as'
clients).

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Samba Developer, SuSE Labs, Novell Inc.http://suse.de
Authentication Developer, Samba Team   http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net


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

RES: RE RES: [Samba] ACLs with Problem

2005-09-26 Thread Luis Henrique de Faria Guimarães
Hi,

I am trying with the user henrique, it isn´t administrator of windows, but I 
defined this user as administrator in the samba. (smb.conf - parameter: admin 
users = henrique)
Yes, the winbind is working correctly, command wbinfo returns all users without 
problem. I am using the users of windows 2003 to have access the server linux I 
through telnet.
You have plus some idea?

Thanks,

Luís Henrique

-Mensagem original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 23 de setembro de 2005 09:45
Para: samba@lists.samba.org
Assunto: RE RES: [Samba] ACLs with Problem


Hi,

- With which user use try to change ACL ?
- is the admin users ?
- winbind work correctly ?
-wbinfo ???




---
Stéphane PURNELLE [EMAIL PROTECTED]
Service Informatique   Corman S.A.   Tel : 00 32 087/342467

[EMAIL PROTECTED] a écrit sur 
23/09/2005 14:39:10 :

> Hi Greg,
> Really, the first step to install filesystem it with support ACL. 
> It looks at my archive:
> LABEL=/ /   ext3defaults,acl 1 1
> LABEL=/boot /boot   ext3defaults 1 2
> LABEL=/data /data   ext3defaults,acl 1 2
> none/dev/ptsdevpts  gid=5,mode=620 0 
0
> none/proc   procdefaults 0 0
> none/dev/shmtmpfs   defaults 0 0
> /dev/cciss/c0d0p2   swapswapdefaults 0 0
> /dev/cdrom  /mnt/cdrom  udf,iso9660 noauto,
> owner,kudzu,ro 0 0
> /dev/fd0/mnt/floppy auto noauto,owner,kudzu 
0 0
> 
> My server samba is integrated with the server windows 2003 (PDC). 
> The server samba is using the users of windows 2003, catching using 
> the way winbind.
> When I try to change the permissions of an file of the server samba,
> in my workstation I appear a message "Denied Access". I perceived 
> that windows also does not obtain to catch the extendidas 
> permissions when I modified for the server linux.
> It looks at some parameters of my smb.conf:
> nt acl support = Yes
> acl compatibility = win2k
> acl map full control = yes
> acl check permissions = no
> acl group control = yes
> inherit acls = Yes
> profile acls = Yes
> map acl inherit = Yes
> force unknown acl user = Yes
> 
> You can help me?
> -Mensagem original-
> De: Greg Folkert [mailto:[EMAIL PROTECTED]
> Enviada em: quinta-feira, 22 de setembro de 2005 13:35
> Para: samba@lists.samba.org
> Assunto: Re: [Samba] ACLs with Problem
> 
> 
> On Thu, 2005-09-22 at 11:43 -0300, Luis Henrique de Faria Guimarães
> wrote:
> > Hi All,
> > 
> > I am with problem with the permissions of windows.
> > The samba is not getting the ACLs permissions.  I compiled version
> > 3.0.20, with the following options:
> > 
> [...]
> 
> Well the first thin we need to know, is the filesystem that you are
> sharing via samba mounted with the acl option in the /etc/fstab?
> 
> Here is what mine looks like and I get the ACLs just fine:
> 
> /dev/datavg/examplelv   /lf/db   ext3   rw,suid,nodev,exec,auto,
> nouser,async,acl,errors=remount-ro   1 1
> 
> I guess, I could have done "defaults,acl,nodev" and be-equivalent... but
> hey I guess I am a bit retentive.
> 
> > # file: teste.txt
> > # owner: root
> > # group: Domain Users
> > user::rwx
> > user:henrique:rw-
> > group::r--
> > mask::rw-
> > other::r--
> > 
> > The user henrique appears in linux, but he does not appear in windows.
> > When I try to add permissions through windows appears a message of
> > "denied access".
> > Somebody can help me
> 
> Well, as long as you have the filesystem mounted (assuming it is ext3
> with acl support compiled in) with the ACLs turned on... then things
> should work.
> -- 
> greg, [EMAIL PROTECTED]
> 
> The technology that is 
> Stronger, Better, Faster: Linux
> 
> Use Debian GNU/Linux, its a bazaar thing.
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba

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


RES: RES: [Samba] Re: ACLs with Problem

2005-09-26 Thread Luis Henrique de Faria Guimarães
Paul,



>1. Which user is logged on the the windows workstation trying to modify
>a file on the samba share?
Henrique are user, this user is in the list of administrators of the samba, but 
he is not administrator of the PDC (windows 2003).
It looks at the parameters below of smb.conf:
 admin users = corniani, administrator, henrique

>2. What are the ACLs on that file before you try to change them and what
>are they after the operation failed?
Are the ACLs on that file before:
[EMAIL PROTECTED] teste]# getfacl teste.txt
# file: teste.txt
# owner: root
# group: Domain Users
user::rwx
user:henrique:rw-
group::r--
mask::rw-
other::r--

After:
[EMAIL PROTECTED] teste]# getfacl teste.txt
# file: teste.txt
# owner: root
# group: Domain Users
user::rwx
user:henrique:rw-
group::r--
mask::rw-
other::r--

Nothing one gets excited after the failed.

>3. What is the output of the samba log when you try to change ACLs on
>the file?

Look my big logs:

  unix_mode(teste.txt) returning 0744
[2005/09/26 17:11:44, 2] smbd/open.c:open_file(372)
  henrique opened file teste.txt read=No write=No (numopen=2)
[2005/09/26 17:11:44, 3] smbd/process.c:process_smb(1114)
  Transaction 156 of length 88
[2005/09/26 17:11:44, 3] smbd/process.c:switch_message(900)
  switch message SMBnttrans (pid 1361) conn 0x8033e238
[2005/09/26 17:11:44, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 10001) - sec_ctx_stack_ndx = 0
[2005/09/26 17:11:44, 3] 
smbd/nttrans.c:call_nt_transact_query_security_desc(1965)
  call_nt_transact_query_security_desc: file = teste.txt, info_wanted = 0x4
[2005/09/26 17:11:44, 3] 
smbd/nttrans.c:call_nt_transact_query_security_desc(1992)
  call_nt_transact_query_security_desc: sd_size = 120.
[2005/09/26 17:11:44, 3] smbd/error.c:error_packet(147)
  error packet at smbd/nttrans.c(95) cmd=160 (SMBnttrans) 
NT_STATUS_BUFFER_TOO_SMALL
[2005/09/26 17:11:44, 3] smbd/process.c:process_smb(1114)
  Transaction 157 of length 88
[2005/09/26 17:11:44, 3] smbd/process.c:switch_message(900)
  switch message SMBnttrans (pid 1361) conn 0x8033e238
[2005/09/26 17:11:44, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 10001) - sec_ctx_stack_ndx = 0
[2005/09/26 17:11:44, 3] 
smbd/nttrans.c:call_nt_transact_query_security_desc(1965)
  call_nt_transact_query_security_desc: file = teste.txt, info_wanted = 0x4
[2005/09/26 17:11:44, 3] 
smbd/nttrans.c:call_nt_transact_query_security_desc(1992)
  call_nt_transact_query_security_desc: sd_size = 120.
[2005/09/26 17:11:44, 3] smbd/process.c:process_smb(1114)
  Transaction 158 of length 92
[2005/09/26 17:11:44, 3] smbd/process.c:switch_message(900)
  switch message SMBntcreateX (pid 1361) conn 0x8033e238
[2005/09/26 17:11:44, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 10001) - sec_ctx_stack_ndx = 0
[2005/09/26 17:11:44, 3] smbd/dosmode.c:unix_mode(121)
  unix_mode(.) returning 0744
[2005/09/26 17:11:44, 3] smbd/process.c:process_smb(1114)
  Transaction 159 of length 88
[2005/09/26 17:11:44, 3] smbd/process.c:switch_message(900)
  switch message SMBnttrans (pid 1361) conn 0x8033e238
[2005/09/26 17:11:44, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 10001) - sec_ctx_stack_ndx = 0
[2005/09/26 17:11:44, 3] 
smbd/nttrans.c:call_nt_transact_query_security_desc(1965)
  call_nt_transact_query_security_desc: file = ., info_wanted = 0x4
[2005/09/26 17:11:44, 3] 
smbd/nttrans.c:call_nt_transact_query_security_desc(1992)
  call_nt_transact_query_security_desc: sd_size = 120.
[2005/09/26 17:11:44, 3] smbd/error.c:error_packet(147)
  error packet at smbd/nttrans.c(95) cmd=160 (SMBnttrans) 
NT_STATUS_BUFFER_TOO_SMALL
[2005/09/26 17:11:44, 3] smbd/process.c:process_smb(1114)
  Transaction 160 of length 88
[2005/09/26 17:11:44, 3] smbd/process.c:switch_message(900)
  switch message SMBnttrans (pid 1361) conn 0x8033e238
[2005/09/26 17:11:44, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 10001) - sec_ctx_stack_ndx = 0
[2005/09/26 17:11:44, 3] 
smbd/nttrans.c:call_nt_transact_query_security_desc(1965)
  call_nt_transact_query_security_desc: file = ., info_wanted = 0x4
[2005/09/26 17:11:44, 3] 
smbd/nttrans.c:call_nt_transact_query_security_desc(1992)
  call_nt_transact_query_security_desc: sd_size = 120.
[2005/09/26 17:11:44, 3] smbd/process.c:process_smb(1114)
  Transaction 161 of length 45
[2005/09/26 17:11:44, 3] smbd/process.c:switch_message(900)
  switch message SMBclose (pid 1361) conn 0x8033e238
[2005/09/26 17:11:44, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 10001) - sec_ctx_stack_ndx = 0
[2005/09/26 17:11:44, 3] smbd/reply.c:reply_close(3233)
  close directory fnum=8243
[2005/09/26 17:11:44, 3] smbd/process.c:process_smb(1114)
  Transaction 162 of length 88
[2005/09/26 17:11:44, 3] smbd/process.c:switch_message(900)
  switch message SMBnttrans (pid 1361) conn 0x8033e238
[2005/09/26 17:11:44, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 10001) - sec_ctx_stack_ndx = 0
[2005/09/26 17:11:44, 3] 
smbd/nttrans.c:call_nt_transact_que

[Samba] Where Can I get Samba for AIX 4.3.3

2005-09-26 Thread Joseph Madrinkian
Whare can I go to download a bianry for Samba AIX V4.3.3?

Notice: This transmission is for the sole use of the intended recipient(s) and 
may contain information that is confidential and/or privileged.  If you are not 
the intended recipient, please delete this transmission and any attachments and 
notify the sender by return email immediately.  Any unauthorized review, use, 
disclosure or distribution is prohibited.


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


Re: [Samba] Samba/AD/Winbbind OU vs. CN?

2005-09-26 Thread Jason Gerfen

Yeah I have tried that as well.

Kaplan, Marc wrote:


Can't you just do an net ads leave followed by a net ads join? Net ads
join should join you back to the default OU if done after a net ads
leave, or at least it does for me... 


-Marc

 


-Original Message-
From: [EMAIL PROTECTED]
   


[mailto:samba-
 


[EMAIL PROTECTED] On Behalf Of Jason
   


Gerfen
 


Sent: Monday, September 26, 2005 8:43 AM
To: samba@lists.samba.org; samba-technical@lists.samba.org
Subject: [Samba] Samba/AD/Winbbind OU vs. CN?

I have encountered a problem so I am posting this question to both the
technical list as well as the normal user list for a solution.

When I initially joined the samba box to the Win2k domain as a member
server I followed the Samba 3 HOWTO and specified the OU in the Active
Directory.  After speaking with our boss this is not the correct OU
   


for
 


the users we need to authenticate.

My question is once I run these series of commands:

%> net ads join -U admin
%> kinit admin
%> net ads join "path\to\OU"

How can I change the "path\to\OU" back to the default Organizational
Unit?  Any and all tips, pointers etc are appreciated.

What I have done in an attempt to resolve:
1. Removed samba, winbind packages
2. removed samba cache
3. removed /tmp directory contents
4. attempted to remove any and all other pertinant files pertaining to
samba
5. reinstalled the samba, winbind packages
6. rejoined box to domain (worked fine), omitting the specification of
   


a
 


OU for authenticated users

--
Jason Gerfen

"My girlfriend threated to
leave me if I went boarding...
I will miss her."
~ DIATRIBE aka FBITKK

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




--
Jason Gerfen

"My girlfriend threated to
leave me if I went boarding...
I will miss her."
~ DIATRIBE aka FBITKK

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


[Samba] Cannot join Windows server; SWAT internal error

2005-09-26 Thread sola.otudeko
Hi, I am trying to get my Samba server to join our Windows domain, but it fails 
with “Unable to find a suitable server”. I know this is kind of a site specific 
error, but I’m looking for any clues to anything I may have missed in building 
and configuring the Samba distribution. It is version 3.0.11. I am running 
$$ net rpc join -U adminuser%password
as root.

Less important is SWAT doesn’t work too. This is the error after attempting to 
open http://hostname:901.

[2005/09/26 16:42:22, 0] param/loadparm.c:(3153)
  Global parameter debug level found in service section!
[2005/09/26 16:42:28, 0] param/loadparm.c:(3153)
  Global parameter debug level found in service section!
[2005/09/26 16:42:28, 0] lib/fault.c:(36)
  ===
[2005/09/26 16:42:28, 0] lib/fault.c:(37)
  INTERNAL ERROR: Signal 11 in pid 10993 (3.0.11)
  Please read the appendix Bugs of the Samba HOWTO collection
[2005/09/26 16:42:28, 0] lib/fault.c:(39)
  ===
[2005/09/26 16:42:28, 0] lib/util.c:(1495)
PANIC: internal error

This is how I built Samba using Sun Forte C compiler 7.3
CC=cc
CFLAGS='-xarch=native64'
CPPFLAGS=' -D _EXTENSIONS_'

./configure --with-automount --with-libsmbclient 
--with-logfilebase=/var/tmp/samba/l
ogs --with-nisplushome --with-nisplussam

Any help will be much appreciated. Thanks.

Regards,
Sola 

Sola Otudeko
Nomura International plc
Tel. +44207 521 3978
Mobile. +447973 208014
Email. [EMAIL PROTECTED]


PLEASE READ: The information contained in this email is confidential and
intended for the named recipient(s) only. If you are not an intended
recipient of this email please notify the sender immediately and delete your
copy from your system. You must not copy, distribute or take any further
action in reliance on it. Email is not a secure method of communication and
Nomura International plc ('NIplc') will not, to the extent permitted by law,
accept responsibility or liability for (a) the accuracy or completeness of,
or (b) the presence of any virus, worm or similar malicious or disabling
code in, this message or any attachment(s) to it. If verification of this
email is sought then please request a hard copy. Unless otherwise stated
this email: (1) is not, and should not be treated or relied upon as,
investment research; (2) contains views or opinions that are solely those of
the author and do not necessarily represent those of NIplc; (3) is intended
for informational purposes only and is not a recommendation, solicitation or
offer to buy or sell securities or related financial instruments.  NIplc
does not provide investment services to private customers.  Authorised and
regulated by the Financial Services Authority.  Registered in England
no. 1550505 VAT No. 447 2492 35.  Registered Office: 1 St Martin's-le-Grand,
London, EC1A 4NP.  A member of the Nomura group of companies.

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


[Samba] Re: IAbwesenheit : samba Digest, Vol 33, Issue 35

2005-09-26 Thread paul kölle
public class [EMAIL PROTECTED] implements IAbwesenheit {
  public [EMAIL PROTECTED](){
return;
  }
}

scnr
 Paul

Disclaimer: I don't know java

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


[Samba] Samba/AD/Winbbind OU vs. CN?

2005-09-26 Thread Jason Gerfen
I have encountered a problem so I am posting this question to both the 
technical list as well as the normal user list for a solution.


When I initially joined the samba box to the Win2k domain as a member 
server I followed the Samba 3 HOWTO and specified the OU in the Active 
Directory.  After speaking with our boss this is not the correct OU for 
the users we need to authenticate.


My question is once I run these series of commands:

%> net ads join -U admin
%> kinit admin
%> net ads join "path\to\OU"

How can I change the "path\to\OU" back to the default Organizational 
Unit?  Any and all tips, pointers etc are appreciated.


What I have done in an attempt to resolve:
1. Removed samba, winbind packages
2. removed samba cache
3. removed /tmp directory contents
4. attempted to remove any and all other pertinant files pertaining to samba
5. reinstalled the samba, winbind packages
6. rejoined box to domain (worked fine), omitting the specification of a 
OU for authenticated users


--
Jason Gerfen

"My girlfriend threated to
leave me if I went boarding...
I will miss her."
~ DIATRIBE aka FBITKK

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


[Samba] (no subject)

2005-09-26 Thread Heath Peeples
I have upgraded 3.0.20.  Since then I have smbd process taking almost all of my 
CPU.  I have rebooted my server (Solaris 10), but that does not help.  Anyone 
have any ideas?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] IAbwesenheit : samba Digest, Vol 33, Issue 35

2005-09-26 Thread wolfgang . rinau


Ich werde ab  26.09.2005 nicht im Büro sein. Ich kehre zurück am
04.10.2005.

Ich werde Ihre Nachricht nach meiner Rückkehr beantworten.

Ursprüngliches Thema: samba Digest, Vol 33, Issue 35--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Solved] Re: [Samba] Samba closing printer prematurely?

2005-09-26 Thread Paul Griffith

Greetings,

In the driver settings page I set the option print directly to printer
and *not* to spool the print jobs.

Problem solved.

Thanks
Paul




On Tue, Sep 20, 2005 at 03:09:19PM -0400, Paul Griffith wrote:
> Greetings Samba Users,
> 
> I have a strange issue. Adobe Reader can't print to a Samba
> printer. It would be funny except it is happening to me
> 
> Adobe Reader can't print PDF files to a true Adobe PS3 printer but GhostView 
> can
> print PDF files without any problems.
> 
> The printer in question is a Ricoh Aficio AP4510.
> 
> I tried Samba v3.0.11 and v3.0.20 and I get the same result, no
> printer output.
> 
> As a member of the Domain Admin group I can print from AcroReader
> without any problems. All other users can't printsounds like a
> permission problem.
>  
> Using FileMon from SysInternal I see spoolsv.exe returning a ACCESS
> DENIED error. A ethereal dump shows communications between the client and the
> Samba Server.
> 
> A level 4 debug level from Samba shows:
> 
> [2005/09/20 14:31:16, 3] smbd/reply.c:reply_printopen(3535)
>   openprint fd=5 fnum=9756
> [2005/09/20 14:31:16, 3] smbd/process.c:process_smb(1114)
>   Transaction 566 of length 41
> [2005/09/20 14:31:16, 3] smbd/process.c:switch_message(900)
>   switch message SMBsplclose (pid 758) conn 0x8311a10
> [2005/09/20 14:31:16, 4] smbd/uid.c:change_to_user(217)
>   change_to_user: Skipping user change - already user
> [2005/09/20 14:31:16, 3] smbd/reply.c:reply_printclose(3561)
>   printclose fd=5 fnum=9756
> 
> Seem like Samba is opening and closing the printer connection at the
> same timem, so nothing is getting down the pipe.
> 
> Anyone have any tips, ideas I can try?
> 
> As I said this problem is only with AcroReader v7.0.3 on a fully patched
> WinXP2 box.
> 
> Thanks
> Paul
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba

-- 
Paul Griffith | York University, Dept. of Computer Science & Engineering
CSE Technical Team| 4700 Keele Street, Toronto, Ontario, Canada M3J 1P3
[EMAIL PROTECTED] | CSE 1003A | Phone: 416-736-2100 x70258 | Fax: 416-736-5872
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] question

2005-09-26 Thread Tadeusz Prokocki
Why Samba 3.0 does not support --with-ssl ???
How render accessible outsid ?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] How can using aio ?

2005-09-26 Thread Chan Suk Kim

Hi 

How can I configure and operate about asynchronous IO file serving ?

regards
ChanSuk Kim
 ---
 System Engineer - SGI Korea
 Phone : 82-2--7416
 Fax : 82-2--7400/1
 Mobile : 82-11-222-0976
 Web : www.sgi.com
 -
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba+LDAP (How to Expires an Account on Specified date)

2005-09-26 Thread Arun Sharma

Hi Everybody,

Structure of my server environment :
Using Samba 3.0.20, Openldap V3

My requiremnt :
1) How to expire an user Account on a specified date.?


Thanks all



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


Re: [Samba] net rpc vampire / Question or Problem?

2005-09-26 Thread Michael Gasch

[EMAIL PROTECTED] wrote:

Hi,

i'm thinking about some overflows or something like that.
What do you think about that. 

i also had some overflows caused by replication options in slapd
by specifying replication sleep in smb.conf i could fix it

but may be your smbldap tools cannot add memberUid attributes because of 
a "non-standard" ldap setup?


i have my thesis about migrating NT to samba
do you want to have it?

micha

--
Michael Gasch
Max Planck Institute for Evolutionary Anthropology
Department of Human Evolution (IT)
Deutscher Platz 6
D-04103 Leipzig
Germany

Phone: 49 (0)341 - 3550 137
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba+LDAP (How to Expires an user Account on Specified date)

2005-09-26 Thread Arun Sharma

Hi Everybody,

Structure of my server environment :
Using Samba 3.0.20, Openldap V3

My requiremnt :
1) How to expire an user Account on a specified date.?


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


Re: [Samba] Nmbd question...

2005-09-26 Thread Henrik Zagerholm
Remeber that Swat do not always report the correct state of the  
running deamons.
Please look at the processes with top or ps to be sure that they are  
running.


//H
24 sep 2005 kl. 16.08 skrev Bíró Gáspár Péter:


Hi!

I'm a Linux beginner, and I installed Suse Linux  8.2 to my computer.
I installed Samba too... Then I configured it... I wrote in to the web
browser: http://localhost:901. Swat came in, and I configured things
what I read in a Samba book. Then I started smbd, and nmbd. Smbd
worked, but nmbd won't start! I made a probe to write in the "smbd -D"
command. It worked... But by the command "nmbd -D" worked NMBD not (I
saw in the SWAT, that it isn't working).

What's can the problem be?
What for installations, configurations muss I make for NMBD?
Where can I find a checklist for NMBD?

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



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


[Samba] Attempt #2 :Interdomain Trust

2005-09-26 Thread Simon Leung
Dear All,

I have posted the following "HELP" recently, and seems like no response
afterwards. Anyway, I try to make it short again here:

As instrcuted from the Samba3-HOWTO.pdf Ch 18.4.2:

[EMAIL PROTECTED] var]# net rpc trustdom establish DomainA
Password:
Could not connect to server "DomainA-PDC"
Trust to domain DomainA established 

Then, a workstation (WinXP SP2) had successfully joined DomainB (with Domain
A listed on the "Log on to"). Users in Domain A can login but found an error
from the event viewer

Event ID:15
Source: AutoEnrollment
Type Error:
Description: Automatic certificate enrollment for local system failed to
contact the active directory (0x8007054b). The specified domain either does
not exist or could not be contacted. Enrollment will not be performed.  


another problem is when Domain A user logon the workstation from Domain B, a
"blue screen to death" was prompted where the error from winlogon.exe
(msgina.dll)


I hope someone can help.

With a BIG THX

Simon



> _ 
> From: Simon Leung [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, September 14, 2005 2:17 PM
> To:   'samba@lists.samba.org'
> Subject:  Yelling for help on interdomain Trust (a long one)
> 
> Hi there,
> 
> Scenario:
> Domain A: Win2000Server(PDC)(DC1) + Win2003Server (DC2)
> Domain B:Samba 3.0.20 (compiled with the patches from
> http://us1.samba.org/samba/patches/)
> Where Domain A is the TRUSTED domain whereas Domain B is the TRUSTING
> domain.
> 
> And here is part of my smb.conf:
> 
> -Starts--
> 
> # Global parameters
> [global]
> 
> ## NETBIOS / Domain Server Settings
> 
>   workgroup = SAMBA
>   netbios name = SAMBA3
>   server string = Samba-LDAP Server %v PDC
>   security = user
>   preferred master = yes
>   domain master = yes
>   os level = 65
>   allow trusted domains = yes
>   domain logons = Yes
>   local master = yes
>   encrypt passwords = Yes
>   admin users = @"Domain Admins"
>   Time server = yes
>   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>   
> 
> ## USER / LDAP Settings
>   
>   ldap port = 389
>   ldap suffix = dc=mydomain,dc=com
>   ldap machine suffix = ou=Computers
>   ldap user suffix = ou=Users
>   ldap group suffix = ou=Groups
>   ldap idmap suffix = ou=Users
>   ldap admin dn = cn=Manager,dc=mydomain,dc=com
>   ldap ssl = no
>   ldap passwd sync = yes
>   passdb backend = ldapsam:ldap://127.0.0.1
>   admin users = administrator
>   guest account = nobody
>   obey pam restrictions = No
> 
>   #add user script = /usr/local/sbin/smbldap-useradd -m "%u"
>   add machine script = /usr/local/sbin/smbldap-useradd -w "%u"
>   #add group script = /usr/local/sbin/smbldap-groupadd -p "%g"
>   #add user to group script = /usr/local/sbin/smbldap-groupmod -m "%u"
> "%g"
>   #set primary group script = /usr/local/sbin/smbldap-usermod -g "%g"
> "%u"
>   
> 
> ## WINS / DNS settings
>   
>   wins support = yes
>   idmap uid = 1-2
>   idmap gid = 1-2
>   winbind use default domain = no
>   winbind cache time = 15
>   winbind enum users = yes
>   winbind enum groups = yes
>   winbind uid = 1-2
>   winbind gid = 1-2
>   winbind trusted domains only = yes
>   template shell = /bin/false
>   name resolve order = wins hosts bcast
>   smb ports = 139 445
>   hosts allow = "IP addresses under my network"
>   
> ## LOGGING
>   
>   utmp = yes
>   syslog = 0
>   log level = 3 passdb:0 auth:2 winbind:5
>   panic action = /usr/share/samba/panic-action %d
>   max log size = 50
>   log file = /var/log/samba/log.%m
> 
>   
> ## MISC Files/Directories 
>   
>   nt acl support = yes
>   map acl inherit = yes
>   dos charset = CP950
>   unix charset = BIG5
>   case sensitive = no
>   directory mask = 0750
>   hide dot files = yes
>   hide unreadable = yes
>   oplocks = Yes
>   level2 oplocks = Yes
> 
> 
> ## Profile
>   
>   logon script = logon.bat
>   logon path = 
>   logon drive =
>   logon home =
>   
> ## MISC Other
>   
>   mangling method = hash2
>   deadtime = 10
>   #client schannel = no
>   #client schannel = auto
> #server schannel = yes
> #client signing = auto
> #server signing = no
> 
> -END-
> 
> 
> My journey to setting up the trust:
> 1. Create Domain A account in Openldap --> smbldap-useradd -I "Name of
> Domain A"
> 2. Create trust on Domain A (DC2) --> added "Name of Domain B" and
> assigned password and valid the trust --> No error message
> 3. establish the trust on Samba --> net rpc trustdom establish "DomainA"
> -U administrator, then password
> 
> 
> My problem:
> 
> 1