You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(15) |
Aug
(14) |
Sep
(19) |
Oct
(15) |
Nov
(19) |
Dec
(5) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(25) |
Feb
(6) |
Mar
(24) |
Apr
(4) |
May
(6) |
Jun
(19) |
Jul
(1) |
Aug
(4) |
Sep
(1) |
Oct
(2) |
Nov
(2) |
Dec
|
2008 |
Jan
|
Feb
(3) |
Mar
|
Apr
(9) |
May
(4) |
Jun
(3) |
Jul
(1) |
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
(3) |
2009 |
Jan
(4) |
Feb
(2) |
Mar
|
Apr
|
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
(8) |
Oct
(2) |
Nov
(5) |
Dec
(1) |
2010 |
Jan
(1) |
Feb
(19) |
Mar
(6) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Jelmer V. <je...@sa...> - 2016-02-12 21:39:54
|
What you're describing is exactly what pdb is - that abstraction. pdb is only used with NT style DCs. With AD DC your only option is LDAP. Jelmer On 12 February 2016 07:21:51 GMT+00:00, "Václav Klecanda" <ven...@gm...> wrote: >I my case, SAMBA is only translator from/to obscure M$oft protocols to >linux hosted file share. So Samba even does not need to know any users, >just it has to have some facility (plugin, or even connection to >HTTP(s) >endpoint allowing leave all impl detail to any programming lang) that >can >tell to samba: "user with this ID is within this groups, login hours, >or >whatever info needed to operate". LDAP is not the only way to store >info... >:) Am i Wrong? > >On 9 February 2016 at 22:12, Jelmer Vernooij <je...@sa...> wrote: > >> On Mon, Feb 08, 2016 at 07:53:32PM +0100, Herwin Weststrate wrote: >> > On 02/07/2016 09:54 PM, Václav Klecanda wrote: >> > > Hi, I'd like to know what is the lates state of this project and >if >> > > there is still some people iterresting in it. If so, where can I >find >> > > latest docs and code? >> > >> > The code has been updated for Samba releases in the 3.x-branch. I >> > haven't really made any official releases on sourceforge, but you >can >> > always use the svn branches at >> > http://sourceforge.net/p/pdbsql/code/HEAD/tree/branches/, the name >of >> > the branch indicates the version. Docs are included in the >branches. I >> > also have a clone living at https://github.com/herwinw/pdbsql, it >> > contains a 3.6 branch that has been minimized (pdsql_36_light). >I've got >> > that one on a production server and it works. >> > >> > The SQL modules have not really changed the last years, except for >> > changes required for newer Samba versions. pdb_multi also kind of >works, >> > but the whole idea behind it is a bit tricky, I would advise >against >> > using that in production unless you're willing to give it a long >test >> run. >> > >> > Samba 4 is not supported, that has been a complete rewrite of the >core >> > and I couldn't really find where it stored the users in the four >minutes >> > I tried looking at them. I know S4 has a Python-interpreter >embedded >> > into it, so I'm hoping that instead of compiling a plugin it would >be >> > possible to just load a python script of a few lines that fetches >users >> > from a database. But since S4 also includes an LDAP server it might >be >> > worth a try to see if you could just use that LDAP to store your >users >> > instead of the database. I kind of got a liking to systems that >work out >> > of the box the last years ;) >> Samba 4 is not a rewrite of the core. passdb is still there, and >pdbsql >> should still work (module a bunch of minor API changes). >> >> However, passdb is not used if you use samba in AD DC mode - just if >> you use it as a traditional NT4-style domain controller. A thing like >> pdbsql isn't possible with the AD DC since all users are stored in >> the internal LDAP server. >> >> Cheers, >> >> Jelmer >> >> >> >------------------------------------------------------------------------------ >> Site24x7 APM Insight: Get Deep Visibility into Application >Performance >> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >> Monitor end-to-end web transactions and take corrective actions now >> Troubleshoot faster and improve end-user experience. Signup Now! >> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 >> > > >------------------------------------------------------------------------ > >------------------------------------------------------------------------------ >Site24x7 APM Insight: Get Deep Visibility into Application Performance >APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >Monitor end-to-end web transactions and take corrective actions now >Troubleshoot faster and improve end-user experience. Signup Now! >http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 |
From: Václav K. <ven...@gm...> - 2016-02-12 07:22:00
|
I my case, SAMBA is only translator from/to obscure M$oft protocols to linux hosted file share. So Samba even does not need to know any users, just it has to have some facility (plugin, or even connection to HTTP(s) endpoint allowing leave all impl detail to any programming lang) that can tell to samba: "user with this ID is within this groups, login hours, or whatever info needed to operate". LDAP is not the only way to store info... :) Am i Wrong? On 9 February 2016 at 22:12, Jelmer Vernooij <je...@sa...> wrote: > On Mon, Feb 08, 2016 at 07:53:32PM +0100, Herwin Weststrate wrote: > > On 02/07/2016 09:54 PM, Václav Klecanda wrote: > > > Hi, I'd like to know what is the lates state of this project and if > > > there is still some people iterresting in it. If so, where can I find > > > latest docs and code? > > > > The code has been updated for Samba releases in the 3.x-branch. I > > haven't really made any official releases on sourceforge, but you can > > always use the svn branches at > > http://sourceforge.net/p/pdbsql/code/HEAD/tree/branches/, the name of > > the branch indicates the version. Docs are included in the branches. I > > also have a clone living at https://github.com/herwinw/pdbsql, it > > contains a 3.6 branch that has been minimized (pdsql_36_light). I've got > > that one on a production server and it works. > > > > The SQL modules have not really changed the last years, except for > > changes required for newer Samba versions. pdb_multi also kind of works, > > but the whole idea behind it is a bit tricky, I would advise against > > using that in production unless you're willing to give it a long test > run. > > > > Samba 4 is not supported, that has been a complete rewrite of the core > > and I couldn't really find where it stored the users in the four minutes > > I tried looking at them. I know S4 has a Python-interpreter embedded > > into it, so I'm hoping that instead of compiling a plugin it would be > > possible to just load a python script of a few lines that fetches users > > from a database. But since S4 also includes an LDAP server it might be > > worth a try to see if you could just use that LDAP to store your users > > instead of the database. I kind of got a liking to systems that work out > > of the box the last years ;) > Samba 4 is not a rewrite of the core. passdb is still there, and pdbsql > should still work (module a bunch of minor API changes). > > However, passdb is not used if you use samba in AD DC mode - just if > you use it as a traditional NT4-style domain controller. A thing like > pdbsql isn't possible with the AD DC since all users are stored in > the internal LDAP server. > > Cheers, > > Jelmer > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > |
From: Jelmer V. <je...@sa...> - 2016-02-09 21:12:49
|
On Mon, Feb 08, 2016 at 07:53:32PM +0100, Herwin Weststrate wrote: > On 02/07/2016 09:54 PM, Václav Klecanda wrote: > > Hi, I'd like to know what is the lates state of this project and if > > there is still some people iterresting in it. If so, where can I find > > latest docs and code? > > The code has been updated for Samba releases in the 3.x-branch. I > haven't really made any official releases on sourceforge, but you can > always use the svn branches at > http://sourceforge.net/p/pdbsql/code/HEAD/tree/branches/, the name of > the branch indicates the version. Docs are included in the branches. I > also have a clone living at https://github.com/herwinw/pdbsql, it > contains a 3.6 branch that has been minimized (pdsql_36_light). I've got > that one on a production server and it works. > > The SQL modules have not really changed the last years, except for > changes required for newer Samba versions. pdb_multi also kind of works, > but the whole idea behind it is a bit tricky, I would advise against > using that in production unless you're willing to give it a long test run. > > Samba 4 is not supported, that has been a complete rewrite of the core > and I couldn't really find where it stored the users in the four minutes > I tried looking at them. I know S4 has a Python-interpreter embedded > into it, so I'm hoping that instead of compiling a plugin it would be > possible to just load a python script of a few lines that fetches users > from a database. But since S4 also includes an LDAP server it might be > worth a try to see if you could just use that LDAP to store your users > instead of the database. I kind of got a liking to systems that work out > of the box the last years ;) Samba 4 is not a rewrite of the core. passdb is still there, and pdbsql should still work (module a bunch of minor API changes). However, passdb is not used if you use samba in AD DC mode - just if you use it as a traditional NT4-style domain controller. A thing like pdbsql isn't possible with the AD DC since all users are stored in the internal LDAP server. Cheers, Jelmer |
From: Herwin W. <he...@he...> - 2016-02-08 19:27:06
|
On 02/07/2016 09:54 PM, Václav Klecanda wrote: > Hi, I'd like to know what is the lates state of this project and if > there is still some people iterresting in it. If so, where can I find > latest docs and code? The code has been updated for Samba releases in the 3.x-branch. I haven't really made any official releases on sourceforge, but you can always use the svn branches at http://sourceforge.net/p/pdbsql/code/HEAD/tree/branches/, the name of the branch indicates the version. Docs are included in the branches. I also have a clone living at https://github.com/herwinw/pdbsql, it contains a 3.6 branch that has been minimized (pdsql_36_light). I've got that one on a production server and it works. The SQL modules have not really changed the last years, except for changes required for newer Samba versions. pdb_multi also kind of works, but the whole idea behind it is a bit tricky, I would advise against using that in production unless you're willing to give it a long test run. Samba 4 is not supported, that has been a complete rewrite of the core and I couldn't really find where it stored the users in the four minutes I tried looking at them. I know S4 has a Python-interpreter embedded into it, so I'm hoping that instead of compiling a plugin it would be possible to just load a python script of a few lines that fetches users from a database. But since S4 also includes an LDAP server it might be worth a try to see if you could just use that LDAP to store your users instead of the database. I kind of got a liking to systems that work out of the box the last years ;) Kind regards, -- Herwin Weststrate |
From: Václav K. <ven...@gm...> - 2016-02-07 20:55:03
|
Hi, I'd like to know what is the lates state of this project and if there is still some people iterresting in it. If so, where can I find latest docs and code? Thanks, Vasek |
From: Paulo R. S. (v. Twitter) <no...@tw...> - 2014-08-07 13:11:53
|
Paulo Roberto Silva enviou um convite para você Através do Twitter você fica conectado ao que está acontecendo neste momento com as pessoas e organizações que lhe interessam. Aceitar convite https://twitter.com/i/9dc68bfe-87b8-4183-b4bf-4d58c5424fef -- You can unsubscribe from receiving email notifications from Twitter at anytime. For general inquiries, please visit us at Twitter Support. Remover inscrição: https://twitter.com/i/o?t=1&iid=c6640c10b42d4ba69ff255043a6d1998&uid=0&c=%2BbGNwjZbwPK2KZWfIPJMPtDQfsLSDKi2iLKh9MJ60GMT9bb%2BAKD7gA%3D%3D&nid=244+26 Precisa de ajuda? https://support.twitter.com |
From: Badoo <nor...@ba...> - 2012-10-07 00:44:48
|
Leia as mensagens deixadas por Fabiano Maciel Maciel antes que sejam deletadas! Para ler sua mensagem, siga este link: http://us1.badoo.com/01120662797/in/AFI8-JClCOI/?lang_id=61&m=65&mid=5070d07800000000003d000000813d7801cf8c530189 Se os links desta mensagem não funcionarem, copie e cole-os na barra de endereços do seu browser. Este email e parte do procedimento de entrega de mensagens enviadas por Fabiano Maciel Maciel. Caso tenha recebido este email por engano, apenas ignore. Em breve esta mensagem será removida do sistema. Divirta-se! A Equipe Badoo Este email foi enviado por Badoo Trading Limited (endereço postal abaixo). http://us1.badoo.com/impersonation.phtml?lang_id=61&email=pdbsql-users%40lists.sourceforge.net&block_code=f14ab1&m=65&mid=5070d07800000000003d000000813d7801cf8c530189 Badoo Trading Limited é uma empresa registrada na Inglaterra e País de Gales com CRN 7540255 e firma registrada no seguinte endereço: 44a The Green, Warlingham, Surrey, CR6 9NA. |
From: Badoo <nor...@ba...> - 2012-09-29 01:56:56
|
Fabiano Maciel Maciel deixou uma mensagem para você... Só você pode ler o conteúdo desta mensagem e ver quem a enviou. Delete a qualquer momento ou responda imediatamente com o sistema de troca de mensagens. Para descobrir o que diz a mensagem, siga este link. http://us1.badoo.com/01120662797/in/AFI8-JClCOI/?lang_id=61&m=63&mid=5066555e00000000003d00000076c25e00ac0924002d Mais algumas pessoas na área que estão no Badoo Fred (Fortaleza , Brasil) Ninha (Fortaleza , Brasil) Naty (Fortaleza , Brasil) http://us1.badoo.com/01120662797/in/AFI8-JClCOI/?lang_id=61&m=63&mid=5066555e00000000003d00000076c25e00ac0924002d Se o link desta mensagem não funcionar, copie e cole-o em seu navegador. Este email faz parte de nosso sistema de entrega para a mensagem enviada por Fabiano Maciel Maciel. Se recebeu este email por engano, por favor ignore-o. A mensagem será deletada em breve. Divirta-se! A Equipe Badoo Este email foi enviado por Badoo Trading Limited (endereço postal abaixo). http://us1.badoo.com/impersonation.phtml?lang_id=61&email=pdbsql-users%40lists.sourceforge.net&block_code=f14ab1&m=63&mid=5066555e00000000003d00000076c25e00ac0924002d Badoo Trading Limited é uma empresa registrada na Inglaterra e País de Gales com CRN 7540255 e firma registrada no seguinte endereço: 44a The Green, Warlingham, Surrey, CR6 9NA. |
From: Marcin <m-a...@go...> - 2010-05-25 14:22:03
|
Hello, I compiled version pdbsql-32 with samba 3.2.15 and add to /etc/samba/smb.conf: [global] netbios name = cetus workgroup = cetus security = domain domain logons = yes domain master = yes passdb backend = pgsql:/usr/lib/samba/pdb/pgsql.so:pgsql pgsql:pgsql host = 192.168.0.3 pgsql:pgsql user = samba pgsql:pgsql password = somepass pgsql:pgsql database = system pgsql:pgsql port = 5432 pgsql:table = users and create table user in postgresql in db system. When I'm adding user I have: # Database server parameters: host: localhost, user: samba, password: XXXX, database: samba, port: 5433 Why pdbsql don't reading database values from smb.conf file? I can add this paramets to pdb_pgsql.c as constant, but database table called 'user' is restricted used in postgresql as postgresql role. In sql I see: INSERT INTO user or SELECT FROM user ERROR: syntax error at or near "user" LINE 1: INSERT INTO user in this table name must be: INSERT INTO "user" or SELECT FROM "user" any idea? |
From: Bastien S. <bs...@cy...> - 2010-03-25 13:35:41
|
Thank you for your response. I'm currently trying to make samba 3.4 working inside my current system (Samba 3.0 + tdbsql + MySQL). There's a problem that I do not think related to the module, and I'm trying to resolve it with the help of the Samba ML : http://lists.samba.org/archive/samba/2010-March/154584.html You confirm me what I thought, the smbclient should work with a basic setup. If we can make samba work, so I'll can help tracking bugs. The current installation is on a little server and inside a jail (FreeBSD kind of virtualization) with limited resources, as it only serves to authenticate (workstations and shares on other servers). So if there's a memory leak I think I'll see it pretty fast. :) Le 25/03/2010 12:23, Herwin Weststrate a écrit : > On Thu, Mar 18, 2010 at 03:45:16PM +0100, Bastien Semene wrote: > >> Anyway, when I'm going to the pdbsql page, I see that pdbsql v0.3.1 is >> for samba 3.0.25 - samba 3.0.28a, >> But in the sourceforge download page I see : "Tested with Samba 3.4(.0-.5)" >> >> So, is the main page of pdb not up to date ? >> > No, the latest versions are added to the Sourceforge page, but not to > the main page. The versions that work with samba 3.4 can only be found > on the SF page. > > >> Or is "Tested" term special, meaning something like "it works but we >> didn't extended tests" ? >> > Something like that. The test include compliation tests with the vanilla > source, a list view with pdbedit and a login/ls test with smbclient. It > would be better if it included some heavier test but I've never really > started that. (Of course all help with that would be welcome). It might > be possible that the plugin causes samba to leak memory, run out of file > descriptors, etc, even though I don't think it's a very big chance. > > Regards, Herwin > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > > -- Bastien Semene Administrateur Réseau& Système Cyanide Studio - FRANCE |
From: Herwin W. <he...@sn...> - 2010-03-25 12:36:04
|
On Thu, Mar 18, 2010 at 03:45:16PM +0100, Bastien Semene wrote: > Anyway, when I'm going to the pdbsql page, I see that pdbsql v0.3.1 is > for samba 3.0.25 - samba 3.0.28a, > But in the sourceforge download page I see : "Tested with Samba 3.4(.0-.5)" > > So, is the main page of pdb not up to date ? No, the latest versions are added to the Sourceforge page, but not to the main page. The versions that work with samba 3.4 can only be found on the SF page. > Or is "Tested" term special, meaning something like "it works but we > didn't extended tests" ? Something like that. The test include compliation tests with the vanilla source, a list view with pdbedit and a login/ls test with smbclient. It would be better if it included some heavier test but I've never really started that. (Of course all help with that would be welcome). It might be possible that the plugin causes samba to leak memory, run out of file descriptors, etc, even though I don't think it's a very big chance. Regards, Herwin |
From: Bastien S. <bs...@cy...> - 2010-03-19 13:52:14
|
@Timur : I put you in copy of this email because I think the portage of samba-pdbsql should be updated, or an option should be setup to chose between Samba3 or Samba34 if needed. Ok, I finally managed to make it compiling as it should. I don't have the faith now to explain everything I changed in the Makefile, so I will past it here. But I'm open to any question related to my changes (I can't help on the "why this doesn't work on FreeBSD" as I have no skill in compilation). This is a dirty Makefile as I only needed mysql.so, but it works for its purposes (compiling mysql.so). Also, I made pdbsql to use the FreeBSD port of talloc lib, it is talloc 2. Samba (by default on the portage) and pdb doesn't use the lib from samba sources. # Makefile for experimental pdb modules CC = gcc INSTALL = /usr/bin/install -c SHLIBEXT = so modules = multi mysql pgsql MYSQL_LIBS = -L/usr/local/lib/mysql -lmysqlclient -lz -lcrypt -lm PGSQL_LIBS = -lpq -L/usr/local/lib #TALLOC_LIBS = -ltalloc TALLOC_LIBS = -L/usr/local/lib -ltalloc #TALLOC_LIBS = -l/usr/local/lib/libtalloc.so SOURCEDIR = /tmp/samba-3.4.5 LIBDIR = /usr/local/lib/samba34 CFLAGS = -Wall -g -O2 -I/usr/local/include/mysql -pipe -fno-strict-aliasing -I/usr/local/include -I$(SOURCEDIR)/source3 -I$(SOURCEDIR)/source3/include -I$(SOURCEDIR)/source3/librpc -I$(SOURCEDIR)/lib/replac all: multi.so mysql.so pgsql.so .c.o: $(CC) $(CFLAGS) -fPIC -c $< mysql.$(SHLIBEXT): pdb_mysql.o pdb_sql.o $(CC) -shared -o $@ pdb_mysql.o pdb_sql.o $^ $(MYSQL_LIBS) $(TALLOC_LIBS) pgsql.$(SHLIBEXT): pdb_pgsql.o pdb_sql.o $(CC) -shared -o $@ $^ $(PGSQL_LIBS) $(TALLOC_LIBS) multi.$(SHLIBEXT): pdb_multi.o $(CC) -shared -o $@ $^ $(TALLOC_LIBS) Makefile: Makefile.in config.status ./config.status clean: rm -f *.o *.$(SHLIBEXT) install: $(INSTALL) -d $(DESTDIR)$(LIBDIR)/pdb $(INSTALL) -m 0755 mysql.so $(DESTDIR)$(LIBDIR)/pdb distclean: clean rm -rf autom4te.cache config.cache config.status rm -f config.h Makefile config.log rm -f *~ Le 19/03/2010 11:52, Bastien Semene a écrit : > Hi, > > I have a problem compiling pdbsql34 on my FreeBSD 8 server. I'm a > system administrator, so not that friendly with compilation. > > After runing into several compilation problems, I'm currently stuck > with the /ld/ command and the talloc library. > talloc2 is installed on my system, and used by samba34 for the > compilation. > > I compiled talloc 1.3 within the samba sources to try. same problem. > > What I did is to tweak the TALLOC_LIBS variable to take explicitly > talloc lib into account, I tried this ways : > TALLOC_LIBS = -L/usr/local/lib -talloc > TALLOC_LIBS = -l/usr/local/lib/libtalloc.so > > I tried modifying the symlink between libtalloc.so1.3.0 and lobtalloc.so.2 > > ld still says : > /usr/bin/ld: cannot find -l/usr/local/lib/libtalloc.so > or gcc: unrecognized option '-talloc' > > If I remove this lib, the compilation works but I have the following > problem when starting smbd : > log.smbd : > [2010/03/18 17:47:30, 0] lib/module.c:59(do_smb_load_module) > Error trying to resolve symbol 'init_samba_module' in > /usr/local/lib/samba34/pdb/mysql.so: Undefined symbol "init_samba_module" > > If this is not a problem due to talloc, it's fine I don't need it as > this is a pretty little system and I've plan to switch to ldap backend > soon. > But the problem seems to be elsewhere. It seems it's missing something > from samba, else if the sources are correctly given to the configure > script. > > Any help or idea is very welcome. > > -- > Bastien Semene > Administrateur Réseau& Système > > Cyanide Studio - FRANCE > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev -- Bastien Semene Administrateur Réseau& Système Cyanide Studio - FRANCE |
From: Bastien S. <bs...@cy...> - 2010-03-19 10:53:08
|
Hi, I have a problem compiling pdbsql34 on my FreeBSD 8 server. I'm a system administrator, so not that friendly with compilation. After runing into several compilation problems, I'm currently stuck with the /ld/ command and the talloc library. talloc2 is installed on my system, and used by samba34 for the compilation. I compiled talloc 1.3 within the samba sources to try. same problem. What I did is to tweak the TALLOC_LIBS variable to take explicitly talloc lib into account, I tried this ways : TALLOC_LIBS = -L/usr/local/lib -talloc TALLOC_LIBS = -l/usr/local/lib/libtalloc.so I tried modifying the symlink between libtalloc.so1.3.0 and lobtalloc.so.2 ld still says : /usr/bin/ld: cannot find -l/usr/local/lib/libtalloc.so or gcc: unrecognized option '-talloc' If I remove this lib, the compilation works but I have the following problem when starting smbd : log.smbd : [2010/03/18 17:47:30, 0] lib/module.c:59(do_smb_load_module) Error trying to resolve symbol 'init_samba_module' in /usr/local/lib/samba34/pdb/mysql.so: Undefined symbol "init_samba_module" If this is not a problem due to talloc, it's fine I don't need it as this is a pretty little system and I've plan to switch to ldap backend soon. But the problem seems to be elsewhere. It seems it's missing something from samba, else if the sources are correctly given to the configure script. Any help or idea is very welcome. -- Bastien Semene Administrateur Réseau& Système Cyanide Studio - FRANCE |
From: Bastien S. <bs...@cy...> - 2010-03-18 15:04:03
|
Hi, I wish to install pdbsql module with Samba 3.4 on a FreeBSD server due to the update of Samba and Windows Seven. While FreeBSD offers portages (ports), if you install a port it automatically verifiy for dependencies and install them if needed. I've seen that the pdbsql port wants Samba3.0 to install, and I asked myself why. The limitation itself is not a problem, I've modified the port file, and as I'm typing this lines all is installing (maybe it will crash). Anyway, when I'm going to the pdbsql page, I see that pdbsql v0.3.1 is for samba 3.0.25 - samba 3.0.28a, But in the sourceforge download page I see : "Tested with Samba 3.4(.0-.5)" So, is the main page of pdb not up to date ? Or is "Tested" term special, meaning something like "it works but we didn't extended tests" ? Thanks for your responses :) -- Bastien Semene Administrateur Réseau& Système Cyanide Studio - FRANCE |
From: Collen B. <co...@he...> - 2010-03-01 07:56:44
|
Hi, didn't know pdbsql compiled and was able to run with samba 3.4.X and up ?? we kinda stopped at samba 3.2.X .. sorry... it might work, but it also might not work with 3.4.X.. Collen. Mrg. Miroslav Baranko wrote: > On 02/25/2010 12:39 AM, mam...@gm... wrote: >> >> >> 2010/2/25 Mrg. Miroslav Baranko <mir...@up... >> <mailto:mir...@up...>> >> >> >> > It looks like you compiled the pdb mysql module against an old >> version >> > of talloc, but are actually using a new version of talloc. Do >> you have >> > the talloc 2 .so and header installed, and is that what is being >> used by >> > pdb_mysql ? >> > >> > Cheers, >> > >> > Jelmer >> > >> >> Heloo, >> >> no pdbsql was build on fedora 12 where is >> libtalloc-2.0.0-0.fc12.i686. >> Issue is in fedora 12 samba package i think or pdbsql sources. >> >> >> Try to add "-I$(SOURCEDIR)/lib/talloc" to the CFLAGS variable in the >> Makefile. >> >> > > already there: > > CFLAGS = -Wall -g -O2 -I/usr/include/mysql -g -pipe > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m32 -fasynchronous-unwind-tables > -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -fno-strict-aliasing -fwrapv -fPIC -DUNIV_LINUX > -I$(SOURCEDIR)/source3 -I$(SOURCEDIR)/source3/include > -I$(SOURCEDIR)/source3/librpc -I$(SOURCEDIR)/lib/replace > -I$(SOURCEDIR)/lib/tdb/include -I$(SOURCEDIR)/lib/tevent > -I$(SOURCEDIR)/ -I$(SOURCEDIR)/lib/talloc > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev |
From: Mrg. M. B. <mir...@up...> - 2010-02-24 23:54:37
|
On 02/25/2010 12:39 AM, mam...@gm... wrote: > > > 2010/2/25 Mrg. Miroslav Baranko <mir...@up... > <mailto:mir...@up...>> > > > > It looks like you compiled the pdb mysql module against an old > version > > of talloc, but are actually using a new version of talloc. Do > you have > > the talloc 2 .so and header installed, and is that what is being > used by > > pdb_mysql ? > > > > Cheers, > > > > Jelmer > > > > Heloo, > > no pdbsql was build on fedora 12 where is libtalloc-2.0.0-0.fc12.i686. > Issue is in fedora 12 samba package i think or pdbsql sources. > > > Try to add "-I$(SOURCEDIR)/lib/talloc" to the CFLAGS variable in the > Makefile. > > already there: CFLAGS = -Wall -g -O2 -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -fPIC -DUNIV_LINUX -I$(SOURCEDIR)/source3 -I$(SOURCEDIR)/source3/include -I$(SOURCEDIR)/source3/librpc -I$(SOURCEDIR)/lib/replace -I$(SOURCEDIR)/lib/tdb/include -I$(SOURCEDIR)/lib/tevent -I$(SOURCEDIR)/ -I$(SOURCEDIR)/lib/talloc |
From: <mam...@gm...> - 2010-02-24 23:39:16
|
2010/2/25 Mrg. Miroslav Baranko <mir...@up...> > > > It looks like you compiled the pdb mysql module against an old version > > of talloc, but are actually using a new version of talloc. Do you have > > the talloc 2 .so and header installed, and is that what is being used by > > pdb_mysql ? > > > > Cheers, > > > > Jelmer > > > > Heloo, > > no pdbsql was build on fedora 12 where is libtalloc-2.0.0-0.fc12.i686. > Issue is in fedora 12 samba package i think or pdbsql sources. > Try to add "-I$(SOURCEDIR)/lib/talloc" to the CFLAGS variable in the Makefile. > i solve my problem temporary that i use my older fedora 11 samba package > and my older pdbsql module. > > Miroslav. > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > |
From: Mrg. M. B. <mir...@up...> - 2010-02-24 23:31:59
|
> It looks like you compiled the pdb mysql module against an old version > of talloc, but are actually using a new version of talloc. Do you have > the talloc 2 .so and header installed, and is that what is being used by > pdb_mysql ? > > Cheers, > > Jelmer > Heloo, no pdbsql was build on fedora 12 where is libtalloc-2.0.0-0.fc12.i686. Issue is in fedora 12 samba package i think or pdbsql sources. i solve my problem temporary that i use my older fedora 11 samba package and my older pdbsql module. Miroslav. |
From: Jelmer V. <je...@sa...> - 2010-02-24 23:21:47
|
On Wed, 2010-02-24 at 21:40 +0100, Mrg. Miroslav Baranko wrote: > i try to build samba-3.4.2-47.fc12.i386.rpm and pdbsql. > Same error (propably only fedora 12 issue, gcc ?). > > [2010/02/24 20:23:16, 5] lib/module.c:111(smb_probe_module) > Probing module 'mysql' > [2010/02/24 20:23:16, 5] lib/module.c:130(smb_probe_module) > Probing module 'mysql': Trying to load from /usr/lib/samba/pdb/mysql.so > [2010/02/24 20:23:16, 2] lib/module.c:64(do_smb_load_module) > Module '/usr/lib/samba/pdb/mysql.so' loaded > [2010/02/24 20:23:16, 5] passdb/pdb_interface.c:63(smb_register_passdb) > Attempting to register passdb backend mysql > [2010/02/24 20:23:16, 5] passdb/pdb_interface.c:76(smb_register_passdb) > Successfully added passdb backend 'mysql' > [2010/02/24 20:23:16, 5] passdb/pdb_interface.c:154(make_pdb_method_name) > Found pdb backend mysql > [2010/02/24 20:23:16, 1] pdb_mysql.c:573(mysqlsam_init) > Connecting to database server, host: localhost, user: root, database: > system, port: 3306 > [2010/02/24 20:23:16, 5] pdb_mysql.c:86(pdb_mysql_connect) > Connected to mysql db > [2010/02/24 20:23:16, 5] passdb/pdb_interface.c:165(make_pdb_method_name) > pdb backend mysql:mysql has a valid init > [2010/02/24 20:23:16, 5] lib/gencache.c:61(gencache_init) > Opening cache file at /var/lib/samba/gencache.tdb > [2010/02/24 20:23:16, 5] libsmb/namecache.c:59(namecache_enable) > namecache_enable: enabling netbios namecache, timeout 660 seconds > > smbd: symbol lookup error: /usr/lib/samba/pdb/mysql.so: undefined > symbol: talloc_free It looks like you compiled the pdb mysql module against an old version of talloc, but are actually using a new version of talloc. Do you have the talloc 2 .so and header installed, and is that what is being used by pdb_mysql ? Cheers, Jelmer |
From: Mrg. M. B. <mir...@up...> - 2010-02-24 20:47:52
|
Hello, i try to build samba-3.4.2-47.fc12.i386.rpm and pdbsql. Same error (propably only fedora 12 issue, gcc ?). [2010/02/24 20:23:16, 5] lib/module.c:111(smb_probe_module) Probing module 'mysql' [2010/02/24 20:23:16, 5] lib/module.c:130(smb_probe_module) Probing module 'mysql': Trying to load from /usr/lib/samba/pdb/mysql.so [2010/02/24 20:23:16, 2] lib/module.c:64(do_smb_load_module) Module '/usr/lib/samba/pdb/mysql.so' loaded [2010/02/24 20:23:16, 5] passdb/pdb_interface.c:63(smb_register_passdb) Attempting to register passdb backend mysql [2010/02/24 20:23:16, 5] passdb/pdb_interface.c:76(smb_register_passdb) Successfully added passdb backend 'mysql' [2010/02/24 20:23:16, 5] passdb/pdb_interface.c:154(make_pdb_method_name) Found pdb backend mysql [2010/02/24 20:23:16, 1] pdb_mysql.c:573(mysqlsam_init) Connecting to database server, host: localhost, user: root, database: system, port: 3306 [2010/02/24 20:23:16, 5] pdb_mysql.c:86(pdb_mysql_connect) Connected to mysql db [2010/02/24 20:23:16, 5] passdb/pdb_interface.c:165(make_pdb_method_name) pdb backend mysql:mysql has a valid init [2010/02/24 20:23:16, 5] lib/gencache.c:61(gencache_init) Opening cache file at /var/lib/samba/gencache.tdb [2010/02/24 20:23:16, 5] libsmb/namecache.c:59(namecache_enable) namecache_enable: enabling netbios namecache, timeout 660 seconds smbd: symbol lookup error: /usr/lib/samba/pdb/mysql.so: undefined symbol: talloc_free Any idea? Thanks P.S tommorow i must reinstal server ( i dont test this at first and i was update live server, my fault (dont expect problems ;( ) |
From: Mrg. M. B. <mir...@up...> - 2010-02-24 17:37:28
|
Hello, after build from svn (looks ok). samba-3.4.5-55.fc12.i686 load modul, but crash. Can give access to box, if no fedora 12 enviroment. (fedora 11 samba 3.4.2 works ok) Thanks Miroslav Module '/usr/lib/samba/pdb/mysql.so' loaded [2010/02/24 17:04:33, 5] passdb/pdb_interface.c:63(smb_register_passdb) Attempting to register passdb backend mysql [2010/02/24 17:04:33, 5] passdb/pdb_interface.c:76(smb_register_passdb) Successfully added passdb backend 'mysql' [2010/02/24 17:04:33, 5] passdb/pdb_interface.c:154(make_pdb_method_name) Found pdb backend mysql [2010/02/24 17:04:33, 1] pdb_mysql.c:573(mysqlsam_init) Connecting to database server, host: localhost, user: root, database: system, port: 3306 [2010/02/24 17:04:33, 5] pdb_mysql.c:86(pdb_mysql_connect) Connected to mysql db [2010/02/24 17:04:33, 5] passdb/pdb_interface.c:165(make_pdb_method_name) pdb backend mysql:mysql has a valid init [2010/02/24 17:04:33, 5] lib/gencache.c:61(gencache_init) Opening cache file at /var/lib/samba/gencache.tdb [2010/02/24 17:04:33, 5] libsmb/namecache.c:59(namecache_enable) namecache_enable: enabling netbios namecache, timeout 660 seconds [2010/02/24 17:04:33, 10] registry/reg_cachehook.c:73(reghook_cache_init) reghook_cache_init: new tree with default ops 0xc59ba0 for key [] smbd: symbol lookup error: /usr/lib/samba/pdb/mysql.so: undefined symbol: talloc_free |
From: Herwin W. <he...@sn...> - 2010-02-18 19:45:42
|
> > $ cd $SAMBADIR/source3 > $ ./configure > $ make proto > make: There is no thing that should be done to `proto ' > > >$ cd $PDBSQLDIR > >$ ./configure --with-samba-dir=$SAMBADIR > i can't find configure > run ./autogen.sh in $PDBSQLDIR, that will create the configure-script. The update for the README-file is on it's way. Herwin |
From: moli t. <mol...@gm...> - 2010-02-18 17:14:30
|
README >$ cd $SAMBADIR/source >$ ./configure >$ make proto >$ cd $PDBSQLDIR >$ ./configure --with-samba-dir=$SAMBADIR >$ make >$ make install I tried install samba-3.4.5 Cent5.3 32bit $ cd $SAMBADIR/source3 $ ./configure $ make proto make: There is no thing that should be done to `proto ' >$ cd $PDBSQLDIR >$ ./configure --with-samba-dir=$SAMBADIR i can't find configure please teach me how to install it. |
From: Collen B. <co...@he...> - 2010-02-10 07:38:07
|
Sure, if you take care of my paycheck (-: we all do this package, because we need it as well. it's all voluntariness work.. most of us lack the time for good development. cheers, Collen.. Cyril Lavier wrote: > Note for developers, I think it would be great to add these checks in > the configure process. > > If I have some time, I will try to write a patch about this. > > Thanks. > > > Karl-Ludwig Reinhard wrote: > >> Thanks for your suggestions. I'll also try the pdbsql module in the next >> days/weeks. It's a very interessting module, but I'm too busy right now... >> >> Greets >> Karl >> >> On 02.09.2010 16:05 , "Cyril Lavier" <cl...@lt...> wrote: >> >> >> >>> Apparently, I just forgot to install the tdb-dev package. >>> >>> Now, the compilation works well. >>> >>> Let's see the utilization, :D. >>> >>> Thanks. >>> >>> Cyril Lavier wrote: >>> >>> >>>> I installed the libtalloc-dev package, redone the configure process and >>>> I still have errors : >>>> http://paste.davromaniak.eu/pastebin.php?show=m2b37fddd >>>> >>>> Looks like strange >>>> >>>> Thanks. >>>> >>>> Herwin Weststrate wrote: >>>> >>>> >>>> >>>>> It's unable to find the development files for libtalloc. Please install >>>>> them (on Debian they're included in the package libtalloc-dev) >>>>> >>>>> Herwin >>>>> >>>>> On Mon, Feb 08, 2010 at 05:15:17PM +0100, Cyril Lavier wrote: >>>>> >>>>> >>>>> >>>>> >>>>>> I used the pdbsql_32-0.4-rc1.tar.bz2 tarball, with samba 3.2.5. >>>>>> >>>>>> Here is what I get when I try to compile it : >>>>>> >>>>>> http://paste.davromaniak.eu/pastebin.php?show=m29721874 >>>>>> >>>>>> Thanks >>>>>> >>>>>> Collen Blijenberg wrote: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> Yes there is, if you use the correct version >>>>>>> (pdbsql_32) >>>>>>> you might need to tweak the makefile a little if your samba >>>>>>> version is 3.2.10 > >>>>>>> >>>>>>> Cheers.. Collen >>>>>>> >>>>>>> Cyril Lavier wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> I would like to know if there's a support for Samba 3.2. >>>>>>>> >>>>>>>> I'm trying to compile it under debian lenny, and it's not working. >>>>>>>> >>>>>>>> Thanks. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> -------------------------------------------------------------------------- >>>>>>> ---- >>>>>>> The Planet: dedicated and managed hosting, cloud storage, colocation >>>>>>> Stay online with enterprise data centers and the best network in the >>>>>>> business >>>>>>> Choose flexible plans and management services without long-term contracts >>>>>>> Personal 24x7 support from experience hosting pros just a phone call away. >>>>>>> http://p.sf.net/sfu/theplanet-com >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> -- >>>>>> Cyril LAVIER | Systems Administrator | LTU Technologies >>>>>> 132 Rue de Rivoli - 75001 Paris France >>>>>> (tel) +33 (0)1 53 43 01 71 | (mail) cl...@lt... >>>>>> LTU technologies - Making Sense of Visual Content | www.LTUtech.com >>>>>> >>>>>> >>>>>> --------------------------------------------------------------------------- >>>>>> --- >>>>>> The Planet: dedicated and managed hosting, cloud storage, colocation >>>>>> Stay online with enterprise data centers and the best network in the >>>>>> business >>>>>> Choose flexible plans and management services without long-term contracts >>>>>> Personal 24x7 support from experience hosting pros just a phone call away. >>>>>> http://p.sf.net/sfu/theplanet-com >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> ---------------------------------------------------------------------------- >>>>> -- >>>>> The Planet: dedicated and managed hosting, cloud storage, colocation >>>>> Stay online with enterprise data centers and the best network in the >>>>> business >>>>> Choose flexible plans and management services without long-term contracts >>>>> Personal 24x7 support from experience hosting pros just a phone call away. >>>>> http://p.sf.net/sfu/theplanet-com >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >> ------------------------------------------------------------------------------ >> The Planet: dedicated and managed hosting, cloud storage, colocation >> Stay online with enterprise data centers and the best network in the business >> Choose flexible plans and management services without long-term contracts >> Personal 24x7 support from experience hosting pros just a phone call away. >> http://p.sf.net/sfu/theplanet-com >> >> > > > |
From: Cyril L. <cl...@lt...> - 2010-02-09 15:34:54
|
Note for developers, I think it would be great to add these checks in the configure process. If I have some time, I will try to write a patch about this. Thanks. Karl-Ludwig Reinhard wrote: > Thanks for your suggestions. I'll also try the pdbsql module in the next > days/weeks. It's a very interessting module, but I'm too busy right now... > > Greets > Karl > > On 02.09.2010 16:05 , "Cyril Lavier" <cl...@lt...> wrote: > > >> Apparently, I just forgot to install the tdb-dev package. >> >> Now, the compilation works well. >> >> Let's see the utilization, :D. >> >> Thanks. >> >> Cyril Lavier wrote: >> >>> I installed the libtalloc-dev package, redone the configure process and >>> I still have errors : >>> http://paste.davromaniak.eu/pastebin.php?show=m2b37fddd >>> >>> Looks like strange >>> >>> Thanks. >>> >>> Herwin Weststrate wrote: >>> >>> >>>> It's unable to find the development files for libtalloc. Please install >>>> them (on Debian they're included in the package libtalloc-dev) >>>> >>>> Herwin >>>> >>>> On Mon, Feb 08, 2010 at 05:15:17PM +0100, Cyril Lavier wrote: >>>> >>>> >>>> >>>>> I used the pdbsql_32-0.4-rc1.tar.bz2 tarball, with samba 3.2.5. >>>>> >>>>> Here is what I get when I try to compile it : >>>>> >>>>> http://paste.davromaniak.eu/pastebin.php?show=m29721874 >>>>> >>>>> Thanks >>>>> >>>>> Collen Blijenberg wrote: >>>>> >>>>> >>>>> >>>>>> Yes there is, if you use the correct version >>>>>> (pdbsql_32) >>>>>> you might need to tweak the makefile a little if your samba >>>>>> version is 3.2.10 > >>>>>> >>>>>> Cheers.. Collen >>>>>> >>>>>> Cyril Lavier wrote: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> I would like to know if there's a support for Samba 3.2. >>>>>>> >>>>>>> I'm trying to compile it under debian lenny, and it's not working. >>>>>>> >>>>>>> Thanks. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> -------------------------------------------------------------------------- >>>>>> ---- >>>>>> The Planet: dedicated and managed hosting, cloud storage, colocation >>>>>> Stay online with enterprise data centers and the best network in the >>>>>> business >>>>>> Choose flexible plans and management services without long-term contracts >>>>>> Personal 24x7 support from experience hosting pros just a phone call away. >>>>>> http://p.sf.net/sfu/theplanet-com >>>>>> >>>>>> >>>>>> >>>>>> >>>>> -- >>>>> Cyril LAVIER | Systems Administrator | LTU Technologies >>>>> 132 Rue de Rivoli - 75001 Paris France >>>>> (tel) +33 (0)1 53 43 01 71 | (mail) cl...@lt... >>>>> LTU technologies - Making Sense of Visual Content | www.LTUtech.com >>>>> >>>>> >>>>> --------------------------------------------------------------------------- >>>>> --- >>>>> The Planet: dedicated and managed hosting, cloud storage, colocation >>>>> Stay online with enterprise data centers and the best network in the >>>>> business >>>>> Choose flexible plans and management services without long-term contracts >>>>> Personal 24x7 support from experience hosting pros just a phone call away. >>>>> http://p.sf.net/sfu/theplanet-com >>>>> >>>>> >>>>> >>>>> >>>> ---------------------------------------------------------------------------- >>>> -- >>>> The Planet: dedicated and managed hosting, cloud storage, colocation >>>> Stay online with enterprise data centers and the best network in the >>>> business >>>> Choose flexible plans and management services without long-term contracts >>>> Personal 24x7 support from experience hosting pros just a phone call away. >>>> http://p.sf.net/sfu/theplanet-com >>>> >>>> >>>> >>> >>> > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > -- Cyril LAVIER | Systems Administrator | LTU Technologies 132 Rue de Rivoli - 75001 Paris France (tel) +33 (0)1 53 43 01 71 | (mail) cl...@lt... LTU technologies - Making Sense of Visual Content | www.LTUtech.com |