Re: [Samba] log level and testparm lies
Am 09.05.2013 07:35, Andrew Bartlett wrote: The issue is that testparm forces the log level to ensure the warnings are output. Thanks for the clarification. Must be new, never had difficulties before with old samba versions. -- der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] [Announce] Samba 3.6.15 Available for Download
Am 08.05.2013 11:18, schrieb Karolin Seeger: Major enhancements in Samba 3.6.15 include: How is the 'log level' in 3.6.15 defined? From http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#LOGLEVEL [...] Default: log level = 0 And: debuglevel This parameter is a synonym for log level. In 3.5.x I had in some scripts following definition: debuglevel=`testparm -vs 2/dev/null | grep 'log level =' | cut -d' ' -f4` This was always the same as my own definition debug level = x in smb.conf in 3.5.x. But now: referencetest26 # testparm -vs 2/dev/null | grep 'log level' log level = 2 referencetest26 # grep 'log level' /etc/smb.conf referencetest26 # grep 'debug level' /etc/smb.conf debug level = 0 referencetest26 # grep 'debuglevel' /etc/smb.conf referencetest26 # 2 != 0 Here is my question: Where is 'log level = 2' defined? Not in my smb.conf... Can somebody shed some light on this? -- der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 3.5.11 shares and downloads with IE9 on Windows 7
On 11.09.2011 04:44, Linda Walsh wrote: This sounds like https://bugzilla.samba.org/show_bug.cgi?id=8412. I don't think, it's the same problem. I already tried without oplocks and smb2 isn't activated here. Anyway - I could test a patch for 3.5.11. Don't know if there is one -- and there was no SMB2 in 3.5.11... But I misread this one... It doesn't say it affects 3.5 or before... Dang...now which one was it!...remember reading one recently that hit 3.6 ... that I thought had to do with file access problems. .. Just your symptom sounded very similar.. I would see a file with the real name created in the target dir, then see a tmp file created and grow to the size of the file, then would get a message that the file couldn't be saved due to an access problem. In the save dir, I'd find the initial file it created @ 0 bytes. The 'tmp' file I'd find in my server's recycle dir for that dir -- and it would be the full file. (I have the vfs recycle2 option turned on for many of my shares... so the tmp files ended up in there; if you don't have that option turned on, then the files would just get deleted)... If the recycle dir is activated, I'm ending with 0001-s3-schannel-client-Push-the-domain-and-netbios-name-.patch.bsz1jmp.partial with 0 Byte in the download dir (share) and 0001-s3-schannel-client-Push-the-domain-and-netbios-name-.patch with 0 Byte in the recycle dir :( root@eis2161:/downloads# ls -lR .: total 8 -rwxrwxrwx 1 tb users0 Sep 11 19:29 0001-s3-schannel-client-Push-the-domain-and-netbios-name-.patch.bsz1jmp.partial drwxrwxrwx 3 tb users 4096 Sep 11 19:29 samba_recycle_bin ./samba_recycle_bin: total 4 drwx-- 2 tb users 4096 Sep 11 19:29 tb ./samba_recycle_bin/tb: total 0 -rwxrwxrwx 1 tb users 0 Sep 11 19:29 0001-s3-schannel-client-Push-the-domain-and-netbios-name-.patch Share definition was: [downloads] comment = public directory on eis2161 path = /downloads force create mode = 0777 force directory mode= 0777 browseable = yes writeable = yes vfs objects = recycle recycle:repository = samba_recycle_bin/%u recycle:versions = yes recycle:keeptree = yes recycle:touch = yes recycle:maxsize = 0 recycle:directory_mode = 0777 recycle:subdir_mode = 0700 This is a regression to Samba 3.4.x. Can anybody reproduce this (I can reproduce this all the time)? -- der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 3.5.11 shares and downloads with IE9 on Windows 7
Am 10.09.2011 03:22, schrieb ich: Internet Explorer 9 on Windows 7 cannot save files on shares from Samba 3.5.11, but Firefox can do this. With IE9 there is only a 0-Byte-file on the share. Maybe this is a problem with delete on close on the temporary file xxx.partial, which will be created from IE9? The new file without '.partial' cannot be created and the xxx.partial-file is only 0 Byte. I have a log with debug level 10, if anybody is interested in. The downloaded file doesn't matter - tried it for example with http://samba.org/samba/patches/patches-3.0.37/0001-s3-schannel-client-Push-the-domain-and-netbios-name-.patch The share has 0777 nobody.nogroup, the share definition is [downloads] comment = public directory on eis2161 path = /downloads force create mode = 0777 force directory mode= 0777 browseable = yes writeable = yes -- der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 3.5.11 shares and downloads with IE9 on Windows 7
Am 10.09.2011 17:13, schrieb ich: Internet Explorer 9 on Windows 7 cannot save files on shares from Samba 3.5.11, but Firefox can do this. With IE9 there is only a 0-Byte-file on the share. Maybe this is a problem with delete on close on the temporary file xxx.partial, which will be created from IE9? The new file without '.partial' cannot be created and the xxx.partial-file is only 0 Byte. I have a log with debug level 10, if anybody is interested in. Samba 3.4.13 works ok. -- der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Samba 3.5.11 shares and downloads with IE9 on Windows 7
Hi @all, Internet Explorer 9 on Windows 7 cannot save files on shares from Samba 3.5.11, but Firefox can do this. With IE9 there is only a 0-Byte-file on the share. -- der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 3.4.9 net rpc shutdown and XP Domain client
Anybody? Schould I better ask this in samba-techni...@lists.samba.org? On 31.10.2010 01:43 I wrote: Hi @all, this is an very old problem, posted the first time 2005 to samba-test...@samba.org: If I have a Domain client with WinXP, which is part of a domain and using this client, if the PDC is not available and want to remote shut down this client with the net tool from other servers, then this is not possible, because net tries to authenticate against the PDC: testeis # net -d3 -S XP -U Administrator%xxx rpc shutdown -t 60 -C Shutting down in 1 minutes. [2010/10/31 01:22:10, 3] param/loadparm.c:9039(lp_load_ex) lp_load_ex: refreshing parameters [2010/10/31 01:22:10, 3] param/loadparm.c:4848(init_globals) Initialising global parameters [2010/10/31 01:22:10, 2] param/loadparm.c:4707(max_open_files) rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) [2010/10/31 01:22:10, 3] ../lib/util/params.c:550(pm_process) params.c:pm_process() - Processing configuration file /etc/smb.conf [2010/10/31 01:22:10, 3] param/loadparm.c:7726(do_section) Processing section [global] [2010/10/31 01:22:10, 2] lib/interface.c:478(interpret_interface) interpret_interface: Adding interface 127.0.0.1/8 [2010/10/31 01:22:10, 2] lib/interface.c:340(add_interface) added interface 127.0.0.1/8 ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0 [2010/10/31 01:22:10, 2] lib/interface.c:478(interpret_interface) interpret_interface: Adding interface 192.168.0.12/255.255.255.0 [2010/10/31 01:22:10, 2] lib/interface.c:340(add_interface) added interface 192.168.0.12/25 ip=192.168.0.12 bcast=192.168.0.255 netmask=255.255.255.0 lp_load_ex: refreshing parameters params.c:pm_process() - Processing configuration file /etc/smb.conf Processing section [global] interpret_interface: Adding interface 127.0.0.1/8 added interface 127.0.0.1/8 ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0 interpret_interface: Adding interface 192.168.0.12/255.255.255.0 added interface 192.168.0.12/25 ip=192.168.0.12 bcast=192.168.0.255 netmask=255.255.255.0 Connecting to host=XP Connecting to 192.168.0.37 at port 445 Connecting to 192.168.0.37 at port 139 Doing spnego session setup (blob length=16) server didn't supply a full spnego negprot Got challenge flags: Got NTLMSSP neg_flags=0x62898215 NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x60088215 NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60088215 SPNEGO login failed: No logon servers failed session setup with NT_STATUS_NO_LOGON_SERVERS Could not connect to server XP Connection failed: NT_STATUS_NO_LOGON_SERVERS failed to make ipc connection: NT_STATUS_NO_LOGON_SERVERS initshutdown pipe failed, trying winreg pipe Connecting to host=XP Connecting to 192.168.0.37 at port 445 Doing spnego session setup (blob length=16) server didn't supply a full spnego negprot Got challenge flags: Got NTLMSSP neg_flags=0x62898215 NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x60088215 NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60088215 SPNEGO login failed: No logon servers failed session setup with NT_STATUS_NO_LOGON_SERVERS Could not connect to server XP Connection failed: NT_STATUS_NO_LOGON_SERVERS failed to make ipc connection: NT_STATUS_NO_LOGON_SERVERS return code = -1 Is this a bug? I think, if the PDC is not available, it should also be possible to remote shutdown the clients. Here is the same thing, if the PDC is available: testeis # net -d3 -S XP -U Administrator%xxx rpc shutdown -t 60 -C Shutting down in 1 minutes. [2010/10/31 01:25:43, 3] param/loadparm.c:9039(lp_load_ex) lp_load_ex: refreshing parameters [2010/10/31 01:25:43, 3] param/loadparm.c:4848(init_globals) Initialising global parameters [2010/10/31 01:25:43, 2] param/loadparm.c:4707(max_open_files) rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) [2010/10/31 01:25:43, 3] ../lib/util/params.c:550(pm_process) params.c:pm_process() - Processing configuration file /etc/smb.conf [2010/10/31 01:25:43, 3] param/loadparm.c:7726(do_section) Processing section [global] [2010/10/31 01:25:43, 2] lib/interface.c:478(interpret_interface) interpret_interface: Adding interface 127.0.0.1/8 [2010/10/31 01:25:43, 2] lib/interface.c:340(add_interface) added interface 127.0.0.1/8 ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0 [2010/10/31 01:25:43, 2] lib/interface.c:478(interpret_interface) interpret_interface: Adding interface 192.168.0.12/255.255.255.0 [2010/10/31 01:25:43, 2] lib/interface.c:340(add_interface) added interface 192.168.0.12/25 ip=192.168.0.12 bcast=192.168.0.255 netmask=255.255.255.0 lp_load_ex: refreshing parameters params.c:pm_process() - Processing configuration file /etc/smb.conf Processing section [global] interpret_interface: Adding interface 127.0.0.1/8 added interface 127.0.0.1/8 ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0 interpret_interface: Adding interface 192.168.0.12/255.255.255.0 added interface 192.168.0.12/25 ip=192.168.0.12
[Samba] Samba 3.4.9 net rpc shutdown and XP Domain client
Hi @all, this is an very old problem, posted the first time 2005 to samba-test...@samba.org: If I have a Domain client with WinXP, which is part of a domain and using this client, if the PDC is not available and want to remote shut down this client with the net tool from other servers, then this is not possible, because net tries to authenticate against the PDC: testeis # net -d3 -S XP -U Administrator%xxx rpc shutdown -t 60 -C Shutting down in 1 minutes. [2010/10/31 01:22:10, 3] param/loadparm.c:9039(lp_load_ex) lp_load_ex: refreshing parameters [2010/10/31 01:22:10, 3] param/loadparm.c:4848(init_globals) Initialising global parameters [2010/10/31 01:22:10, 2] param/loadparm.c:4707(max_open_files) rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) [2010/10/31 01:22:10, 3] ../lib/util/params.c:550(pm_process) params.c:pm_process() - Processing configuration file /etc/smb.conf [2010/10/31 01:22:10, 3] param/loadparm.c:7726(do_section) Processing section [global] [2010/10/31 01:22:10, 2] lib/interface.c:478(interpret_interface) interpret_interface: Adding interface 127.0.0.1/8 [2010/10/31 01:22:10, 2] lib/interface.c:340(add_interface) added interface 127.0.0.1/8 ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0 [2010/10/31 01:22:10, 2] lib/interface.c:478(interpret_interface) interpret_interface: Adding interface 192.168.0.12/255.255.255.0 [2010/10/31 01:22:10, 2] lib/interface.c:340(add_interface) added interface 192.168.0.12/25 ip=192.168.0.12 bcast=192.168.0.255 netmask=255.255.255.0 lp_load_ex: refreshing parameters params.c:pm_process() - Processing configuration file /etc/smb.conf Processing section [global] interpret_interface: Adding interface 127.0.0.1/8 added interface 127.0.0.1/8 ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0 interpret_interface: Adding interface 192.168.0.12/255.255.255.0 added interface 192.168.0.12/25 ip=192.168.0.12 bcast=192.168.0.255 netmask=255.255.255.0 Connecting to host=XP Connecting to 192.168.0.37 at port 445 Connecting to 192.168.0.37 at port 139 Doing spnego session setup (blob length=16) server didn't supply a full spnego negprot Got challenge flags: Got NTLMSSP neg_flags=0x62898215 NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x60088215 NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60088215 SPNEGO login failed: No logon servers failed session setup with NT_STATUS_NO_LOGON_SERVERS Could not connect to server XP Connection failed: NT_STATUS_NO_LOGON_SERVERS failed to make ipc connection: NT_STATUS_NO_LOGON_SERVERS initshutdown pipe failed, trying winreg pipe Connecting to host=XP Connecting to 192.168.0.37 at port 445 Doing spnego session setup (blob length=16) server didn't supply a full spnego negprot Got challenge flags: Got NTLMSSP neg_flags=0x62898215 NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x60088215 NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60088215 SPNEGO login failed: No logon servers failed session setup with NT_STATUS_NO_LOGON_SERVERS Could not connect to server XP Connection failed: NT_STATUS_NO_LOGON_SERVERS failed to make ipc connection: NT_STATUS_NO_LOGON_SERVERS return code = -1 Is this a bug? I think, if the PDC is not available, it should also be possible to remote shutdown the clients. Here is the same thing, if the PDC is available: testeis # net -d3 -S XP -U Administrator%xxx rpc shutdown -t 60 -C Shutting down in 1 minutes. [2010/10/31 01:25:43, 3] param/loadparm.c:9039(lp_load_ex) lp_load_ex: refreshing parameters [2010/10/31 01:25:43, 3] param/loadparm.c:4848(init_globals) Initialising global parameters [2010/10/31 01:25:43, 2] param/loadparm.c:4707(max_open_files) rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) [2010/10/31 01:25:43, 3] ../lib/util/params.c:550(pm_process) params.c:pm_process() - Processing configuration file /etc/smb.conf [2010/10/31 01:25:43, 3] param/loadparm.c:7726(do_section) Processing section [global] [2010/10/31 01:25:43, 2] lib/interface.c:478(interpret_interface) interpret_interface: Adding interface 127.0.0.1/8 [2010/10/31 01:25:43, 2] lib/interface.c:340(add_interface) added interface 127.0.0.1/8 ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0 [2010/10/31 01:25:43, 2] lib/interface.c:478(interpret_interface) interpret_interface: Adding interface 192.168.0.12/255.255.255.0 [2010/10/31 01:25:43, 2] lib/interface.c:340(add_interface) added interface 192.168.0.12/25 ip=192.168.0.12 bcast=192.168.0.255 netmask=255.255.255.0 lp_load_ex: refreshing parameters params.c:pm_process() - Processing configuration file /etc/smb.conf Processing section [global] interpret_interface: Adding interface 127.0.0.1/8 added interface 127.0.0.1/8 ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0 interpret_interface: Adding interface 192.168.0.12/255.255.255.0 added interface 192.168.0.12/25 ip=192.168.0.12 bcast=192.168.0.255
Re: [Samba] how to run more than one logon script
Am 28.09.2010 23:17, schrieb Leonardo Carneiro: Well, in theory this should work. I'll try and post here if this will work well. Tks in advance. It works, you could use many combinations: for user: logon script = %u.bat %g %m for group: logon script = %g.bat %u %m for machine: logon script = %m.bat %u %g for all: logon script = logon.bat %u %g %m For example, if you use the last possibility 'all', then in logon.bat: REM Run user specific stuff REM call %1.bat REM Run group specific stuff REM call %2.bat REM Run machine specific stuff REM call %3.bat -- der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Can't modify ms word files with samba 3.3
David C. Rankin wrote: Ok, I think the following patch should fix the issues you're seeing. It should apply on top of, or in place of my previous patch - shouldn't matter. It causes all opens requiring SEC_RIGHT_SYSTEM_SECURITY to fail as Windows does with NT_STATUS_PRIVILEGE_NOT_HELD, which should cause the client to correctly back down and rety the open without this privilege. Let me know if it works for you ! Is this fix also needed for Samba 3.0.x? I cannot find something in http://git.samba.org/?p=samba.git;a=shortlog;h=v3-0-test -- der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 3.0.25rc2 Available for Download
Gerald (Jerry) Carter wrote: This is the second release candidate of the Samba 3.0.25 code base and is provided for testing only. These messages are new while compiling: deveis # make [...] Compiling auth/auth_script.c Building plugin bin/script.so make: *** No rule to make target `nsswitch/libnss_winbind.so', needed by `all'. Stop. deveis # make install [...] make: *** No rule to make target `nsswitch/libnss_winbind.so', needed by `all'. Stop. Configure options: export CFLAGS='-O2 -march=i486 -fomit-frame-pointer' ./configure \ --target=i486-pc-linux-gnu \ --with-sendfile-support \ --prefix=/usr \ --bindir=/usr/bin \ --sbindir=/usr/sbin \ --with-privatedir=/etc \ --with-lockdir=/var/lock/samba \ --with-libdir=/usr/lib/samba \ --with-piddir=/var/run \ --with-swatdir=/usr/lib/samba/swat \ --with-configdir=/etc \ --with-logfilebase=/var/log \ --localstatedir=/var/log \ --without-ads \ --without-ldap \ --with-codepagedir=/usr/lib/samba/codepages \ --with-smbmount=yes \ --with-sambabook=/usr/lib/samba/swat/using_samba \ --without-winbind \ --without-python \ --without-manpages \ --without-mysql \ --without-xml \ --with-included-popt \ --enable-cups=no \ --with-vfs \ --with-utmp \ --with-quotas \ --with-pam \ --with-pam_smbpass \ --with-acl-support der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] deny second or multiple logins
Freitas wrote: You can try here. http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/AdvancedNetworkManagement.html#id386516 Sorry for being so stupid but how should this working? From the above link: preexec script = /sbin/PermitSingleLogon.sh Okay, this script is called without parameters before the share is opened. Here the script from the above link: #!/bin/bash IFS=- RESULT=$(smbstatus -S -u $1 2 /dev/null | awk 'NF \ 6 {print $1}' | sort | uniq -d) if [ X${RESULT} == X ]; then exit 0 else exit 1 fi smbstatus is called with '-u $1' (user). But no parameter for the user is given in the preexec script and so $1 is empty. If correcting this with 'preexec script = /sbin/PermitSingleLogon.sh %u' the script is still failing. Don't know, what awk 'NF \ 6 {print $1}' should do. The output from 'smbstatus -S -u tb' for the user tb with open connection is: deveis smbstatus -S -u tb Service pid machine Connected at --- tb 965 tb3 Sun Apr 1 19:53:55 2007 deveis The output without open connection is: deveis smbstatus -S -u tb Service pid machine Connected at --- deveis In all cases RESULT from the script is empty and multiple connections are never blocked... der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.24 smbclient and printer listing
Volker Lendecke wrote: I mean this was functional in older samba versions... Can you send sniffs of both behaviours? Mmmh, in 3.0.23c and 3.0.21c the behavior is the same: deveis # smbclient -Utb%password //192.168.0.15/jet Domain=[TB3] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] smb: \ dir NT_STATUS_ACCESS_DENIED listing \* 0 blocks of size 0. 9 blocks available smb: \ q deveis # smbd -V Version 3.0.23c-for-eisfair-2 deveis # smbclient -Utb%password //192.168.0.15/jet Domain=[TB3] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] smb: \ dir NT_STATUS_ACCESS_DENIED listing \* 0 blocks of size 0. 0 blocks available smb: \ q deveis # smbd -V Version 3.0.21c-for-eisfair-3 deveis # But why is it impossible to listing the printer share directory on windows clients? der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.24 smbclient and printer listing
Volker Lendecke wrote: But why is it impossible to listing the printer share directory on windows clients? Asked the other way round: What would you expect there? The same output as on linux machines: From the first posting: Here a try with a local smb printer queue on the linux host: deveis # smbclient -Utb%password //192.168.0.14/remoteljet Domain=[TOMMAIK] OS=[Unix] Server=[Samba 3.0.24-for-eisfair-3] smb: \ dir . D0 Sun Feb 18 23:43:34 2007 .. DR0 Sun Feb 18 23:20:24 2007 38234 blocks of size 262144. 21005 blocks available smb: \ q der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] 3.0.24 smbclient and printer listing
I'm using 3.0.24 with patches from http://us4.samba.org/samba/patches/. On my XP client the print services for Unix are installed, I shared the local printer named 'jet' on the XP client to all users and the connecting user is an existing user on linux (system and samba user) and XP. I cannot execute the dir command in smbclient for this printer: deveis # smbclient -Utb%password //192.168.0.15/jet Domain=[TB3] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] smb: \ dir NT_STATUS_ACCESS_DENIED listing \* 0 blocks of size 0. 9 blocks available smb: \ q Here a try with a local smb printer queue on the linux host: deveis # smbclient -Utb%password //192.168.0.14/remoteljet Domain=[TOMMAIK] OS=[Unix] Server=[Samba 3.0.24-for-eisfair-3] smb: \ dir . D0 Sun Feb 18 23:43:34 2007 .. DR0 Sun Feb 18 23:20:24 2007 38234 blocks of size 262144. 21005 blocks available smb: \ q I mean this was functional in older samba versions... der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] online documentation for smb.conf
The online documentation is not complete, see http://us4.samba.org/samba/docs/man/manpages-3/smb.conf.5.html ... EXPLANATION OF EACH PARAMETER xi:include/xi:include WARNINGS ... Maybe this has something to do with the fact, that us1.samba.org is down? der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Samba 3.0.23c won't let NT4 access shares
larry wrote: Thanks. Sorry I took so long to get back but other things were a higher priority. I got the patch (nb. cut paste from the browser window, don't try to download the browser file 'cause those gt; etc will get you) and tried it. There was no change in operation. I still got that same message from the NT4 box. I just installed NT 4.0 SP6 in VMWARE and tried accessing 3.0.23d with this patch - successfully. And with this patch I can also join the samba 3.0.23d domain. Sorry - don't know, what your problem is. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Samba 3.0.23c won't let NT4 access shares
larry wrote: The practical solution is to replace this box with a more modern one. But I would still like to find out why it doesn't work. See the complete thread http://marc.theaimsgroup.com/?l=sambam=116533540200375w=2 and the patch in http://marc.theaimsgroup.com/?l=sambam=116548167822494w=2 Maybe it's the same problem. I asked Jerry Carter to put important patches for the last stable version 3.0.23d to http://us1.samba.org/samba/patches/ but received no answer :( -- der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] prs_mem_get: buffer overrun
Volker Lendecke wrote: Please try the attached patch. I simply forgot to merge this to 3.0.23d in time, sorry. Sorry Volker, what is the suggested fix for the problem? You attached the patch to the poster but not to the list. Can you tell me the svn revision number for that? -- der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.23rc1 - Failed to setup RT_SIGNAL_NOTIFY handler
Volker Lendecke wrote: [2006/05/25 15:25:42, 0] smbd/oplock_linux.c:linux_init_kernel_oplocks(247) Failed to setup RT_SIGNAL_LEASE handler [2006/05/25 15:25:42, 0] smbd/notify_kernel.c:kernel_notify_init(224) Failed to setup RT_SIGNAL_NOTIFY handler Is this a change from pre1? I'm not aware of any changes. Can we get a debug level 10 log and an strace of such a message? Volker debugged this on my machine with following results (hope I understand it correct): 3.0.23rc1 uses 'AC_LIBTESTFUNC(rt, clock_gettime)' in configure.in, which leads to an smbd linked against pthreads which leads to an confused smbd which cannot SIGRTMIN. Without this function smbd isn't linked to pthreads anymore and linux oplocks are available with glibc 2.2.5 and kernel 2.4.26-1. Please accept this patch for configure.in, removing the function introduced in 15508 (Use clock_gettime for profiling timestamps if it is available. Use the fastest clock available on uniprocessors.): --- configure.in.orgSun May 28 19:22:51 2006 +++ configure.inSun May 28 19:22:57 2006 @@ -2024,8 +2024,6 @@ AC_DEFINE(HAVE_GETTIMEOFDAY_TZ,1,[Whether gettimeofday() is available]) fi -AC_LIBTESTFUNC(rt, clock_gettime) - AC_CACHE_CHECK([for va_copy],samba_cv_HAVE_VA_COPY,[ AC_TRY_LINK([#include stdarg.h va_list ap1,ap2;], [va_copy(ap1,ap2);], der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.23rc1 - Failed to setup RT_SIGNAL_NOTIFY handler]
Volker Lendecke wrote: Switched back to 3.0.21c. Ouch, access to shares is not granted anymore :( Are you using tdbsam? I think we upgrade passdb.tdb's version. No, using smbpasswd. I don't understand the error message on the client. Samba isn't a domain controller at this time. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] 3.0.23rc1 - Failed to setup RT_SIGNAL_NOTIFY handler
Hi @all, I have many messages in the log file with this version: [2006/05/25 15:25:42, 0] smbd/oplock_linux.c:linux_init_kernel_oplocks(247) Failed to setup RT_SIGNAL_LEASE handler [2006/05/25 15:25:42, 0] smbd/notify_kernel.c:kernel_notify_init(224) Failed to setup RT_SIGNAL_NOTIFY handler [2006/05/25 15:25:49, 0] smbd/oplock_linux.c:linux_init_kernel_oplocks(247) Failed to setup RT_SIGNAL_LEASE handler [2006/05/25 15:25:49, 0] smbd/notify_kernel.c:kernel_notify_init(224) Failed to setup RT_SIGNAL_NOTIFY handler [2006/05/25 15:26:02, 0] smbd/oplock_linux.c:linux_init_kernel_oplocks(247) Failed to setup RT_SIGNAL_LEASE handler [2006/05/25 15:26:02, 0] smbd/notify_kernel.c:kernel_notify_init(224) Failed to setup RT_SIGNAL_NOTIFY handler I think this is new since 3.0.23x. deveis # uname -a Linux deveis 2.4.26-1 #15 Sun Oct 24 22:54:01 CEST 2004 i686 pentium4 i386 GNU/Linux deveis # /lib/libc.so.6 GNU C Library stable release version 2.2.5, by Roland McGrath et al. Copyright (C) 1992-2001, 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 2.95.4 20011002 (Debian prerelease). Compiled on a Linux 2.4.18 system on 2003-04-08. Available extensions: GNU libio by Per Bothner crypt add-on version 2.1 by Michael Glad and others linuxthreads-0.9 by Xavier Leroy BIND-8.2.3-T5B libthread_db work sponsored by Alpha Processor Inc NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk Report bugs using the `glibcbug' script to [EMAIL PROTECTED]. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.23rc1 - Failed to setup RT_SIGNAL_NOTIFY handler
Gerald (Jerry) Carter wrote: Volker, I don't know of any outstanding issues with kernel oplocks. Any ideas? Volker, before you are asking: No kernel changes, no changes to the operating system, no changes to the configure options, no changes to the developer tools since a long time... deveis # gcc -v Reading specs from /usr/lib/gcc/i486-pc-linux-gnu/3.4.5/specs Configured with: ../gcc-3.4.5/configure --prefix=/usr --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu i486-pc-linux-gnu Thread model: posix gcc version 3.4.5 der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.23rc1 - Failed to setup RT_SIGNAL_NOTIFY handler]
Thomas Bork wrote: [2006/05/25 15:25:42, 0] smbd/oplock_linux.c:linux_init_kernel_oplocks(247) Failed to setup RT_SIGNAL_LEASE handler Switched back to 3.0.21c. Ouch, access to shares is not granted anymore :( The client is confused and thinks the samba server is an domain controller!: Auf \\Deveis\public kann nicht zugegriffen werden. Sie haben eventuell keine Berechtigung, diese Netzwerkressource zu verwenden. Wenden Sie sich an den Administrator des Servers, um herauszufinden, ob Sie über Berechtigungen verfügen. Die Konfigurationsinformationen konnten vom Domänencontroller nicht gelesen werden. Mit dem Computer kann keine Verbindung hergestellt werden oder der Zugriff wurde verweigert. (Configuration informations cannot read from domain controller. No connection to the computer or access denied.) Are there any incompatible changes in the informations in secrets.tdb or other tdb's? Background: With 3.0.21c my samba was *sometimes* a domain controller for testing purposes. At the time 3.0.23rc1 was installed, samba was a normal standalone server and the client was not part of a domain. If installing the older 3.0.21c with 'Server role: ROLE_STANDALONE' the client XP SP2 cannot access the shares anymore with the above message. I checked this 2 times now. I have to stop samba, delete all tdb's, start samba and restart the client - then I can access the shares without any other changes... der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba4WINS
Bruno Guerreiro wrote: Has anyone here tried samba4WINS? If positive, anyone tried replication between samba and windows(NT4/2000)? Did it work? And will samba4wins be a part of the normal samba (3.x) in the future? der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.21c and big wmv or mpg files
Jeremy Allison wrote: Well you know what strict allocate does, right ? It causes the space for the file to be allocated on disk once the set fil allocation is set from the Windows client. If the client then writes this data it'll write everything twice. Why are you setting this ? You should not need to set this in production unless you have some very specific needs. The official documentation says: Setting this to yes can help Samba return out of quota messages on systems that are restricting the disk quota of users. This is suggesting me, that strict allocate = yes is the recommended setting for systems with quotas. That seems not the case... der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.21c and big wmv or mpg files
Tom Peters wrote: While copying the wmv test file a have a cpu utilization of 95! percent (top) of smbd at the time, samba creates the sparse (?) file in the size needed for the test file. I don't believe this happens in my case. I am not certain. I know that when it fails, Windows clients see a 0 bytes file with the name of the destination in the target share. You have to erase or overwrite it when you try again. The high cpu utilization in our test case is caused of using quotas and an correspondending entry in smb.conf: strict allocate = yes Received a partially log from a user with a lot of [2006/04/05 16:51:58, 3] smbd/error.c:error_packet(146) error packet at smbd/notify.c(55) cmd=160 (SMBnttrans) NT code 0x010c Maybe this is problematical on smaller systems. Samba is running here on an VMWARE on top of XP (the test client) with P4 3,2 GHz: One user tested without strict allocate = yes and can copy the file now. Another user tested with more memory in his machine (celeron 1GHz, at first with 128 MB, then with 512 MB) and with strict allocate = yes and can copy the file now - but needs 50 minutes to copy this file... der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.21c and big wmv or mpg files
Tom Peters wrote: Tell me, do you get this problem when you drag/n/drop a file into a folder on the samba share? And can you prevent this problem from occurring by the following procedure? I cannot see the problem here but heared from 2 users of 3.0.21c with this problem. Downloaded a file with 843 MB which reproducable triggered the error by one of the users - but not on my system. We are using the _same_ samba version (built by me) on the same distribution: http://www.eisfair.org/ http://www.pack-eis.de/index.php?p=samba I'm the maintainer of this samba package and therefore interested in to correct this. Click in the target window on the samba machine (this is on the XP desktop). Press F5 to refresh the view. Wait about a second. Immediately start your copy. When I do this, the errors, previously reported to the desktop and to my server log, don't occur. The user copies the file with: - right click to the local file and 'copy' - right click in the share and 'insert' I've been told that it's a WinXP only issue, that it attempts to connect on ports 445 and 139 nearly simultaneously, and then proceeds to talk over whichever one answers first. I'm told that Win2k clients won't have this problem, and Win98 clients don't use port 445 so it doesn't arise there. How did you adjusted your clients? On tab 'WINS'/Netbios properties (all translated from german): TCP/IP properties/Default or TCP/IP properties/Enable Netbios over TCP/IP ? While copying the wmv test file a have a cpu utilization of 95! percent (top) of smbd at the time, samba creates the sparse (?) file in the size needed for the test file. Maybe this is problematical on smaller systems. Samba is running here on an VMWARE on top of XP (the test client) with P4 3,2 GHz: deveis # cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Pentium(R) 4 CPU 3.20GHz stepping: 8 cpu MHz : 3193.393 cache size : 0 KB fdiv_bug: no hlt_bug : no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss pni ds_cpl bogomips: 6370.09 By the user of the test file the sparse file with the correct size will be created but is complete empty... der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] 3.0.21c and big wmv or mpg files
Hi @all, are there any problems known with 3.0.21c and bigger video files (mpg and wmv greater than 700 MB)? Received the information that these files cannot copied from XP to Samba (W2K is okay). Error message is the well known: [2006/03/28 18:03:36, 0] lib/util_sock.c:get_peer_addr(1225)getpeername failed. Error was Transport endpoint is not connected To eleminate network problems the client and the samba server were crossover connected... Hope to get an testfile soon to reproduce and report this better. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.21c Available for Download
Gerald (Jerry) Carter wrote: Can you send me your smb.conf? Thanks. Did you received my smb.conf? der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.21c Available for Download
Gerald (Jerry) Carter wrote: Can you send me your smb.conf? Thanks. Did you received my smb.conf? der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.21c Available for Download
Gerald (Jerry) Carter wrote: Can you send me your smb.conf? Thanks. Did you received my smb.conf? der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.21c Available for Download
Gerald (Jerry) Carter wrote: This is the latest stable release of Samba. This is the version that production Samba servers should be running for all current bug-fixes. Please read the following important changes in this release. deveis # smbd -V Version 3.0.21c-for-eisfair-1 deveis # net getlocalsid SID for domain DEVEIS is: S-1-5-21-1636569278-2151323032-2062914382 deveis # net getlocalsid TOMMAIK SID for domain TOMMAIK is: S-1-5-21-1636569278-2151323032-2062914382 deveis # net setlocalsid S-1-5-21-1636569278-2151323032-11 deveis # net getlocalsid TOMMAIK SID for domain TOMMAIK is: S-1-5-21-1636569278-2151323032-2062914382 deveis # net getlocalsid SID for domain DEVEIS is: S-1-5-21-1636569278-2151323032-11 deveis # net -w TOMMAIK setlocalsid S-1-5-21-1636569278-2151323032-11 deveis # net getlocalsid TOMMAIK SID for domain TOMMAIK is: S-1-5-21-1636569278-2151323032-2062914382 'net setlocalsid' is changing the local name and not the domain name. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.21c Available for Download
Gerald (Jerry) Carter schrieb: Did you start smbd afetr 'net setlocalsid' ? It's been a while since I looked at that code but I have this vague memory of smbd setting the DOMAIN sid from the machine SID if the box is setup as a DC. deveis # /etc/init.d/samba stop Stopping Samba... smbd was stopped nmbd was stopped deveis # net getlocalsid SID for domain DEVEIS is: S-1-5-21-1636569278-2151323032-2062914382 deveis # net getlocalsid TOMMAIK SID for domain TOMMAIK is: S-1-5-21-1636569278-2151323032-2062914382 deveis # net setlocalsid S-1-5-21-1636569278-2151323032-11 deveis # net getlocalsid TOMMAIK SID for domain TOMMAIK is: S-1-5-21-1636569278-2151323032-2062914382 deveis # net getlocalsid SID for domain DEVEIS is: S-1-5-21-1636569278-2151323032-11 deveis # /etc/init.d/samba start Starting Samba... creating static groupmapping from windows groups to unix groups... nmbd is now running smbd is now running deveis # net getlocalsid SID for domain DEVEIS is: S-1-5-21-1636569278-2151323032-11 deveis # net getlocalsid TOMMAIK SID for domain TOMMAIK is: S-1-5-21-1636569278-2151323032-2062914382 deveis # tdbdump /etc/secrets.tdb { key(18) = SECRETS/SID/DEVEIS data(68) = \01\04\00\00\00\00\00\05\15\00\00\00\BE\10\8Ca\98\95:\80\C75:B\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00 } { key(19) = SECRETS/SID/TOMMAIK data(68) = \01\04\00\00\00\00\00\05\15\00\00\00\BE\10\8Ca\98\95:\80N\93\F5z\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00 } deveis # /var/install/bin/samba-restore-sid Restore Samba SID from /root/MACHINE.SID Stop Samba first Press ENTER to continue deveis # /etc/init.d/samba stop Stopping Samba... smbd was stopped nmbd was stopped deveis # /var/install/bin/samba-restore-sid Restore Samba SID from /root/MACHINE.SID Do you really want to restore Samba SID from /root/MACHINE.SID (y/n) [yes]? Samba SID S-1-5-21-1636569278-2151323032-2062914382 restored from /root/MACHINE.SID Press ENTER to continue deveis # net getlocalsid SID for domain DEVEIS is: S-1-5-21-1636569278-2151323032-2062914382 deveis # net getlocalsid TOMMAIK SID for domain TOMMAIK is: S-1-5-21-1636569278-2151323032-2062914382 deveis # The script /var/install/bin/samba-restore-sid restores the SID per deleting secrets.tdb and 'net setlocalsid $sid'. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] 3.0.21b and eventlogs
Hi Jerry, tried to playing around with eventlogs but: smb.conf global part: eventlog list = SyslogLinux In your Samba-EventLog-HOWTO.txt: When Samba initially starts, it looks to see if the eventlog directory, and a particular log exists; if not, the directory and file are created under LOCK_DIR This is not the case, no directory and file was created. In the docs for smb.conf: eventlog list (G) This option defines a list of log names that Samba will report to the Microsoft EventViewer utility. The listed eventlogs will be associated with tdb file on disk in the $(libdir)/eventlog. Mmmh: LOCK_DIR or $(libdir)? Nobody of them :( Debuglevel 5 shows: [...] doing parameter eventlog list = SyslogLinux [...] [2006/02/15 16:24:56, 5] tdb/tdbutil.c:tdb_log(772) tdb(unnamed): tdb_open_ex: could not open file /var/lock/samba/registry.tdb: No such file or directory [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM] [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM] [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM/SOFTWARE] [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM\SOFTWARE/Microsoft] [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM\SOFTWARE\Microsoft/Windows NT] [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM\SOFTWARE\Microsoft\Windows NT/CurrentVersion] [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion/Print] [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print/Printers] [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion/Ports] [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM/SYSTEM] [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM\SYSTEM/CurrentControlSet] [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM\SYSTEM\CurrentControlSet/Control] [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM\SYSTEM\CurrentControlSet\Control/Print] [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM\SYSTEM\CurrentControlSet/Services] [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM\SYSTEM\CurrentControlSet\Services/LanmanServer] [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer/Shares] [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM\SYSTEM\CurrentControlSet\Services/Eventlog] [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion/Perflib] [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib/009] [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM\SYSTEM\CurrentControlSet\Control\Print/Monitors] [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM\SYSTEM\CurrentControlSet\Control/ProductOptions] [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM\SYSTEM\CurrentControlSet\Control/Terminal Server] [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server/DefaultUserConfiguration] [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM\SYSTEM\CurrentControlSet\Services/TcpIp] [2006/02/15 16:24:56, 5] registry/reg_db.c:regdb_fetch_keys(457) regdb_fetch_keys: tdb lookup failed to locate key [HKLM\SYSTEM\CurrentControlSet\Services\TcpIp/Parameters]
Re: [Samba] Windows ACL modify ability?
Mike Partyka wrote: Your referring to POSIX ACL support in the kernel? I am not entirely sure how to check for this in the standard precompliled kernel, and i believe that support not to be common in most linux distro's so i would guess that, POSIX ACL support is not enabled. for pseudofile in /proc/{ksyms,kallsyms} do if [ -e $pseudofile ] then if grep -q 'posix_acl_' $pseudofile then echo posix acl support available :) fi fi done der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] new oplocks
Ben Donnelly wrote: I noticed that the Release Notes for Samba 3.0.21 say that the oplock implementation has been rewritten. And we seem to be having problems with some .exe files we are sharing out as read-only shares. The shares now only allow the first person to open the executable and run it. Other users time out with a memory address error. Take a look at https://bugzilla.samba.org/show_bug.cgi?id=3349 The patch will be in 3.0.21a and is _not_ on the patches site yet: http://usX.samba.org/samba/patches/ (http://us1.samba.org/samba/patches/) der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] which tdb holds privileges?
Gerald (Jerry) Carter wrote: | does anybody know, where privileges are stored? account_pol.tdb Thanks. @jht: Could not find this in http://us3.samba.org/samba/docs/man/Samba3-HOWTO/NetCommand.html#id2568526 http://us3.samba.org/samba/docs/man/Samba3-HOWTO/rights.html der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] which tdb holds privileges?
Hi @all, does anybody know, where privileges are stored? deveis # net rpc rights list 'Domain Power Users' -U root%password SeMachineAccountPrivilege SeBackupPrivilege SeRestorePrivilege SePrintOperatorPrivilege SeDiskOperatorPrivilege But: deveis # ls -l /var/lock/samba/*.tdb -rw--- 1 root root 8192 Nov 13 20:14 /var/lock/samba/account_policy.tdb -rw-r--r-- 1 root root 696 Nov 16 14:21 /var/lock/samba/brlock.tdb -rw-r--r-- 1 root root 8192 Nov 16 14:21 /var/lock/samba/connections.tdb -rw-r--r-- 1 root root 696 Nov 15 13:11 /var/lock/samba/deferred_open.tdb -rw-r--r-- 1 root root 696 Nov 16 14:21 /var/lock/samba/gencache.tdb -rw--- 1 root root 8192 Nov 16 14:21 /var/lock/samba/group_mapping.tdb -rw-r--r-- 1 root root 4368 Nov 16 14:21 /var/lock/samba/locking.tdb -rw--- 1 root root 696 Nov 16 14:21 /var/lock/samba/messages.tdb -rw--- 1 root root 8192 Nov 13 20:14 /var/lock/samba/ntdrivers.tdb -rw--- 1 root root 696 Nov 13 20:14 /var/lock/samba/ntforms.tdb -rw--- 1 root root 8192 Nov 13 20:14 /var/lock/samba/ntprinters.tdb -rw--- 1 root root 8192 Nov 16 14:21 /var/lock/samba/registry.tdb -rw-r--r-- 1 root root 8192 Nov 16 14:21 /var/lock/samba/sessionid.tdb -rw--- 1 root root 8192 Nov 13 20:14 /var/lock/samba/share_info.tdb -rw-r--r-- 1 root root 8192 Nov 16 14:21 /var/lock/samba/unexpected.tdb No privilege.tdb present. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Windows-style quota / profile size too big warning?
Tomasz Chmielewski wrote: Any chance of sending in a network trace when this message is received ? We need to see how the client is getting this message in order to be able to do the same. yeah why not, just tell me what do I have to capture (and how?) and I'll try to do it. Mmmh: http://www.windowsitpro.com/Windows/Article/ArticleID/5057/5057.html Isn't proquota a client based tool? Think the checks for profile quotas are taking place locally and the message will be send locally. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Multiple Login scripts
Julian Pilfold-Bagwell wrote: I have several rooms each with a printer, and nearly a thousand users divided into two main groups - pupils and teachers who change rooms on a routine basis. Is it possible to set up multiple login scripts that would be executed in sequence i.e. run by user is %u, and machine is %m is it possible to say run %u to set up shares followed by %m to set up the right printers for the room their in? How about something like logonscript=%u.bat %m and a %u.bat ending with call %1.bat which calls %m.bat? You can easyly extend this, for example: logonscript=%g.bat %u %m for calling first the group batch %g.bat for the groups pupils and teachers, then at the end from %g.bat you are calling first the user batch %u.bat with call %1.bat and then the machine batch %m.bat with call %2.bat Nothing special is needed, no kixstart or perl scripting. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: net rpc vampire - cannot login to migrated computer accounts
Christoph Peus wrote: You have to find the point in the migration process, where the new sambaSID is calculated. Your migrated sambaSID is not correct. Hmmm... if I understood the net rpc vampire migration magic right, the SID is not calculated using the algorithm you explained above but fetched from the NT server. (Otherwise it wouldn't be possible to have some SIDs with uneven RIDs like -1933 after the migration.) If I think about this: If the complete SID (SID + RID) is recalculated during the migration process, it will be impossible to load a roaming profile, because the recalculated SID is not the same as in the profile (if the RID is included in the authentification process). Maybe the algorithmic calculating will only be used for new created accounts (users/machines). If this is the case, I wrote a lot of shit ;) What *is* calculated during the migration is the uidNumber, and therefore this may differ from the original one, but does samba really use the algorithimic relationship between the uidNumber and the SID/RID as a kind of authentication base for the maschine? I changed the RID to 2 x uidNumber + 1000, but this didn't solve the problem. I guess that there's something wrong with the password related attributes of the maschine account. Do you know where I can find a documentation for the DC/client trust mechanism? Sorry, I searched the Samba3-HOWTO but have not found something about, only http://us2.samba.org/samba/docs/man/Samba3-HOWTO/samba-pdc.html Maybe this is usefull: http://searchopensource.techtarget.com/tip/1,289483,sid39_gci1138762,00.html Think only the SID/RID and the sambaNTPassword/sambaLMPassword are used for authentification. Have you tried to set the sambaPwdCanChange and sambaPwdMustChange attributes with pdbedit? der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] net rpc vampire - cannot login to migrated computer accounts
Christoph Peus wrote: after net rpc vampire migration: uidNumber: 22693 sambaSID: S-1-5-21-1139895982-289624505-398547282-4370 after the maschine rejoined the domain: uidNumber: 22694 sambaSID: S-1-5-21-1139895982-289624505-398547282-46388 Hi Christoph, nice to read you :) What shows testparm -sv 2/dev/null | grep 'algorithmic rid' ? Think it will look like 'algorithmic rid base = 1000' because 22694 * 2 + 1000 = 46388 You have to find the point in the migration process, where the new sambaSID is calculated. Your migrated sambaSID is not correct. Example from my machine (no ldap): # testparm -sv 2/dev/null | grep 'algorithmic rid' algorithmic rid base = 1000 vmeis # id xp\$ uid=2005(xp$) gid=777(machines) Gruppen=777(machines) vmeis # pdbedit -Lv xp$ | grep 'User SID' User SID: S-1-5-21-2616608439-745089445-1077948534-5010 2005 * 2 + 1000 = 5010 der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Wintertime/summertime difference - Samba servers show wrong time ?
Dragan Krnic wrote: From what I gathered in the documentations on both sides of the fence, Unix traditionally stamps file times (create/status change, modify and last read access) with a long integer (32 bits) counting full seconds since midnight A.M. January 1, 1970 in Greenwhich, EU, whereas the NT File System apparently uses a larger data type to count decimicroseconds (or should I say hectonanoseconds) since the same time of night in the said British village on January 1, 1601, when it wants to stamp one of its own set of file times, creation, content alteration, MFT change or last read access. I think the difference in timestamping is also the cause for the annoying bug https://bugzilla.samba.org/show_bug.cgi?id=3124 der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: [Possible BUG] Samba v3.0.20b and permissions POSIX/Samba
Gerald (Jerry) Carter schrieb: 2) 'map read only = yes' should give you 3.0.14a behavior. - according to the docs wouldn't map read only = Permissions or No give the 3.0.20 behaviour? oh yeah. I forgot that jeremy decided to make it an enumerated type rather than a boolean. Documentation says (b, map read only = permissions): If the connecting user doesn't have permissions to *read* the file, the *read* only attribute is reported as being set on the file. Mmmh. This makes no sense to me. Is this meant?: If the connecting user doesn't have permissions to *write* the file, the *read* only attribute is reported as being set on the file. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Odd problem with samba v.3.0.20b
Andreas Oster wrote: [2005/10/24 12:29:33, 0] smbd/service.c:make_connection(798) novaws20 (10.2.1.71) couldn't find service aoste The last five messages are the relavant ones. The share mentioned (aoster) is the home share of user aoster. This not only happens with the home share but with all other configured shares. The last letter seems to truncated. Does anybody have a similar/same problem ? This is a *long* standing bug in samba 3.0.x (in all versions I tried up to 3.0.21pre1). Sometimes the last character of the services is truncate here too, but the server is nevertheless working properly: [2005/10/24 03:09:32, 0] smbd/server.c:main(805) smbd version 3.0.21pre1-01-for-eisfair started. [...] [2005/10/24 03:19:40.521307, 0, pid=11532] smbd/service.c:make_connection(802) tb3 (192.168.0.15) couldn't find service publi The service is named 'public' and not 'publi'. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Odd problem with samba v.3.0.20b
Gerald (Jerry) Carter wrote: It's not our bug Andrew. I've generated traces from a Win2K - WinXP that show the exact same thing. It's a Windows 2000 client bug. tb3 is a XP SP2 client. Thats why it must be a Windows 2000 *and* Windows XP client bug. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] desktop file keeps coming up during logon
Gary Dale wrote: Alright so I have samba running as a PDC and have roaming profiles, however when I Logon it does everything successfully but then it shows a desktop file in notepad with some info on it. Has anyone seen this before? The desktop.ini file is normally in the startup group for each user. It is a hidden file. I don't know why it sometimes pops up on the desktop, but I've seen it happen often. I'm using Samba 3.0.14a-Debian. If you're running the same, it may peculiar to that version. Otherwise, I can confirm that it does happen. This is a FAQ, answered very often here (see http://marc.theaimsgroup.com/?l=sambar=1w=2) Add in [global]: hide files = /desktop.ini/ der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] home shares and disabled profiles (NET HELPMSG 3916)
José M. Fandiño wrote: If you want to disable roaming profiles *but* want to use 'net use ?: /HOME', then remove 'logon home =' from smb.conf to using defaults for home dir or set it to anything usefull for your needs. confirmed, by removing 'logon home =' completely disables profiles with XPpro (SP2) and Win98 SE. The documentation wrongly states that 'logon home =' must be left in blank. No, sorry. This is _not_ correct. I will explain it better: You have disabled the profiles only with 'logon path =', because the var is blank. Verify it with mg2 # testparm -sv 2 /dev/null | grep 'logon path' logon path = If you remove 'logon path =' from smb.conf, then Samba uses defaults (roaming profiles enabled). Verify it with mg2 # testparm -sv 2 /dev/null | grep 'logon path' logon path = \\%N\%U\profile If you set 'logon home =' (blank), then 'net use ?: /HOME' is not possible. Verify it with mg2 # testparm -sv 2 /dev/null | grep 'logon home' logon home = If you remove 'logon home =' from smb.conf, then Samba uses defaults ('net use ?: /HOME' enabled). Verify it with mg2 # testparm -sv 2 /dev/null | grep 'logon home' logon home = \\%N\%U der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] home shares and disabled profiles (NET HELPMSG 3916)
José M. Fandiño wrote: I'm following the recipe 26.2.1.4 to disable roaming profiles for win9x and XPpro machines, but perhaps I'm missing something because it doesn't seem be possible get the home shares mapped with profiles disabled. windows machines fails with this error: --- net use u: /HOME The user's home directory has not been specified. More help is available by typing NET HELPMSG 3916. --- The docs are not correct: Affect the following settings and ALL clients will be forced to use a local profile: logon home = and logon path = logon path = logon drive = u: logon home = If you want to disable roaming profiles *but* want to use 'net use ?: /HOME', then remove 'logon home =' from smb.conf to using defaults for home dir or set it to anything usefull for your needs. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Attempt to bind using schannel without successful serverauth2 in 3.0.20 logs
Jeremy Allison wrote: [2005/09/10 10:15:56, 0] rpc_server/srv_pipe.c:api_pipe_bind_req(981) Attempt to bind using schannel without successful serverauth2 [...] This is on a 3.0.20 (with patches) PDC. [...] Right now it's informative - I'd like to see the traffic that is causing it though. Can you get me an ethereal trace please ? Here this message is generated after joining a (XP SP2) client to the 3.0.20 PDC. After the restart (after joining) and the first access to the domain (choosing not the local machine but the domain for login) I have a very, very long delay (2 minutes ore more?) on the XP client with the message window Erstelle Domain Suchliste (creating domain search list) and in the end the error message in the samba log: [2005/09/01 19:15:05.972914, 0, pid=26410] rpc_server/srv_pipe.c:api_pipe_bind_req(981) Attempt to bind using schannel without successful serverauth2 der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Date Mismatch
Danny Paul wrote: I've had a series of files get created in user profiles with a mtime of Dec 13, 1901 14:45. 'stat -c %Y' reports -2147483648. [...] This is not a filesystem problem, fscheck is clean as a whistle, this must be a SAMBA issue. I suspect that whatever problem causes the misrepresentation in date is also what causes the date to be wrong in the first place. Which application or which program is creating files with an empty mtime? Do you using xcopy bei any chance? A user of samba 3.15.pre2 has the same problem with a mapped network drive using xcopy to copy files from an novell server to the mapped drive. If the copying user is not the owner of a directory with already existing files and 'dos filemode = no' for the share, xcopy failes with 'access denied' while changing the mtime for the directory containing the files. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Date Mismatch
Danny Paul wrote: Thanks for your reply - can you send me any information about the other people who have had similar problems? http://lists.spline.inf.fu-berlin.de/mailman/htdig/eisfair/2005-September/084330.html You can find the mail address from Michael Ebersbach there. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] USRMGR.EXE doesn't work anymore.
Umberto Zanatta wrote: | Sep 1 20:44:41 provtvlp smbd[7699]: Failed to setup RT_SIGNAL_LEASE | handler I have this message, if 3.0.20 was compiled with aio support - even if aio support in smb.conf is deactivated with aio read size = aio write size = This leads here to problems with oplocking. If compiling without aio support, the oplock problems and the message is gone. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] USRMGR.EXE doesn't work anymore.
Jeremy Allison wrote: | Sep 1 20:44:41 provtvlp smbd[7699]: Failed to setup RT_SIGNAL_LEASE | handler I have this message, if 3.0.20 was compiled with aio support - even if [...] aio support is exteremly experimental. I did it to learn about what effects this would have on our performance (the answer - it's a *negative* unless there's kernel support - even then it may not help...). Please don't turn this on unless you're currently working on glibc or kernel aio code paths. It was only meant as a tip for the error message 'Failed to setup RT_SIGNAL_LEASE' for Umberto. I tested the aio support only a short time and removed it due problems. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] USRMGR.EXE doesn't work anymore.
Gerald (Jerry) Carter wrote: ok. Can you folks try out the patch at http://samba.org/~jerry/patches/regcreatekey_v1.patch and let me know if that fixes the usrmgr.exe failures you are seeing? It should at least fix the REG_CREATE_KEY_EX failures in the logs. + HKLM\\SYSTEM\\CurrentControlSet\\Control\\Termininal Server\DefaultUserConfiguration, Are you shure, you only need one backslash before DefaultUserConfiguration and not two backslashes as in the rest of rpc_reg.h? -- der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] USRMGR.EXE doesn't work anymore.
Gerald (Jerry) Carter wrote: failure error though. I've also gone ahead and added the registry key to the Samba's registry.tdb file in the patch posted at http://www.samba.org/samba/patches/ The only error message in the samba logs while joining the 3.0.20 samba domain with XP SP2 is now: [2005/09/01 18:55:09.745874, 0, pid=26389] rpc_server/srv_samr.c:api_samr_set_userinfo(786) api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO. Without the patch http://samba.org/samba/patches/regcreatekey_winxp_v1.patch it was: [2005/08/09 18:45:07, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(786) api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO. [2005/08/09 18:46:03, 0] lib/util_sock.c:get_peer_addr(1222) getpeername failed. Error was Transport endpoint is not connected [2005/08/09 18:46:03, 0] lib/util_sock.c:get_peer_addr(1222) getpeername failed. Error was Transport endpoint is not connected [2005/08/09 18:46:03, 0] lib/util_sock.c:get_peer_addr(1222) getpeername failed. Error was Transport endpoint is not connected [2005/08/09 18:46:03, 0] lib/access.c:check_access(328) [2005/08/09 18:46:03, 0] lib/util_sock.c:get_peer_addr(1222) getpeername failed. Error was Transport endpoint is not connected Denied connection from (0.0.0.0) [2005/08/09 18:46:03, 0] lib/util_sock.c:write_data(554) write_data: write failure in writing to client 0.0.0.0. Error Connection reset by peer [2005/08/09 18:46:03, 0] lib/util_sock.c:send_smb(762) Error writing 5 bytes to client. -1. (Connection reset by peer) [2005/08/09 18:50:21, 0] rpc_server/srv_pipe.c:api_pipe_bind_req(981) Attempt to bind using schannel without successful serverauth2 [2005/08/09 18:50:26, 0] rpc_parse/parse_prs.c:prs_mem_get(533) prs_mem_get: reading data of size 4 would overrun buffer. [2005/08/09 18:50:26, 0] rpc_server/srv_pipe.c:api_rpcTNP(1572) api_rpcTNP: winreg: REG_CREATE_KEY_EX failed. Thanks a lot! der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Groupmapping problems in 3.0.20
Carsten Sander schrieb: On 3.0.20 net rpc group list: returns the unix groupnames instead of the mapped groupnames Cannot reproduce this with 3.0.20 (unpatched): vmeis # net groupmap list System Operators (S-1-5-32-549) - -1 Replicators (S-1-5-32-552) - -1 Guests (S-1-5-32-546) - -1 Domain Admins (S-1-5-21-xxx-yyy-zzz-512) - root Domain Guests (S-1-5-21-xxx-yyy-zzz-514) - nogroup Domain Users (S-1-5-21-xxx-yyy-zzz-513) - users Domain Power Users (S-1-5-21-xxx-yyy-zzz-1007) - sys Power Users (S-1-5-32-547) - -1 Print Operators (S-1-5-32-550) - -1 Administrators (S-1-5-32-544) - -1 Account Operators (S-1-5-32-548) - -1 Backup Operators (S-1-5-32-551) - -1 Users (S-1-5-32-545) - -1 vmeis # net rpc group list Password: Domain Admins Domain Guests Domain Users Domain Power Users vmeis # 3.0.20 patched with http://www.samba.org/~jerry/patches/post-3.0.20/groupname_enumeration.patch : vmeis # net groupmap list System Operators (S-1-5-32-549) - -1 Replicators (S-1-5-32-552) - -1 Guests (S-1-5-32-546) - -1 Domain Admins (S-1-5-21-xxx-yyy-zzz-512) - root Domain Guests (S-1-5-21-xxx-yyy-zzz-514) - nogroup Domain Users (S-1-5-21-xxx-yyy-zzz-513) - users Domain Power Users (S-1-5-21-xxx-yyy-zzz-1007) - sys Power Users (S-1-5-32-547) - -1 Print Operators (S-1-5-32-550) - -1 Administrators (S-1-5-32-544) - -1 Account Operators (S-1-5-32-548) - -1 Backup Operators (S-1-5-32-551) - -1 Users (S-1-5-32-545) - -1 vmeis # net rpc group list Password: === no output === no output === no output === no output vmeis # der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Groupmapping problems in 3.0.20
Gerald (Jerry) Carter wrote: Cannot reproduce this with 3.0.20 (unpatched): It was pretty easy to reproduce for me. Are you using ldapsam? No - smbpasswd. I double checked this, cannot reproduce the error (output from 'net rpc group list') with the unpatched sources. There were actually 2 bugs. One that I found after the first revision of that patch. I started a recent releases patch page yesterday. Take a look at http://www.samba.org/samba/patches/ v2 of the group enumeration patch is available from there. Also with v2: vmeis # net groupmap list System Operators (S-1-5-32-549) - -1 Replicators (S-1-5-32-552) - -1 Guests (S-1-5-32-546) - -1 Domain Admins (S-1-5-21-xxx-yyy-zzz-512) - root Domain Guests (S-1-5-21-xxx-yyy-zzz-514) - nogroup Domain Users (S-1-5-21-xxx-yyy-zzz-513) - users Domain Power Users (S-1-5-21-xxx-yyy-zzz-1007) - sys Power Users (S-1-5-32-547) - -1 Print Operators (S-1-5-32-550) - -1 Administrators (S-1-5-32-544) - -1 Account Operators (S-1-5-32-548) - -1 Backup Operators (S-1-5-32-551) - -1 Users (S-1-5-32-545) - -1 vmeis # net rpc group list Password: === no output === no output === no output === no output vmeis # The output from unpatched sources is okay... der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: New maintainer needed for the Linux smb filesystem
Steven French wrote: Surprisingly NT4 still has a huge installed base, and cifs vfs did not support it reasonably well until version 1.30 of the cifs vfs (which is less than a year ago). Win9x/WinME has a large installed base as well, but is somewhat less important as a server, and would be fairly easy to support if I added the old dos style time conversion routines. I think it would take less than two weeks to do (add support for Win9x and WinME to cifs, a couple missing transact2 infolevels, and turning on the insecure lanman hash again), but is lower priority than Kerberos support. I think the lack of Win9x/Me support is the biggest showstopper for a wide replacing of smbfs. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] samba-vscan 0.3.6 doesn't compile with 3.0.20
Chris wrote: Looks like something has changed as samba-vscan 0.3.6 (latest as of this writing) doesn't compile with 3.0.20. Replace in global/vscan-fileaccesslog.c in samba_vscan directory all occurences of new with new_entry . http://marc.theaimsgroup.com/?l=sambam=112127118323642w=2 der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.20rc1 Available for Download
Gerald (Jerry) Carter wrote: vmeis # net rpc rights grant tb SePrintOperatorPrivilege Password: Failed to grant privileges for tb (NT_STATUS_NO_SUCH_PRIVILEGE) Do you have 'enable privileges = yes' in smb.conf ? I should probably prevent smbd from returning any list when the feature has been disabled. And a message to set 'enable privileges = yes' in smb.conf After setting 'enable privileges = yes' in smb.conf: vmeis # net rpc rights grant tb SePrintOperatorPrivilege Password: Successfully granted rights. vmeis # net rpc rights list accounts Password: VMEIS\tb - no output - no output vmeis # net rpc rights list Password: SeMachineAccountPrivilege Add machines to domain SeTakeOwnershipPrivilege Take ownership of files or other objects SeBackupPrivilege Back up files and directories SeRestorePrivilege Restore files and directories SeRemoteShutdownPrivilege Force shutdown from a remote system SePrintOperatorPrivilege Manage printers SeAddUsersPrivilege Add users and groups to the domain SeDiskOperatorPrivilege Manage disk shares vmeis # net rpc rights grant tb SeMachineAccountPrivilege SePrintOperatorPrivilege SeAddUsersPrivilege SeRemoteShutdownPrivilege SeDiskOperatorPrivilege Password: Successfully granted rights. vmeis # net rpc rights list accounts Password: VMEIS\tb SePrintOperatorPrivilege - no output - no output - no output - no output - no output vmeis # der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.20rc1 Available for Download
Thomas Bork schrieb: After setting 'enable privileges = yes' in smb.conf: vmeis # net rpc rights grant tb SePrintOperatorPrivilege Password: Successfully granted rights. vmeis # net rpc rights list accounts Password: VMEIS\tb - no output - no output vmeis # net rpc rights list Password: SeMachineAccountPrivilege Add machines to domain SeTakeOwnershipPrivilege Take ownership of files or other objects SeBackupPrivilege Back up files and directories SeRestorePrivilege Restore files and directories SeRemoteShutdownPrivilege Force shutdown from a remote system SePrintOperatorPrivilege Manage printers SeAddUsersPrivilege Add users and groups to the domain SeDiskOperatorPrivilege Manage disk shares vmeis # net rpc rights grant tb SeMachineAccountPrivilege SePrintOperatorPrivilege SeAddUsersPrivilege SeRemoteShutdownPrivilege SeDiskOperatorPrivilege Password: Successfully granted rights. vmeis # net rpc rights list accounts Password: VMEIS\tb SePrintOperatorPrivilege - no output - no output - no output - no output - no output vmeis # Stopped Samba, deleted /var/lock/samba/account_policy.tdb, then vmeis # /etc/init.d/samba start Starting Samba... nmbd is now running smbd is now running vmeis # net rpc rights grant tb SePrintOperatorPrivilege Password: Successfully granted rights. vmeis # net rpc rights list accounts Password: BUILTIN\Print Operators No privileges assigned BUILTIN\Account Operators No privileges assigned BUILTIN\Backup Operators No privileges assigned VMEIS\tb [2005/08/07 21:20:58, 0] rpc_client/cli_pipe.c:rpc_api_pipe(438) cli_pipe: return critical error. Error was Call returned zero bytes (EOF) [2005/08/07 21:20:58, 0] rpc_client/cli_pipe.c:rpc_api_pipe(438) cli_pipe: return critical error. Error was Call returned zero bytes (EOF) der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.20rc1 Available for Download
Thomas Bork schrieb: vmeis # net rpc rights list accounts Password: BUILTIN\Print Operators No privileges assigned BUILTIN\Account Operators No privileges assigned BUILTIN\Backup Operators No privileges assigned VMEIS\tb [2005/08/07 21:20:58, 0] rpc_client/cli_pipe.c:rpc_api_pipe(438) cli_pipe: return critical error. Error was Call returned zero bytes (EOF) [2005/08/07 21:20:58, 0] rpc_client/cli_pipe.c:rpc_api_pipe(438) cli_pipe: return critical error. Error was Call returned zero bytes (EOF) Sorry for the puzzle. Found this in the log: [2005/08/07 21:19:13, 0] smbd/server.c:main(802) smbd version 3.0.20rc1 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2005/08/07 21:19:19, 0] lib/fault.c:fault_report(36) === [2005/08/07 21:19:19, 0] lib/fault.c:fault_report(37) INTERNAL ERROR: Signal 11 in pid 1248 (3.0.20rc1) Please read the appendix Bugs of the Samba HOWTO collection [2005/08/07 21:19:19, 0] lib/fault.c:fault_report(39) === [2005/08/07 21:19:19, 0] lib/util.c:smb_panic2(1548) PANIC: internal error [2005/08/07 21:19:19, 0] lib/util.c:smb_panic2(1556) BACKTRACE: 2 stack frames: #0 /usr/sbin/smbd(smb_panic2+0x179) [0x81b9209] #1 /usr/sbin/smbd(safe_strcpy_fn+0x7d) [0x81b0f7d] [2005/08/07 21:20:40, 0] smbd/server.c:main(802) smbd version 3.0.20rc1 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2005/08/07 21:20:58, 0] lib/fault.c:fault_report(36) === [2005/08/07 21:20:58, 0] lib/fault.c:fault_report(37) INTERNAL ERROR: Signal 11 in pid 1316 (3.0.20rc1) Please read the appendix Bugs of the Samba HOWTO collection [2005/08/07 21:20:58, 0] lib/fault.c:fault_report(39) === [2005/08/07 21:20:58, 0] lib/util.c:smb_panic2(1548) PANIC: internal error [2005/08/07 21:20:58, 0] lib/util.c:smb_panic2(1556) BACKTRACE: 2 stack frames: #0 /usr/sbin/smbd(smb_panic2+0x179) [0x81b9209] #1 /usr/sbin/smbd(safe_strcpy_fn+0x7d) [0x81b0f7d] der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.20rc1 Available for Download
Gerald (Jerry) Carter wrote: This is a release candidate of the 3.0.20 code base and vmeis # net rpc rights list Password: SeMachineAccountPrivilege Add machines to domain SeTakeOwnershipPrivilege Take ownership of files or other objects SeBackupPrivilege Back up files and directories SeRestorePrivilege Restore files and directories SeRemoteShutdownPrivilege Force shutdown from a remote system SePrintOperatorPrivilege Manage printers SeAddUsersPrivilege Add users and groups to the domain SeDiskOperatorPrivilege Manage disk shares vmeis # net rpc rights list accounts Password: vmeis # net rpc rights grant tb SePrintOperatorPrivilege Password: Failed to grant privileges for tb (NT_STATUS_NO_SUCH_PRIVILEGE) And: Cannot upload printer drivers. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] wbinfo can't list users
Gerald (Jerry) Carter wrote: Connecting to 192.168.100.111 at port 445 cli_nt_setup_creds: auth2 challenge failed NT_STATUS_ACCESS_DENIED just_change_the_password: unable to setup creds (NT_STATUS_ACCESS_DENIED)! No. Would have to be something different. Can you give me some more information? An ethereal trace perhaps? Sorry, I don't have access to this network. If the user is setting client schannel = no in smb.conf, the log looks like this: [2005/08/03 09:51:59, 3] lib/util_sock.c:open_socket_out(867) Connecting to 192.168.100.111 at port 445 [2005/08/03 09:51:59, 3] libsmb/trusts_util.c:trust_pw_change_and_store_it(83) 2005/08/03 09:51:59 : trust_pw_change_and_store_it: Changed password. Joined domain ***. [2005/08/03 09:51:59, 2] utils/net.c:main(873) return code = 0 But in event viewer of the DC: Die Einrichtung einer Sitzung von Computer EISFAIR ist an der Authentifizierung gescheitert. Der Kontoname in der Sicherheitsdatenbank ist EISFAIR$. Folgender Fehler ist aufgetreten: Zugriff verweigert (authentification failed, access denied) Would joining with debug level of 10 or 'net rpc testjoin' with -d 10 help to track this down? der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] wbinfo can't list users
Thomas Bork wrote: Connecting to 192.168.100.111 at port 445 cli_nt_setup_creds: auth2 challenge failed NT_STATUS_ACCESS_DENIED just_change_the_password: unable to setup creds (NT_STATUS_ACCESS_DENIED)! No. Would have to be something different. Can you give me some more information? An ethereal trace perhaps? Sorry, I don't have access to this network. The user made a ethereal trace (hope in the right format...). Should I send it per mail to you? der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] wbinfo can't list users
Gerald Carter wrote: You've got Windows 2000 SP4 SR1 installed don't you? The only current fix is to either set 'client schannel = no' in smb.conf or to just disable schannel connections oln the SAMR pipe in nsswitch/winbindd_cm.c. Is it possible, that with 3.0.20rc1 it is necessarily to set 'client schannel = no' in smb.conf to properly join an mixed mode W2K SP4 (not SR1) AD domain with net rpc join even if winbind is not used? A user of 3.0.20rc1 wrote: eisfair # /usr/bin/net rpc join -d 3 -U Administrator%*** -S *** -w *** [2005/08/02 16:27:48, 3] param/loadparm.c:lp_load(4082) lp_load: refreshing parameters [2005/08/02 16:27:48, 3] param/loadparm.c:init_globals(1366) Initialising global parameters [2005/08/02 16:27:48, 3] param/params.c:pm_process(574) params.c:pm_process() - Processing configuration file /etc/smb.conf [2005/08/02 16:27:48, 3] param/loadparm.c:do_section(3542) Processing section [global] [2005/08/02 16:27:48, 2] lib/interface.c:add_interface(81) added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0 [2005/08/02 16:27:48, 2] lib/interface.c:add_interface(81) added interface ip=192.168.100.253 bcast=192.168.100.255 nmask=255.255.255.0 [2005/08/02 16:27:48, 3] libsmb/namequery.c:resolve_wins(752) resolve_wins: Attempting wins lookup for name Serv010x20 [2005/08/02 16:27:48, 3] libsmb/namequery.c:resolve_wins(791) resolve_wins: using WINS server 192.168.100.1 and tag '*' [2005/08/02 16:27:48, 2] libsmb/namequery.c:name_query(492) Got a positive name query response from 192.168.100.1 ( 192.168.100.111 ) [2005/08/02 16:27:48, 3] libsmb/cliconnect.c:cli_start_connection(1407) Connecting to host=Serv01 [2005/08/02 16:27:48, 3] lib/util_sock.c:open_socket_out(867) Connecting to 192.168.100.111 at port 445 [2005/08/02 16:27:49, 3] rpc_client/cli_netlogon.c:cli_nt_setup_creds(394) cli_nt_setup_creds: auth2 challenge failed NT_STATUS_ACCESS_DENIED [2005/08/02 16:27:49, 3] libsmb/trusts_util.c:just_change_the_password(43) just_change_the_password: unable to setup creds (NT_STATUS_ACCESS_DENIED)! [2005/08/02 16:27:49, 1] utils/net_rpc.c:run_rpc_command(140) rpc command function failed! (NT_STATUS_ACCESS_DENIED) [2005/08/02 16:27:49, 3] libsmb/cliconnect.c:cli_start_connection(1407) Connecting to host=Serv01 [2005/08/02 16:27:49, 3] lib/util_sock.c:open_socket_out(867) Connecting to 192.168.100.111 at port 445 [2005/08/02 16:27:49, 3] libsmb/cliconnect.c:cli_session_setup_spnego(709) Doing spnego session setup (blob length=109) [2005/08/02 16:27:49, 3] libsmb/cliconnect.c:cli_session_setup_spnego(734) got OID=1 2 840 48018 1 2 2 [2005/08/02 16:27:49, 3] libsmb/cliconnect.c:cli_session_setup_spnego(734) got OID=1 2 840 113554 1 2 2 [2005/08/02 16:27:49, 3] libsmb/cliconnect.c:cli_session_setup_spnego(734) got OID=1 2 840 113554 1 2 2 3 [2005/08/02 16:27:49, 3] libsmb/cliconnect.c:cli_session_setup_spnego(734) got OID=1 3 6 1 4 1 311 2 2 10 [2005/08/02 16:27:49, 3] libsmb/cliconnect.c:cli_session_setup_spnego(743) got [EMAIL PROTECTED] [2005/08/02 16:27:49, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(869) Got challenge flags: [2005/08/02 16:27:49, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62) Got NTLMSSP neg_flags=0x60890215 [2005/08/02 16:27:49, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(891) NTLMSSP: Set final flags: [2005/08/02 16:27:49, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62) Got NTLMSSP neg_flags=0x60080215 [2005/08/02 16:27:49, 3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(319) NTLMSSP Sign/Seal - Initialising with flags: [2005/08/02 16:27:49, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62) Got NTLMSSP neg_flags=0x60080215 [2005/08/02 16:27:49, 3] rpc_parse/parse_lsa.c:lsa_io_sec_qos(181) lsa_io_sec_qos: length c does not match size 8 [2005/08/02 16:27:49, 3] rpc_client/cli_pipe.c:rpc_api_pipe(476) Bind NACK received on pipe 4010! [2005/08/02 16:27:49, 2] rpc_client/cli_pipe.c:cli_nt_session_open(1507) cli_nt_session_open: rpc bind to \PIPE\NETLOGON failed [2005/08/02 16:27:49, 0] utils/net_rpc_join.c:net_rpc_join_newstyle(318) Error domain join verification (reused connection): NT_STATUS_UNSUCCESSFUL Unable to join domain ***. [2005/08/02 16:27:49, 2] utils/net.c:main(873) return code = 1 der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.20rc1 Available for Download
Gerald (Jerry) Carter schrieb: smbd version 3.0.20pre2 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 upgrade_to_version_5: normalizing printer keys [...] smbd version 3.0.20rc1 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 upgrade_to_version_4: upgrading printer security descriptors upgrade_to_version_5: normalizing printer keys First samba version was 3.0.20pre2 with http://www.samba.org/~jerry/patches/post-3.0.20pre2/print_upgrade_v1.patch tdb's were upgraded to version 5 Second samba version is 3.0.20rc1. tdb's were upgraded to version 4 and then to 5, but the old version was 5... Does smbd in 3.0.20rc1 try to upgrade the tdbs again on restart ? Or was this just a one time thing? Sorry, think this was a false bug report. Between this versions I tested something with 3.0.15pre2: [2005/07/29 12:54:42, 0] smbd/server.c:main(798) smbd version 3.0.15pre2 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 3.0.20rc1 doesn't upgrade the tdbs again on restart (only if there was a 3.0.15pre2 between ;) -- der tom [fli4l-/eis-team] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.20rc1 Available for Download
Gerald (Jerry) Carter wrote: This is a release candidate of the 3.0.20 code base and [...] The release notes are available online at: http://www.samba.org/samba/ftp/pre/WHATSNEW-3-0-20rc1.txt http://www.samba.org/samba/ftp/rc/WHATSNEW-3-0-20rc1.txt der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.20rc1 Available for Download
Gerald (Jerry) Carter wrote: This is a release candidate of the 3.0.20 code base and Is this ok?: [2005/07/17 21:32:10, 0] smbd/server.c:main(802) smbd version 3.0.20pre2 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2005/07/17 21:32:10, 0] printing/nt_printing.c:upgrade_to_version_5(505) upgrade_to_version_5: normalizing printer keys [...] [2005/07/29 19:24:38, 0] smbd/server.c:main(802) smbd version 3.0.20rc1 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2005/07/29 19:24:38, 0] printing/nt_printing.c:upgrade_to_version_4(438) upgrade_to_version_4: upgrading printer security descriptors [2005/07/29 19:24:38, 0] printing/nt_printing.c:upgrade_to_version_5(505) upgrade_to_version_5: normalizing printer keys First samba version was 3.0.20pre2 with http://www.samba.org/~jerry/patches/post-3.0.20pre2/print_upgrade_v1.patch tdb's were upgraded to version 5 Second samba version is 3.0.20rc1. tdb's were upgraded to version 4 and then to 5, but the old version was 5... der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.20pre2 printer driver problem
Gerald (Jerry) Carter wrote: Could you swend me your smb.conf? This would be my fault. We started normalizing the share names in the tdb. But I didn't do a tdb version upgrade whuich I should have. If you are normalizing the share names in the tdb due an upgrade from 3.0.15pre2 to 3.0.20pre2: How can a user test the new version and (if there are heavy errors with the new version) revert to the old version without loosing driver association? I want that our users test the new version. Even if I backup the tdb's due this update to the new version - I have to modify the old samba package to copy the tdb's back. Seems complicated to me for all distributions. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.20pre2 Available for Download
Rainer Link wrote: Compiling global/vscan-fileaccesslog.c with -fPIC global/vscan-fileaccesslog.c: In function `lrufiles_add': global/vscan-fileaccesslog.c:131: error: syntax error at '#' token global/vscan-fileaccesslog.c:131: error: syntax error before DONT_USE_CPLUSPLUS_RESERVED_NAMES Interesting, I cannot see this message here. Replacing all occurences of new with new_entry leads to normal compiling and normal behaviour. By the way: After moving the virus file to the quarantine directory the virus file is still visible in the vscan protected share. I have to manual refresh the window to see, that the file is gone. Is it possible to initiate the refresh from samba_vscan? There must be such an funktion in samba, because deleting or moving a file leads to an refresh of the current window. -- der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.20pre2 Available for Download
Rainer Link wrote: global/vscan-fileaccesslog.c:131: error: syntax error before DONT_USE_CPLUSPLUS_RESERVED_NAMES Interesting, I cannot see this message here. Hum, which gcc are you using? :-) An really old one: vmeis # gcc -v Reading specs from /usr/lib/gcc-lib/i486-pc-linux-gnu/2.95.3/specs gcc version 2.95.3 20010315 (release) vmeis # After moving the virus file to the quarantine directory the virus file is still visible in the vscan protected share. I have to manual refresh the window to see, that the file is gone. Is it possible to initiate the refresh from samba_vscan? There must be such an funktion in samba, because deleting or moving a file leads to an refresh of the current window. You're deleting / moving the file on the Windows side (e.g. Explorer)? I guess Windows forces a refresh automatically. To be honest, I have no idea if it's possible to force a refresh via samba-vscan/Samba (as a side note, moving into quarantine is currently done via vfs_rename) Do you mean vfswrap_rename? My C knowledge is very limited ;) Maybe one of the samba developers knows an answer? -- der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Stable samba version
John H Terpstra schrieb: Samba version 3.0.14 is quite good. It has a known problem with setting up interdomain trusts that will be fixed in the next update. Other than that 3.0.14 passes muster very nicely in all testing I have done. The same here, with one problem (till today): smbwebclient isn't working correct anymore. Think this is the result of the changes to smbclient between samba 3.0.11 and 3.0.14. http://smbwebclient.sourceforge.net/2005/03/version-28.html#comments der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Stable samba version
Paul Gienger wrote: The same here, with one problem (till today): smbwebclient isn't working correct anymore. Think this is the result of the changes to smbclient between samba 3.0.11 and 3.0.14. http://smbwebclient.sourceforge.net/2005/03/version-28.html#comments Note the release notes for 3.0.12: == libsmbclient Binary Compatibility == Please note that a change has been made to the _SMBCCTX structure in source/include/libsmbclient.h. This change is not backwards compatible with applications linked against the libsmbclient.so library from Samba 3.0.11. However, it is compatible with all other Samba 3.0.x releases. This means that it will be most likely be necessary to recompile any applications linked against the 3.0.11 version of the library. smbwebclient is only a php script, which uses smbclient directly and is not linked against any version of libsmbclient. I double checked this: smbwebclient works correct with smbclient from samba 3.0.11. smbwebclient isn't working correct with smbclient from 3.0.13/3.0.14. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] sending messages via smbclient fails beginning with version 3.0.1 2
Masopust Christian wrote: i'm sending some messages via smbclient -M user from my solaris-system to my windows-pc and this fails now since i installed 3.0.12 (it also does with 3.0.13). comparing the debug-output of 3.0.11 and 3.0.12 shows that it now tries to open a connection to port 445 instead of 139! Use smbclient -p 139 -M ... or try this patch against 3.0.13: http://www.mail-archive.com/samba%40lists.samba.org/msg55524.html Don't know, why nobody answers, if this patch is ok or not. But with this patch, sending messages is possible again. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.13 Available for Download
Gerald (Jerry) Carter wrote: | If specifying explicit port 139, the message will be | sent with 3.0.13. Client is a W2K SP4 with active NetBIOS over | TCP/IP and without firewall. ok. That's good information to know. I'll get this fixed. I think it has something to do with the following change in client.c from Revision 5542 - 5545. But my understanding of C is not good enough: @@ -3426,8 +3174,8 @@ else but port 139... */ cli_cm_shutdown(); - port = 139; - cli = cli_cm_connect(query_host, IPC$, True); + cli_cm_set_port( 139 ); + cli = cli_cm_open(query_host, IPC$, True); } if (cli == NULL) { @@ -3585,9 +3334,10 @@ * to port 139 instead of port 445. srl,crh */ name_type = 0x03; + cli_cm_set_dest_name_type( name_type ); pstrcpy(desthost,poptGetOptArg(pc)); - if( 0 == port ) - port = 139; + if( !port ) + cli_cm_set_port( 139 ); message = True; break; case 'I': der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.13 Available for Download
Thomas Bork wrote: I think it has something to do with the following change in client.c from Revision 5542 - 5545. But my understanding of C is not good enough: Tried to patch it. Sending message is possible now, don't know, if it will break anything else: --- /usr/src/samba-3.0.13/source/client/client.cWed Mar 23 21:30:28 2005 +++ /usr/src/samba-3.0.13/source/client/client.patched Mon Mar 28 19:28:04 2005 @@ -3177,6 +3177,7 @@ else but port 139... */ cli_cm_shutdown(); + port = 139; cli_cm_set_port( 139 ); cli = cli_cm_open(query_host, IPC$, True); } @@ -3339,8 +3340,9 @@ name_type = 0x03; cli_cm_set_dest_name_type( name_type ); pstrcpy(desthost,poptGetOptArg(pc)); - if( !port ) - cli_cm_set_port( 139 ); + if (port != 139) + port = 139; + cli_cm_set_port( 139 ); message = True; break; case 'I': der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.13 Available for Download
Gerald (Jerry) Carter schrieb: This is the latest stable release of Samba. This is the version that production Samba servers should be running for all current bug-fixes. Please read the following important changes in this release. Common bugs fixed in 3.0.13 include: After 3.0.11 sending messages with smbclient is not possible (3.0.12 and 3.0.13 are affected): 3.0.11: === test2 # echo test | /usr/bin/smbclient -d 10 -U eisfair -M tb2 -I 192.168.0.7 INFO: Current debug levels: all: True/10 tdb: False/0 printdrivers: False/0 lanman: False/0 smb: False/0 rpc_parse: False/0 rpc_srv: False/0 rpc_cli: False/0 passdb: False/0 sam: False/0 auth: False/0 winbind: False/0 vfs: False/0 idmap: False/0 quota: False/0 acls: False/0 lp_load: refreshing parameters Initialising global parameters params.c:pm_process() - Processing configuration file /etc/smb.conf Processing section [global] doing parameter dos charset = CP850 doing parameter unix charset = ISO8859-15 Attempting to register new charset UCS-2LE Registered charset UCS-2LE Attempting to register new charset UTF-16LE Registered charset UTF-16LE Attempting to register new charset UCS-2BE Registered charset UCS-2BE Attempting to register new charset UTF-16BE Registered charset UTF-16BE Attempting to register new charset UTF8 Registered charset UTF8 Attempting to register new charset UTF-8 Registered charset UTF-8 Attempting to register new charset ASCII Registered charset ASCII Attempting to register new charset 646 Registered charset 646 Attempting to register new charset ISO-8859-1 Registered charset ISO-8859-1 Attempting to register new charset UCS2-HEX Registered charset UCS2-HEX Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE doing parameter display charset = ISO8859-15 doing parameter workgroup = TOMMAIK doing parameter serverstring = doing parameter interfaces = 127.0.0.1/8 192.168.0.6/255.255.255.0 doing parameter bind interfaces only = yes doing parameter security = user doing parameter encrypt passwords = yes doing parameter update encrypted = yes doing parameter password server = doing parameter pam password change = yes doing parameter passwd program = /usr/bin/passwd %u doing parameter passwd chat = *Enter*new*UNIX*password:* %n\n *Retype*new*UNIX*password:* %n\n *passwd:*password*updated*successfully* doing parameter username map = /etc/user.map doing parameter username level = 2 doing parameter unix password sync = yes doing parameter debug level = 0 doing parameter max log size = 1000 doing parameter nameresolveorder = wins lmhosts host bcast doing parameter time server = yes doing parameter deadtime = 60 doing parameter socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE doing parameter load printers = no doing parameter mangling method = hash2 doing parameter logon script = %U.bat doing parameter logon drive = x: doing parameter domain logons = yes doing parameter add user script = doing parameter add machine script = /var/install/bin/samba-add-workstation %u doing parameter os level = 255 doing parameter preferred master = yes doing parameter local master = yes doing parameter domain master = yes doing parameter wins support = yes doing parameter wins hook = /var/install/bin/samba-winshook doing parameter wins server = doing parameter wins proxy = no doing parameter kernel oplocks = no doing parameter utmp = yes doing parameter message command = /bin/mail -s 'message from %f' root %s; rm %s doing parameter dfree command = /var/install/bin/samba-dfree doing parameter admin users = root doing parameter printer admin = root doing parameter hosts allow = 127.0.0. 192.168.0.0/255.255.255.0 192.168.1.0/255.255.255.0 doing parameter strict locking = yes doing parameter dos filetimes = yes doing parameter dos filetime resolution = yes doing parameter hide files = /desktop.ini/Thumbs.db/ doing parameter use sendfile = yes doing parameter unix extensions = no pm_process() returned Yes lp_servicenumber: couldn't find homes set_server_role: role = ROLE_DOMAIN_PDC added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0 added interface
Re: [Samba] Samba 3.0.12rc1 Available for Download
Gerald (Jerry) Carter schrieb: This is a release candidate of the Samba 3.0.12 code base and is provided for testing only. While close to the final stable release, this snapshot is *not* intended for production servers. If all goes well, this this version (or something very similar) will become the final 3.0.12 stable release. Compiled with cups. If defining printing = lprng print command = chmod 666 %s; name=`echo '%J' | sed s/^.*- //`; if [ $name = ]; then name=%s; fi; /usr/bin/lpr -P%p -J$name %s; rm %s lpq command = /usr/bin/lpq -P%p -L lprm command = /usr/bin/lprm -P%p %j lppause command = /usr/sbin/lpc hold %p %j lpresume command = /usr/sbin/lpc release %p %j queuepause command = /usr/sbin/lpc stop %p queueresume command = /usr/sbin/lpc start %p in [global] and not using 'printing = cups' in one of my printers the following messages are shown in log.smbd: [2005/03/12 19:26:24, 0] smbd/server.c:main(798) smbd version 3.0.12rc1 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2005/03/12 19:26:24, 0] printing/print_cups.c:cups_cache_reload(85) Unable to connect to CUPS server localhost - Connection refused [2005/03/12 19:26:24, 0] printing/print_cups.c:cups_cache_reload(85) Unable to connect to CUPS server localhost - Connection refused I think it is better to discard this message, if cups is not used. There are many installations with cups linked samba and using other printing systems, because it is possible then to use which printing system ever (cups or an other one). der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.11rc1 Available for Download
Gerald (Jerry) Carter wrote: | Light testing here appears to indicate that it has fixed the | bug of ever-increasing number of documents appearing | in Printer job windows. kewl. Thanks for the feedback. I'm waiting for one last feedback about this. Hopefully it will come this week. If it is really fixed - what was the crucially change in 3.0.11rc1? der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] 3.0.1x, min password lenght deprecated, smbpasswd
Hallo @all, since 3.0.10 parameter min password lenght is deprecated. If removing the entry from smb.conf, the default of min password lenght = 5 is used. smbpasswd uses this entry if creating or changing passwords. How can I set a min password lenght of 2 characters without the deprecated parameter when the passdb backend is smbpasswd? Think min password lenght will be removed in the next releases. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.1x, min password lenght deprecated, smbpasswd
Gerald (Jerry) Carter wrote: | How can I set a min password lenght of 2 characters | without the deprecated parameter when the passdb | backend is smbpasswd? Think min password lenght will | be removed in the next releases. It's an account policy. Use pdbedit to set the value. That's why the smb.conf optionwas deprecated. It was at odds with the defined account policy. Thank you. Found the description in the pdbedit man page. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Plans for BUG 2170 (phantom jobs in queue listing on Windows clients)
Gerald (Jerry) Carter wrote: Due to the varied responses that we received with the 'phantom jobs in the windows print queue listing' bug, I'm encouraging people to test 3.0.11pre2 and let me know if you still see the bug after ensuring that the $(lockdir)/printing/*tdb files have been removed. The logs from 3.0.11pre1 I send to you were always logs with fresh created tdb's, because I'm removing these tdb's in the init script. Tests with 3.0.11pre2 will follow. It's difficult to find the error because I cannot reproduce it in my test environment but other users of the same samba-package can. der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Finished print jobs, Samba 3.0.9
Gerald (Jerry) Carter wrote: Yes. I know. I'm still working on that log file. But I have to finish up one more file on the privilege support for 3.0.11. All I said is that some people are reporting success with the current 3.0 code in svn. Not everyone obviously. Maybe the error has something to do with: [2005/01/15 13:20:55, 6] lib/util_sock.c:write_socket(449) write_socket(27,158) [2005/01/15 13:20:55, 6] lib/util_sock.c:write_socket(452) write_socket(27,158) wrote 158 [2005/01/15 13:21:15, 10] lib/util_sock.c:read_socket_with_timeout(305) read_socket_with_timeout: timeout read. select timed out. [2005/01/15 13:21:15, 10] lib/util_sock.c:receive_smb_raw(556) receive_smb_raw: length 0! [2005/01/15 13:21:15, 10] libsmb/clientgen.c:client_receive_smb(65) client_receive_smb failed [2005/01/15 13:21:15, 5] lib/util.c:show_msg(464) [2005/01/15 13:21:15, 5] lib/util.c:show_msg(474) size=0 smb_com=0x0 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=0 smb_flg2=0 smb_tid=0 smb_pid=0 smb_uid=0 smb_mid=0 smt_wct=0 smb_bcc=0 [2005/01/15 13:21:15, 0] rpc_client/cli_pipe.c:rpc_api_pipe(435) cli_pipe: return critical error. Error was Call timed out: server did not respond after 2 milliseconds [2005/01/15 13:21:15, 2] rpc_client/cli_pipe.c:cli_nt_session_open(1479) cli_nt_session_open: rpc bind to \PIPE\spoolss failed [2005/01/15 13:21:15, 0] rpc_server/srv_spoolss_nt.c:spoolss_connect_to_client(2628) spoolss_connect_to_client: unable to open the domain client session to machine SATURN. Error was : Call timed out: server did not respond after 2 milliseconds. [2005/01/15 13:21:15, 5] rpc_parse/parse_prs.c:prs_debug(82) 00 spoolss_io_r_rffpcnex [2005/01/15 13:21:15, 5] rpc_parse/parse_prs.c:prs_werror(702) status: WERR_SERVER_UNAVAILABLE Another error from the log: [2005/01/15 13:29:54, 10] printing/nt_printing.c:nt_printing_getsec(4937) secdesc_ctr for repr1 has 3 aces: [2005/01/15 13:29:54, 10] printing/nt_printing.c:nt_printing_getsec(4946) S-1-1-0 0 2 0xe000 [2005/01/15 13:29:54, 10] printing/nt_printing.c:nt_printing_getsec(4946) S-1-5-21-3031169430-2530732004-3017537316-1000 0 9 0x1000 [2005/01/15 13:29:54, 10] printing/nt_printing.c:nt_printing_getsec(4946) S-1-5-21-3031169430-2530732004-3017537316-1000 0 2 0x1000 [2005/01/15 13:29:54, 10] lib/util_seaccess.c:se_map_generic(176) se_map_generic(): mapped mask 0xe000 to 0x00020008 [2005/01/15 13:29:54, 10] lib/util_seaccess.c:se_map_generic(176) se_map_generic(): mapped mask 0x1000 to 0x000f000c [2005/01/15 13:29:54, 10] lib/util_seaccess.c:se_map_generic(176) se_map_generic(): mapped mask 0x1000 to 0x000f000c [2005/01/15 13:29:54, 10] lib/util_seaccess.c:se_access_check(234) se_access_check: requested access 0x000f000c, for NT token with 5 entries and first sid S-1-5-21-3031169430-2530732004-3017537316-5002. [2005/01/15 13:29:54, 3] lib/util_seaccess.c:se_access_check(251) [2005/01/15 13:29:54, 3] lib/util_seaccess.c:se_access_check(252) se_access_check: user sid is S-1-5-21-3031169430-2530732004-3017537316-5002 se_access_check: also S-1-5-21-3031169430-2530732004-3017537316-1201 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 se_access_check: ACE 0: type 0, flags = 0x02, SID = S-1-1-0 mask = 20008, current desired = f000c se_access_check: ACE 1: type 0, flags = 0x09, SID = S-1-5-21-3031169430-2530732004-3017537316-1000 mask = f000c, current desired = d0004 se_access_check: ACE 2: type 0, flags = 0x02, SID = S-1-5-21-3031169430-2530732004-3017537316-1000 mask = f000c, current desired = d0004 [2005/01/15 13:29:54, 5] lib/util_seaccess.c:se_access_check(315) se_access_check: access (f000c) denied. [2005/01/15 13:29:54, 4] printing/nt_printing.c:print_access_check(5087) access check was FAILURE [2005/01/15 13:29:54, 3] rpc_server/srv_spoolss_nt.c:_spoolss_open_printer_ex(1745) access DENIED for printer open der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Finished print jobs, Samba 3.0.9
Gerald (Jerry) Carter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Taylor, Marc wrote: | Has there been any further progress on the finished | print jobs piling up issue? In the last few emails | there was mention of a fix by Monday. | | Any updates would be greatly appreciated. I've got an increasing number of reports that this is fixed in the latest SAMBA 3.0 svn code. See https://bugzilla.samba.org/show_bug.cgi?id=2170 for detauls. copying a mail to you: ### Gerald (Jerry) Carter wrote: | printing/printing.c: In function `print_cache_expired': | printing/printing.c:1038: warning: passing arg 3 of `tdb_fetch_uint32' | from incompatible pointer type | | Could this be a problem? I don't think so. The warning is from a cast of time_t* to uint32*. I'll look at the other messages soon. here is an really good prepared log from the print queue update problem from Maximilian Pasternak: http://download.eisfair.org/tombork/test/log.zip Maybe it will take up to one hour till you can download the zipped log. This is from 3.0.11pre1 with the little patch release_print_db(pdb); ### Are there other fixes for the problem in SVN other than printig patch post 3.0.10v2 + patch release_print_db(pdb);? Can you look at the log in http://download.eisfair.org/tombork/test/log.zip please? der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.11pre1 Available for Download
Gerald (Jerry) Carter wrote: | printing/printing.c: In function `print_cache_expired': | printing/printing.c:1038: warning: passing arg 3 of `tdb_fetch_uint32' | from incompatible pointer type | | Could this be a problem? I don't think so. The warning is from a cast of time_t* to uint32*. I'll look at the other messages soon. here is an really good prepared log from the print queue update problem from Maximilian Pasternak: http://download.eisfair.org/tombork/test/log.zip Maybe it will take up to one hour till you can download the zipped log. This is from 3.0.11pre1 with the little patch release_print_db(pdb); der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.11pre1 Available for Download
Thomas Bork wrote: I think, I have a log from the error. Please see the pid 21540 doesn't exist - deleting messages record messages. [...] [2005/01/10 11:00:01, 4] printing/printing.c:print_cache_expired(1028) print_cache_expired: cache expired for queue hpclj450 (last_qscan_time = 1105351088, time now = 1105351201, qcachetime = 30) [2005/01/10 11:00:01, 10] printing/printing.c:print_queue_update(1433) print_queue_update: Sending message - printer = hpclj450, type = 6, lpq command = [/usr/bin/lpq -Prepr4 -L] [2005/01/10 11:00:01, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(2001, 0) : sec_ctx_stack_ndx = 1 [2005/01/10 11:00:01, 3] smbd/uid.c:push_conn_ctx(365) push_conn_ctx(100) : conn_ctx_stack_ndx = 0 [2005/01/10 11:00:01, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2005/01/10 11:00:01, 5] auth/auth_util.c:debug_nt_user_token(486) NT user token: (NULL) [2005/01/10 11:00:01, 5] auth/auth_util.c:debug_unix_user_token(505) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2005/01/10 11:00:01, 2] lib/messages.c:message_notify(154) pid 21540 doesn't exist - deleting messages record From compiling printing.c: printing/printing.c: In function `print_cache_expired': printing/printing.c:1038: warning: passing arg 3 of `tdb_fetch_uint32' from incompatible pointer type Could this be a problem? der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.11pre1 Available for Download
Thomas Bork wrote: I had two installations with old printjobs not deleting after printing with 3.0.10 with printing patch. After updating to 3.0.11pre1 one of these installations still have this problems but not in the same manner. It is necessarily to update the windows status monitor with F5 to remove old jobs. I think, I have a log from the error. Please see the pid 21540 doesn't exist - deleting messages record messages. For which pid Samba checks here? The log is from a client with old jobs in status monitor. Refreshing with F5 is possible, then old Jobs are beeing removed. Another problem with printer status in 3.0.11pre1: Cannot see the number of pages in status monitor. Only 'N/V'. Clients are Win 2000 and XP. [2005/01/10 11:00:01, 4] printing/printing.c:print_cache_expired(1028) print_cache_expired: cache expired for queue hpclj450 (last_qscan_time = 1105351088, time now = 1105351201, qcachetime = 30) [2005/01/10 11:00:01, 10] printing/printing.c:print_queue_update(1433) print_queue_update: Sending message - printer = hpclj450, type = 6, lpq command = [/usr/bin/lpq -Prepr4 -L] [2005/01/10 11:00:01, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(2001, 0) : sec_ctx_stack_ndx = 1 [2005/01/10 11:00:01, 3] smbd/uid.c:push_conn_ctx(365) push_conn_ctx(100) : conn_ctx_stack_ndx = 0 [2005/01/10 11:00:01, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2005/01/10 11:00:01, 5] auth/auth_util.c:debug_nt_user_token(486) NT user token: (NULL) [2005/01/10 11:00:01, 5] auth/auth_util.c:debug_unix_user_token(505) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2005/01/10 11:00:01, 2] lib/messages.c:message_notify(154) pid 21540 doesn't exist - deleting messages record [..] [2005/01/10 11:00:01, 4] printing/printing.c:print_cache_expired(1028) print_cache_expired: cache expired for queue hplj1100 (last_qscan_time = 1105351090, time now = 1105351201, qcachetime = 30) [2005/01/10 11:00:01, 10] printing/printing.c:print_queue_update(1433) print_queue_update: Sending message - printer = hplj1100, type = 6, lpq command = [/usr/bin/lpq -Prepr5 -L] [2005/01/10 11:00:01, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(2001, 0) : sec_ctx_stack_ndx = 1 [2005/01/10 11:00:01, 3] smbd/uid.c:push_conn_ctx(365) push_conn_ctx(100) : conn_ctx_stack_ndx = 0 [2005/01/10 11:00:01, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2005/01/10 11:00:01, 5] auth/auth_util.c:debug_nt_user_token(486) NT user token: (NULL) [2005/01/10 11:00:01, 5] auth/auth_util.c:debug_unix_user_token(505) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2005/01/10 11:00:01, 2] lib/messages.c:message_notify(154) pid 21540 doesn't exist - deleting messages record [..] [2005/01/10 11:00:01, 4] printing/printing.c:print_cache_expired(1028) print_cache_expired: cache expired for queue hplj4100 (last_qscan_time = 1105351088, time now = 1105351201, qcachetime = 30) [2005/01/10 11:00:01, 4] printing/printing.c:print_cache_expired(1044) print_cache_expired: message already pending for hplj4100. Accepting cache [..] [2005/01/10 11:00:01, 4] printing/printing.c:print_cache_expired(1028) print_cache_expired: cache expired for queue hplj2200 (last_qscan_time = 1105349941, time now = 1105351201, qcachetime = 30) [2005/01/10 11:00:01, 4] printing/printing.c:print_cache_expired(1044) print_cache_expired: message already pending for hplj2200. Accepting cache [..] [2005/01/10 11:00:01, 4] printing/printing.c:print_cache_expired(1028) print_cache_expired: cache expired for queue hplj4100 (last_qscan_time = 1105351088, time now = 1105351201, qcachetime = 30) [2005/01/10 11:00:01, 4] printing/printing.c:print_cache_expired(1044) print_cache_expired: message already pending for hplj4100. Accepting cache [..] [2005/01/10 11:00:01, 4] printing/printing.c:print_cache_expired(1028) print_cache_expired: cache expired for queue hpclj450 (last_qscan_time = 1105351088, time now = 1105351201, qcachetime = 30) [2005/01/10 11:00:01, 4] printing/printing.c:print_cache_expired(1044) print_cache_expired: message already pending for hpclj450. Accepting cache [..] [2005/01/10 11:00:01, 4] printing/printing.c:print_cache_expired(1028) print_cache_expired: cache expired for queue hplj1100 (last_qscan_time = 1105351090, time now = 1105351201, qcachetime = 30) [2005/01/10 11:00:01, 4] printing/printing.c:print_cache_expired(1044) print_cache_expired: message already pending for hplj1100. Accepting cache [..] [2005/01/10 11:00:01, 4] printing/printing.c:print_cache_expired(1028) print_cache_expired: cache expired for queue hplj4100 (last_qscan_time = 1105351088, time now = 1105351201, qcachetime = 30) [2005/01/10 11:00:01, 4] printing/printing.c:print_cache_expired(1044) print_cache_expired: message already pending for hplj4100. Accepting cache
Re: [Samba] Samba 3.0.11pre1 Available for Download
Gerald Carter wrote: This is a preview release of the Samba 3.0.11 code base and is provided for testing only. This release is *not* intended for production servers. However, there have been several bug fixes since 3.0.10 that we feel are important to make available to the Samba community for wider testing. Common bugs fixed in 3.0.11pre1 include: ~ o Numerous printing bugs bugs including memory ~bloating on large/busy print servers. I had two installations with old printjobs not deleting after printing with 3.0.10 with printing patch. After updating to 3.0.11pre1 one of these installations still have this problems but not in the same manner. It is necessarily to update the windows status monitor with F5 to remove old jobs. From the other installation feedback is pending. Here is the thread about the first installation. Sorry, this is an german newsgroup: http://lists.spline.inf.fu-berlin.de/mailman/htdig/eisfair/2005-January/072638.html and ff. In my installation old jobs are removed and it is not necessarily to update the windows status monitor with F5. After the update to 3.0.11pre1 I saw these messages in the samba log (think it has somthing to do with browsing the printer folder from windows): [2005/01/05 21:58:04, 0] lib/util_sock.c:get_peer_addr(1150) getpeername failed. Error was Transport endpoint is not connected [2005/01/05 21:58:04, 0] lib/access.c:check_access(328) [2005/01/05 21:58:04, 0] lib/util_sock.c:get_peer_addr(1150) getpeername failed. Error was Transport endpoint is not connected Denied connection from (0.0.0.0) [2005/01/05 21:58:04, 0] lib/util_sock.c:write_socket_data(430) write_socket_data: write failure. Error = Connection reset by peer [2005/01/05 21:58:04, 0] lib/util_sock.c:write_socket(455) write_socket: Error writing 5 bytes to socket 25: ERRNO = Connection reset by peer [2005/01/05 21:58:04, 0] lib/util_sock.c:send_smb(647) Error writing 5 bytes to client. -1. (Connection reset by peer) [2005/01/05 22:00:33, 0] smbd/service.c:make_connection(799) r40 (192.168.0.9) couldn't find service ::{2227a280-3aea-1069-a2de-08002b30309d} der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] 3.0.10 with printing patch, NULL devmode, failing to fetch tdb and buffer overflow
Hi Jerry, hi @all, some users with 3.0.10 with printing patch have problems with old printjobs in her status monitor in windows. Loglevel 10 shows two problems: 1. The devmode for this printer was not set properly (I know, thiswill cause problems). log.smbd: [2005/01/05 14:02:09, 8] rpc_parse/parse_spoolss.c:smb_io_reldevmode(2407) boing, the devmode was NULL 2. A buffer overflow is logged. log.smbd: [2005/01/05 14:02:09, 5] smbd/ipc.c:send_trans_reply(91) send_trans_reply: buffer 1024 too large [2005/01/05 14:02:09, 3] smbd/error.c:error_packet(129) error packet at smbd/ipc.c(99) cmd=37 (SMBtrans) STATUS_BUFFER_OVERFLOW [2005/01/05 14:02:09, 5] smbd/ipc.c:copy_trans_params_and_data(62) copy_trans_params_and_data: params[0..0] data[0..1024] Is this a risk? Is it possible to avoid this even if the devmode is not set? Is this the reason for the failed fetching of the tdb?: [2005/01/05 12:53:03, 0] smbd/connection.c:register_message_flags(220) register_message_flags: tdb_fetch failed der tom __ Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min. weltweit telefonieren! http://freephone.web.de/?mc=021201 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.10 with printing patch, NULL devmode, failing to fetch tdb and buffer overflow
Hi Jerry, | some users with 3.0.10 with printing patch have problems | with old printjobs in her status monitor in windows. Loglevel 10 | shows two problems: I'm still working on this. The two errors you mention are unrelated though. The last one might be related now that I think of it. [...] | Is this the reason for the failed fetching of the tdb?: | [2005/01/05 12:53:03, 0] smbd/connection.c:register_message_flags(220) |register_message_flags: tdb_fetch failed | This was a bug in smbd when clients connected to port 445. Should be fixed in 3.0.11pre1. Could you test that and let me know if the print jobs are removed normally? Thanks. Yes, I have two users with this problem. Thanks a lot :) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.10 Available for Download
Gerald (Jerry) Carter schrieb: | A question to the thread 3.0.9 and macro %f | | http://marc.theaimsgroup.com/?l=sambam=110260704009010w=2 | | Do you have a patch for that? Not fixed yet. Is tehre a bugzilla number for it ? Just so I don't forget. no. You wrote on 2004-12-09: ok. reproduced it. The problem is that the string handling in smbd/message.c assumes unicode strings rather than checking the negotiated capability bits. The message command you list works fine for messages from Windows 2000 client (which support unicode). While smbclient is sending the strings as ASCII. I'll try to fix this later today. Shouldn't take long. ### And I lost my bugzilla-account :( der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.10 Available for Download
Gerald Carter schrieb: This is the latest stable release of Samba. This is the version that production Samba servers should be running for all current bug-fixes. This is primarily a security release to address CAN-2004-1154. Compiles ok with changed configure and printing-3-0-10.patch :) A question to the thread 3.0.9 and macro %f http://marc.theaimsgroup.com/?l=sambam=110260704009010w=2 Do you have a patch for that? der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] compile samba v3.0.9 vfs-errors
[EMAIL PROTECTED] schrieb: found a thread with almost my current problem. There wasn't any solution out there. Maybe anything has changed? I want install samba v3.0.9 on an old rh linux v7.1. Currently there's no chance to update the core system. But while compiling it breaks with many vfs-errors as shown below: ..SNIP.. modules/vfs_shadow_copy.po(.text+0x6e2): undefined reference to `debug_add_class' modules/vfs_shadow_copy.po(.text+0x700): undefined reference to `DEBUGLEVEL_CLASS' [...] Here are the first lines of the posting found in http://lists.samba.org/archive/samba/2004-October/094787.html : you have to patch configure, because your ld has not an date in his version string and configure expect this. 3.0.10 will come with an changed configure script. Attaching patch for 3.0.9. der tom --- samba-3.0.9/source/configure.orig Fri Nov 19 23:29:34 2004 +++ samba-3.0.9/source/configureFri Nov 19 23:29:08 2004 @@ -3174,17 +3174,32 @@ if test $ac_cv_prog_gnu_ld = yes; then - ac_cv_gnu_ld_version=`$LD -v 2/dev/null | head -1` - echo $as_me:$LINENO: checking GNU ld release date 5 -echo $ECHO_N checking GNU ld release date... $ECHO_C 6 - ac_cv_gnu_ld_date=`echo $ac_cv_gnu_ld_version | sed -n 's,^.*\([2-9][0-9][0-9][0-9]\)[-]*\([01][0-9]\)[-]*\([0-3][0-9]\).*$,\1\2\3,p'` - echo $as_me:$LINENO: result: ${ac_cv_gnu_ld_date} 5 -echo ${ECHO_T}${ac_cv_gnu_ld_date} 6 - if test $ac_cv_gnu_ld_date -lt 20030217; then - ac_cv_gnu_ld_no_default_allow_shlib_undefined=yes - fi + ac_cv_gnu_ld_version=`$LD -v 2/dev/null | head -1` + if `echo $ac_cv_gnu_ld_version | grep -q -E ^.*[2-9][0-9][0-9][0-9][-]*[01][0-9][-]*[0-3][0-9].*$`; then +echo $as_me:$LINENO: checking GNU ld release date 5 +echo $ECHO_N checking GNU ld release date... $ECHO_C 6 +ac_cv_gnu_ld_date=`echo $ac_cv_gnu_ld_version | sed -n 's,^.*\([2-9][0-9][0-9][0-9]\)[-]*\([01][0-9]\)[-]*\([0-3][0-9]\).*$,\1\2\3,p'` +echo $as_me:$LINENO: result: ${ac_cv_gnu_ld_date} 5 +echo ${ECHO_T}${ac_cv_gnu_ld_date} 6 +if test $ac_cv_gnu_ld_date -lt 20030217; then + ac_cv_gnu_ld_no_default_allow_shlib_undefined=yes +fi + else +echo $as_me:$LINENO: checking GNU ld release version 5 +echo $ECHO_N checking GNU ld release version... $ECHO_C 6 +ac_cv_gnu_ld_vernr=`echo $ac_cv_gnu_ld_version | sed -n 's,^.*\([1-9][0-9]*\.[0-9][0-9]*\).*$,\1,p'` +echo $as_me:$LINENO: result: ${ac_cv_gnu_ld_vernr} 5 +echo ${ECHO_T}${ac_cv_gnu_ld_vernr} 6 +ac_cv_gnu_ld_vernr_major=`echo $ac_cv_gnu_ld_vernr | cut -d '.' -f 1` +echo $as_me:$LINENO: result: ac_cv_gnu_ld_vernr_major ${ac_cv_gnu_ld_vernr_major} 5 +ac_cv_gnu_ld_vernr_minor=`echo $ac_cv_gnu_ld_vernr | cut -d '.' -f 2` +echo $as_me:$LINENO: result: ac_cv_gnu_ld_vernr_minor ${ac_cv_gnu_ld_vernr_minor} 5 +if test $ac_cv_gnu_ld_vernr_major -lt 2 || test $ac_cv_gnu_ld_vernr_minor -lt 14; then + ac_cv_gnu_ld_no_default_allow_shlib_undefined=yes + echo $as_me:$LINENO: result: ac_cv_gnu_ld_no_default_allow_shlib_undefined ${ac_cv_gnu_ld_no_default_allow_shlib_undefined} 5 +fi + fi fi - echo $as_me:$LINENO: checking for library containing strerror 5 echo $ECHO_N checking for library containing strerror... $ECHO_C 6 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.9 and macro %f
Gerald (Jerry) Carter schrieb: | Subject: message from __2___ ok. reproduced it. The problem is that the string handling in smbd/message.c assumes unicode strings rather than checking the negotiated capability bits. The message command you list works fine for messages from Windows 2000 client (which support unicode). While smbclient is sending the strings as ASCII. I'll try to fix this later today. Shouldn't take long. thanks a lot! And sorry for the misleading information about the correct behaviour in 2.2.12 and 3.0.8pre2: I changed the option -U in /usr/bin/smbclient -U 'eisfair Samba Server on TEST2' -M TEST2 with 3.0.9 from -U 'eisfair Samba Server' to -U 'eisfair Samba Server on TEST2' der tom -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.9 and macro %f
Gerald (Jerry) Carter schrieb: | samba 3.0.9 cannot expand %f anymore: | | Sending a netbios message to the samba server himself | | test2 # echo test | /usr/bin/smbclient -U 'eisfair Samba Server on | TEST2' -M TEST2 -I 192.168.0.6 | Connected. Type your message, ending it with a Control-D | sent 6 bytes | | From smb.conf: | | message command = /bin/mail -s 'message from %f' root %s; rm %s | | And this is the mail (see Subjekt): | ... | To: [EMAIL PROTECTED] | Subject: message from __2___ The code hasn't changed. have you looked at a level 10 debug log for clues? [2004/12/07 08:19:29, 5] smbd/connection.c:claim_connection(170) claiming 0 [2004/12/07 08:19:29, 5] smbd/reply.c:reply_special(284) init msg_type=0x81 msg_flags=0x0 [2004/12/07 08:19:29, 6] lib/util_sock.c:write_socket(449) write_socket(24,4) [2004/12/07 08:19:29, 6] lib/util_sock.c:write_socket(452) write_socket(24,4) wrote 4 [2004/12/07 08:19:29, 10] lib/util_sock.c:read_smb_length_return_keepalive(505) got smb length of 73 [2004/12/07 08:19:29, 6] smbd/process.c:process_smb(1091) got message type 0x0 of len 0x49 [2004/12/07 08:19:29, 3] smbd/process.c:process_smb(1092) Transaction 1 of length 77 [2004/12/07 08:19:29, 5] lib/util.c:show_msg(461) [2004/12/07 08:19:29, 5] lib/util.c:show_msg(471) size=73 smb_com=0xd5 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=8 smb_flg2=51201 smb_tid=65535 smb_pid=2117 smb_uid=0 smb_mid=2 smt_wct=0 smb_bcc=38 [2004/12/07 08:19:29, 10] lib/util.c:dump_data(1899) [000] 04 65 69 73 66 61 69 72 20 53 61 6D 62 61 20 53 .eisfair Samba S [010] 65 72 76 65 72 20 6F 6E 20 54 45 53 54 32 00 04 erver on TEST2.. [020] 54 45 53 54 32 00 TEST2. [2004/12/07 08:19:29, 3] smbd/process.c:switch_message(887) switch message SMBsendstrt (pid 2118) conn 0x0 [2004/12/07 08:19:29, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2004/12/07 08:19:29, 5] auth/auth_util.c:debug_nt_user_token(486) NT user token: (NULL) [2004/12/07 08:19:29, 5] auth/auth_util.c:debug_unix_user_token(505) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2004/12/07 08:19:29, 5] smbd/uid.c:change_to_root_user(296) change_to_root_user: now uid=(0,0) gid=(0,0) [2004/12/07 08:19:29, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0 [2004/12/07 08:19:29, 5] auth/auth_util.c:debug_nt_user_token(486) NT user token: (NULL) [2004/12/07 08:19:29, 5] auth/auth_util.c:debug_unix_user_token(505) UNIX token of user 65534 Primary group is 65534 and contains 0 supplementary groups [2004/12/07 08:19:29, 3] lib/access.c:check_access(313) check_access: no hostnames in host allow/deny list. [2004/12/07 08:19:29, 2] lib/access.c:check_access(324) Allowed connection from (192.168.0.6) [2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247) convert_string_internal: Conversion error: Illegal multibyte sequence(eisfair Samba Server on TEST2) [2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247) convert_string_internal: Conversion error: Illegal multibyte sequence(sfair Samba Server on TEST2) [2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247) convert_string_internal: Conversion error: Illegal multibyte sequence(air Samba Server on TEST2) [2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247) convert_string_internal: Conversion error: Illegal multibyte sequence(r Samba Server on TEST2) [2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247) convert_string_internal: Conversion error: Illegal multibyte sequence(Samba Server on TEST2) [2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247) convert_string_internal: Conversion error: Illegal multibyte sequence(mba Server on TEST2) [2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247) convert_string_internal: Conversion error: Illegal multibyte sequence(a Server on TEST2) [2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247) convert_string_internal: Conversion error: Illegal multibyte sequence(Server on TEST2) [2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247) convert_string_internal: Conversion error: Illegal multibyte sequence(rver on TEST2) [2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247) convert_string_internal: Conversion error: Illegal multibyte sequence(er on TEST2) [2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247) convert_string_internal: Conversion error: Illegal multibyte sequence( on TEST2) [2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247) convert_string_internal: Conversion error: Illegal multibyte sequence(n TEST2) [2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247) convert_string_internal: Conversion error: Illegal multibyte sequence(TEST2) [2004/12/07 08:19:29, 3]
[Samba] 3.0.9 and macro %f
Hi, samba 3.0.9 cannot expand %f anymore: Sending a netbios message to the samba server himself test2 # echo test | /usr/bin/smbclient -U 'eisfair Samba Server on TEST2' -M TEST2 -I 192.168.0.6 Connected. Type your message, ending it with a Control-D sent 6 bytes From smb.conf: message command = /bin/mail -s 'message from %f' root %s; rm %s And this is the mail (see Subjekt): From - Mon Dec 06 02:00:16 2004 X-UIDL: 410d42e60113 X-Mozilla-Status: 0001 X-Mozilla-Status2: Return-path: [EMAIL PROTECTED] Envelope-to: [EMAIL PROTECTED] Delivery-date: Mon, 06 Dec 2004 01:59:53 +0100 Received: from nobody by test2.tommaik.de with local (Exim 4.40) id 1Cb7EH-Qp-IX for [EMAIL PROTECTED]; Mon, 06 Dec 2004 01:59:53 +0100 To: [EMAIL PROTECTED] Subject: message from __2___ Message-Id: [EMAIL PROTECTED] From: nobody [EMAIL PROTECTED] Date: Mon, 06 Dec 2004 01:59:53 +0100 Status: test 2.2.12 and 3.0.8pre2(?) can expand %f - 3.0.9 not. Why? der tom -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: XP bug -- client spooler loop (MS KB 329234)
Gerald (Jerry) Carter schrieb: Thanks to Martin and Walter for pointing out that this is an old XP bug. Here's the link: http://support.microsoft.com/default.aspx?scid=kb;en-us;329234 this bug is fixed in XP SP2 and not the same as in slow printing from xp sp2 clients. Unless someone can provide more information to show that this is not the bug you are seeing with slow printing from xp sp2 clients, I'm marking this one off my list. Some old bugs never die I guess. But I have some informations from our users, that samba 3.0.9 fixed the slow printing from xp sp2 clients :) -- der tom -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba