RE: rd /s, can't find the file specified (internal reference b1996)

2003-03-19 Thread Richard Sharpe
On Wed, 19 Mar 2003, Nir Soffer wrote: I can't reproduce this at all on a recent (CVS) build of SAMBA_3_0. Can you give me more details on *exactly* how you reproduce it please ? What I did was simply do, on the unix side: mkdir b1996 cd b1996 touch nirtest123456 touch nirtest12345

RE: rd /s, can't find the file specified (internal reference b1996)

2003-03-19 Thread Nir Soffer
-Original Message- From: Richard Sharpe [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 10:43 AM To: Nir Soffer Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: rd /s, can't find the file specified (internal reference b1996) On Wed, 19 Mar 2003, Nir Soffer

RE: rd /s, can't find the file specified (internal reference b1996)

2003-03-19 Thread Nir Soffer
-Original Message- From: Richard Sharpe [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 10:43 AM To: Nir Soffer Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: rd /s, can't find the file specified (internal reference b1996) On Wed, 19 Mar 2003, Nir Soffer

adddriver RPC

2003-03-19 Thread Tom Alsberg
I am sending this again here, as I did not get any reply for some time, and haven't yet figured it out by myself: Hi there. Leaving the idea of not providing driver files on the server for a while (only specifying the name, as in my previous thread here), I was trying the SPOOLSS adddriver RPC

winbind alloc id patch

2003-03-19 Thread Volker Lendecke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! Here's a little ten-liner I wrote some weeks ago being annoyed by diverging uid/gid allocation on separate member servers. I declared one of them the ID master, and had the others ask him. I know this is an ugly hack, but for me it worked quite

Re: [PATCH] IDMAP Backend part 1 of 2 (LDAP library)

2003-03-19 Thread Andrew Bartlett
On Wed, 2003-03-19 at 12:31, Anthony Liguori wrote: This is the first part of an IDMAP LDAP backend for Winbind. This patch moves the ldapsam LDAP routines into a separate library. There's a lot of crazy code in ldapsam to handle the various oddities of different ldap libraries. The

setdriver failes

2003-03-19 Thread Patrik Carlsson
Hi List.. I have earlier posted my problem to the [EMAIL PROTECTED], but got no answer... So I try this list now... Please forgive me if I'm on the wrong list, but I really need this to work.. So, my problem. I have set up an CUPS-server to handle our printing, on this machine I also set up

RE: error message.

2003-03-19 Thread Hassen Chaker
Thank you for your answer. The HP server is not configurated as WINS server. On the SHARP printer we declare @ip, @Gateway, subnetmask and @DNS and NOT a @WINS server. I don't understand why the printer consider the samba server (HP) as a WIS server. Thank you for help

RE: error message.

2003-03-19 Thread Hassen Chaker
Thank you for your answer. -- Hassen CHAKER Atos Origin Infogerance 6, place de l'Iris Tour Manhattan 92926 La Defense Tel : 01.46.25.52.04 Fax : 01.46.25.53.59 -- -Message d'origine- De : Christopher R.

Re: adddriver RPC

2003-03-19 Thread Ronan Waide
On March 19, [EMAIL PROTECTED] said: I put all the files in the print share at (\\dev\print$\w32x86). The files are from Windows XP Professional SP1. The files are, as reported by the printer test page: pscript.ntf pscript.hlp ps5ui.dll hplj5si1.ppd pscript5.dll I issued the

Re: adddriver RPC

2003-03-19 Thread Tom Alsberg
Hi there. Thank you for your reply. Please read my comments below: On Wed, Mar 19, 2003 at 10:43:14AM +, Ronan Waide wrote: snip / The adddriver rpc expects to find the files in \\dev\print$; it will move them to the w32x86 or win40 directory as appropriate. Firstly, you first said that

patch for logon time on samba3.0 alpha22

2003-03-19 Thread Jianliang Lu
Hi, I've patched the samba3.0 alpha22 for logon_time, now the user's logon time is updated when he logs on successfully. In attachment is the patch. Jianliang Lu TieSse s.p.a. [EMAIL PROTECTED] [EMAIL PROTECTED] --- samba-3.0alpha22/source/smbd/session.c Wed Mar 19 14:46:03 2003 +++

samsync: don't put into fields that should be null

2003-03-19 Thread Ronan Waide
This patch prevents net rpc vampire from copying empty strings into various fields; doing so can cause problems with pdb_ldap (and possibly others). Cheers, Waider. Index: source/utils/net_rpc_samsync.c === RCS file:

Re: setdriver failes

2003-03-19 Thread Jelmer Vernooij
On Wed, Mar 19, 2003 at 10:23:21AM +0100, Patrik Carlsson wrote about 'setdriver failes': Hi List.. I have earlier posted my problem to the [EMAIL PROTECTED], but got no answer... So I try this list now... Please forgive me if I'm on the wrong list, but I really need this to work.. So, my

Re: Browsing across subnets without WINS

2003-03-19 Thread Alex @ Avantel
On March 18, 2003 10:53 pm, Christopher R. Hertel wrote: The first comment/correction/suggestion is that there needs to be a *lot* better understanding of the workings of the NBT namespace. Agree with that for sure - look forward to the book. You don't need WINS replication (but JF has been

Re: Browsing across subnets without WINS

2003-03-19 Thread Steve Langasek
On Wed, Mar 19, 2003 at 09:30:18AM -0500, Alex @ Avantel wrote: It's my understanding that this problem has been solved with the MS approach to browsing the WAN - what is the limitation in samba that prevents that from working? AFAIK it's either the limitation of the samba LMB/DMB or name

net rpc vampire doesn't copy interdomain trust accounts

2003-03-19 Thread Ronan Waide
Currently the code does the following checks: if the account is ACB_WSTRUST or ACB_SRVTRUST, set up to create a machine account else if it's ACB_NORMAL, set up to create a normal account else error unknown account type This currently fails for ACB_DOMTRUST. I'm not sure what the

Re: adddriver RPC

2003-03-19 Thread Ronan Waide
On March 19, [EMAIL PROTECTED] said: Firstly, you first said that it expects the files in the w32x86/win40 directories. Oh, hmm, you're right. Sorry. The files go into the w32x86/win40 directories, but not into the 2/ or 0/ subdirectories of those. My mistake. Cheers, Waider. -- [EMAIL

RE: rd /s, can't find the file specified (internal reference b1996)

2003-03-19 Thread Richard Sharpe
On Wed, 19 Mar 2003, Nir Soffer wrote: On Wed, 19 Mar 2003, Nir Soffer wrote: I can't reproduce this at all on a recent (CVS) build of SAMBA_3_0. Can you give me more details on *exactly* how you reproduce it please ? What I did was simply do, on the unix side:

RE: rd /s, can't find the file specified (internal reference b1996)

2003-03-19 Thread Richard Sharpe
On Wed, 19 Mar 2003, Nir Soffer wrote: On Wed, 19 Mar 2003, Nir Soffer wrote: I can't reproduce this at all on a recent (CVS) build of SAMBA_3_0. Can you give me more details on *exactly* how you reproduce it please ? What I did was simply do, on the unix side:

Re: rd /s, can't find the file specified (internal reference b1996)

2003-03-19 Thread jra
On Wed, Mar 19, 2003 at 10:28:59AM +0200, Nir Soffer wrote: Okay. I was being stupid. Very very stupid, and I apologize. Turns out mangled filenames was disabled. But is this the expected error when manged filenames are disabled? Obviously :-). I'll take a look at what the semantics should

Re: [PATCH] IDMAP Backend part 1 of 2 (LDAP library)

2003-03-19 Thread Anthony Liguori
Connecting to an ADS server is slightly different than connecting to a normal LDAP server (over TLS or something). I would say that all of the LDAP connection code should be abstracted together but the libads abstracts away even the LDAP connects to just a plain ads_connect(). The only change

Re: Browsing across subnets without WINS

2003-03-19 Thread Steve Langasek
On Wed, Mar 19, 2003 at 11:07:08AM -0600, Christopher R. Hertel wrote: On Wed, Mar 19, 2003 at 10:06:39AM -0600, Steve Langasek wrote: On Wed, Mar 19, 2003 at 09:30:18AM -0500, Alex @ Avantel wrote: : No need to - been there, done that, it works. The limitation is still the same - IF

Re: Browsing across subnets without WINS

2003-03-19 Thread Christopher R. Hertel
On Wed, Mar 19, 2003 at 11:22:51AM -0600, Steve Langasek wrote: : The point is, though, that to have multiple workgroups you need to have multiple LMBs. The problem comes from using Win9x as an LMB, since Win9x does NOT do its job of exchanging browse lists with the DMB. I would love to

Re: net rpc vampire doesn't copy interdomain trust accounts

2003-03-19 Thread Andrew Bartlett
On Thu, 2003-03-20 at 03:47, Ronan Waide wrote: Currently the code does the following checks: if the account is ACB_WSTRUST or ACB_SRVTRUST, set up to create a machine account else if it's ACB_NORMAL, set up to create a normal account else error unknown account type This

Re: [PATCH] IDMAP Backend part 1 of 2 (LDAP library)

2003-03-19 Thread Andrew Bartlett
On Thu, 2003-03-20 at 06:27, Anthony Liguori wrote: Connecting to an ADS server is slightly different than connecting to a normal LDAP server (over TLS or something). I would say that all of the LDAP connection code should be abstracted together but the libads abstracts away even the LDAP

spoolss_io_devmode: Unknown specversion in devicemode [0xdc]

2003-03-19 Thread daniel . jarboe
spoolss_io_devmode: Unknown specversion in devicemode [0xdc] spoolss_io_devmode: please report to [EMAIL PROTECTED] Samba 2.2.8, when uploading the driver found here: http://www.kyoceramita.com/download/KX200131.exe (Kyocera Mita - KX anything) I upload the driver from the manufacturer's .inf

Re: patch for logon time on samba3.0 alpha22

2003-03-19 Thread jra
On Thu, Mar 20, 2003 at 08:36:10AM +1100, Andrew Bartlett wrote: On Thu, 2003-03-20 at 01:38, Jianliang Lu wrote: Hi, I've patched the samba3.0 alpha22 for logon_time, now the user's logon time is updated when he logs on successfully. In attachment is the patch. Does NT do this only

Problem in listing print drivers in WinXP

2003-03-19 Thread Sanjay . Wangoo
Hi, I am resending this mail. Hope this time you find time out of your busy schedule. Thanks -Sanjay * previous mail Hi, I am facing strange problem with Windows-XP and samba 2.2.7a. Every thing was working just fine with Win2000, but with WinXP I am

Re: patch for logon time on samba3.0 alpha22

2003-03-19 Thread Andrew Bartlett
On Thu, 2003-03-20 at 08:56, [EMAIL PROTECTED] wrote: On Thu, Mar 20, 2003 at 08:36:10AM +1100, Andrew Bartlett wrote: On Thu, 2003-03-20 at 01:38, Jianliang Lu wrote: Hi, I've patched the samba3.0 alpha22 for logon_time, now the user's logon time is updated when he logs on

RE: Compiling samba 2.2.8 on HP-UX 11.00 - conflicting

2003-03-19 Thread Adam Fox
Thanks Eric, that fixed one of the functions. The functions are declared as: in stdio.h: extern int snprintf(char *, __size_t, char *,...); extern int vsnprintf(char *, __size_t, const char *, __va__list); in snprintf.c: int vsnprintf (char *str, size_t count, const char *fmt, va_list

[Patch] fix for sids new to winbind always map to a uid

2003-03-19 Thread Chere Zhou
Since the current sid_to_uid does not check for sid type, but sid_to_gid does, and for the purpose of supporting foreign sids, I needed to switch the order of calling sid_to_uid and sid_to_gid in posix_acl.c. If anybody had similar problem as me, this patch should help you. The original

RE: What to do when Windows client asks you to set permissions thatyou can't?

2003-03-19 Thread Ken Cross
Richard: By all means, leave them not trusting the file system. ;-) Seriously, we have a similar situation, where we have almost-Windows ACLs. It's a continuing problem. However, we've found it best to do whatever is appropriate to avoid alarming the user. Typically, this means silently

Re: samba: group sid user sid

2003-03-19 Thread Richard Sharpe
On Wed, 19 Mar 2003, David Gaston wrote: Mr. Sharpe, That's Richard to most folks ... Our university computer science department systems groups has recently used samba-3.0alpha22 to aid in merging our unix windows NT environments. Older accounts created before the merge grab the old sid

Re: What to do when Windows client asks you to set permissions thatyou can't?

2003-03-19 Thread Richard Sharpe
On Wed, 19 Mar 2003, Christopher R. Hertel wrote: On Wed, Mar 19, 2003 at 01:59:52PM -0800, Richard Sharpe wrote: Hi, A question I have relating to ACLs is the following: What should you do (In Samba etc) if you get an ACE in an ACL where the ACE contains permission bits that you

What permissions do you need to read a fike on Win2K?

2003-03-19 Thread Richard Sharpe
Hi, After doing some testing of Win2K permission bits, I find that you need READ_DATA and READ_EXTENDED_ATTRIBUTES to be able to read a file under Win2K. Can anyone confirm that? Similarly, you need WRITE_DATA, WRITE_ATTRIBUTES and WRITE_EXTENDED_ATTRIBUTES to be able to write a file.

RE: What permissions do you need to read a fike on Win2K?

2003-03-19 Thread Ken Cross
Right. In smbd/posix_acls.c the definition: #define FILE_SPECIFIC_WRITE_BITS (FILE_WRITE_DATA|FILE_APPEND_DATA|FILE_WRITE_EA|FILE_WRITE_ATTRIBUTES) is used to set the required perms in the ACL. Ken Ken Cross Network Storage Solutions Phone 865.675.4070 ext

Re: Samba on OSX 1.2.4

2003-03-19 Thread jra
On Wed, Mar 19, 2003 at 03:27:49PM -0800, Abrahim Kalehzan wrote: Hi there, I'm running Samba 2.2.3 on Apple OS X 10.2.4. Is there any patches or upgrade to go to Samba 2.2.8 for Apple OS X 10.2.4? Apple will be releasing one shortly (not to pre-announce for them). I sent them a custom

[PATCH] IDMAP LDAP Backend 2of2

2003-03-19 Thread Anthony Liguori
This is the second part of the IDMAP LDAP Backend patch. It requires the previous patch in order to compile. Please take special note of the schema changes as they have broader implications. I've tried to design the schema such that it can painlessly be extended for future pdb group mapping.

Re: [PATCH] IDMAP LDAP Backend 2of2

2003-03-19 Thread Stefan (metze) Metzmacher
At 21:44 19.03.2003 -0600, Anthony Liguori wrote: This is the second part of the IDMAP LDAP Backend patch. It requires the previous patch in order to compile. Please take special note of the schema changes as they have broader implications. I've tried to design the schema such that it can

Re: patch for logon time on samba3.0 alpha22

2003-03-19 Thread Jianliang Lu
On Thu, 2003-03-20 at 01:38, Jianliang Lu wrote: Hi, I've patched the samba3.0 alpha22 for logon_time, now the user's logon time is updated when he logs on successfully. In attachment is the patch. Does NT do this only for file-share connects? Or also for Domain logons? If