Re: [Samba] Samba 3.4.9 net rpc shutdown and XP Domain client
it may not help you but ... this is strange it says /25 for a netmask = 255.255.255.0 ??? Le 21/11/2010 22:52, Thomas Bork a écrit : added interface 192.168.0.12/25 ip=192.168.0.12 bcast=192.168.0.255 netmask=255.255.255.0 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba4 and group policy password policy
Hello I had the same problem during my test of samba. I disabled complexity requierement ... I can't change password with a simple one. I miss something ? thanks Le 14/04/2010 14:31, Santiago Perez Agra a écrit : Hi every one, I'm testing Samba4 with the guide posted on the wiki http://wiki.samba.org/index.php/Samba4/HOWTO#Step_1:_Download_Samba4, all our tests results ok but one of them crash: Group Policy works ok on a new organizational unit in deploy security task over desktop users but when i create a new user over this ou, with the dsa.msc group policy Computer Configuration Windows Settings Security Settings Account Policies Password Policy Password must need complexity requirement set as Not defined but when dsa.msc asks you about the new password of the user it answer that you need to meet this restrictions, this can be avoid with the linux samba command net newuser ... but what does happen when a user is asked about to change your password because password age is next to expire ... Our goal is to replace all windows XP desktops to ubuntu desktops but we have a number of desktops that is not possible to change XP so we need to implement an AD alternative and Samba 4 is perfect, with group policy support now. Thanks a lot in advance to all of you -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] scannedonly smbd crash
good news ... or not I just try to add vfs object = audit to print$ share and the bug dispear strange ... Le 13/04/2010 19:34, Volker Lendecke a écrit : On Tue, Apr 13, 2010 at 05:26:57PM +0200, Christophe Deze wrote: here is my valgrind.log I hope it helps! It does -- a bit: ==32107== Invalid read of size 4 ==32107==at 0x4B86AF9: (within /usr/lib/samba/vfs/scannedonly.so) ==32107==by 0x815234F: smb_vfs_call_open (in /usr/sbin/smbd) ==32107==by 0x8149F56: (within /usr/sbin/smbd) ==32107==by 0x814C059: create_file_default (in /usr/sbin/smbd) ==32107==by 0x8189161: (within /usr/sbin/smbd) ==32107==by 0x81523FE: smb_vfs_call_create_file (in /usr/sbin/smbd) ==32107==by 0x83E165A: (within /usr/sbin/smbd) ==32107==by 0x83E1B7B: clean_up_driver_struct (in /usr/sbin/smbd) ==32107==by 0x82D179D: _spoolss_AddPrinterDriver (in /usr/sbin/smbd) ==32107==by 0x82D1E07: _spoolss_AddPrinterDriverEx (in /usr/sbin/smbd) ==32107==by 0x82E362C: (within /usr/sbin/smbd) ==32107==by 0x83272EA: api_pipe_request (in /usr/sbin/smbd) ==32107== Address 0x18 is not stack'd, malloc'd or (recently) free'd It would be very helpful if you could recompile with -g to get line numbers. From the message we see that apparently some pointer (very likely fsp) is NULL while scannedonly_open is called. You might want to contact the author of the scannedonly module, Olivier Sessink, directly with this analysis. Either he is listening here on this list, or you can find his email address from the checkin reachable under http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=31e14285 Volker -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] scannedonly smbd crash
Le 14/04/2010 21:39, Volker Lendecke a écrit : On Tue, Apr 13, 2010 at 10:46:22PM +0200, Christophe Deze wrote: but i cant install libldap2-dev that seem to be required My server is a ubuntu hardy Ok, then it's a bit difficult. Maybe Olivier can figure it out without line numbers. Volker I m bit lost in fact i still can't compile samba 3.5.2 sources same error after having installed libldap2-dev something else must be missing Using CFLAGS = -g -g -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER -Wdeclaration-after-statement -Werror-implicit-function-declaration -I. -I/root/samba-3.5.2/source3 -I/root/samba-3.5.2/source3/../lib/popt -I/root/samba-3.5.2/source3/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/popt -I/root/samba-3.5.2/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 PICFLAG= -fPIC LIBS = -lresolv -lresolv -lnsl -ldl LDFLAGS= -pie -Wl,-z,relro -Wl,--as-needed -L./bin DYNEXP = -Wl,--export-dynamic LDSHFLAGS = -shared -Wl,-Bsymbolic -Wl,-z,relro -Wl,--as-needed -L./bin -lc -Wl,-z,defs SHLIBEXT = so SONAMEFLAG = -Wl,-soname= Compiling libsmb/clispnego.c libsmb/clispnego.c: Dans la fonction «spnego_gen_negTokenTarg» : libsmb/clispnego.c:391: erreur: déclaration implicite de la fonction « «cli_krb5_get_ticket» » The following command failed: gcc -g -g -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER -Wdeclaration-after-statement -Werror-implicit-function-declaration -I. -I/root/samba-3.5.2/source3 -I/root/samba-3.5.2/source3/../lib/popt -I/root/samba-3.5.2/source3/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/popt -I/root/samba-3.5.2/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -c libsmb/clispnego.c -o libsmb/clispnego.o make: *** [libsmb/clispnego.o] Erreur 1 Olivier wrote me : do you have the option to edit vfs_scannedonly.c and change #define SCANNEDONLY_DEBUG 9 to #define SCANNEDONLY_DEBUG 5 and set the samba logging to 5 or higher ? I hope that will give a little more logging. regards -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] scannedonly smbd crash
hello I use samba 3.5.2 I have problem with print$ share. When I try to deploy drivers in print$ , with XP wizard. I get an error cf screenshot I've put log level 10 You can see smbd.log in attachement it cause traceback in syslog Apr 13 11:22:37 scribe smbd[11889]: [2010/04/13 11:22:37.892063, 0] lib/util.c:1465(smb_panic) Apr 13 11:22:37 scribe smbd[11889]: PANIC (pid 11889): internal error Apr 13 11:22:37 scribe smbd[11889]: [2010/04/13 11:22:37.900561, 0] lib/util.c:1569(log_stack_trace) Apr 13 11:22:37 scribe smbd[11889]: BACKTRACE: 32 stack frames: Apr 13 11:22:37 scribe smbd[11889]:#0 /usr/sbin/smbd(log_stack_trace+0x2d) [0x83a2c1d] Apr 13 11:22:37 scribe smbd[11889]:#1 /usr/sbin/smbd(smb_panic+0x5d) [0x83a2d4d] Apr 13 11:22:37 scribe smbd[11889]:#2 /usr/sbin/smbd [0x8390cef] Apr 13 11:22:37 scribe smbd[11889]:#3 [0xb7f2f420] Apr 13 11:22:37 scribe smbd[11889]:#4 /usr/sbin/smbd(smb_vfs_call_open+0x40) [0x8152350] Apr 13 11:22:37 scribe smbd[11889]:#5 /usr/sbin/smbd [0x8149f57] Apr 13 11:22:37 scribe smbd[11889]:#6 /usr/sbin/smbd(create_file_default+0x14a) [0x814c05a] Apr 13 11:22:37 scribe smbd[11889]:#7 /usr/sbin/smbd [0x8189162] Apr 13 11:22:37 scribe smbd[11889]:#8 /usr/sbin/smbd(smb_vfs_call_create_file+0x9f) [0x81523ff] Apr 13 11:22:37 scribe smbd[11889]:#9 /usr/sbin/smbd [0x83e165b] Apr 13 11:22:37 scribe smbd[11889]:#10 /usr/sbin/smbd(clean_up_driver_struct+0x6c) [0x83e1b7c] Apr 13 11:22:37 scribe smbd[11889]:#11 /usr/sbin/smbd(_spoolss_AddPrinterDriver+0x13e) [0x82d179e] Apr 13 11:22:37 scribe smbd[11889]:#12 /usr/sbin/smbd(_spoolss_AddPrinterDriverEx+0x58) [0x82d1e08] Apr 13 11:22:37 scribe smbd[11889]:#13 /usr/sbin/smbd [0x82e362d] Apr 13 11:22:37 scribe smbd[11889]:#14 /usr/sbin/smbd(api_pipe_request+0x33b) [0x83272eb] Apr 13 11:22:37 scribe smbd[11889]:#15 /usr/sbin/smbd [0x8320362] Apr 13 11:22:37 scribe smbd[11889]:#16 /usr/sbin/smbd(np_write_send+0x6f5) [0x8320a95] Apr 13 11:22:37 scribe smbd[11889]:#17 /usr/sbin/smbd [0x80fe88e] Apr 13 11:22:37 scribe smbd[11889]:#18 /usr/sbin/smbd [0x80feea1] Apr 13 11:22:37 scribe smbd[11889]:#19 /usr/sbin/smbd(reply_trans+0x5db) [0x80ff8db] Apr 13 11:22:37 scribe smbd[11889]:#20 /usr/sbin/smbd [0x8164700] Apr 13 11:22:37 scribe smbd[11889]:#21 /usr/sbin/smbd [0x816785a] Apr 13 11:22:37 scribe smbd[11889]:#22 /usr/sbin/smbd [0x8167e10] Apr 13 11:22:37 scribe smbd[11889]:#23 /usr/sbin/smbd(run_events+0x1ff) [0x83b37ff] Apr 13 11:22:37 scribe smbd[11889]:#24 /usr/sbin/smbd(smbd_process+0x95b) [0x8166fcb] Apr 13 11:22:37 scribe smbd[11889]:#25 /usr/sbin/smbd [0x86f385c] Apr 13 11:22:37 scribe smbd[11889]:#26 /usr/sbin/smbd(run_events+0x1ff) [0x83b37ff] Apr 13 11:22:37 scribe smbd[11889]:#27 /usr/sbin/smbd [0x83b3a88] Apr 13 11:22:37 scribe smbd[11889]:#28 /usr/sbin/smbd(_tevent_loop_once+0x96) [0x83b40a6] Apr 13 11:22:37 scribe smbd[11889]:#29 /usr/sbin/smbd(main+0x12da) [0x86f360a] Apr 13 11:22:37 scribe smbd[11889]:#30 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7c06450] Apr 13 11:22:37 scribe smbd[11889]:#31 /usr/sbin/smbd [0x80dee71] In my smb.conf , If I comment vfs objects = scannedonly scannedonly:allow_nonscanned_files=True it works! thanks for reading Apr 13 11:20:38 scribe sshd[11824]: Did not receive identification string from 127.0.0.1 Apr 13 11:20:56 scribe nmbd[11695]: [2010/04/13 11:20:56.731003, 0] nmbd/nmbd.c:71(terminate) Apr 13 11:20:56 scribe nmbd[11695]: Got SIGTERM: going down... Apr 13 11:21:00 scribe nmbd[11880]: [2010/04/13 11:21:00.338249, 0] nmbd/nmbd_logonnames.c:160(add_logon_names) Apr 13 11:21:00 scribe nmbd[11880]: add_domain_logon_names: Apr 13 11:21:00 scribe nmbd[11880]: Attempting to become logon server for workgroup DOMCD on subnet 192.168.0.100 Apr 13 11:21:00 scribe nmbd[11880]: [2010/04/13 11:21:00.339224, 0] nmbd/nmbd_logonnames.c:160(add_logon_names) Apr 13 11:21:00 scribe nmbd[11880]: add_domain_logon_names: Apr 13 11:21:00 scribe nmbd[11880]: Attempting to become logon server for workgroup DOMCD on subnet UNICAST_SUBNET Apr 13 11:21:00 scribe nmbd[11880]: [2010/04/13 11:21:00.340188, 0] nmbd/nmbd_become_dmb.c:337(become_domain_master_browser_wins) Apr 13 11:21:00 scribe nmbd[11880]: become_domain_master_browser_wins: Apr 13 11:21:00 scribe nmbd[11880]: Attempting to become domain master browser on workgroup DOMCD, subnet UNICAST_SUBNET. Apr 13 11:21:00 scribe nmbd[11880]: [2010/04/13 11:21:00.340557, 0] nmbd/nmbd_become_dmb.c:351(become_domain_master_browser_wins) Apr 13 11:21:00 scribe nmbd[11880]: become_domain_master_browser_wins: querying WINS server from IP 192.168.0.100 for domain master browser name DOMCD1b on workgroup DOMCD Apr 13 11:21:04 scribe nmbd[11880]: [2010/04/13 11:21:04.410789, 0] nmbd/nmbd_logonnames.c:121(become_logon_server_success) Apr
Re: [Samba] scannedonly smbd crash
I 'm not a valgrind expert. What is the command line to use , in order to generate an interesting report ? thanks Le 13/04/2010 12:17, Volker Lendecke a écrit : On Tue, Apr 13, 2010 at 12:14:47PM +0200, Christophe Deze wrote: I use samba 3.5.2 I have problem with print$ share. When I try to deploy drivers in print$ , with XP wizard. I get an error cf screenshot I've put log level 10 You can see smbd.log in attachement Is it possible that you recompile with debugging symbols (-g, given by ./configure.developer) and/or run smbd under valgrind while this crash happens? Thanks, Volker -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] scannedonly smbd crash
I 'm tring to compile samba 3.5.2 after a ./configure.developer but unfortunatly r...@scribe:~/samba-3.5.2/source3# make Using CFLAGS = -g -g -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER -Wdeclaration-after-statement -Werror-implicit-function-declaration -I. -I/root/samba-3.5.2/source3 -I/root/samba-3.5.2/source3/../lib/popt -I/root/samba-3.5.2/source3/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/popt -I/root/samba-3.5.2/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 PICFLAG= -fPIC LIBS = -lresolv -lresolv -lnsl -ldl LDFLAGS= -pie -Wl,-z,relro -Wl,--as-needed -L./bin DYNEXP = -Wl,--export-dynamic LDSHFLAGS = -shared -Wl,-Bsymbolic -Wl,-z,relro -Wl,--as-needed -L./bin -lc -Wl,-z,defs SHLIBEXT = so SONAMEFLAG = -Wl,-soname= Compiling libsmb/clispnego.c libsmb/clispnego.c: Dans la fonction «spnego_gen_negTokenTarg» : libsmb/clispnego.c:391: erreur: déclaration implicite de la fonction « «cli_krb5_get_ticket» » The following command failed: gcc -g -g -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER -Wdeclaration-after-statement -Werror-implicit-function-declaration -I. -I/root/samba-3.5.2/source3 -I/root/samba-3.5.2/source3/../lib/popt -I/root/samba-3.5.2/source3/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/popt -I/root/samba-3.5.2/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -c libsmb/clispnego.c -o libsmb/clispnego.o make: *** [libsmb/clispnego.o] Erreur 1 but i cant install libldap2-dev that seem to be required My server is a ubuntu hardy Le 13/04/2010 19:34, Volker Lendecke a écrit : On Tue, Apr 13, 2010 at 05:26:57PM +0200, Christophe Deze wrote: here is my valgrind.log I hope it helps! It does -- a bit: ==32107== Invalid read of size 4 ==32107==at 0x4B86AF9: (within /usr/lib/samba/vfs/scannedonly.so) ==32107==by 0x815234F: smb_vfs_call_open (in /usr/sbin/smbd) ==32107==by 0x8149F56: (within /usr/sbin/smbd) ==32107==by 0x814C059: create_file_default (in /usr/sbin/smbd) ==32107==by 0x8189161: (within /usr/sbin/smbd) ==32107==by 0x81523FE: smb_vfs_call_create_file (in /usr/sbin/smbd) ==32107==by 0x83E165A: (within /usr/sbin/smbd) ==32107==by 0x83E1B7B: clean_up_driver_struct (in /usr/sbin/smbd) ==32107==by 0x82D179D: _spoolss_AddPrinterDriver (in /usr/sbin/smbd) ==32107==by 0x82D1E07: _spoolss_AddPrinterDriverEx (in /usr/sbin/smbd) ==32107==by 0x82E362C: (within /usr/sbin/smbd) ==32107==by 0x83272EA: api_pipe_request (in /usr/sbin/smbd) ==32107== Address 0x18 is not stack'd, malloc'd or (recently) free'd It would be very helpful if you could recompile with -g to get line numbers. From the message we see that apparently some pointer (very likely fsp) is NULL while scannedonly_open is called. You might want to contact the author of the scannedonly module, Olivier Sessink, directly with this analysis. Either he is listening here on this list, or you can find his email address from the checkin reachable under http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=31e14285 Volker -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] scannedonly smbd crash
Hi here is my valgrind.log I hope it helps! thanks Le 13/04/2010 12:17, Volker Lendecke a écrit : On Tue, Apr 13, 2010 at 12:14:47PM +0200, Christophe Deze wrote: I use samba 3.5.2 I have problem with print$ share. When I try to deploy drivers in print$ , with XP wizard. I get an error cf screenshot I've put log level 10 You can see smbd.log in attachement Is it possible that you recompile with debugging symbols (-g, given by ./configure.developer) and/or run smbd under valgrind while this crash happens? Thanks, Volker -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba