Corrupted JPEG File Names

2003-02-06 Thread frankinzo
Hello, I am setting up a music server and have run into some file corruption with Samba. Whenever I copy JPG files from either my Win2K machine or my WinXP machine, I get file corruption. Please Help, Frank

RE: Samba and spinlocks on Linux (was Re: REPOST: Meaning oftdb_free: left read failed at ...?

2003-02-06 Thread Gerald Drouillard
If you are referring to: lock spin count = lock spin time = They are working very well 2.2.7a thank you. Here are my settings: lock spin count = 50 ;default=10 ;test with 6 wks show anything higher or lower than 15 cause increased load on server with slower performance lock spin time = 15

RE: Trusted domains' users and Samba

2003-02-06 Thread Szilvsy Zoltn
Idzet Marc Kaplan [EMAIL PROTECTED] levelbl It should be connecting to the trusted domain by default. 1. What does wbinfo --sequence show you? Wbinfo tells it does not support --sequence option. However wbinfo -m shows DOM2 in the list. 2. What version of samba are you running? The version is

make: *** [nsswitch/pam_winbind.po] Error 1

2003-02-06 Thread dehner
Hello, I configured samba 3.0 (alpha21) --with-pam but i get the following Error Message when I want to make make. I installed all IMHO packeges which are for pam necessary. Can anybody please say me what is the best way to solve my Problem. sles:/usr/samba-3.0alpha21/source # make Using

Re: make: *** [nsswitch/pam_winbind.po] Error 1

2003-02-06 Thread Andrew Bartlett
On Thu, 2003-02-06 at 21:41, [EMAIL PROTECTED] wrote: Hello, I configured samba 3.0 (alpha21) --with-pam but i get the following Error Message when I want to make make. I installed all IMHO packeges which are for pam necessary. Can anybody please say me what is the best way to solve my

Re: Corrupted JPEG File Names

2003-02-06 Thread Bradley W. Langhorst
On Thu, 2003-02-06 at 03:17, [EMAIL PROTECTED] wrote: Hello, I am setting up a music server and have run into some file corruption with Samba. Whenever I copy JPG files from either my Win2K machine or my WinXP machine, I get file corruption. take it to [EMAIL PROTECTED] have you run

Interaction of share modes and file permissions

2003-02-06 Thread Neil Hoggarth
Consider a file with ownership and mode such that a client has read-only permission on that file. Suppose that this file is open read-only by second client, with a share mode of DENY_WRITE. If the first client attempts to open the file read-write then a question arises: what is the appropriate

machine names same as usernames - problems...

2003-02-06 Thread Bradley W. Langhorst
Since samba 2.2.8 seems to be on the way i thought i might raise this issue before release. I've seen a few users get confused by the fact that their machine name and their user name cannot be very similar adil (users) and adil$ (machine) cannot work. I think it's not good practice to have

Re: Solaris fcntl CPU/Lock update

2003-02-06 Thread Jeff Mandel
Esh, Andrew wrote: Also, try loading a few other non-Samba programs into gdb, to see what they require. Maybe threading is a common library to load. I have tried this against sshd, httpd, radiusd and lpsched. None are showing libthread anywhere in the list of symbols. After latest

Re: machine names same as usernames - problems...

2003-02-06 Thread David Bear
On Thu, Feb 06, 2003 at 09:04:14AM -0500, Bradley W. Langhorst wrote: Since samba 2.2.8 seems to be on the way i thought i might raise this issue before release. I've seen a few users get confused by the fact that their machine name and their user name cannot be very similar adil (users)

Re: Interaction of share modes and file permissions

2003-02-06 Thread jra
On Thu, Feb 06, 2003 at 02:26:25PM +, Neil Hoggarth wrote: Consider a file with ownership and mode such that a client has read-only permission on that file. Suppose that this file is open read-only by second client, with a share mode of DENY_WRITE. If the first client attempts to open

why didn't we use krb5-config???

2003-02-06 Thread Stefan (metze) Metzmacher
Hi Jeremy, I just see that newer version's of heimdal and mit have krb5-config. it would be cool to use it by default if it's available and if not fallback to the current tests metze - Stefan metze Metzmacher [EMAIL

Re: why didn't we use krb5-config???

2003-02-06 Thread jra
On Thu, Feb 06, 2003 at 07:27:24PM +0100, Stefan (metze) Metzmacher wrote: Hi Jeremy, I just see that newer version's of heimdal and mit have krb5-config. it would be cool to use it by default if it's available and if not fallback to the current tests Didn't know about it :-). I'll take

RE: Trusted domains' users and Samba

2003-02-06 Thread Boyce, Nick
On 6th.Feb.2003 Szilva wrote : 2. What version of samba are you running? The version is 2.2.3a-6 for Debian that was shipped with distribution (Woody). On behalf of yourself, your users, and Net users everywhere in general :), can I plead with you to install the later security-fixed version

RE: Winbind on HPUX 11, some small progress

2003-02-06 Thread Miles Roper
Hi Don, lrwxrwxrwx 1 root sys 17 Feb 7 09:59 libnss_winbind.1 - li bnss_winbind.so -r-xr-xr-x 1 binbin 28672 Jan 24 15:23 libnss_winbind.so Same problem, I was all excited there for a moment :o) Cheers Miles -Original Message- From: MCCALL,DON

RE: Winbind on HPUX 11, some small progress

2003-02-06 Thread MCCALL,DON (HP-USA,ex1)
Hi Miles, Set log level = 10 in your smb.conf file stop winbindd daemon and nmbd and smbd, and clear out your /var/opt/samba/log.* Then start nmbd,smbd and winbindd and do the getent command again. After you do, check for a log.winbindd file and send it to me offlist. Thanks, Don -Original

NTLMv2 Session Security

2003-02-06 Thread Christopher R. Hertel
While trying to document NTLMv2 authentication, I stumbled across something known as NTLMv2 Session Security. Does anyone know what this is? I can set HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\LSA\LMCompatibilityLevel to 1 to enable NTLMv2 Session Security, but I'm not sure what

[PATCH] file change notification

2003-02-06 Thread Hal Roberts
Attached is a patch that adds support for reporting individual files during file change notification. The patch keeps a table of the stats of all files in a watched directory and then compares the current stats of the files with the stored stats whenever there is a notification event. Note

RE: Winbind on HPUX 11, some small progress

2003-02-06 Thread Esh, Andrew
I thought I was told early on in this discussion that HP-UX doesn't like certain keywords in nsswitch.conf, and winbind is one of them. That being the case, isn't libnss_winbind.1 useless? Can another nsswitch keyword be faked into pointing at winbind? Maybe libnss_ldap.1 - libnss_winbind.so, and

Annoying Minor Bug In Winbind 2.2.x

2003-02-06 Thread Boyce, Nick
As per my message an hour or so ago, I'm trying to get the winbind that comes with Debian 3.0 Samba 2.2.3a-12 configured to allow me to telnet into the box with authentication handed off to a real NT domain. Anyway, even before I really get started, I find what seems to be an obvious, simple and

Re: machine names same as usernames - problems...

2003-02-06 Thread Andrew Bartlett
On Fri, 2003-02-07 at 01:04, Bradley W. Langhorst wrote: Since samba 2.2.8 seems to be on the way i thought i might raise this issue before release. I've seen a few users get confused by the fact that their machine name and their user name cannot be very similar adil (users) and adil$

Re: Dir with 900+ files look Empty - 2nd post

2003-02-06 Thread Richard Sharpe
On Fri, 7 Feb 2003, Greg Norris wrote: WARNING: I had to reformat the mail message to make it reasonable. Each para was one long line. I am running Samba on Linux RedHat 7.3. It is OK most of the time. We use it for our ViewCvs viewer. Problem is when there are files called cmd (god

RE: Dir with 900+ files look Empty - 2nd post

2003-02-06 Thread Richard Sharpe
On Fri, 7 Feb 2003, Greg Norris wrote: I still had to reformat your mail. Please fix your mail client. I failed to mention that I have 10 directories of which 9 are ok. It's just the one directory playing up. As I mentioned, I discovered that a file called 'cmd' or with a leading period

Re: machine names same as usernames - problems... -- here's areal world NetBIOS clusterfsck ...

2003-02-06 Thread Bryan J. Smith
Quoting Andrew Bartlett [EMAIL PROTECTED]: Why can't it work? I've seen this discussed a number of times, but never really been told why it doesn't work. That $ is there for exactly that reason you know - to make them different. Er, not exactly. If I remember correctly, the $ in the

Re: machine names same as usernames - problems... -- here's areal world NetBIOS clusterfsck ...

2003-02-06 Thread Andrew Bartlett
On Fri, 2003-02-07 at 07:54, Bryan J. Smith wrote: Quoting Andrew Bartlett [EMAIL PROTECTED]: Why can't it work? I've seen this discussed a number of times, but never really been told why it doesn't work. That $ is there for exactly that reason you know - to make them different.

Re: machine names same as usernames - problems... -- here's areal world NetBIOS clusterfsck ...

2003-02-06 Thread Bryan J. Smith
Quoting Andrew Bartlett [EMAIL PROTECTED]: These are different. The $ termination is a NT suffix, that NT adds to it's machine accounts. The netbios issues are separate. (And as any user may add a netbios name to the network, Samba really isn't in a position to prevent this from

Re: machine names same as usernames - problems...

2003-02-06 Thread Bradley W. Langhorst
On Thu, 2003-02-06 at 15:39, Andrew Bartlett wrote: adil (users) and adil$ (machine) cannot work. Why can't it work? I've seen this discussed a number of times, but never really been told why it doesn't work. That $ is there for exactly that reason you know - to make them different.

Re: machine names same as usernames - problems... -- here's arealworld NetBIOS clusterfsck ...

2003-02-06 Thread Richard Sharpe
On Thu, 6 Feb 2003, Bryan J. Smith wrote: Quoting Andrew Bartlett [EMAIL PROTECTED]: Why can't it work? I've seen this discussed a number of times, but never really been told why it doesn't work. That $ is there for exactly that reason you know - to make them different. Er, not

Re: NTLMv2 Session Security

2003-02-06 Thread Xyster !
From my experience, read below... From: Christopher R. Hertel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: NTLMv2 Session Security Date: Thu, 6 Feb 2003 13:24:42 -0600 While trying to document NTLMv2 authentication, I stumbled across something known as NTLMv2 Session Security. Does anyone

Re: machine names same as usernames - problems... -- here's areal world NetBIOS clusterfsck ...

2003-02-06 Thread Bradley W. Langhorst
On Thu, 2003-02-06 at 17:28, Richard Sharpe wrote: When a workstation boots, it registers its workstation name as a NetBIOS name. Indeed, it registers several types of NetBIOS names, including a 00 name, a 03 name and, if you have enabled sharing, a 20 name. When a user tries to log on,

Re: passdb/pdb_ldap.c

2003-02-06 Thread Bradley W. Langhorst
On Thu, 2003-02-06 at 15:44, Robert Feldbauer wrote: I'm running the latest CVS of 3.0, getting the following error when compiling.. any insights? do you have all the libs you need on this machine? libldap stuff etc. you might try building a21 to test out your system - i know that builds with

Re: machine names same as usernames - problems...

2003-02-06 Thread Richard Sharpe
On Thu, 6 Feb 2003, Bradley W. Langhorst wrote: On Thu, 2003-02-06 at 15:39, Andrew Bartlett wrote: adil (users) and adil$ (machine) cannot work. Why can't it work? I've seen this discussed a number of times, but never really been told why it doesn't work. That $ is there for

Re: machine names same as usernames - problems...

2003-02-06 Thread Andrew Bartlett
On Thu, Feb 06, 2003 at 02:47:47PM -0800, Richard Sharpe wrote: On Thu, 6 Feb 2003, Bradley W. Langhorst wrote: On Thu, 2003-02-06 at 15:39, Andrew Bartlett wrote: adil (users) and adil$ (machine) cannot work. Why can't it work? I've seen this discussed a number of times,

Re: machine names same as usernames - problems... -- here's arealworld NetBIOS clusterfsck ...

2003-02-06 Thread Bryan J. Smith
Quoting Richard Sharpe [EMAIL PROTECTED]: No, not really. The \$ in the name of the trust account is an MS thing. Samba requires a machine account be backed up on the server with an account of that name. However, as far as I can see, we could remove that restriction, as we could keep all the

[PATCH] umask audit

2003-02-06 Thread Martin Pool
Following on from the bug in winbindd this morning I did a quick grep for umask. In HEAD/client/client.c main(), there is a pair of calls to umask. It looks to me like they're trying to retrieve the current umask without changing it. However, the retrieved value is never used. (Did I miss

Re: NTLMv2 Session Security

2003-02-06 Thread Christopher R. Hertel
On Thu, Feb 06, 2003 at 09:58:17PM +, Xyster ! wrote: From my experience, read below... : Changing the registry setting either turns on or off NTLMv2. The server can guess which is being used by the client based on the blob lengths. The modes documented by MS to allow negotiation do

Re: machine names same as usernames - problems...

2003-02-06 Thread Bradley W. Langhorst
On Thu, 2003-02-06 at 17:47, Richard Sharpe wrote: On Thu, 6 Feb 2003, Bradley W. Langhorst wrote: On Thu, 2003-02-06 at 15:39, Andrew Bartlett wrote: adil (users) and adil$ (machine) cannot work. Why can't it work? I've seen this discussed a number of times, but never

Re: machine names same as usernames - problems... -- here's arealworld NetBIOS clusterfsck ...

2003-02-06 Thread Richard Sharpe
On Thu, 6 Feb 2003, Richard Sharpe wrote: On Thu, 6 Feb 2003, Bryan J. Smith wrote: Quoting Andrew Bartlett [EMAIL PROTECTED]: Why can't it work? I've seen this discussed a number of times, but never really been told why it doesn't work. That $ is there for exactly that reason

Re: [PATCH] umask audit

2003-02-06 Thread Martin Pool
In addition, wrepld sets its umask to 0. Is that really necessary? -- Martin

Re: Annoying Minor Bug In Winbind 2.2.x

2003-02-06 Thread Tim Potter
On Fri, Feb 07, 2003 at 12:23:30PM +1100, Martin Pool wrote: The bug apparently came in Andrew Bartlett's merge in 1.45; the provenance of it I don't know. (TNG?) This patch ought to be applied to 2.2, HEAD, 3.0, and APPL_HEAD. Tim, how's this patch? How about this - I've collapsed the

Re: machine names same as usernames - problems...

2003-02-06 Thread Richard Sharpe
On Thu, 6 Feb 2003, Andrew Bartlett wrote: On Thu, Feb 06, 2003 at 02:47:47PM -0800, Richard Sharpe wrote: On Thu, 6 Feb 2003, Bradley W. Langhorst wrote: On Thu, 2003-02-06 at 15:39, Andrew Bartlett wrote: adil (users) and adil$ (machine) cannot work. Why can't

Re: Winbind on HPUX 11, some small progress

2003-02-06 Thread Michael Steffens
Esh, Andrew wrote: I thought I was told early on in this discussion that HP-UX doesn't like certain keywords in nsswitch.conf, and winbind is one of them. That being the case, isn't libnss_winbind.1 useless? Discovered recently that this is no longer true for 11.00. Patch PHCO_26089 is

RE: Winbind on HPUX 11, some small progress

2003-02-06 Thread MCCALL,DON (HP-USA,ex1)
Hi Miles, reading further; change you link to the following: lrwxr-xr-x 1 root sys 46 Aug 27 11:16 /usr/lib/libnss_winbin d.1 - libnss_winbind.so We (HP-UX) don't know from .so files... So winbind in nsswitch.conf entries is going to trigger looking for a libnss_winbind.1

RE: Winbind on HPUX 11, some small progress

2003-02-06 Thread Miles Roper
had the same problem, I thought compiling it from scratch may fix it, although I've only just recently worked out how to get the extra debugging from pam, but symptoms were exactly the same. has taken me a long time to work out how to compile it on hpux with gcc, had to change a include file and

RE: Winbind on HPUX 11, some small progress

2003-02-06 Thread Miles Roper
so where to from now? do you think it would be useful to install the compiled one for HPUX one from samba ftp? just a note, I've been tring to get this to work for at least a year, since winbind was first included in winbind, this time I'm determined I'm going to get it working :o)