[PATCH] multiple passdb backends

2002-04-11 Thread Jelmer Vernooij
ripts) - buildfarm test scripts for passdb (needs pdb_xml.so) - pdb_mysql.so (works currently, but needs more NULL checks, bug fixes and needs to be easier customizable) Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ Development And Underdevelo

pdb_mysql

2002-04-11 Thread Jelmer Vernooij
es in a location variable. So I chose to let the user specify a configuration file in the location variable. It would be nicer if there was a global system for this - could I use loadparm? Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ Development And Under

pdb_mysql 0.2

2002-04-12 Thread Jelmer Vernooij
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! pdb_mysql 0.2 is out! It now uses ab's patch with the ':option = value' style configuration in smb.conf. Some bugs are fixed and the documentation is updated. http://nl.linux.org/~jelmer/pdb_mysql-0.2.tar.gz Jelmer - --

[PATCHES] update of documentation, pdbedit

2002-04-13 Thread Jelmer Vernooij
Hi! The two attached patches add some more updated documentation to the smb.conf and pdbedit manpages. They also add better verbosity for pdbedit. Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ Development And Underdevelopment: http://library.thinkque

pdb_xml

2002-04-13 Thread Jelmer Vernooij
Hi! Here's my proposal for the file format for the pdb_xml database backend. I haven't included the unknown* stuff yet, should that be included? Comments, please! CHARIS,GANIEDA \\hephaistos\profiles\jelmer logo

Re: pdb_xml

2002-04-14 Thread Jelmer Vernooij
13, 2002 at 05:02:10PM +0200, Jelmer Vernooij wrote: > > > > Here's my proposal for the file format for the pdb_xml database > > > > backend. I haven't included the unknown* stuff yet, should that be > > > > included? > > > I'd say try and avoid

[PATCH] pdb_unix

2002-04-14 Thread Jelmer Vernooij
to_user_rid and fallback_user_rid_to_uid functions (same as used by pdb_smbpasswd), but can be easily extended to use a different uid->rid/sid and sid/rid->uid mapping (such as the one proposed by idra). Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ Development

[PATCH] pdb_unix

2002-04-14 Thread Jelmer Vernooij
Hi! Here's an update of my previous pdb_unix patch. It makes the option variables in pdbedit.c static, not global (fix for sunos) See previous email for other details, Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ Development And Underdevelo

[PATCH] pdb_unix

2002-04-14 Thread Jelmer Vernooij
Hi! Latest patch, some fixes abartlet suggested. Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ Development And Underdevelopment: http://library.thinkquest.org/C0110231/ Listening to Radio 3FM 23:14:28 up 10:21, 9 users, load average: 4.42, 3.94

pdb_mysql 1.0

2002-04-27 Thread Jelmer Vernooij
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! Pdb_MySQL is finished. It's available from http://nl.linux.org/~jelmer/pdb_mysql-1.0.tar.gz It is fully customizable (all column names, table name, etc), supports add/mod/del of accounts and is somewhat better documented. Jelmer - -- J

[PATCH] pdb_fix

2002-05-03 Thread Jelmer Vernooij
l before a pdb_methods is allocated Should I send another patch for adding the '--config-file' option to pdbedit? btw. pdb_xml already supports adding new users, only some of the parsing is left.. Jelmer - -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ Develo

[PATCH] pdb_fix

2002-05-03 Thread Jelmer Vernooij
Ooops... forgot to attach the patch.. Index: source/passdb/pdb_interface.c === RCS file: /cvsroot/samba/source/passdb/pdb_interface.c,v retrieving revision 1.12 diff -u -3 -p -r1.12 pdb_interface.c --- source/passdb/pdb_interface.c

[PATCH] Fix endless loops on passdb backends fail

2002-05-23 Thread Jelmer Vernooij
might not notice that the loading of a backend has failed. Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ Development And Underdevelopment: http://library.thinkquest.org/C0110231/ 17:22:13 up 5 days, 16:36, 13 users, load average: 2.20, 2.29, 2.23 Index:

Re: [PATCH] Fix endless loops on passdb backends fail

2002-05-23 Thread Jelmer Vernooij
to be > loaded. > The pdb_fix_nonstrict.diff makes the passdb backend return > NT_STATUS_OK if at least one backend loads successfully. > Personally, I think we should be strict, because otherwise the user > might not notice that the loading of a backend has failed. - -- Jelmer Vernooij <

[PATCH] Various

2002-05-23 Thread Jelmer Vernooij
xamples/pdb/ to multiple passdb system - add dynamic debug class example to examples/pdb/ The other patch I've attached is an attempt to convert testparm to popt. It strangely crashes at lp_save_defaults however, and I can't figure out why. Maybe someone else is smarter than I am ;-) Je

Re: VFS: create/append log file

2002-05-24 Thread Jelmer Vernooij
d procedure for making a log file in a VFS module? Try using fopen instead of open and try closing the log file after adding data to it with fclose. Jelmer - -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ Development And Underdevelopment: http://library.thinkquest.

pdb_mysql 1.2 and pdb_xml 1.0

2002-05-26 Thread Jelmer Vernooij
elmer/downloads/samba-pdb-xml_1.0-1_i386.deb Jelmer - -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ Development And Underdevelopment: http://library.thinkquest.org/C0110231/ Listening to Error: The server (moosicd) doesn't seem to be running. -BEGIN PGP SIGNAT

[PATCH] Several small patches

2002-06-13 Thread Jelmer Vernooij
- POPT'ify testparm Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ Development And Underdevelopment: http://library.thinkquest.org/C0110231/ Listening to Radio 3FM 17:02:25 up 23:15, 8 users, load average: 0.19, 0.11, 0.04 Index: source/p

[PATCH] add pdb_set_{user,group}_sid_from_string

2002-06-13 Thread Jelmer Vernooij
Hi, This patch adds two functions to pdb_get_set.c: pdb_set_{user,group}_sid_from_string These functions are useful for pdb backends. Especially since using pdb_set_user_sid combined with string_to_sid would require allocating data for a new DOM_SID. Jelmer -- Jelmer Vernooij <[EM

[PATCH] poptify testparm

2002-06-13 Thread Jelmer Vernooij
Hi, Here's another patch. This one makes the testparm utility use popt. Also did some reindenting, the current testparm.c contains a lot of spaces.. Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ Development And Underdevelopment: http://library.thi

[PATCH] add pdb_set_{user,group}_sid_from_string

2002-06-13 Thread Jelmer Vernooij
Hi, After some discussion with idra and metze updated patch to use more virtualization (use pdb_get_user_sid(sampass) instead of &sampass->private.user_sid). Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ Development And Underdeve

[PATCH] lp_passdb_backend() -> list, sid_copy() fix

2002-06-13 Thread Jelmer Vernooij
t! Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ Development And Underdevelopment: http://library.thinkquest.org/C0110231/ 22:46:59 up 3:03, 7 users, load average: 0.44, 0.45, 0.27 Index: sourc

Re: [PATCH] add pdb_set_{user,group}_sid_from_string

2002-06-14 Thread Jelmer Vernooij
a: have a way to easily select what to do with modules : build them in static, build them as a plugin or don't build them at all. This is very useful for people who: - - have a OS without dl support(they can even build 'foreign' modules static) - - packagers who don't want thei

Re: Text docs converted to sgml

2002-07-07 Thread Jelmer Vernooij
msg.pgp Description: PGP message

winbind.diff

2002-07-08 Thread Jelmer Vernooij
Hi, This diff adds solaris info to the winbind howto, making Solaris-Winbind-HOWTO.txt obsolete. Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ Development And Underdevelopment: http://library.thinkquest.org/C0110231/ Listening to Error: The server (m

LDAP HOWTO corrrect escape

2002-07-08 Thread Jelmer Vernooij
Hi, This patch fixes a simple sgml syntax violation in the LDAP HOWTO. Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ Development And Underdevelopment: http://library.thinkquest.org/C0110231/ Listening to Error: The server (moosicd) doesn't seem to

Speed.sgml

2002-07-08 Thread Jelmer Vernooij
Hi, Speed.sgml replaces Speed.txt and Speed2.txt. Speed.sgml should go into samba/docs/docbook/projdoc Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ Development And Underdevelopment: http://library.thinkquest.org/C0110231/ Listening to Error: The

Diagnosis

2002-07-08 Thread Jelmer Vernooij
Hi, This is the SGML version of tridge's Diagnosis.txt Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ Development And Underdevelopment: http://library.thinkquest.org/C0110231/ Listening to Error: The server (moosicd) doesn't seem to be running

GPL licensing issues

2002-07-16 Thread Jelmer Vernooij
msg.pgp Description: PGP message

New sam system

2002-07-31 Thread Jelmer Vernooij
msg.pgp Description: PGP message

Re: New sam system

2002-07-31 Thread Jelmer Vernooij
Still don't get it :-/ Jelmer -- Jelmer Vernooij<[EMAIL PROTECTED]> Running Samba version 2.999+3.0cvs20020723-1 for Debian

Re: New sam system

2002-07-31 Thread Jelmer Vernooij
On Thu, Aug 01, 2002 at 02:54:06AM +0930, Richard Sharpe wrote about 'Re: New sam system': > On Wed, 31 Jul 2002, Jelmer Vernooij wrote: > > [ Ok, I've switched off gpg signing for all samba lists... ] Weird that mutt generates encrypted files when I tell it to only

Re: New sam system

2002-07-31 Thread Jelmer Vernooij
t; char **name Why? The function should retrieve all info known about the user with DOM_SID *usersid; it shouldn't change the SID and the same applies to the username. Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ 20:34:34 up 1 day, 2:43, 11 users, load average: 0.23, 0.27, 0.27

Re: Samba and CIFS question

2002-07-31 Thread Jelmer Vernooij
what version of CIFS? It does mean running CIFS; afaik CIFS doesn't really have version numbers... > > when i sniffing SMB packets which commands should i be looking at CIFS or > SMB SMB and CIFS are basically two names for the same protocol Jelmer -- Jelmer Vernooij <[

Re: Samba and CIFS question

2002-07-31 Thread Jelmer Vernooij
a developers have programmed samba by 'reverse-engineering': observing the behaviour of microsoft clients and imitating it. -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ 19:23:12 up 1 day, 1:31, 11 users, load average: 1.35, 1.26, 1.27

Re: Importing smbpasswd with pdbedit -i

2002-08-15 Thread Jelmer Vernooij
[EMAIL PROTECTED] > -- > 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 -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ Development And Underdevelopment: http://

Re: /usr/local/samba/lib/libsmbclient.so.0: undefined symbol: cli _send_keepalive -> Samba 3.0alpha18

2002-08-15 Thread Jelmer Vernooij
solved reference at run time for the above routine called from > smbc_check_server(). > Could someone tell me where this should be defined and what is needed to correct > it? Did you link with -lsmbclient ? jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer

Samba 3.0 alpha 19 released

2002-08-17 Thread Jelmer Vernooij
ecache code from APPLIANCE_HEAD (tpot) - Fix segs in new NTLMSSP code (abartlet) - Always make guest rid 501 (abartlet) The samba-3,0alpha19.tar.gz should be downloadable from all samba ftp mirrors from the alpha directory within a few hours. Jelmer -- Jelmer Vernooij

Undocumented smb.conf

2002-08-19 Thread Jelmer Vernooij
Hi, I've done some work trying to figure out what smb.conf options in HEAD are currently not documented. Here they are: add group script add user to group script admin log ads server alternate permissions block size delete group script delete user from group script display charset hide unwritea

Re: Undocumented smb.conf

2002-08-19 Thread Jelmer Vernooij
at 13:30, Simo Sorce wrote: > > On Mon, 2002-08-19 at 09:55, Jelmer Vernooij wrote: > > > Hi, > > > I've done some work trying to figure out what smb.conf options in HEAD > > > are currently not documented. Here they are: > > > add group scr

Re: Patches to samba 3.0, alpha19 for Stratus VOS

2002-08-21 Thread Jelmer Vernooij
> I would like to propose the following patches to Samba 3.0, > alpha19 so that it will build a little easier on my system. We > have a fairly strict POSIX-96 implementation that is missing a > few Unix-specific features. Samba comes very close to building > cleanly, and with just a few more cha

Re: Patches to samba 3.0, alpha19 for Stratus VOS

2002-08-21 Thread Jelmer Vernooij
On Wed, Aug 21, 2002 at 11:25:15PM +0200, Jelmer Vernooij wrote about 'Re: Patches to samba 3.0, alpha19 for Stratus VOS': > > I would like to propose the following patches to Samba 3.0, > > alpha19 so that it will build a little easier on my system. We > > h

Re: Patches to samba 3.0, alpha19 for Stratus VOS

2002-08-21 Thread Jelmer Vernooij
orms. Patch applied but without shortening the names. The problematic files are not necessary for samba to function properly anyway. jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ Development And Underdevelopment: http://library.thinkquest.org/C0110231/ Listeni

Re: Patches to samba 3.0, alpha19 for Stratus VOS

2002-08-21 Thread &#x27;Jelmer Vernooij'
On Wed, Aug 21, 2002 at 09:11:40PM -0400, Green, Paul wrote about 'RE: Patches to samba 3.0, alpha19 for Stratus VOS': > Jelmer Vernooij [mailto:[EMAIL PROTECTED]] writes: > > On Wed, Aug 21, 2002 at 05:03:21PM -0400, Green, Paul wrote > > about 'Patches to samb

Converting new docs

2002-08-27 Thread Jelmer Vernooij
7;re there for quite some time now so people should've noticed... Is there any specific reason the docs are GPL'ed and not Copylefted? I don't care, just wondering :-) I'm still working on the net.5 manpage but net is huuuge... :-/ Does anyone have objections against me commit

Re: Converting new docs

2002-08-27 Thread Jelmer Vernooij
On Wed, Aug 28, 2002 at 03:24:02AM +0200, Simo Sorce wrote about 'Re: Converting new docs': > On Wed, 2002-08-28 at 03:13, Jelmer Vernooij wrote: > > Is there any specific reason the docs are GPL'ed and not Copylefted? > > I don't care, just wondering :-) &g

Re: [PATCH]block.c

2002-08-28 Thread Jelmer Vernooij
enter_pblock_mount(char *dir); > BOOL get_section(char *sect); > Thanks... Juergen -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ Development And Underdevelopment: http://library.thinkquest.org/C0110231/ Listening to Error: The server (moosicd) doesn't se

Moving samr_make_sam_obj_sd

2002-08-29 Thread Jelmer Vernooij
ns / ideas in what file the function should go ? Jelmer -- Jelmer Vernooij http://samba.org/~jelmer/ Samba Team http://www.samba.org/ Running

Re: File descriptor leak in pam_winbind.so

2002-08-29 Thread Jelmer Vernooij
conf test that will determine if this > hideous construct (__attribute__ ((destructor)) unload ()) is > supported on the current platform/compiler. Afaik _fini does about the same but I'm not sure how portable that is either... Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - htt

lp_sam_backends() syntax

2002-09-07 Thread Jelmer Vernooij
Hi Kai, Metze, Andrew, Would this work as syntax for lp_sam_backends() ? When there's only one backend specified sam backends = backend:options otherwise: sam backends = backend1:options|domain_name1 \ backend2:options|domain_name2 Jelmer -- Jelmer Ver

Re: [PATCH] group control bits ....

2002-09-10 Thread Jelmer Vernooij
On Fri, Sep 06, 2002 at 09:45:06AM +0200, Stefan (metze) Metzmacher wrote about 'Re: [PATCH] group control bits ': > >> -NTSTATUS sam_skel_get_groups_of_account(const struct sam_methods > >*sam_method, const SAM_ACCOUNT_HANDLE *account, const uint32 type, uint32 > >*group_count, SAM_GROUP_

Re: [PATCH] group control bits ....

2002-09-11 Thread Jelmer Vernooij
On Wed, Sep 11, 2002 at 08:27:21AM +0200, Stefan (metze) Metzmacher wrote about 'Re: [PATCH] group control bits ': > At 23:29 10.09.2002 +0200, Jelmer Vernooij wrote: > >On Fri, Sep 06, 2002 at 09:45:06AM +0200, Stefan (metze) Metzmacher wrote > >about '

Re: smbclient & server list

2002-09-12 Thread Jelmer Vernooij
On Thu, Sep 12, 2002 at 05:42:28PM -0400, Gamid Isayev wrote about 'smbclient & server list': > I'm using smbclient to obtain server list for particular workgroup/domain. > Let say 'testserv1' is master browser for domain 'TEST', so command is: > smbclient -L testserv1 -U% > It works fine with

Re: approaching release of 3.0alpha20

2002-09-23 Thread Jelmer Vernooij
On Tue, Sep 24, 2002 at 04:15:21AM +0930, Richard Sharpe wrote about 'Re: approaching release of 3.0alpha20': > On Mon, 23 Sep 2002, Rafal Szczesniak wrote: > > > I would like to do another alpha snapshot release of the 3.0 > > > code base later this week. Does anyone know of any code that > >

Re: approaching release of 3.0alpha20

2002-09-25 Thread Jelmer Vernooij
On Wed, Sep 25, 2002 at 01:32:16PM +0200, Stefan (metze) Metzmacher wrote about 'Re: approaching release of 3.0alpha20': > 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 later this week. Does anyone know

Re: approaching release of 3.0alpha20

2002-09-25 Thread Jelmer Vernooij
> > Stefan "metze" Metzmacher <[EMAIL PROTECTED]> > -- > Simo Sorce - [EMAIL PROTECTED] > Xsec s.r.l. > via Durando 10 Ed. G - 20158 - Milano > tel. +39 02 2399 7130 - fax: +39 02 700 4

acct_ctrl in context_sam_enum_accounts

2002-09-26 Thread Jelmer Vernooij
Hi all! What kind of a value is the acct_ctrl argument of context_sam_enum_accounts supposed to be? It should be possible to list all accounts, that's why the current implementation isn't very usable... Jelmer -- Jelmer Vernooij <[EM

Re: --wuth-tdbsam ?

2002-09-26 Thread Jelmer Vernooij
I guees it used to be optional since we didn't want to compile in unstable code. > and tdbsam should be the default passdb backend in 3.0. We should remove > the smbpasswd file and provide a migration script. 'pdbedit -i smbpasswd -e tdbsam' does exactly that.. now we only

Re: (no subject)

2002-09-26 Thread Jelmer Vernooij
ps and the migration script would be some of the areas > where I could help. > Let me know. Good bug reports are always welcome; samba3.0alpha20 will be released soon - and it needs testing... :-) Jelmer -- Jelmer Vernooij <[EMAIL PROT

Re: --with-libsmbclient=no the default ?

2002-09-26 Thread Jelmer Vernooij
if test $BLDSHARED = true; then LIBSMBCLIENT_SHARED=bin/libsmbclient.$SHLIBEXT LIBSMBCLIENT=libsmbclient AC_MSG_RESULT(yes) else AC_MSG_RESULT(no shared library support) fi ;; esac ], AC_MSG_RESULT(yes)

Re: --wuth-tdbsam ?

2002-09-26 Thread Jelmer Vernooij
On Thu, Sep 26, 2002 at 03:30:44PM -0500, Steve Langasek wrote about 'Re: --wuth-tdbsam ?': > > > and tdbsam should be the default passdb backend in 3.0. We should remove > > > the smbpasswd file and provide a migration script. > > 'pdbedit -i smbpasswd -e tdbsam' does exactly that.. now we only

Re: Future plans for next alpha release

2002-09-26 Thread Jelmer Vernooij
On Thu, Sep 26, 2002 at 03:29:09PM -0500, Gerald (Jerry) Carter wrote: > Folks, > > With the release of 3.0alpha20, I'm declaring the official > maintainence of the SAMBA_3_0 cvs branch. WHat this means > is that there will be no more blind "copy HEAD onto SAMBA_3_0" > for the next alpha. Any

Re: acct_ctrl in context_sam_enum_accounts

2002-09-27 Thread Jelmer Vernooij
On Fri, Sep 27, 2002 at 10:16:28AM +0200, Stefan (metze) Metzmacher wrote about 'Re: acct_ctrl in context_sam_enum_accounts': > At 18:27 26.09.2002 +0200, Jelmer Vernooij wrote: > >Hi all! > >What kind of a value is the acct_ctrl argument of > >context_sam_enum_

Re: CVS update for alpha release - update

2002-09-27 Thread Jelmer Vernooij
On Fri, Sep 27, 2002 at 08:08:59AM -0700, James Bowes wrote about 'CVS update for alpha release - update': > Hi again. > My faux pas; I used the HEAD branch, which was not correct. What wasn't correct about it ? Jelmer

Re: Do we need sam/api.c?

2002-09-28 Thread Jelmer Vernooij
;, which might be easier > for potential developers to swallow. > It would also make samtest magicly 'work' before you specify a context, > rather than segfaulting... Oops.. :-) Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> Pending (unfinished) patches http://samba.org/~jelmer/diffs.php

Re: acct_ctrl in context_sam_enum_accounts

2002-09-29 Thread Jelmer Vernooij
On Sun, Sep 29, 2002 at 03:04:25PM +1000, Andrew Bartlett wrote: > "Stefan (metze) Metzmacher" wrote: > > > > At 18:27 26.09.2002 +0200, Jelmer Vernooij wrote: > > >Hi all! > > > > > >What kind of a value is the acct_ctrl argument of > >

Re: [PATCH] sam backend parameter

2002-10-01 Thread Jelmer Vernooij
On Tue, Oct 01, 2002 at 12:59:47PM +0200, Eddie Lania wrote: > > Well, I'm starting to think our syntax is just getting too complex. All > > the 'solutions' for putting 'domain' in there just look ugly! > > > > Some poor admin has to construct this line, and even if they don't use > > multido

Re: [PATCH] sam backend parameter

2002-10-01 Thread Jelmer Vernooij
> > > > Well, I'm starting to think our syntax is just getting too complex. > All > > > > the 'solutions' for putting 'domain' in there just look ugly! > > > > Some poor admin has to construct this line, and even if they don't > use > > > > multidomain stuff (and that's almost everybody), the

Re: [PATCH] sam backend parameter

2002-10-01 Thread Jelmer Vernooij
On Tue, Oct 01, 2002 at 09:48:34AM +0200, Stefan (metze) Metzmacher wrote about '[PATCH] sam backend parameter': > Hi Jelmer, > > here's a patch witch changes the syntax of the sam backend parameter: > > now it's plugin[|DOMAIN][:options] ... I think it nicer:-) > > If you didn't accept that p

Re: [PATCH] sam backend parameter

2002-10-01 Thread Jelmer Vernooij
On Tue, Oct 01, 2002 at 06:06:34PM +1000, Andrew Bartlett wrote about 'Re: [PATCH] sam backend parameter': > "Stefan (metze) Metzmacher" wrote: > > > > Hi Jelmer, > > > > here's a patch witch changes the syntax of the sam backend parameter: > > > > now it's plugin[|DOMAIN][:options] ... I thin

Re: Simplifying the multiple password backend code in HEAD and 3.0.

2002-10-01 Thread Jelmer Vernooij
On Tue, Oct 01, 2002 at 09:49:53PM +, [EMAIL PROTECTED] wrote about 'Simplifying the multiple password backend code in HEAD and 3.0.': > Spurred on by some complaints in IRC :-) I took a look at the passdb > backend code in HEAD and 3.0. > > It looks nice, but it's horribly complex for what

Re: [PATCH] sam backend parameter

2002-10-02 Thread Jelmer Vernooij
or multi-domain DC afaik - Kai and Andrew know all the how's and why's. Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> Pending (unfinished) patches http://samba.org/~jelmer/diffs.php

Re: [PATCH] sam backend parameter

2002-10-02 Thread Jelmer Vernooij
> - 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 -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ Development And Underdevelopm

Re: [PATCH] sam backend parameter

2002-10-02 Thread Jelmer Vernooij
ain support, we could remove sam_methods perhaps and move all the functions in sam_methods to sam_context, but sam_context definitely has to stay... Jelmer > On Wed, 2002-10-02 at 23:56, Jelmer Vernooij wrote: > > > - what is all the context thing needed for? > > Sometimes we ne

Re: [PATCH] sam backend parameter

2002-10-03 Thread Jelmer Vernooij
On Thu, Oct 03, 2002 at 06:15:01AM +, [EMAIL PROTECTED] wrote about 'Re: [PATCH] sam backend parameter': > On Thu, Oct 03, 2002 at 04:06:37PM +1000, Andrew Bartlett wrote: > > The use of multiple backends in passdb has acknowledged issues, and I'm > > not particularly fussed if you feel it sh

Re: [PATCH] sam backend parameter

2002-10-03 Thread Jelmer Vernooij
On Thu, Oct 03, 2002 at 08:34:47PM +1000, Andrew Bartlett wrote about 'Re: [PATCH] sam backend parameter': > There is no intention to create a similar backend for the sam. Instead, > we do intend to solve this problem in exactly the way you indicate > below. There is no intention to provide a '

Re: VFS modules?

2002-10-09 Thread Jelmer Vernooij
On Wed, Oct 09, 2002 at 01:38:21PM -0400, Kris Van Hees wrote about 'VFS modules?': > 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. see the examples/VFS directory in CV

Re: How Samba let us down

2002-10-23 Thread Jelmer Vernooij
On Wed, Oct 23, 2002 at 05:52:47AM -0700, Jay Ts wrote about 'Re: How Samba let us down': > Mathew McKernan wrote: > > > > My suggestion: > > > > Install a WINS Server (simple 400MHz box even) > > > > running Linux, and if you > > > > like run an internal DNS too which is syncronised to > > > > th

Re: Documentation TODO before 3.0

2002-10-23 Thread Jelmer Vernooij
On Wed, Oct 23, 2002 at 09:39:06AM -0500, Gerald (Jerry) Carter wrote about 'Re: Documentation TODO before 3.0': > On Fri, 18 Oct 2002, Jelmer Vernooij wrote: > > I've tried to investigate what docs still need work before 3.0: > > > > Outdated docs: > &g

Re: Planning 3.0alpha21 for Friday (10/25)

2002-10-23 Thread Jelmer Vernooij
On Wed, Oct 23, 2002 at 09:54:49AM -0500, Gerald (Jerry) Carter wrote about 'Planning 3.0alpha21 for Friday (10/25)': > FYI... > > Just giving everyone a heads up. I will also roll RPMS > for the various RedHat versions on this release. > > Also i will be examining the growing diff's between >

Re: Planning 3.0alpha21 for Friday (10/25)

2002-10-23 Thread Jelmer Vernooij
On Wed, Oct 23, 2002 at 10:29:41AM -0500, Gerald (Jerry) Carter wrote about 'Re: Planning 3.0alpha21 for Friday (10/25)': > On Wed, 23 Oct 2002, Jelmer Vernooij wrote: > > > On Wed, Oct 23, 2002 at 09:54:49AM -0500, Gerald (Jerry) Carter wrote about >'Plannin

Re: Fwd: patch to samba

2002-10-18 Thread Jelmer Vernooij
On Fri, Oct 18, 2002 at 03:33:09PM -, ÌÉÓÉÎ ÂÒÁÚÅÒ wrote about 'Fwd: patch to samba': > hi > i am an administrator of university computer center and have such problem: > some auditories using for student's self-education and only allowed students > can work there. i have create patch for samba

Documentation TODO before 3.0

2002-10-18 Thread Jelmer Vernooij
e documented: Windows NT 4.0 Style Trust Relationship One Time Migration script from a Windows NT 4.0 PDC to a Samba PDC Anything else I should put on one of these lists ? Anyone volunteering to document stuff? :-) Jelmer -- Jelmer Vernooij <[EMA

Re: Documentation TODO before 3.0

2002-10-19 Thread Jelmer Vernooij
On Saturday 19 October 2002 08:07, Ignacio Coupeau wrote: > Jelmer Vernooij wrote: > > Hi all! > > I've tried to investigate what docs still need work before 3.0: > > docs/docbook/projdoc/Samba-PDC-HOWTO.sgml - Needs update to 3.0 > > I have one a bit more updated a

Re: merge...

2002-10-24 Thread Jelmer Vernooij
On Thu, Oct 24, 2002 at 05:17:10PM +0200, Stefan (metze) Metzmacher wrote about 'merge...': > Hi Jelmer, > please merge the recycle patch to 3_0 Applied. Thanks, Jelmer

Re: segfaults in pam_smbpass in SAMBA_3_0 with unixsam backend

2002-10-24 Thread Jelmer Vernooij
On Thu, Oct 24, 2002 at 06:51:38PM -0500, Steve Langasek wrote about 'segfaults in pam_smbpass in SAMBA_3_0 with unixsam backend': > Currently, pam_smbpass calls initialize_password_db() with reload == True > on every pass through the module. This is supposedly the Right Thing > for the code to d

Re: segfaults in pam_smbpass in SAMBA_3_0 with unixsam backend

2002-10-24 Thread Jelmer Vernooij
On Thu, Oct 24, 2002 at 08:26:26PM -0500, Steve Langasek wrote about 'Re: segfaults in pam_smbpass in SAMBA_3_0 with unixsam backend': > On Fri, Oct 25, 2002 at 02:39:16AM +0200, Jelmer Vernooij wrote: > > On Thu, Oct 24, 2002 at 06:51:38PM -0500, Steve Langasek wrote

Re: Comparing SAMBA_3_0 to HEAD

2002-10-25 Thread Jelmer Vernooij
cs! I'll try to keep them synced somewhat more in the future... Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> Pending (unfinished) patches http://samba.org/~jelmer/diffs.php

Re: [Samba] Re: How Samba let us down

2002-10-24 Thread Jelmer Vernooij
On Thu, Oct 24, 2002 at 05:48:49PM +, [EMAIL PROTECTED] wrote about 'Re: [Samba] Re: How Samba let us down': > Ok, as promised, a brief explaination of oplocks, share modes > and locking. > [...] Mind if I add this to the docs? Jelmer

Re: Comparing SAMBA_3_0 to HEAD

2002-10-28 Thread Jelmer Vernooij
s.h > new file source/sam/gums_api.c > new file source/sam/gums_helper.c > new file source/sam/sam_ads.c > new file source/sam/sam_skel.c Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ 20:29:53 up 13:22, 10 users, load average: 0.12, 0.30, 0.28 msg04090/pgp0.pgp Description: PGP signature

[RFC] lp_modules()

2002-11-02 Thread Jelmer Vernooij
Hi! This patch adds lp_modules() and loads all modules in lp_load() - any comments on it ? I'm not too sure about the place smb_load_modules(lp_modules()) is called - do we really want to load all those modules when loading a configuration file ? Comments, please! :-) Jelmer -- J

Putting plugins in source/

2002-11-04 Thread Jelmer Vernooij
Hi! This patch puts the vfs_audit, vfs_recycle, pdb_mysql and pdb_xml plugins in source/. The plugins can be build with 'make bin/.so'. We should probably have a 'plugins' make rule that contains them all. I'll commit it if there are no objections, Je

Re: net rpc vampire & migration

2002-11-05 Thread Jelmer Vernooij
, ie currently tdb or ldap, probably mysql as well. Yep, both mysql and xml store RID's instead of the algorithmic mapping. Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ 19:51:52 up 6 days, 12:45, 16 users, load average: 0.14, 0.16, 0.11

Re: [PATCH] group stuff in pdb_mysql and pdb_xml

2002-11-06 Thread Jelmer Vernooij
db_cont > (*pdb_method)->getsampwsid = NULL; > (*pdb_method)->update_sam_account = NULL; > (*pdb_method)->delete_sam_account = NULL; > + (*pdb_method)->getgrsid = NULL; > + (*pdb_method)->getgrgid = NULL; > + (*pdb_method)->getgrnam = NULL

Re: append_log in smbd?

2002-11-07 Thread Jelmer Vernooij
reopening smbd log file with a truncate option, making it > a bit difficult to debug pretty much anything since logs get overwritten all > the time. Whoops, my fault.. Thanks for reporting! Jelmer (who notices he has been doing commits too easily lately, I need to be more careful...) --

Daily 3.0 and HEAD snapshots

2002-11-09 Thread Jelmer Vernooij
Hi! I've written a simple script to produce daily snapshots of the 3.0 and HEAD branches. Available at: http://samba.org/~jelmer/snapshot/ Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> Pending (unfinished) patches http:

Re: winbind auth lib?

2002-11-12 Thread Jelmer Vernooij
point me to the function call to use? I don't know what you need exactly, but you might want to consider linking with the PAM library (and loading pam_winbind or others into PAM). Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ 15:59:16 up 5 min, 3 users, load average: 0.07, 0.17, 0.08

smb_register_passdb()

2002-11-14 Thread Jelmer Vernooij
Hi Andrew, Here's a patch to add a smb_register_passdb() function. It puts the list of available backends in a double linked list, and lets you add backends with smb_register_passdb(). In this patch, the double linked list contains a name and a pointer to an init function that allocates and fill

Re: preview of winsdb stuff

2002-11-15 Thread Jelmer Vernooij
+ DEBUG(0,("winsdb backend %s did not correctly init >(error was %s)\n", backend_string, nt_errstr(nt_status))); > + } > + SAFE_FREE(module_name); > + return nt_status; > + break; /* unreache

Re: RE timegm on SOLARIS

2002-11-20 Thread Jelmer Vernooij
unless the machine is dropped back to GMT. Is there any chance of > this being implemented? There currently is such a replacement for timegm in the HEAD and SAMBA_3_0 branches, committed by Andrew Tridgell on 30 October. Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/

  1   2   >