Re: [Samba] Samba segs when serving files from a windows partition on OpenBSD-4.2

2008-04-29 Thread Uwe Laverenz

Jeremy Allison schrieb:


If you give me feedback, I will close this out for 3.2. Unfortunately
it's hard to get anyone on the *BSD side to work on this with me. I


Thank you very much for your explanations. I must admit that I am quite 
shocked about this. I always thought of Samba as one of the most 
important products that can be run on a Unix machine. It would be quite 
sad for the *BSDs if nobody takes care of this. Well, maybe that troll 
on slashdot is right... :(


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


Re: [Samba] Samba segs when serving files from a windows partition on OpenBSD-4.2

2008-04-25 Thread Uwe Laverenz

Edd schrieb:


Before I file a bug report, I just wanted to check that samba is capable
of serving files from a FAT32 partition. I have here an OpenBSD-4.2


This reminds me of https://bugzilla.samba.org/show_bug.cgi?id=4715

Short description: Samba crashes on any filesystem except UFS.

You could test wether it is the same problem or not by installing Samba 
3.023 or 3.024. If they work with FAT32, it's probably the same Problem 
that bites us on FreeBSD (and keeps us from using Samba+FreeBSD in 
production). :-/


bye,
Uwe

--
Molkerei Ammerland eG
Oldenburger Landstraße 1a
26215 Wiefelstede

Phone   :  +49-04458-9111- 23
Fax :  +49-04458-9111-980
Email   :  [EMAIL PROTECTED]
Web-Site:  http://www.molkerei-ammerland.de

eG mit Sitz in Wiefelstede, Registergericht Oldenburg, GnR 120009

Vorstand:

Gerd Wemken (Vorsitzender), Herbert Heyen (stellv. Vorsitzender),
Hermann Boekhoff, Frank Caspers, Werner Freese, Johann Gieseke,
Heiko Hinrichs, Fritz-Harald Strodthoff-Schneider, Heino Suhr,
Diedrich Wilken

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


Re: [Samba] Samba Replication

2008-04-21 Thread Uwe Laverenz

Steve Francia schrieb:

DFS in samba seems like a good approach, but doesn't it depend on a 
clustered file system for replication? Am I missing something here?


DFS lets your users see the shares of different servers as directories 
within a single share. So you could make a share on either side of your 
connected networks and within these shares you could add a link to the 
other network's share. For your users this would look like a normal 
directory within the local share. This is not really a distributed 
filesystem, I guess.


If you need a real distributed filesystem, you could have a look a 
something like http://www.openafs.org/ .


byes,
Uwe

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


[Samba] SOLVED: 3.0.23 for Debian Sarge: LDAP problems

2006-07-27 Thread Uwe Laverenz
Hi all,

 Does anybody have an idea what the problem might be?

I have found the reason for the problem: Samba 3.0.23 and
3.0.23a do not parse the passdb backend entry in the smb.conf
correctly anymore (tested on Debian Sarge and FreeBSD 6.1).

According to the smb.conf man page, it is allowed to put the ldap
URIs in double qoutes:

passdb backend = ldapsam:ldap://ldap-1.example.com \
  ldap://ldap-2.example.com;

This does not work for 3.0.23(a) anymore, it works as soon as you
remove the double quotes. I guess it has to do with the fact that
the use of multiple passdb backends is not supported with 3.0.23.

Thanks,
Uwe

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


Re: [Samba] SOLVED: 3.0.23 for Debian Sarge: LDAP problems

2006-07-27 Thread Uwe Laverenz
Hi Jerry,

On Thu, Jul 27, 2006 at 07:18:48AM -0500, Gerald (Jerry) Carter wrote:

  H...that should work.  It certainly wasn't an
  intentional change.  This patch should correct it.

I tested it on my FreeBSD workstation and it works perfectly. :)

Thank you!

Uwe

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


[Samba] 3.0.23 for Debian Sarge: LDAP problems

2006-07-20 Thread Uwe Laverenz
Hi,

I always prefer the Samba packages for Debian-Stable from the
Samba-Team and I never had a problem so far (thank you, Simo!).

Yesterday I updated from 3.0.22 to 3.0.23 in my LDAP-based network. I
updated samba.schema, added index sambaSID eq,sub to my slapd.conf
and ran slapindex. When I started slapd and samba afterwards, I saw
error messages like these (from smbd.log):

[2006/07/20 00:14:36, 0] lib/smbldap.c:smb_ldap_setup_conn(638)
  ldap_initialize: Time limit exceeded
[2006/07/20 00:14:36, 1] lib/smbldap.c:another_ldap_try(1150)
  Connection to LDAP server failed for the 1 try!
[2006/07/20 00:14:37, 0] lib/smbldap.c:smb_ldap_setup_conn(638)
  ldap_initialize: Time limit exceeded
[2006/07/20 00:14:37, 1] lib/smbldap.c:another_ldap_try(1150)
  Connection to LDAP server failed for the 2 try!
...
... [message repeated several times]
...
[2006/07/20 00:14:50, 1] lib/smbldap.c:another_ldap_try(1150)
  Connection to LDAP server failed for the 15 try!
[2006/07/20 00:14:51, 0] lib/smbldap.c:smb_ldap_setup_conn(638)
  ldap_initialize: Time limit exceeded
[2006/07/20 00:14:51, 0] smbd/server.c:main(960)
  ERROR: failed to setup guest info.

So Samba/smbd does not work anymore. The same errors occur when I run
the net command:

athena:~# net groupmap list
[2006/07/20 14:14:48, 0] lib/smbldap.c:smb_ldap_setup_conn(638)
  ldap_initialize: Time limit exceeded
[2006/07/20 14:14:49, 0] lib/smbldap.c:smb_ldap_setup_conn(638)
  ldap_initialize: Time limit exceeded
...
... [message repeated several times]
...
[2006/07/20 14:15:18, 0] passdb/pdb_ldap.c:ldapsam_setsamgrent(3039)
  ldapsam_setsamgrent: LDAP search failed: Time limit exceeded
[2006/07/20 14:15:18, 0]
passdb/pdb_ldap.c:ldapsam_enum_group_mapping(3111)
  ldapsam_enum_group_mapping: Unable to open passdb


Switching back to the previous slapd.conf and samba.schema doesn't work,
disabling TLS did not help either. The slapd can be connected with any
other non-Samba tool (ldapsearch, phpldapadmin).

Does anybody have an idea what the problem might be?

thank you,
Uwe

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


Re: [Samba] Re: Problem running kde

2004-11-15 Thread Uwe Laverenz
Tilo Lutz schrieb:
Sure it is true.
Example: I export /home on a server with no_root_squash
and mount it as /home on the client.
That's what the parameter no_root_squash is meant for: to grant access 
 to root on the client machine. So, if you don't trust root on the 
client side, simply don't use no_root_squash.

If you know how I can get nfs run in a secure way I would
be glad when you're shareing your secret with me.
You could tunnel nfs through ssh:
http://www.google.de/search?hl=deq=securing+nfs+sshbtnG=Suchemeta=
cu,
Uwe
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] 3.06 home directory service number

2004-08-24 Thread Uwe Laverenz
Hi,

I successfully upgraded our servers to 3.06 last night and almost
everything works great so far. One point that made me happy about
3.06 was this one:

From the Release Notes:

* Ensure home directory service number is correctly reused
  (inspired by patches from Michael Collin Nielsen ).

There still seems to be one small bug left: when a user logs
out and in again within a short period of time ( 2mins),
he will get a home directory with 3.06, but it is connected
to the wrong share. In our case, the home drive H: gets
connected to the netlogon share. :-)

If the user waits a few minutes, everything works as
expected. In previous samba versions we had to wait much
longer (or reboot the workstation).

Otherwise: Thank you for this great software! :-)

cu,
Uwe

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


Re: [Samba] 3.06 home directory service number

2004-08-24 Thread Uwe Laverenz
On Tue, Aug 24, 2004 at 04:38:06PM -0700, Jeremy Allison wrote:

 Can you get a debug level 10 log of this and post it please ?

I sent it to Jerry yesterday, and a copy to you 2 mins ago. :)

Thank you,
Uwe
-- 
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.1 - 3.0.2 upgrade problem

2004-02-12 Thread Uwe Laverenz
Gerald (Jerry) Carter schrieb:

Is the last change time on the password set to 0 by chance?
Please provide more details.
This little question made my day. :-)

I updated all our servers from 2.2.8a+LDAP to 3.0.2 this evening and had 
the problem that most users couldn't log in any more while my own 
account was still working. I remembered this little post from you, 
checked my LDAP-entries and found that the broken accounts all had 
'sambaPwdLastSet' set to '0'. I changed them to a reasonable value and 
all worked fine.

Thank you. :-)

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


Re: [Samba] adding printers from netlogon script

2004-01-14 Thread Uwe Laverenz
Andrew Gaffney schrieb:

Is there no way to add printers from a netlogon script without the user 
being a Power User or higher?
Of course there is: we do this with the tool con2prt.exe from the 
Zero Admin Kit from M$:

http://www.microsoft.com/windows/zak/

You should install the con2prt.exe somewhere on the Windows client 
machine to a location that is included in $PATH.

In your login script you simply call the programm like this:

con2prt /f /cd \\servername\printername

Possible options for con2prt:

  /?  - displays usage.
  /h  - displays usage.
  /f  - deletes all existing printer connections.
  /c  - connects to \\printserver\share printer.
  /cd - connects to \\printserver\share printer and sets it as the
default printer.
Oh: could you please stop top-posting and full-quoting when writing to 
this mailing list? Thank you.

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


Re: [Samba] Good Admin tool ?

2003-12-02 Thread Uwe Laverenz
John H Terpstra schrieb:

I am very interested in seeing answers to this question as I am currently
writing the LDAP chapter of the Samba-3 by Example book and would like
to recommend a good tool.
For LDAP I still use and recommend gq (http://biot.com/gq) on linux/unix 
systems. Another nice tool is JXplorer (http://www.jxplorer.org), which 
is written in Java and can be used on any operating system that has a 
Java runtime.

For creating and modifying users/groups I use a slightly cutomized 
version of the Idealx smbldap-tools, which were of great help especially 
at the beginning of our LDAP-era. :-)

For system administration, e.g. editing smb.conf, vim 
(http://www.vim.org) is all I need.

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


Re: [Samba] PDC can't get SID

2003-11-03 Thread Uwe Laverenz
Kent L. Nasveschuk wrote:

The smbd and nmbd are running, any suggestions? I did a similar
installation on a Slackware 9 system without a hitch. Had no problem
obtaining a SID for the system.
I had the same problem on a FreeBSD-Current machine. I gave up and used 
the command net rpc info instead to get the SID.

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


[Samba] Updating 2.2.8a to 3.0.0 (LDAP)

2003-10-17 Thread Uwe Laverenz
Hi,

we have Samba 2.2.8a+LDAP 2.0.27 domain controllers running on our 
Debian servers and I'm preparing the update to Samba 3.0.0. Everything 
seems to work fine so far, except that I get some error messages that I 
don't understand. Could someone please explain them to me? Should I wait 
for the next Samba release before switching to 3.x?

The error messages:

When a user logs into the domain controlled W2K machine:

[2003/10/17 09:00:11, 0] rpc_server/srv_pipe.c:api_pipe_netsec_process(1357)
  failed to decode PDU
[2003/10/17 09:00:11, 0] rpc_server/srv_pipe_hnd.c:process_request_pdu(605)
  process_request_pdu: failed to do schannel processing.
When the user logs out (occurs ~20 times):

[2003/10/17 09:01:27, 0] lib/smbldap.c:smbldap_open(799)
  smbldap_open: cannot access LDAP when not root..
...followed by this messages (occurs ~20 times):

[2003/10/17 09:01:27, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1612)
  ldapsam_search_one_group: Problem during the LDAP search: LDAP error: 
 (Insufficient access)smbldap_open: cannot access LDAP when not root..

Thanks for your help!

Uwe

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


Re: [Samba] Updating 2.2.8a to 3.0.0 (LDAP)

2003-10-17 Thread Uwe Laverenz
Andrew Bartlett schrieb:

These may well be normal - we don't implement the 'schanel' protocol in
completely the same way microsoft does, and so we force the client to
restart it's authentication each time it connects.   I think this is a
symptom of that.
Ok, so that's nothing to worry about...

These are bugs, you may wish to try 3.0.1pre1, which I think resolves
some of these.   
I just tried 3.0.1pre1 and it throws the same error messages. But it 
doesn't seem to have any influences to the Windows-users.

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


Re: [Samba] Samba + Openldap password change through windows

2003-07-17 Thread Uwe Laverenz
[EMAIL PROTECTED] schrieb:

when i try to change the password from windows samba changes the windows 
password but the unix password is left unchanged. 
These settings work:

 encrypt passwords = yes
 passwd program = /usr/local/sbin/smbldap-passwd.pl %u
 passwd chat = *new*password* %n\n *new*password* %n\n *successfully*
 unix password sync = yes
cu,
Uwe
--
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 NIS

2003-07-08 Thread Uwe Laverenz
Benilton de Sa Carvalho schrieb:

Is it possible a samba server authenticate users by NIS? For example, can
a NIS client be a Samba Server and use the NIS system to authenticate the
You can use NIS with plaintext passwords (unencrypted) only. If you use 
encrypted passwords, you have to use a second database for the 
Samba-passwords. If you want everything from one source: LDAP.

cu,
Uwe
--
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 NIS

2003-07-08 Thread Uwe Laverenz
Benilton de Sa Carvalho schrieb:

Can I use this solution (plaintext passwords) even if my Samba server acts
as PDC?
No, if you want Samba to act as a Domain Controller you need encrypted 
passwords.

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


Re: [Samba] Samba slow because of LDAP?

2003-07-07 Thread Uwe Laverenz
Daniel Zeiss schrieb:

Is it possible that this type of samba is significally slower than 
smbpasswd Samba?
No, we use 2.2.8a with LDAP and there are no performance problems at 
all. Maybe you should increase your Samba log level and see if you find 
a hint in the log files. A wrong DNS setup would be a possible reason 
for performance problems.

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


Re: [Samba] Samba as PDC across multiple physical sites

2003-07-01 Thread Uwe Laverenz
Sorisio, Chris schrieb:

Does anyone have Samba set up to provide file, print, and authentication
services across multiple physical sites?  We're thinking of setting up a
Yes, I have a comparable setup here. I use:

- Samba (one configured as PDC, all others as BDC)
- OpenLDAP (slapd on every server, replication via slurpd)
- cups
- Postfix + courier-imap
- rsync + ssh
The use of OpenLDAP (or LDAP in general) for user-authentification and 
keeping user- and group-information is the key for a distributed setup.

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


Re: [Samba] RH9, Samba 2.2.8a and printing with CUPS

2003-06-26 Thread Uwe Laverenz
Roy Otto Kleiv schrieb:

[2003/06/26 13:13:28, 3] smbd/ipc.c:api_fd_reply(296)

  Got API command 0x26 on pipe spoolss (pnum 739e)free_pipe_context: destroying talloc pool of size 0


Maybe this parameter:

disable spoolss = yes

...in your [global] section helps.

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


Re: [Samba] concerning saving roaming profile and the long delay

2003-06-17 Thread Uwe Laverenz
  schrieb:

everytime i am going to close my session (logout/shutdown) it take too long
to save the roaming profile, why can somebody explain me?
I had the same problem. In my case it was a program (tightVNC 1.2.8, 
known bug) that kept Windows from closing the registry during logout. 
Have a look at the Windwos Event Logs, there should be an error message 
you can feed to google.

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


Re: [Samba] No umlauts in filenames

2003-06-10 Thread Uwe Laverenz
Thomas Dietmaier schrieb:

My samba setup cannot handle files whose names contain german umlauts
().
Yes, it can. ;)

The server is samba 2.2.8a-1 on Redhat 8.0 (from the binary RPM from the
Redhat 8 uses UTF-8, that's the reason why you can't see the iso8859-1 
umlauts on your RH machine.

Files which are created on the linux box with umlauts in their names are
not visible on the XP machine.
...because in this case, the umlauts are UTF-8 (Unicode).

character set=iso8859-1
client code page=850
That's correct.

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