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 mo

Re: New modules system and vfs_done

2003-03-31 Thread Simo Sorce
up at all... 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). This is mandatory for modules that uses databases or other repository they connect to through a so

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 pol

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

2003-03-21 Thread Simo Sorce
btw, so we need to make 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 - M

Re: very interesting!

2003-03-21 Thread Simo Sorce
gt; > For the server I work on where gdb is not normally installed it would > be highly useful. It would be really nice to have 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.

Re: [PATCH] groups in ldap

2003-03-18 Thread Simo Sorce
at point you can simply go on with the current way. We may also use a switch 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

Re: [PATCH] groups in ldap

2003-03-18 Thread Simo Sorce
ink 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 mappi

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: Error messages generated by passdb/pdb_smbpasswd.c are(almost) useless

2003-03-14 Thread Simo Sorce
agree 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. >

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.xse

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

2003-03-13 Thread Simo Sorce
ain 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. -- 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: 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, 200

HEAD: PDC or BDC?

2003-03-10 Thread Simo Sorce
server_role = ROLE_DOMAIN_BDC; } 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 E

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

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

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 71

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: improved dos attribute handling

2003-02-16 Thread Simo Sorce
On Sun, 2003-02-16 at 03:19, John E. Malmberg wrote: > Does UNIX require you to have write access to a directory to modify a > file that you have write access to? No you do not need, in this case Unix and Open VMS behave exactly the same way. Simo. -- Simo Sorce - [EMAIL PROTECTED

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

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 p

Re: LSA Privileges

2003-02-09 Thread Simo Sorce
On Sun, 2003-02-09 at 02:26, [EMAIL PROTECTED] wrote: > Simo, > > > I have not investigated too much further, but if you do not see any > > further name transfer, I presume, that once the name-number pair have > > been transfered to the BDC, than the PDC can send number

Re: LSA Privileges

2003-02-08 Thread Simo Sorce
n send numbers only. That's what I found in my investigations last year. I hope this helps. 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: A Union of two directories

2003-02-04 Thread Simo Sorce
write you may choose to either fail the open or copy over the file to the user directory and use that file instead. In this situation only files _not_ present in user directory are taken from the background dir, so that user created one are in "foreground". Simo. -- Simo Sorce -

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 c

Re: HEAD and 3.0 configure broken

2003-02-02 Thread Simo Sorce
I know it is possible :-) I was only trying to make people who broke it, to repair it asap ;-) It was an SDS ("Subliminal" Developer Stimulation :-) Simo. On Sun, 2003-02-02 at 21:25, Brian Poole wrote: > Quoting Simo Sorce ([EMAIL PROTECTED]) from 2 February 2003: > >

HEAD and 3.0 configure broken

2003-02-02 Thread Simo Sorce
. Aborting config seem the HEAD and 3.0 are not able to finish ./configure can somone check what happened? 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

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 afte

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|A

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, Stev

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: > So

Re: delete on close problems

2003-01-06 Thread Simo Sorce
something is normal 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 Descripti

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 i

Re: [PATCH] parametric options

2003-01-02 Thread Simo Sorce
ice (and usefull!) to have 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] Sa

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 n

Re: Patch for unix extensions

2003-01-01 Thread Simo Sorce
d. 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

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. >

Re: Patch for unix extensions

2002-12-31 Thread Simo Sorce
We may have a parameter that when set permit 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

Re: net rpc shutdown - how to poweroff

2002-12-30 Thread Simo Sorce
Thank you Willi, unfortuately the traces is encapsulated in an ntlmssp encrypted session so I cannot see anything. Can you kindly disable ntlmssp and redo the sniff from beginning? feel free to send the sniff only to me if you fear information disclosure. Simo. On Tue, 2002-12-31 at 00:38, Willi

Re: net rpc shutdown - how to poweroff

2002-12-29 Thread Simo Sorce
(incl. authentication, SYNs, > RSTs, etc.) I'll try to work out more about that in the next few days. If you can send me the trace (ina aformate readable by ethereal) I'm interested at looking into it and see how it is done. Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r

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 reb

Re: pdbedit segfaults in SAMBA_3_0

2002-12-17 Thread Simo Sorce
Can you send a backtrace? Mine does not segfault (tough I'm using head not 3.0) Simo. On Tue, 2002-12-17 at 04:20, Bradley W. Langhorst wrote: > it has not changed from alpha21 > (which also segfaulted) > a20 did not segfault > > i'm compiling with --with-ldapsam and -

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 t

Re: Bug in reply_write_and_X?

2002-12-11 Thread Simo Sorce
up > the disk before 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

Re: A registry editor taking shape ...

2002-12-09 Thread Simo Sorce
: both And maybe it would be very nice if you can make 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

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 > cr

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 Jere

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

2002-11-28 Thread Simo Sorce
sh with HP ... maybe >we can convince them to take more care when naming there files.. > ... on the other hand maybe 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

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 poi

Re: Problemas

2002-11-26 Thread Simo Sorce
nk 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 lee

Re: vfs interface - ioctl question

2002-11-26 Thread Simo Sorce
TFS like file system > with ACL's ( Windows Acl's ) and other meta-data information then one > needs to go into SAMBA and change code. Where as if you can cleanly > re-define these interfaces then it will be much more easier to support > more complex( diverse) file systems. Y

Re: vfs interface - ioctl question

2002-11-25 Thread Simo Sorce
hat > the capabilities of underlying file systems can be reflected more > accurately in SAMBA. I'm not sure 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
t; Windows boxes (although, if you are running on port 445 only then you can > forget about W/9x, W/NT, and possibly W/Me... as far as I know 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 - Milan

Re: Write down the "migration document"

2002-11-09 Thread Simo Sorce
pc vampire, > that should extract all the infos from the old PDC. Is it right? > If so, what are the steps? I can't 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
p, probably mysql as well. > > Volker -- 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: 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 p

Re: Profile permissions ...

2002-10-30 Thread Simo Sorce
, remember special rights means different things depending on which object they are applyed on, see rpc_secdesc.h for more information on this bits for various object types. 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: 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

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

2002-10-25 Thread Simo Sorce
ocal groups (same 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

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

2002-10-25 Thread Simo Sorce
ain groups under the PDC SID ? If that's the first case, winbind > shouldn't even read them, they have no meaning outside the machine they > are defined. JF is totally right winbind should never ask for PDCs local group. But there is a third option, MS has defined an obscur

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

2002-10-24 Thread Simo Sorce
. By cooperation jra 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.

Re: Coming round to SURS...

2002-10-22 Thread Simo Sorce
ting it 3 years ago would have simply be a waste of time. with sincere esteem, 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: 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 b

Re: file locking question: Unix/NT environment

2002-10-18 Thread Simo Sorce
a NT client CANNOT lock out a Unix client, and vice > versa. > > Am I using the right 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 Ya

Re: apologies

2002-10-18 Thread Simo Sorce
a pain... > >is a real case. > > 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: +3

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: smbtorture/netbench against w2k

2002-10-14 Thread Simo Sorce
connection starts from the same IP), I do not need to say this stupid behaviour broke many natted networks. I'm sure that if you dig into this list you will also find a patch from microsoft about this problem. Needles to say that netbench from a single interface use a single ip ... Simo. On Mon, 20

Re: Commit my stuff to 3.0?

2002-10-14 Thread Simo Sorce
; I hesitated to do that, but I 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

Re: Commit my stuff to 3.0?

2002-10-14 Thread Simo Sorce
ap is all we need. Btw, this issue existed for months 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-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

Re: Commit my stuff to 3.0?

2002-10-13 Thread Simo Sorce
really think that until 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

Re: Commit my stuff to 3.0?

2002-10-13 Thread Simo Sorce
2. for our local sam (witch is also the domain sam if we are a DC) > 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 i

Re: Commit my stuff to 3.0?

2002-10-13 Thread Simo Sorce
wever, it does make more sense that > this is all handled in one place. I think we can deal with this. if you want it to be fast, better it stay in one place. 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: Commit my stuff to 3.0?

2002-10-13 Thread Simo Sorce
> the behaviour is known and documented, I would be happy. I need to > > *explain* that stuff to people 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 t

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

Gums (Groups and Users Managent System)

2002-10-07 Thread Simo Sorce
n 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.

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 autoprotot

Re: [PATCH] sam backend parameter

2002-10-03 Thread Simo Sorce
d/gid space is 32 bit as rid space so that we can go out of mapping space anyway and need to handle that situation too. 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
ody like it and is not good but you also say we should not end up using a correct solution because you want to maintain 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

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 re

Re: Explaining the new SAM

2002-10-03 Thread Simo Sorce
interface for internal use. I agree 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

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

Re: [PATCH] sam backend parameter

2002-10-02 Thread Simo Sorce
d even for multiple backend code. Simo. On Wed, 2002-10-02 at 23:56, Jelmer Vernooij wrote: > > - what is all the context thing needed for? > Sometimes we need multiple contexts. For example, when doing sam2sam. > Please notice that passdb has this as well... > > Jelmer >

Re: [PATCH] sam backend parameter

2002-10-02 Thread Simo Sorce
; users/groups mapping instead (opposed to created on the fly by winbind based accounts). Simo. On Wed, 2002-10-02 at 16:47, Jelmer Vernooij wrote: > On Wed, Oct 02, 2002 at 09:19:47AM -0500, Gerald Carter wrote about 'Re: [PATCH] sam >backend parameter': > > On Tue, 1 Oct

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

2002-09-27 Thread Simo Sorce
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

Re: removing group_rid from SAM_ACCOUNT rules out non-unix-accounts:-(

2002-09-27 Thread Simo Sorce
te group handling code into the backends. And in my honest opinion we should get out the possibility to have multiple backends active at the same time, I really think that move has put us back 6 months in development and has caused more problems than what the pros get with such a monster. Simo.

Re: --wuth-tdbsam ?

2002-09-27 Thread Simo Sorce
expire'. Forcing > that flag 'on' might be the most sensible choice, except then we get 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

Re: Using winbind with Wine

2002-09-26 Thread Simo Sorce
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 &g

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, s

Re: approaching release of 3.0alpha20

2002-09-25 Thread Simo Sorce
It's not so difficult to change pdb code to NTSTATUS errors .. I'll do it. Simo. On Wed, 2002-09-25 at 15:34, 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

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... > >

Re: approaching release of 3.0alpha20

2002-09-25 Thread Simo Sorce
This way to fix, without any DEBUG in is obscure and may hide implementation errors imho. A crash is much more easier to understand while developing. Simo. On Wed, 2002-09-25 at 13:45, Jelmer Vernooij wrote: > On Wed, Sep 25, 2002 at 01:32:16PM +0200, Stefan (metze) Metzmacher wrote about

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 snapsh

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

Re: nmbd sends SYN packet to external Network address

2002-09-13 Thread Simo Sorce
roblem is to be located on the 10.53.5.12 ip address machine if you do not have such netbios name on your lan. Simo. On Fri, 2002-09-13 at 08:18, Andreas Moroder wrote: > Hello all, > > i looked into the nmb.log of my wins server ( samba 1.9.7 on HP-UX ) and found > t

Re: nmbd sends SYN packet to external Network address

2002-09-12 Thread Simo Sorce
" ports (netbios and naked). 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: Bug in cli_samr_get_dom_pwinfo ad Win2k Server (PR#25465)

2002-09-10 Thread Simo Sorce
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, bu

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 san

Re: mangling scheme

2002-09-09 Thread Simo Sorce
many 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 <[E

Re: mangling scheme

2002-09-09 Thread Simo Sorce
gt; * performance is not a problem in my target network, so anything will > be really welcome :) I have 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. Sim

  1   2   >