Re: New modules system and vfs_done

2003-03-31 Thread Simo Sorce
yesterday ... I agree we should have to way to startup and shutdown the modules, as we have to way to load it (preload and fork). This is mandatory for modules that uses databases or other repository they connect to through a socket or other communication mechanism. Simo. -- Simo Sorce - [EMAIL

Re: New modules system and vfs_done

2003-03-31 Thread Simo Sorce
On Mon, 2003-03-31 at 12:25, Simo Sorce wrote: Eh, the shutdown stuff was just a thing, I was thinking yesterday ... I agree we should have to way to startup and shutdown the modules, as we have to way to load it (preload and fork). to - two This is mandatory for modules that uses databases

Re: Patch for Bad Password Attempt Lockout, samba3.0a22.

2003-03-27 Thread Simo
You can already do that through pam_tally, what does your approach add ? Simo. On Thu, 2003-03-27 at 15:34, Jianliang Lu wrote: I have implemented the bad password attempt lockout policy. If an user attempt with the bad password more than the count setted in the policy, then his account

Re: very interesting!

2003-03-21 Thread Simo Sorce
this feature! 90% of time I attach a gdb to get a backtrace, it wuold also speed up development imho. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. - http://www.xsec.it via Durando 10 Ed. G - 20158 - Milano mobile: +39 329 328 7702 tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc

Re: Extended Attributes and Hidden, System, Archive attrs?

2003-03-21 Thread Simo Sorce
the code so that it support both the old and this method. Will it be in 2.2.x serie? I think it will not. But I think Jeremy can better answer you on this one. Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. - http://www.xsec.it via Durando 10 Ed. G - 20158 - Milano mobile: +39 329 328 7702

Re: [PATCH] groups in ldap

2003-03-18 Thread Simo Sorce
I have to object to this code sorry. We need group handling in ldap for sure, but not group mapping (mapping should be a very secondary part of group support, like username map for users. Using the group mapping approach will make very hard for us to upgrade to the right way in future. Simo

Re: [PATCH] groups in ldap

2003-03-18 Thread Simo Sorce
of mapping the whole thing, and on (file) systems that may support SIDs directly IDMAP will probably be completely bypassed and will not exist. Simo. On Tue, 2003-03-18 at 10:30, Volker Lendecke wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Using the group mapping approach will make very hard

Re: [PATCH] groups in ldap

2003-03-18 Thread Simo Sorce
in the conf to tell samba which of the 2 (passdb or system) to look for group membership until the new code is ready. Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. - http://www.xsec.it via Durando 10 Ed. G - 20158 - Milano mobile: +39 329 328 7702 tel. +39 02 2399 7130 - fax: +39 02 700 442 399

RE: (fwd) amigasamba?

2003-03-14 Thread Simo Sorce
CL! On Thu, 2003-03-13 at 23:08, Ulf Bertilsson wrote: I look into this in a few days. Use www.birrabrothers.com/tiger/data/samba as mirror I'm on vacation and don't have the info here. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. - http://www.xsec.it via Durando 10 Ed. G - 20158

Re: Error messages generated by passdb/pdb_smbpasswd.c are(almost) useless

2003-03-14 Thread Simo Sorce
that telling the entry line number could be a good idea. Simo. On Fri, 2003-03-14 at 07:55, Richard Sharpe wrote: Hi, Someone asked me what some messages like getsmbfilepwent: malformed password entry (uid not number) meant when using the smbpasswd command. Not knowing, I went searching the source

Re: New approach for winbind to match Windows to UNIX users andback

2003-03-13 Thread Simo Sorce
that we don't know the 'real' primary group of every user for NT4 domains, when doing a getgrent(). Instead we assume 'domain users'. This would allow us to always know that value. No, that's not right, we must have a Primary Group in local passdb and use Domain Users as a fallback. Simo

Re: Samba 3.0 Alpha22 + AD Domain, RedHat Kerberos Problems

2003-03-11 Thread Simo Sorce
the fact is that, imho, MS can't (haven't looked too colsely, but I had to change the password too as tridge howto on ads say). When you make a server be an ADS it simply makes an upgrade and it does not have the clear text password to do all the other encryptions. Simo. On Tue, 2003-03-11

Re: Restricting delete on a share?

2003-03-10 Thread Simo Sorce
Jeremy, the best way you can accomplish this is to build a custom VFS module. It is really easy to build such module and you only need to intercept and discard any unlink operation. regards, Simo. On Mon, 2003-03-10 at 07:04, Jeremy M. Dolan wrote: Hi all. Management here wants to restrict

HEAD: PDC or BDC?

2003-03-10 Thread Simo Sorce
; } break; default: DEBUG(0, (Server's Role undefined due to unknown security mode\n)); break; Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399

Re: Detecting Windows OS Version through Samba

2003-03-05 Thread Simo Sorce
We have a specific exapansion variable that may be used inside smb.conf to be replaced by remote OS signature, I cannot remember how it works out which OS is on the other side or how accurate it is. Look into smb.conf and search for %a Simo. On Wed, 2003-03-05 at 18:52, Agis Andreou wrote

Re: IDMAP backend

2003-02-21 Thread Simo Sorce
I agree, Stefan suggestions are good. Simo. On Fri, 2003-02-21 at 07:52, Stefan (metze) Metzmacher wrote: Hi Jim, Anthony, It's nice to see that someone is working on the idmap backend stuff :-) But I'm REALLY NOT FINE with a parameter name 'winbind backend' for this!!! winbind backends

Re: [PATCH] fix vfstest.c

2003-02-19 Thread Simo Sorce
On Wed, 2003-02-19 at 22:35, Stefan (metze) Metzmacher wrote: torture/vfstest.c we should use conn_new() instead of use malloc() Right! Applied. Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399

Re: interesting fact about StrCaseCmp

2003-02-18 Thread Simo Sorce
Look at other parts in the code, a nice idea is to compare character by character until the string is an ASCII one, as soon as we detect a non ascii character we revert to the standard method and re-compare the strings, Tridge has gained very good optimizations with this twchnique. Simo. On Tue

Re: Samba 3.0: vfs_netatalk.c

2003-02-12 Thread Simo Sorce
Have you checked we do not have a replacement function? Generally we do such function sys_something when we found system missing a needed function. Simo. On Tue, 2003-02-11 at 22:00, Anthony Liguori wrote: One catch is that there is a difference between BSD and System V implementations

Re: LSA Privileges

2003-02-09 Thread Simo Sorce
On Sun, 2003-02-09 at 11:52, Simo Sorce wrote: Yes, that what I , and before me Jean Francois, tought about that. Furthermore I think the while it is certainly a possibility that MS programmers made the transfer by string as a mistake, in realty I think it has been on purpose, so

Re: A Union of two directories

2003-02-04 Thread Simo Sorce
files _not_ present in user directory are taken from the background dir, so that user created one are in foreground. Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description

Re: A Union of two directories

2003-02-03 Thread Simo Sorce
The best thing you can do is to make a custom VFS module. Look in the source and example/VFS directoryes of samba source code. Good Luck, Simo. On Mon, 2003-02-03 at 15:29, Arthur Barrett wrote: Hi All! I am new to Samba and this group and I have a question... My company wants to make

Re: REPOST: Meaning of tdb_free: left read failed at ...?

2003-02-02 Thread Simo Sorce
On Sun, 2003-02-02 at 15:58, Ralf G. R. Bergs wrote: On Sun, 02 Feb 2003 14:47:11 +0100, Simo Sorce wrote: you can try to delete unexpected.tdb it does not hold any vital information. The problem has reappeared even after I removed the above file: Feb 2 11:18:29 Fileserver nmbd

Re: Bug in nmbd_become_dmb.c (CVS 1.7 3.somehting) [patch]

2003-01-28 Thread Simo Sorce
the old user security = share obviously it makes no sense to use the user security option if you have a server role. Simo. On Tue, 2003-01-28 at 10:15, Volker Lendecke wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 server role = share|server|member|PDC|BDC|ADS So what would

Re: Bug in nmbd_become_dmb.c (CVS 1.7 3.somehting) [patch]

2003-01-27 Thread Simo Sorce
I still think we _need_ to introduce a server role paramter, leaving the other active for tuning, but so that new admins will not get mad to have a decent configuration. server role = share|server|member|PDC|BDC|ADS or something like that. Simo. On Mon, 2003-01-27 at 23:20, Steve Langasek

RE: Samba 2.999+3.0.alpha21-3 User Dissapears

2003-01-14 Thread Simo Sorce
uhmm I'm interested in this one. but I have not understood what happened, exactly. launch pdbedit with -d 5 option so that you get debugging on stdout and maybe use tee to store a log of your operations plus logs. thanks, Simo. On Tue, 2003-01-14 at 23:38, Irving Carrion wrote: Sorry, tdb

Re: delete on close problems

2003-01-06 Thread Simo Sorce
if not testing the same against an NT/2k server. If the same happens there, then it is normal. Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description: This is a digitally signed message part

Re: Patch for unix extensions

2003-01-02 Thread Simo Sorce
On Wed, 2003-01-01 at 21:35, Steve Langasek wrote: On Wed, Jan 01, 2003 at 01:01:19PM +0100, Simo Sorce wrote: My idea was this: let make it so taht if unix extensions are enabled, then we NEVER resolve the links if we permit link creation. If we do not want to have it so rigid, we may

Re: [PATCH] parametric options

2003-01-02 Thread Simo Sorce
talloc_free() and talloc_realloc_strdup() Does anybody else has an opinion on that??? If you want to use talloc you do not want to manage memory If you want to manage memory you do not want to use talloc Simo. -- Simo Sorce- [EMAIL PROTECTED] Samba Team- http://www.samba.org Italian

Re: Patch for unix extensions

2003-01-02 Thread Simo Sorce
On Thu, 2003-01-02 at 18:00, [EMAIL PROTECTED] wrote: On Wed, Jan 01, 2003 at 01:01:19PM +0100, Simo Sorce wrote: My idea was this: let make it so taht if unix extensions are enabled, then we NEVER resolve the links if we permit link creation. So if unix extensions are true, then all

Re: Patch for unix extensions

2003-01-01 Thread Simo Sorce
. Then if you do a normal call, the link will be honoured only if inside the exported file system. This way the trick cannot work, and unix applications (or setups) that rely on symlinks to work well are happy. Simo. On Tue, 2002-12-31 at 20:48, [EMAIL PROTECTED] wrote: On Tue, Dec 31, 2002 at 10:36:33AM

Re: Patch for unix extensions

2002-12-31 Thread Simo Sorce
link creations and also returns link as is instead of resolving them. I think a proper unix-like file system should be able to return links. Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc

Re: BUG, PATCH: Signed/unsigned mismatch causes Samba to missdisk-full condition.

2002-12-31 Thread Simo Sorce
Thank you, I've fixed it in HEAD, 3.0 and 2.2 cvs branches Simo. On Tue, 2002-12-31 at 10:07, Ray Simard wrote: This was discovered, and the correction tested, on a, i386 Linux box, kernel 2.4.18. Samba version is 2.7.7a, patched from 2.2.6 pristine source. In smbd/reply.c reply_writebraw

Re: pdbedit segfaults in SAMBA_3_0

2002-12-21 Thread Simo Sorce
On Sat, 2002-12-21 at 22:26, Bradley W. Langhorst wrote: On Tue, 2002-12-17 at 04:06, Simo Sorce wrote: Can you send a backtrace? Mine does not segfault (tough I'm using head not 3.0) Simo. simo: how are you testing it? I just rebuilt from SAMBA_3.0 (no debian patches or anything

Re: Bug in reply_write_and_X?

2002-12-11 Thread Simo Sorce
hitting any filesize limit. Maybe setting FILE_ATTRIBUTE_SPARSE would do it. Another approach... is there a Windoze/filesystem combo with a filesize limit of 4G or less? That would make this easy. Try with a FAT filesystem, it should have a limit of 2 or 4 GB Simo. -- Simo Sorce - [EMAIL

Re: patch submission procedure help

2002-12-11 Thread Simo Sorce
Scott, samba-techincal is ok for patches, but please send them in diff -u format next time, so that they are easier to handle. Simo. On Wed, 2002-12-11 at 21:05, Scott Hammond wrote: Hello, Im a newbie developer and Ive submitted a patch to this list a few days ago. Is this the best

Re: A registry editor taking shape ...

2002-12-09 Thread Simo Sorce
out of it a library like in the case of smbclient so that a gtk interface similar to regedit can be built. :-) Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description

Re: Handling of 8,3 names on a NetApp

2002-12-03 Thread Simo Sorce
seem a poor hashing algorithm like the one present in w2k. Simo. On Tue, 2002-12-03 at 07:19, Richard Sharpe wrote: Hi, It seems that netapp generates something approaching line noise for 8,3 names after a certain number of names that differ after char 8 have been created: smb: \usr10

Re: dir_check_ftype fixes??

2002-12-02 Thread Simo Sorce
I also have a bug report about problems with xcopy and 2.2.7 I think we should really check if it is something we break. Simo. On Mon, 2002-12-02 at 13:02, [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Steve all! In dir.c Jeremy added the following fix

Re: 2nd attempt: Modify location of printerdriverfiles

2002-11-28 Thread Simo Sorce
eg: path = /usr/share/samba/%G/drivers and have a pool of printers per group or other parameter. Simo. On Thu, 2002-11-28 at 11:21, Kätzler, Ralf wrote: Hi! Maybe this time someone can give me a hint - or is my english that bad - so that nobody can catch the point - or my question

Re: RE RE: 2nd attempt: Modify location of printerdriverfiles

2002-11-28 Thread Simo Sorce
someone is happy to implement the needed variables to the samba-core?? :) The moto would be: Power is nothing without control Simo: Thanks for your answer. Have a nice day. Ralf -Ursprüngliche Nachricht- Von: Simo Sorce [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 28

Re: Problemas

2002-11-26 Thread Simo Sorce
to understand the question in deep. regards, Simo. On Tue, 2002-11-26 at 07:35, Ivan Malecki wrote: Tengo un samba de PDC en la red, y los ordenadores corriendo un w2k, mi problema es que lo tengo todos en un dominio, y cuando quiero que un w2k se una al dominio, no me deja, llegue a leer que hasta la

Re: vfs interface - ioctl question

2002-11-25 Thread Simo Sorce
this is a good idea. How would you like to use these ioctl then? Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description: This is a digitally signed message part

Re: witch dialect i can use

2002-11-22 Thread Simo Sorce
the only Windows clients that can talk to 445 are W2K and WXP). -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description: This is a digitally signed message part

Re: Write down the migration document

2002-11-09 Thread Simo Sorce
find the sintax for the command in man pages... thank you very much, to all of you. Bye Tommaso Di Donato -- Simo Sorce - [EMAIL PROTECTED] Samba Team - http://www.samba.org

Re: net rpc vampire migration

2002-11-05 Thread Simo Sorce
Richard, do you confirm NTUSER.DAT files works ok after that change? Simo. On Tue, 2002-11-05 at 18:56, Richard Sharpe wrote: On Tue, 5 Nov 2002, Guillaume LACHENAL wrote: I've just downloaded HEAD from cvs and code is currently under compilation on my personal testing box (no hardware

Re: Samba PDCs/BDCs and Trusts WAS: auth to two diff PDCs? (success, sort of)

2002-10-29 Thread Simo Sorce
There's another poor man way. Use the classic smbpasswd file and use rsync to sync the file periodically with a cron (of course you'll miss the ability to have things promptly synced but generally this is a good enough solution for many environments). Simo. On Tue, 2002-10-29 at 17:23, Steve

Re: Winbind doesnt enumerate more than one group from an AD domain

2002-10-25 Thread Simo Sorce
as NT) does exist in w2k and are different from domain local groups. I'm sorry I'm not able anymore to find the article on msdn :-( Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc

Re: why doesn't the kernel enforce oplocks? (was: Re: [Samba] Re:How Samba let us down)

2002-10-24 Thread Simo Sorce
means they should use locks the right way. And then the klernel forces cooperation. I dunno if vi cooperates, but samba surely can cooperate, as samba respect locks. Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700

Re: SMBClient - Messenger service

2002-10-22 Thread Simo Sorce
We are always interested in things that add functionality into samba. If you wish to send some patches we can look at, you are welcome. Simo. On Tue, 2002-10-22 at 16:56, David Lee wrote: Why SMBClient sends winpopup messages with multi-block message, and not single block message Where I

Re: Coming round to SURS...

2002-10-22 Thread Simo Sorce
years ago. Well that's true nobody say it different. Problem is that solving it 3 years ago was not possible to do properly, too many pieces of code were missing or were not stable and usable at a point that implementing it 3 years ago would have simply be a waste of time. with sincere esteem, Simo

Re: apologies

2002-10-18 Thread Simo Sorce
. Do you want that every user is in every domain? and only non_unix_account users are in one domain? Ever heard of trusted domains?? -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc

Re: file locking question: Unix/NT environment

2002-10-18 Thread Simo Sorce
call? Is there something I missed? Or is there something in samba.conf I should tweak? I'm fairly new to Samba, thanks for any help. - Jinhai Yang Triant Technology Inc. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39

Re: [Samba] upgrade to 3.0alpha20: accented chars in filenamesunreadable

2002-10-17 Thread Simo Sorce
This is the proper way! If you have to maintain compatibility, you set the unix charset to be a code page instead of unicode. Or you mean you want a way to make samba recognize which kind of charset have been used previously and support both the former and utf-8 at the same time? Simo. On Thu

Re: Commit my stuff to 3.0?

2002-10-14 Thread Simo Sorce
before the vampire (eg. cifs 2001 at least), vampire is only the last one. Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description: This is a digitally signed message part

Re: Commit my stuff to 3.0?

2002-10-14 Thread Simo Sorce
also like this idea. I already implemented it for groups, so why not for users as well. Work to do :-) that's the way to go. simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description

Re: Commit my stuff to 3.0?

2002-10-13 Thread Simo Sorce
the admin does not map the suers, the unmapped uids shuld simply not be mapped, and an error sent into the log (we may also think of an automatic mapping for NAS products, and lazy admins ;) Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399

Re: Commit my stuff to 3.0?

2002-10-13 Thread Simo Sorce
sitting in courses. For this simplicity is really important. Yes, we need a simple solution, but I'm not sure there is one... Isn't idmap the right place to go? -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399

Re: Commit my stuff to 3.0?

2002-10-13 Thread Simo Sorce
) uses idmap uid = idmap gid = to export mappings to samba (and maybe later also to unix via winbind) Makes no sense, we need only a single idmap that handles all sid-[u,g]id [u,g]id-sid, splitting it into pieces is the most wrong thing we may do. Simo. -- Simo Sorce - [EMAIL PROTECTED

Re: Commit my stuff to 3.0?

2002-10-13 Thread Simo Sorce
On Sun, 2002-10-13 at 14:58, Andrew Bartlett wrote: Simo Sorce wrote: Isn't idmap the right place to go? I think so. And I think we can construct one that makes sense for admins. For example, we could contstruct an LDAP based one that uses the uidNumber on the user's LDAP record. I

Re: VFS modules?

2002-10-09 Thread Simo Sorce
yep, see samba/examples/VFS/ there are few modules here, Simo. On Wed, 2002-10-09 at 19:38, Kris Van Hees wrote: Has anyone implemented a VFS module already? It does not seem that there are any as part of the CVS HEAD version, and I could not find a reference to any on the web site

Gums (Groups and Users Managent System)

2002-10-07 Thread Simo Sorce
for a 0.1 version for my standards :-) Enjoy, Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 diff -uPr cvs.samba.org/samba/source/gums/gums.c source/gums/gums.c --- cvs.samba.org/samba/source/gums/gums.c Thu

Re: [PATCH] sam backend parameter

2002-10-03 Thread Simo Sorce
On Thu, 2002-10-03 at 03:01, Andrew Bartlett wrote: Simo Sorce wrote: Plus I have some questions about the current sam interface: - what is all the context thing needed for? I don't like global variables, and this allows us to construct seperate contexts for operations like sam2sam

Re: [PATCH] sam backend parameter

2002-10-03 Thread Simo Sorce
On Thu, 2002-10-03 at 07:22, Jelmer Vernooij wrote: On Thu, Oct 03, 2002 at 12:16:53AM +0200, Simo Sorce wrote about 'Re: [PATCH] sam backend parameter': yes a thing I'm not sure has ever been a good idea. to be able to have sam2sam that is really read a backend + store all info

Re: [PATCH] sam backend parameter

2002-10-03 Thread Simo Sorce
the status quo? We have to fix passdb or sam, just let decide on which one we should work on or go for a third way. Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description: This is a digitally

Re: [PATCH] sam backend parameter

2002-10-03 Thread Simo Sorce
. Algorithmic mapping should go away completely imho. Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description: This is a digitally signed message part

Re: [PATCH] sam backend parameter

2002-10-03 Thread Simo Sorce
On Thu, 2002-10-03 at 12:34, Andrew Bartlett wrote: Simo Sorce wrote: It is all a question on how and where you use them. ^^ Except that global variables are particularly nasty in C - we don't have an autoprototyper on them, and we cannot

Re: Explaining the new SAM

2002-10-03 Thread Simo Sorce
to this vision, following too much the samr interface make us only more unfriendly to the rest of samba code, that need much greater flexibility as you recognized. Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399

Re: --wuth-tdbsam ?

2002-09-27 Thread Simo Sorce
a mismatch between smbpasswd and the other backends (again...). This is a non problem, we only need to set all the defaults to behave like smbpasswd would do. So no expiration at all, the administrator will after that chose if he wants to set such policies. Simo. -- Simo Sorce - [EMAIL PROTECTED

Re: removing group_rid from SAM_ACCOUNT rules outnon-unix-accounts:-(

2002-09-27 Thread Simo Sorce
of relegating the possibility in an module is wrong imho. Plus I recently found another big problem in the interfaces that have to do with race conditions, but that's another story ... Simo. On Fri, 2002-09-27 at 12:51, Andrew Bartlett wrote: Simo Sorce wrote: And in my honest opinion we should get

Re: Using winbind with Wine

2002-09-26 Thread Simo Sorce
into wine. Simo. On Thu, 2002-09-26 at 13:47, Martin Wilck wrote: Am Mit, 2002-09-25 um 19.38 schrieb Richard Sharpe: I do not think that libsmbclient is the right way to do this. I think that the correct way is to make the various Samba client RPC libaries available as separate DSOs so

Re: approaching release of 3.0alpha20

2002-09-25 Thread Simo Sorce
I think we should never put a NULL value in function handlers, but always a stub function !! Simo. On Wed, 2002-09-25 at 13:32, Stefan (metze) Metzmacher wrote: At 10:01 23.09.2002 -0500, Gerald Carter wrote: Everyone, I would like to do another alpha snapshot release of the 3.0 code base

Re: approaching release of 3.0alpha20

2002-09-25 Thread Simo Sorce
Yes, returning always NT_STATUS_NOT_IMPLEMENTED is the way to go imho. Simo. On Wed, 2002-09-25 at 15:18, Jelmer Vernooij wrote: Then that would be a function that always returns False / NT_STATUS_NOT_IMPLEMENTED - I think the system can figure that out as well... On Wed, Sep 25, 2002

Re: approaching release of 3.0alpha20

2002-09-25 Thread Simo Sorce
On Wed, 2002-09-25 at 15:48, Stefan (metze) Metzmacher wrote: At 23:34 25.09.2002 +1000, Andrew Bartlett wrote: Simo Sorce wrote: Yes, returning always NT_STATUS_NOT_IMPLEMENTED is the way to go imho. This is in the old pdb code, so we don't have NTSTATUS there yet - so for there I

Re: logon problem

2002-09-18 Thread Simo Sorce
Samba never runs scripts!! From my memory I remember that you have to teel win2k you want to run a sript at startup, I think you can do that modifying the user profile. Simo. On Wed, 2002-09-18 at 16:13, Shane Tapper wrote: Im desperate. I have set the appropriate path for a logon script

Re: nmbd sends SYN packet to external Network address

2002-09-12 Thread Simo Sorce
). Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description: This is a digitally signed message part

Re: Sanity check.

2002-09-10 Thread Simo Sorce
It come me to mind that recentely we changed the code to check the packet is really an smb packet by checking the header field for the SMB. string, so I suppose samba will not support RAW calls anymore too. Simo. On Tue, 2002-09-10 at 06:49, Christopher R. Hertel wrote: Just a quick sanity

Re: Bug in cli_samr_get_dom_pwinfo ad Win2k Server (PR#25465)

2002-09-10 Thread Simo Sorce
, to preserve critical resources of the team. Thank you all, Simo. On Tue, 2002-09-10 at 16:03, [EMAIL PROTECTED] wrote: Hi, I would like to change a user's password using SamrChangePasswordUser. It looks as if I will have to implement this function, but the prequiste call

Re: mangling scheme

2002-09-09 Thread Simo Sorce
some code for a tdb based persistent mangling db that could help but it is not ready yet and broken in little pieces part of new code and part of code from an older not very good implementation. Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02

Re: mangling scheme

2002-09-09 Thread Simo Sorce
installations do save 8.3 paths in registry after the system has told them which is the mangled name, so may be you can simply tweak your registry to reflect the correct name. Simo. On Mon, 2002-09-09 at 10:26, Lucas Correia Villa Real wrote: On 09 Sep 2002 09:27:21 +0200 Simo Sorce [EMAIL PROTECTED

Re: sed: can't read ./../examples/VFS/block/Makefile.in: No suchfile or directory

2002-09-07 Thread Simo Sorce
Sorry forgot to commit configure after configure.in but to solve this problem you only need to execute autoconf anyway. Committed now. Thanks, Simo. On Sat, 2002-09-07 at 18:43, Stefan (metze) Metzmacher wrote: Hi Simo, you removed this files...please fix this creating ../examples/VFS

Re: trusted domains patch n+3

2002-09-06 Thread Simo Sorce
, then we replace it with our own domain. We may still need their original username/domain for authenticaion (NTLMv2 comes to mind in particular), hence why we keep both. What are you trying to do there? Why should we replace a domain name with another??? Simo. -- Simo Sorce - [EMAIL PROTECTED

Re: trusted domains patch n+3

2002-09-06 Thread Simo Sorce
Ok, that was clear, what I want to ask, is: why should we try to logon a user that provides bad information? Shouldn't we simply deny it with an error? How do NT behaves in such situations? Simo. On Sat, 2002-09-07 at 00:42, Andrew Bartlett wrote: Rafal Szczesniak wrote: On Fri, Sep 06

Re: Maximum number of mounts ?

2002-09-06 Thread Simo Sorce
I think you are mounting against a workstation. Keep in mind microsoft permit only 10 concurrent access to their workstation OS, if you need more you must buy a server OS and licenses if you have more than 5 clients. Simo. On Sat, 2002-09-07 at 01:54, root wrote: I'm currently using Samba

Re: bug in debug.c

2002-09-01 Thread Simo Sorce
() tries to access it with its local point (still pointing to the old DEBUGLEVEL_CLASS) it crashes as it accesses it out of bounds. What is the best solution to this problem. Can debug_parse_params() just use the global version? Kai -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed

Re: Man Pages and code mismatches ... with respect to name mangling

2002-09-01 Thread Simo Sorce
We should update the man page with description on different mangling methods. Simo. On Sat, 2002-08-31 at 23:44, Richard Sharpe wrote: Hi, I notice that the code (at least for mangling method = hash2) does different things to what the man pages claim. Man pages say that if the file

Re: [Samba-Technical] Wrtiing files from one linux to another linux

2002-08-30 Thread Simo Sorce
to the remote end. Therefore, what we want to do is to detect whether the file had been really saved in the remote storage device and if something goes wrong we may smbmount to another remote machine then keep working. Regards, Kevin -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed

Re: [patch] client/client.c: commands reget and reput

2002-08-27 Thread Simo Sorce
Thanks, I've committed a patch that adds these commands to smbclient. I made it a bit different tough. (Also added a patch for xfile.c) Simo. On Tue, 2002-08-20 at 11:48, Josef Zlomek wrote: Hello! I have written the commands reget and reput for smbclient. When user gets/puts a large file

Re: Direct NetBIOS calls. Is it possible?

2002-08-21 Thread Simo Sorce
Look at libsmbclient within samba, but remember it is GPL! Simo. On Wed, 2002-08-21 at 15:15, Adilson Oliveira wrote: Hello guys! First of all, let me tell you that I'm a samba user and never got into the beast so excuse-me if this seen weird. I have a project to port an old DOS system

Re: WINS proxy

2002-08-21 Thread Simo Sorce
Unmanaged clients are unreliable by default. It's not something you can fix. Better you make a reason of that. Simo. On Wed, 2002-08-21 at 20:33, Alex Torkhov wrote: - Original Message - From: Bradley W. Langhorst [EMAIL PROTECTED] To: Alex Torkhov [EMAIL PROTECTED] Cc: [EMAIL

Re: WINS proxy

2002-08-21 Thread Simo Sorce
There is an easy way: if they ask for that you may simply answer that they only need to set your server as wins server. if they are asking something, they may also be willing to do something to have their requests satisfied. Simo. On Wed, 2002-08-21 at 21:26, Alex Torkhov wrote: - Original

Re: [patch] fixed some messages

2002-08-20 Thread Simo Sorce
, (double)size, lname)); + rname, (double)size, lname)); if(!(data = (char *)malloc(read_size))) { d_printf(malloc fail for size %d\n, read_size); -- Simo Sorce - [EMAIL PROTECTED] Samba Team - http://www.samba.org

Re: [2.2 patch] client/client.c: reget and reput commands

2002-08-19 Thread Simo Sorce
Interesting, but can you make a patch against head instead? Thank you, Simo. On Mon, 2002-08-19 at 19:52, Josef Zlomek wrote: Hello! I have written the reget and reput commands for samba 2.2. When user gets/puts a large file and the connection brokes the user is unhappy (s)he has

RE: Prepending \ to user name w/Win98 Domain Login

2002-08-18 Thread Simo Sorce
is win2k which passes a domain in, this code is called to lookup getpwnam(domainsepuser). Without some special module, when would a unix system ever return a positive response to this kind of lookup? see above (if that lookup fails, username alone is tested) Simo. -- Simo Sorce - [EMAIL

Re: Use less 'magic' environment variables

2002-08-17 Thread Simo Sorce
is the 'proper' way? -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description: This is a digitally signed message part

Re: case sensitive parameter - was Re: Any help would be greatlyappreciated...

2002-08-17 Thread Simo Sorce
and the wildcard file lookup could be optimized to the file system. yes of course, and there are also lot more advantages, like having a file system able to handle mangling directly. Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130

Re: Importing smbpasswd with pdbedit -i

2002-08-15 Thread Simo Sorce
I do not what's wrong in pdbedit, works fine for me (I use HEAD). Simo. On Mon, 2002-07-08 at 11:58, [EMAIL PROTECTED] wrote: Hi, I used pdbedit -i to import my old /etc/smbpasswd into a NIS+ table. pdbedit generated for Workstationaccounts entries like this: degpd060w147$:1064:3128:502

Re: FW: Fixed: queryaliasmem always fails in V2.2.5 redhat 7.3 andre dhat 7.2

2002-08-11 Thread Simo Sorce
be sent in diff -u format to [EMAIL PROTECTED] I still try to sort out as much as I can from samba-bugs, sending to the right people the messages I think are valid. Simo -- Simo Sorce - [EMAIL PROTECTED] Samba Team - http://www.samba.org

Re: Win2K resetting connections. Is there a service pack?

2002-08-02 Thread Simo Sorce
, this happens at the TCP/IP stack level not even at the NetBIOS one. Simo. On Thu, 2002-08-01 at 20:24, Christopher R. Hertel wrote: On Fri, Aug 02, 2002 at 04:49:55AM +0930, Richard Sharpe wrote: : It's the NegProt. Once the first NegProt is issued on any open TCP connection, all the others get RSTs

Re: How are capabilities like can set the time and can manageprinters handled

2002-08-02 Thread Simo Sorce
will contains all permissions and capabilities bit. Actually those implemented are done locally in the code. Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description: This is a digitally signed

  1   2   >