Re: [Samba] upgrade samba4 install
Hello, On 09/05/2011 19:52, de...@podoll.com wrote: I have a install of samba4 that I have been using on my home network for testing with one PDC and BDC on the local network and a 3rd BDC located on another network with IPSEC tunnel between the two networks. The problem I have is all 3 servers are running different versions on the samba4 code I would like to get all the system on the same code level. Do any of you know an easy way to do this so I do not loose all the account and policy information in the PDC when I update it? either that or is there a backup method anyone would recommend before trying it preform any updates. So depending on your version of samba you'll have to update just the binaries or also to update the structure and the content of the database. Best is to first know the version. Upgrading the binaries is ok there is nothing to do apart from make;make install , to update the structure we have a tool but for the moment it's limited to 1 DC (so you have to demote your other server). In theory we could support multi DC upgrade, but I have a bit of work to do but it shouldn't be too hard. Matthieu. -- Matthieu Patou Samba Teamhttp://samba.org Private repohttp://git.samba.org/?p=mat/samba.git;a=summary -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] (Cross ) Install and Conversion problem
With some extra effort of export samba_cv_CC_NEGATIVE_ENUM_VALUES=0 I could compile Samba3 for ARM. (./configure --host=arm-none-linux-gnueabi --build=i686; make) As I couldn't install samba on my host with make install (as I compiled on Intel machine) I just - copied smbclient, libwbclient.so, - created an empty /usr/local/samba/lib/smb.conf - and copied lowcase.dat and upcase.dat to that folder. Now calling smbclient gives me: init_iconv: Conversion from UTF-16LE to CP850 not supported init_iconv: Attempting to replace with conversion from UTF-16LE to ASCII init_iconv: Conversion from UTF-8 to CP850 not supported init_iconv: Attempting to replace with conversion from ASCII to ASCII init_iconv: Conversion from ANSI_X3.4-1968 to CP850 not supported I have a small embedded device, just want to access windows shares from there. What do I missed in installing or configuration? Best regards -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Problem with listing a share
Hi, I have a strange problem listing a share with, e.g. # ls -al /path/to/share I have a samba-client-3.5.4-68.el6_0.2.x86_64 on a Scientific Linux 6 (as a virtual machine - if it matters) and an samba-3.0.33-0.30.el4 server on a RHEL4. When I try the listed command I get the following in the servers logfile (on log lever = 3): [2011/04/29 16:29:39, 3, effective(0, 0), real(0, 0)] smbd/process.c:process_smb(1083) Transaction 32 of length 78 [2011/04/29 16:29:39, 3, effective(0, 0), real(0, 0)] smbd/process.c:switch_message(932) switch message SMBtrans2 (pid 12215) conn 0x8f82e20 [2011/04/29 16:29:39, 3, effective(0, 0), real(0, 0)] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (872, 872) - sec_ctx_stack_ndx = 0 [2011/04/29 16:29:39, 3, effective(872, 872), real(872, 0)] smbd/trans2.c:call_trans2qfilepathinfo(3304) call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 263 [2011/04/29 16:29:39, 3, effective(872, 872), real(872, 0)] smbd/vfs.c:reduce_name(821) reduce_name [.] [/path/to/share] [2011/04/29 16:29:39, 3, effective(872, 872), real(872, 0)] smbd/vfs.c:reduce_name(922) reduce_name: . reduced to /path/to/share [2011/04/29 16:29:39, 3, effective(872, 872), real(872, 0)] smbd/trans2.c:call_trans2qfilepathinfo(3355) call_trans2qfilepathinfo . (fnum = -1) level=263 call=5 total_data=0 [2011/04/29 16:29:39, 3, effective(872, 872), real(872, 0)] smbd/process.c:process_smb(1083) Transaction 33 of length 88 [2011/04/29 16:29:39, 3, effective(872, 872), real(872, 0)] smbd/process.c:switch_message(932) switch message SMBtrans2 (pid 12215) conn 0x8f82e20 [2011/04/29 16:29:39, 3, effective(872, 872), real(872, 0)] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (872, 872) - sec_ctx_stack_ndx = 0 [2011/04/29 16:29:39, 3, effective(872, 872), real(872, 0)] smbd/trans2.c:call_trans2findfirst(1704) call_trans2findfirst: dirtype = 17, maxentries = 150, close_after_first=0, close_if_end = 2 requires_resume_key = 4 level = 0x105, max_data_bytes = 16384 [2011/04/29 16:29:39, 3, effective(872, 872), real(872, 0)] smbd/vfs.c:reduce_name(821) reduce_name [\*] [/path/to/share] [2011/04/29 16:29:39, 3, effective(872, 872), real(872, 0)] smbd/vfs.c:reduce_name(922) reduce_name: \* reduced to/path/to/share/\* [2011/04/29 16:29:39, 3, effective(872, 872), real(872, 0)] smbd/vfs.c:reduce_name(821) reduce_name [./] [/path/to/share] [2011/04/29 16:29:39, 3, effective(872, 872), real(872, 0)] smbd/vfs.c:reduce_name(922) reduce_name: ./ reduced to /path/to/share [2011/04/29 16:29:39, 3, effective(872, 872), real(872, 0)] smbd/dir.c:dptr_create(515) creating new dirptr 256 for path ./, expect_close = 1 [2011/04/29 16:29:39, 3, effective(872, 872), real(872, 0)] smbd/error.c:error_packet_set(106) error packet at smbd/trans2.c(1906) cmd=50 (SMBtrans2) NT_STATUS_NO_SUCH_FILE [2011/04/29 16:29:39, 3, effective(872, 872), real(872, 0)] smbd/process.c:process_smb(1083) Transaction 34 of length 84 [2011/04/29 16:29:39, 3, effective(872, 872), real(872, 0)] smbd/process.c:switch_message(932) switch message SMBtrans2 (pid 12215) conn 0x8f82e20 [2011/04/29 16:29:39, 3, effective(872, 872), real(872, 0)] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (872, 872) - sec_ctx_stack_ndx = 0 [2011/04/29 16:29:39, 3, effective(872, 872), real(872, 0)] smbd/trans2.c:call_trans2findnext(2018) call_trans2findnext: dirhandle = 0, max_data_bytes = 16384, maxentries = 150, close_after_request=0, close_if_end = 2 requires_resume_key = 4 resume_key = 0 resume name = continue=0 level = 261 [2011/04/29 16:29:39, 3, effective(872, 872), real(872, 0)] smbd/dir.c:dptr_fetch_lanman2(729) fetched null dirptr 0 [2011/04/29 16:29:39, 3, effective(872, 872), real(872, 0)] smbd/error.c:error_packet_set(106) error packet at smbd/trans2.c(2098) cmd=50 (SMBtrans2) STATUS_NO_MORE_FILES The same command issued from another Scientific Linux 6 (hardware) machine works with the following servers log: [2011/04/29 16:32:42, 3, effective(872, 872), real(872, 0)] smbd/process.c:process_smb(1083) Transaction 7 of length 78 [2011/04/29 16:32:42, 3, effective(872, 872), real(872, 0)] smbd/process.c:switch_message(932) switch message SMBtrans2 (pid 26105) conn 0x90cc218 [2011/04/29 16:32:42, 3, effective(872, 872), real(872, 0)] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (872, 872) - sec_ctx_stack_ndx = 0 [2011/04/29 16:32:42, 3, effective(872, 872), real(872, 0)] smbd/trans2.c:call_trans2qfilepathinfo(3304) call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 263 [2011/04/29 16:32:42, 3, effective(872, 872), real(872, 0)] smbd/vfs.c:reduce_name(821) reduce_name [.] [/path/to/share] [2011/04/29 16:32:42, 3, effective(872, 872), real(872, 0)] smbd/vfs.c:reduce_name(922) reduce_name: . reduced to /path/to/share [2011/04/29 16:32:42, 3, effective(872, 872), real(872, 0)] smbd/trans2.c:call_trans2qfilepathinfo(3355)
Re: [Samba] (Cross ) Install and Conversion problem
On 05/11/2011 05:36 AM, Arno Steffen wrote: With some extra effort of export samba_cv_CC_NEGATIVE_ENUM_VALUES=0 I could compile Samba3 for ARM. (./configure --host=arm-none-linux-gnueabi --build=i686; make) As I couldn't install samba on my host with make install (as I compiled on Intel machine) I just - copied smbclient, libwbclient.so, - created an empty /usr/local/samba/lib/smb.conf - and copied lowcase.dat and upcase.dat to that folder. Now calling smbclient gives me: init_iconv: Conversion from UTF-16LE to CP850 not supported init_iconv: Attempting to replace with conversion from UTF-16LE to ASCII init_iconv: Conversion from UTF-8 to CP850 not supported init_iconv: Attempting to replace with conversion from ASCII to ASCII init_iconv: Conversion from ANSI_X3.4-1968 to CP850 not supported I have a small embedded device, just want to access windows shares from there. What do I missed in installing or configuration? Best regards Have you considered building with static libraries (at least to get it working)? On my small cross compiled target, I run configure with --without-shared. However, I'm using an older branch (3.0). -- 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.8 - windows XP workstations disapear from browselist
So it is impossible to solve this issue ? I don't have any other ideas except some kind of nasty workaround: Ill write perl script. It would periodically check every machine in /etc/ethers for presence and smb/nmb activity. Depending on that it will maintain directory with windows-style shortcuts pointing to active machines. I will share this directory throu samba and map them on workstations as drive L , L as list. Thanks BartekR. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] How sambaLMPassword attribute updated?
When giving information to the LDAP side by samba+LDAP cooperation, Samba 3.x stores LANMAN password into sambaLMPassword. Usually, Windows NT(2000,XP etc...),Samba uses ONLY sambaNTPassword, and not use sambaLMPassword. My Question is: Where is Samba controlling the conditions of not using sambaLMPassword? When I set client lanman auth = yes ,but not use sambaLMPassword. -- --- Oota Toshiya --- t-oota at dh.jp.nec.com NEC Systems Software Operations Unit Shiba,Minato,Tokyo IT Platform Solutions DivisionJapan,Earth,Solar system (samba-jp/ldap-jp Staff,mutt-j/samba-jp postmaster) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Intermittent MRxSMB; W50: Delayed Write Failed when writing to Office 2007's Recent Files index.dat on a network share
Andrew Chadwick wrote on 05/10/2011 03:17:55 PM: The dialog in full: Application popup: Windows - Delayed Write Failed : Windows was unable to save all the data for the file \windows\settings\appdata\Microsoft\Office\Recent\index.dat. The data has been lost. This error may be caused by a failure of your computer hardware or network connection. Please try to save this file elsewhere. it presents in our system logs as Apr 18 10:46:27 revdnsXXX pcX NT: MRxSmb;W50; {Delayed Write Failed} Windows was unable to save all the data for the file \Device\LanmanRedirector. The data has been lost. This error may be caused by a failure of your computer hardware or network connection. Please try to save this file elsewhere. (together with a message about the associated Application Popup;I26;) I have seen this message after smbd has crashed on the server side or smbd did not reply to a request by the CIFS client for a while and the client then forcefully disconnected. Maybe you can check for smbd crashes in the logs and if it is somehow reproducible then gather smbd debug logs showing the last few minutes before the message had shown up. Regards, Christian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Error in Configuring CTDB, Winbind and AD
Harshavardhana wrote on 05/10/2011 09:57:06 PM: [2011/05/10 15:40:54.147924, 1] winbindd/idmap_ad.c:651(idmap_ad_sids_to_unixids) Could not get unix ID [2011/05/10 15:54:41.509152, 1] winbindd/idmap_ad.c:651(idmap_ad_sids_to_unixids) Could not get unix ID idmap config WINHPC : backend = ad idmap config WINHPC : readonly = yes idmap config WINHPC : schema_mode = rfc2307 idmap config WINHPC : range = 1000-40 idmap uid = 1000-40 idmap gid = 1000-40 This indicates that you have invalid values in your SFU attributes in AD. If a user wants to connect with the ad backend in place, the user must have a uid and the Windows primary group also needs to have a gid defined in the UNIX Attributes tab. Besides that, you should not use overlapping ranges for idmap uid and the domain specific range. For WINHPC, you should limit the range to the numbers that you are planning to use in AD and then use another disjunct range for idmap uid. e.g. idmap config WINHPC : range = 1000-4 idmap uid = 5-40 idmap gid = 5-40 Regards, Christian -- 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.8 - windows XP workstations disapear from browselist
On Wed, May 11, 2011 at 7:58 AM, BartekR bojle...@gmail.com wrote: So it is impossible to solve this issue ? Maybe :) Try running: = net config server /autodisconnect:-1 = on the XP workstations. Check the network device in device manager and make sure that power management isn't allowed to turn it off. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] (Cross ) Install and Conversion problem
This option isn't exactly available and anything simular doesn't show an effect. But I could get it working by adding a line in configure: samba_cv_HAVE_NATIVE_ICONV=no at some place in configure script. (Without doing something samba_cv_HAVE_NATIVE_ICONV is set to cross by configure). I couldn't manage it to set this by export in advance, as I did it with samba_cv_CC_NEGATIVE_ENUM_VALUES. So I still haven't understand how to handle the cross configure and install it to lets say a NFS folder of the target system. Best regards 2011/5/11 samba developer sa...@mindchasers.com: On 05/11/2011 05:36 AM, Arno Steffen wrote: With some extra effort of export samba_cv_CC_NEGATIVE_ENUM_VALUES=0 I could compile Samba3 for ARM. (./configure --host=arm-none-linux-gnueabi --build=i686; make) As I couldn't install samba on my host with make install (as I compiled on Intel machine) I just - copied smbclient, libwbclient.so, - created an empty /usr/local/samba/lib/smb.conf - and copied lowcase.dat and upcase.dat to that folder. Now calling smbclient gives me: init_iconv: Conversion from UTF-16LE to CP850 not supported init_iconv: Attempting to replace with conversion from UTF-16LE to ASCII init_iconv: Conversion from UTF-8 to CP850 not supported init_iconv: Attempting to replace with conversion from ASCII to ASCII init_iconv: Conversion from ANSI_X3.4-1968 to CP850 not supported I have a small embedded device, just want to access windows shares from there. What do I missed in installing or configuration? Best regards Have you considered building with static libraries (at least to get it working)? On my small cross compiled target, I run configure with --without-shared. However, I'm using an older branch (3.0). -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Issue providing seamless migrtion (3.0.24 to 3.5.6) - sambaNTPassword mystery
I finally solved my problem. The pdbedit import/export process gave me a sambaNTPassword field with a WRONG value... If I ask mysql a machine sambaNTPassword, it is different from the one gave to the same machine by pdbedit -i tdbsam:export.tdb (looking at it in LDAP). So I imported accounts, added UNIX accounts to my machine, corrected some fields and last but not least : I corrected the sambaNTPassword field. I should precise that moreover I used to import from old file a wins.dat, which should be removed according to samba howto [migration]. But in my opinion, the trick was on the sambaNTPassword since logs were saying credentials check fail. Thank you one more time Louis. Le 06/05/2011 17:02, Nathan Mahu a écrit : Thank you one more time for your help Louis ! But I still fail :-( ### FIRST ANSWER ### Back to my first mail, the third step (ldif [3]), I was saying adding posixAccount object, but I added the top object too. That was the idea : comparing a working ldiff with others and manual tweak of each fields. Concerning the getent passwd, I see every account that have a posixAccount object filled. It works for both automatic manual add of the posixAccount part. More precisely, when it misses posixAccount, logs tell me about it, when I add it manually (ldif process), it finds the Unix account. About displayName: THORIN$, it is filled when I manually joined the domain to create the working LDIF. I have tried 2 or 3 times to add it, but honestly, I think a displayName is only a superficial stuff... Moreover, with a thorin$ account WITHOUT displayName, in samba logs requests to ldap are made with THORIN$ and acknowledges with thorin$ found. It uses cn field, I really don't think displayName is important. The [2] ldif looks like a user account. I don't get what makes you think that. However, users account and machine accounts are really close in samba. Cn names have a $ for computers, and each time (for [1]to [3]), it is dn: uid=thorin$,ou=Computers,dc=domain,dc=com, meaning it is in the right OU. Accounts added by smbldap-tools go in the right OU according to if it is a machine or user account. Finally, smbldap-useradd -wi machine_account$ makes fails with the following log : WORKSTATION secure channel requested but not a workstation trust account [...] failed to get machine password for account THORIN$ : NT_STATUS_NO_TRUST_SAM_ACCOUNT. Important about this : LDIF presents flags as [UX] and not the old good machine flag [W]... I'm not sure trust account stuff is for simple workstation but honestly, I haven't read much about it. Le 06/05/2011 09:28, L.P.H. van Belle a écrit : Hi, compair the working computer ldiff and the not working ldiff. the import ldiff is missing [2] objectClass: top i dont know if its needed, but you can try it. if you do getent passwd on the new samba server, does it display your new computer account. Also, i see. in [1] displayName: THORIN$ uidNumber: 1004 sambaSID: S-1-5-21-720590779-4203916555-4014520812-1003 and [2] displayName: thorin$ uidNumber: 1002 sambaSID: S-1-5-21-720590779-4203916555-4014520812-11343 sambaLogonTime: 0 sambaLogoffTime: 2147483647 sambaKickoffTime: 2147483647 sambaPwdCanChange: 0 sambaPwdMustChange: 2147483647 sambaPwdLastSet: 1304078541 make sure its how you computer name (displayName) is caps and no caps. i'm trying to narrowing down the options here.. Also the computer [2] looks like a new created user, not a computer. is the new computer in the correct OU? smbldap-useradd --help | grep unit -oadd the user in the organizational unit (relative to the user suffix. Ex: 'ou=admin,ou=all') ( see user as computer ) also can you try smbldap-useradd -wi machine_account$ and report back te results. Louis Le 06/05/2011 09:32, L.P.H. van Belle a écrit : and i found this. When migrating an existing machine account, you also have to invoke smbldap-useradd -a computername$ after creating the account in order to allow storing of encrypted password into the sambaNTPassword entry. Louis ### SECOND ANSWER ### I think it is very like using smbldap-useradd -W thorin$... However I have made some try to create account in two steps, after importing machine account, either after creating it manually with only -w, etc... Always fails with the credential checks wrong. Moreover, I found this : http://www.mail-archive.com/linux-390@vm.marist.edu/msg30492.html It seems it is possible to enters fields missing (sambaNTPassword) with simple ldif and make it work. I tried 3 or 4 time with different approaches (imports machine account, manual create, etc..). SAME ERROR. I really dont get it. And it really misses some documentation on low level functionnalities to create some little hacks to be able to proceed a smealess migration. -Oorspronkelijk bericht- Van: Nathan Mahu [mailto:nm...@cyanide-studio.com] Verzonden: 2011-05-05 18:22 Aan: L.P.H. van Belle CC:
[Samba] Issue with Bind
I followed the Howto http://wiki.samba.org/index.php/Samba4/HOWTO Using: -Samba4 alpha15 -Bind9.8.0 When I added an XP PC (192.168.123.244) to my domain I got this in syslog: May 11 12:04:18 samba4 named[10705]: client 192.168.123.244#1061: update 'mydomain.com/IN' denied May 11 12:04:18 samba4 named[10705]: tkey.c:486: ENSURE(result == (((1) 16) + 28) || result == 0) failed, back trace May 11 12:04:18 samba4 named[10705]: #0 0x805ac45 in assertion_failed()+0x45 May 11 12:04:18 samba4 named[10705]: #1 0x81c62f7 in isc_assertion_failed()+0x27 May 11 12:04:18 samba4 named[10705]: #2 0x81659ba in dns_tkey_processquery()+0x98a May 11 12:04:18 samba4 named[10705]: #3 0x80696ff in ns_query_start()+0x40f May 11 12:04:18 samba4 named[10705]: #4 0x8051d44 in client_request()+0xdc4 May 11 12:04:18 samba4 named[10705]: #5 0x81e270d in isc__taskmgr_dispatch()+0x17d May 11 12:04:18 samba4 named[10705]: #6 0x81e5e34 in evloop()+0x74 May 11 12:04:18 samba4 named[10705]: #7 0x81e60af in isc__app_ctxrun()+0x12f May 11 12:04:18 samba4 named[10705]: #8 0x81e6182 in isc__app_run()+0x12 May 11 12:04:18 samba4 named[10705]: #9 0x805bd56 in main()+0xc96 May 11 12:04:18 samba4 named[10705]: #10 0xb7d04455 in _fini()+0xafb0d6b9 May 11 12:04:18 samba4 named[10705]: #11 0x804bb61 in _start()+0x21 May 11 12:04:18 samba4 named[10705]: exiting (due to assertion failure) Any ideas?? Best regards, Felix. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] (Cross ) Install and Conversion problem
From: Arno Steffen arno.stef...@googlemail.com Date: Wed, 11 May 2011 16:01:44 +0200 On 05/11/2011 05:36 AM, Arno Steffen wrote: Now calling smbclient gives me: init_iconv: Conversion from UTF-16LE to CP850 not supported init_iconv: Attempting to replace with conversion from UTF-16LE to ASCII init_iconv: Conversion from UTF-8 to CP850 not supported init_iconv: Attempting to replace with conversion from ASCII to ASCII init_iconv: Conversion from ANSI_X3.4-1968 to CP850 not supported What do I missed in installing or configuration? Best regards Have you considered building with static libraries (at least to get it working)? On my small cross compiled target, I run configure with --without-shared. However, I'm using an older branch (3.0). Have you installed CP437.so and CP850.so at /usr/local/samba/lib/charset (by default) or linked statically? Or to set dos charset = ASCII, you will avoid these errors. I have a small embedded device, just want to access windows shares from there. Anyway if you use non-ASCII characters in filenames, not setting dos charset property, you will have problems. --- TAKAHASHI Motonobu mo...@samba.gr.jp -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Issue with Bind
did you compile bind with gssapi? my compile options with ubuntu are this..Verify your pointing to the proper path when compiling for gssapi. ./configure --prefix=/usr/local/bind9 --with-gssapi=/usr/include/gssapi verify that you have the proper environments in bind,,, I have this in the init script.. KEYTAB_FILE=/usr/local/samba1/private/dns.keytab KRB5_KTNAME=/usr/local/samba1/private/dns.keytab export KEYTAB_FILE export KRB5_KTNAME and verify that the options are in named.conf properly.. CASE matters.. tkey-gssapi-credential DNS/example.com; tkey-domain EXAMPLE.COM; Verify all this and modify for your environment... On 05/11/2011 12:15 PM, fe...@epepm.cupet.cu wrote: I followed the Howto http://wiki.samba.org/index.php/Samba4/HOWTO Using: -Samba4 alpha15 -Bind9.8.0 When I added an XP PC (192.168.123.244) to my domain I got this in syslog: May 11 12:04:18 samba4 named[10705]: client 192.168.123.244#1061: update 'mydomain.com/IN' denied May 11 12:04:18 samba4 named[10705]: tkey.c:486: ENSURE(result == (((1) 16) + 28) || result == 0) failed, back trace May 11 12:04:18 samba4 named[10705]: #0 0x805ac45 in assertion_failed()+0x45 May 11 12:04:18 samba4 named[10705]: #1 0x81c62f7 in isc_assertion_failed()+0x27 May 11 12:04:18 samba4 named[10705]: #2 0x81659ba in dns_tkey_processquery()+0x98a May 11 12:04:18 samba4 named[10705]: #3 0x80696ff in ns_query_start()+0x40f May 11 12:04:18 samba4 named[10705]: #4 0x8051d44 in client_request()+0xdc4 May 11 12:04:18 samba4 named[10705]: #5 0x81e270d in isc__taskmgr_dispatch()+0x17d May 11 12:04:18 samba4 named[10705]: #6 0x81e5e34 in evloop()+0x74 May 11 12:04:18 samba4 named[10705]: #7 0x81e60af in isc__app_ctxrun()+0x12f May 11 12:04:18 samba4 named[10705]: #8 0x81e6182 in isc__app_run()+0x12 May 11 12:04:18 samba4 named[10705]: #9 0x805bd56 in main()+0xc96 May 11 12:04:18 samba4 named[10705]: #10 0xb7d04455 in _fini()+0xafb0d6b9 May 11 12:04:18 samba4 named[10705]: #11 0x804bb61 in _start()+0x21 May 11 12:04:18 samba4 named[10705]: exiting (due to assertion failure) Any ideas?? Best regards, Felix. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Samba/ctdb on AIX 6.1
I'm trying to test Samba 3.5.8 with ctdb on AIX 6.1 and running into some issues. I was able to get the latest ctdb code built with some small changes and then get a working cluster, but without CTDB managing the public IP addresses or Samba startup/shutdown. The included event script for managing interfaces is linux specific. Is it possible to allow ctdb to manage the public cluster IP addresses if I re-write the necessary scripts to work on AIX. Even better, is there anyone who has already done this work and can share it? Thanks, John Janosik jpjan...@us.ibm.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Issue with Bind
On 11/05/2011 20:15, fe...@epepm.cupet.cu wrote: I followed the Howto http://wiki.samba.org/index.php/Samba4/HOWTO Using: -Samba4 alpha15 -Bind9.8.0 When I added an XP PC (192.168.123.244) to my domain I got this in syslog: May 11 12:04:18 samba4 named[10705]: client 192.168.123.244#1061: update 'mydomain.com/IN' denied May 11 12:04:18 samba4 named[10705]: tkey.c:486: ENSURE(result == (((1) 16) + 28) || result == 0) failed, back trace May 11 12:04:18 samba4 named[10705]: #0 0x805ac45 in assertion_failed()+0x45 May 11 12:04:18 samba4 named[10705]: #1 0x81c62f7 in isc_assertion_failed()+0x27 May 11 12:04:18 samba4 named[10705]: #2 0x81659ba in dns_tkey_processquery()+0x98a May 11 12:04:18 samba4 named[10705]: #3 0x80696ff in ns_query_start()+0x40f May 11 12:04:18 samba4 named[10705]: #4 0x8051d44 in client_request()+0xdc4 May 11 12:04:18 samba4 named[10705]: #5 0x81e270d in isc__taskmgr_dispatch()+0x17d May 11 12:04:18 samba4 named[10705]: #6 0x81e5e34 in evloop()+0x74 May 11 12:04:18 samba4 named[10705]: #7 0x81e60af in isc__app_ctxrun()+0x12f May 11 12:04:18 samba4 named[10705]: #8 0x81e6182 in isc__app_run()+0x12 May 11 12:04:18 samba4 named[10705]: #9 0x805bd56 in main()+0xc96 May 11 12:04:18 samba4 named[10705]: #10 0xb7d04455 in _fini()+0xafb0d6b9 May 11 12:04:18 samba4 named[10705]: #11 0x804bb61 in _start()+0x21 May 11 12:04:18 samba4 named[10705]: exiting (due to assertion failure) Can you post your bind configuration ? Did you use the DLZ plugins for bind from samba ? Matthieu. -- Matthieu Patou Samba Teamhttp://samba.org Private repo http://git.samba.org/?p=mat/samba.git;a=summary -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Linker error for Samba 3.5.8 on Solaris 5.8
What compiler are you using? On Solaris 10, I found that you needed Solaris Studio and dmake. -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of line...@halo.nu Sent: Tuesday, May 03, 2011 6:33 PM To: samba@lists.samba.org Subject: Re: [Samba] Linker error for Samba 3.5.8 on Solaris 5.8 On Wed, Apr 27, 2011 at 08:41:27PM -0500, line...@halo.nu wrote: I get the following linker error when compiling Samba on Solaris Sparc 5.8: ld: fatal: Symbol referencing errors. No output written to bin/libnetapi.so.0 collect2: ld returned 1 exit status make: *** [bin/libnetapi.so.0] Error 1 I fixed that by doing this: bash-2.03# ls -l libico* -rw-r--r-- 1 bin bin 803 Jan 12 2005 libiconv.la lrwxrwxrwx 1 root other 17 Aug 4 2005 libiconv.so - libiconv.so.2.1.0 lrwxrwxrwx 1 root other 17 Aug 4 2005 libiconv.so.2 - libiconv.so.2.1.0 -rwxr-xr-x 1 bin bin 685176 Jan 12 2005 libiconv.so.2.0.3 -rwxr-xr-x 1 bin bin 1147960 Jan 12 2005 libiconv.so.2.1.0 -rwxr-xr-x 1 bin bin 1159488 Jan 12 2005 libiconv.so.2.2.0 -rw-r--r-- 1 bin bin 1148932 Jan 12 2005 libiconv_plug.so bash-2.03# nm libiconv.so.2 | grep relocat bash-2.03# nm libiconv.so.2.0.3 | grep relocat bash-2.03# nm libiconv.so.2.1.0 | grep relocat bash-2.03# nm libiconv.so.2.2.0 | grep relocat 00015f6c T libiconv_relocate 00015d40 T libiconv_set_relocation_prefix 00015c2c t set_this_relocation_prefix bash-2.03# mv libiconv.so.2 libiconv.so.2.old-link.alan bash-2.03# ln -s libiconv.so.2.2.0 !!:1 ln -s libiconv.so.2.2.0 libiconv.so.2 bash-2.03# Now there is a new problem, any help would be appreciated. bash-2.03# make Using CFLAGS = -I../lib/zlib -O -I. -I/root/samba-3.5.8/source3 -I/root/samba-3.5.8/source3/../lib/popt -I/root/samba-3.5.8/source3/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DLDAP_DEPRECATED -DSUNOS5 -I/root/samba-3.5.8/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 PICFLAG= -fPIC LIBS = -lsendfile -lresolv -lrt -ldl -lnsl -lsocket -lintl LDFLAGS= -Wl,-z,ignore -lthread -L./bin DYNEXP = LDSHFLAGS = -fPIC -shared -Wl,-z,ignore -lthread -L./bin -lc -Wl,-z,defs SHLIBEXT = so SONAMEFLAG = -Wl,-h, Linking shared library bin/pam_winbind.so Undefined first referenced symbol in file libintl_bindtextdomain ../nsswitch/pam_winbind.o libintl_dgettext../nsswitch/pam_winbind.o ld: fatal: Symbol referencing errors. No output written to bin/pam_winbind.so collect2: ld returned 1 exit status make: *** [bin/pam_winbind.so] Error 1 bash-2.03# -Alan -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] oracle has released samba 3.5.5 on solaris
Just found out that Sun (Oracle) has released supported patches for Solaris 10, to bring Samba from 3.0.37 to 3.5.5 (back in Feb.) http://sparcv9.blogspot.com/2011/02/samba-355-update-for-solaris-10.html?sho wComment=1299265836812#c4735248300290186719 Solaris 10 sparc 119757-19 and 146363-01 Solaris 10 x86 119758-19 and 146364-01 I think this was a big enough upgrade to have warranted some communication from Oracle. I have not tried the patches yet. I had compiled samba 3.4.x and had figured I would have to wait until Solaris 11 for an updated Oracle provided samba. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Error in Configuring CTDB, Winbind and AD
Thanks solved it by using idmap rid backend. -- 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.8 - windows XP workstations disapear from browselist
W dniu 2011-05-11 15:41, Chris Smith pisze: On Wed, May 11, 2011 at 7:58 AM, BartekRbojle...@gmail.com wrote: So it is impossible to solve this issue ? Maybe :) Try running: = net config server /autodisconnect:-1 = on the XP workstations. No success. Check the network device in device manager and make sure that power management isn't allowed to turn it off. It was one of first things checked by my. I did not wrote about this because I found it obvious. Thanks. BartekR. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via f99d6f0 s3-printing: make cups_pull_comment_location() work again. from 05e8881 s3:librpc: remove unneded gssapi includes from source3/librpc/crypto/gse.c http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit f99d6f079a0060e4d08d7384bdf230d4d2c62b86 Author: Günther Deschner g...@samba.org Date: Wed May 11 10:30:42 2011 +0200 s3-printing: make cups_pull_comment_location() work again. we deal with lp_cups_server in cups_connect() already, inside the URI all our other cups functions we use ipp://localhost, do the same here. Guenther Autobuild-User: Günther Deschner g...@samba.org Autobuild-Date: Wed May 11 11:36:07 CEST 2011 on sn-devel-104 --- Summary of changes: source3/printing/print_cups.c | 15 ++- 1 files changed, 2 insertions(+), 13 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c index ea2fc1d..077d82b 100644 --- a/source3/printing/print_cups.c +++ b/source3/printing/print_cups.c @@ -1585,7 +1585,6 @@ bool cups_pull_comment_location(TALLOC_CTX *mem_ctx, ipp_attribute_t *attr; /* Current attribute */ cups_lang_t *language = NULL; /* Default language */ charuri[HTTP_MAX_URI]; - char *server = NULL; char *sharename = NULL; char *name = NULL; static const char *requested[] =/* Requested attributes */ @@ -1626,21 +1625,11 @@ bool cups_pull_comment_location(TALLOC_CTX *mem_ctx, ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_LANGUAGE, attributes-natural-language, NULL, language-language); - if (lp_cups_server() != NULL strlen(lp_cups_server()) 0) { - if (!push_utf8_talloc(frame, server, lp_cups_server(), size)) { - goto out; - } - } else { - server = talloc_strdup(frame,cupsServer()); - } - if (!server) { - goto out; - } if (!push_utf8_talloc(frame, sharename, printername, size)) { goto out; } - slprintf(uri, sizeof(uri) - 1, ipp://%s/printers/%s, -server, sharename); + slprintf(uri, sizeof(uri) - 1, ipp://localhost/printers/%s, +sharename); ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, printer-uri, NULL, uri); -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-6-test updated
The branch, v3-6-test has been updated via 44a454f s3-printing: make cups_pull_comment_location() work again. from 25d7736 s3-printing: Fix double free of cups request. http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test - Log - commit 44a454fe5f1873902995fde1618039092a9b6701 Author: Günther Deschner g...@samba.org Date: Wed May 11 10:30:42 2011 +0200 s3-printing: make cups_pull_comment_location() work again. we deal with lp_cups_server in cups_connect() already, inside the URI all our other cups functions we use ipp://localhost, do the same here. Guenther Autobuild-User: Günther Deschner g...@samba.org Autobuild-Date: Wed May 11 11:36:07 CEST 2011 on sn-devel-104 (cherry picked from commit f99d6f079a0060e4d08d7384bdf230d4d2c62b86) --- Summary of changes: source3/printing/print_cups.c | 15 ++- 1 files changed, 2 insertions(+), 13 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c index ea2fc1d..077d82b 100644 --- a/source3/printing/print_cups.c +++ b/source3/printing/print_cups.c @@ -1585,7 +1585,6 @@ bool cups_pull_comment_location(TALLOC_CTX *mem_ctx, ipp_attribute_t *attr; /* Current attribute */ cups_lang_t *language = NULL; /* Default language */ charuri[HTTP_MAX_URI]; - char *server = NULL; char *sharename = NULL; char *name = NULL; static const char *requested[] =/* Requested attributes */ @@ -1626,21 +1625,11 @@ bool cups_pull_comment_location(TALLOC_CTX *mem_ctx, ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_LANGUAGE, attributes-natural-language, NULL, language-language); - if (lp_cups_server() != NULL strlen(lp_cups_server()) 0) { - if (!push_utf8_talloc(frame, server, lp_cups_server(), size)) { - goto out; - } - } else { - server = talloc_strdup(frame,cupsServer()); - } - if (!server) { - goto out; - } if (!push_utf8_talloc(frame, sharename, printername, size)) { goto out; } - slprintf(uri, sizeof(uri) - 1, ipp://%s/printers/%s, -server, sharename); + slprintf(uri, sizeof(uri) - 1, ipp://localhost/printers/%s, +sharename); ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, printer-uri, NULL, uri); -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-6-test updated
The branch, v3-6-test has been updated via e71f9a4 libsmbconf: Define a doxygen group for libsmbconf. via 1e8282f libsmbconf: Document smbconf_transaction_cancel(). via 4e381dc libsmbconf: Document smbconf_transaction_commit(). via addb4d3 libsmbconf: Document smbconf_transaction_start(). via 4a06f0f libsmbconf: Document smbconf_delete_global_includes(). via d5adb46d libsmbconf: Document smbconf_delete_includes(). via 91feef2 libsmbconf: Document smbconf_set_global_includes(). via fcee6a6 libsmbconf: Document smbconf_set_includes(). via 3591652 libsmbconf: Document smbconf_get_global_includes(). via bc8a5df libsmbconf: Document smbconf_get_includes(). via 799cfd9 libsmbconf: Document smbconf_delete_global_parameter(). via b35b30b libsmbconf: Document smbconf_delete_parameter(). via 247ad89 libsmbconf: Document smbconf_get_global_parameter(). via 53aa10a libsmbconf: Document smbconf_get_parameter(). via 24af63e libsmbconf: Document smbconf_set_global_parameter(). via 9adfc49 libsmbconf: Document smbconf_set_parameter(). via dc8464b libsmbconf: Document smbconf_delete_share(). via adc8fef libsmbconf: Document smbconf_get_share(). via bc30d4b libsmbconf: Document smbconf_create_share(). via 315bda5 libsmbconf: Document smbconf_share_exists(). via 32bafa5 libsmbconf: Document smbconf_get_share_names(). via 8692501 libsmbconf: Document smbconf_get_config(). via 256fd66 libsmbconf: Document smbconf_drop(). via 1b97a85 libsmbconf: Document smbconf_changed(). via 62030ee libsmbconf: Document smbconf_shutdown(). via e4c38b0 libsmbconf: Document smbconf_is_writeable(). via 15d285a libsmbconf: Document smbconf_backend_requires_messaging(). via a6c5502 s3-waf: Create a public libsmconf. via 3987455 s3-waf: Create a registry private library. via 1ff0545 libsmbconf: Convert smbconf_get_config() to sbcErr. via ea45d9d libsmbconf: Convert smbconf_transaction_*() to sbcErr. via 3d8e524 libsmbconf: Convert smbconf_delete_includes() to sbcErr. via 3fcc6ac libsmbconf: Convert smbconf_set_includes() to sbcErr. via 8aa9d9a libsmbconf: Convert smbconf_get_includes() to sbcErr. via 48a7ab6 libsmbconf: Convert smbconf_delete_parameter() to sbcErr. via d3ced52 libsmbconf: Convert smbconf_get_parameter() to sbcErr. via 6eae520 libsmbconf: Convert smbconf_set_parameter() to sbcErr. via 9eb03a5 libsmbconf: Convert smbconf_delete_share() to sbcErr. via 347e52d libsmbconf: Convert smbconf_get_share() to sbcErr. via 5d9bbcb libsmbconf: Convert smbconf_create_share() to smbErr. via feee765 libsmbconf: Convert smbconf_get_share_names() to sbcErr. via 1ed47a5 libsmbconf: Convert smbconf_drop() to sbcErr. via a686e99 libsmbconf: Convert smbconf_open() to sbcErr. via eda9ff5 libsmbconf: Convert smbconf_init() to sbcErr. via 74152f4 libsmbconf: Added a sbcErrorString() function. via 193a07a libsmbconf: Introduce a sbcErrType. from 44a454f s3-printing: make cups_pull_comment_location() work again. http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test - Log - commit e71f9a431b5ad506ab15b616597624d8833e5ff4 Author: Andreas Schneider a...@samba.org Date: Thu Apr 14 11:59:57 2011 +0200 libsmbconf: Define a doxygen group for libsmbconf. Signed-off-by: Michael Adam ob...@samba.org commit 1e8282f45b6e8633c2e25b6484fdb1ce3dfb053a Author: Andreas Schneider a...@samba.org Date: Thu Apr 14 11:54:11 2011 +0200 libsmbconf: Document smbconf_transaction_cancel(). Signed-off-by: Michael Adam ob...@samba.org commit 4e381dc571207df44d8024e7bab83ab116011bea Author: Andreas Schneider a...@samba.org Date: Thu Apr 14 11:53:25 2011 +0200 libsmbconf: Document smbconf_transaction_commit(). Signed-off-by: Michael Adam ob...@samba.org commit addb4d3e2305d6ce72d4ccaef7063080acfcbcb0 Author: Andreas Schneider a...@samba.org Date: Thu Apr 14 11:52:30 2011 +0200 libsmbconf: Document smbconf_transaction_start(). Signed-off-by: Michael Adam ob...@samba.org commit 4a06f0f5651be52f8b000c4968fb2d7617178ba2 Author: Andreas Schneider a...@samba.org Date: Thu Apr 14 11:50:05 2011 +0200 libsmbconf: Document smbconf_delete_global_includes(). Signed-off-by: Michael Adam ob...@samba.org commit d5adb46d31a2d0c832d139a6e5f9c7bf2a81b12c Author: Andreas Schneider a...@samba.org Date: Thu Apr 14 11:49:24 2011 +0200 libsmbconf: Document smbconf_delete_includes(). Signed-off-by: Michael Adam ob...@samba.org commit 91feef25fda403130beba39d4554cf4873c85ba5 Author: Andreas Schneider a...@samba.org Date: Thu Apr 14 11:48:15 2011 +0200 libsmbconf:
[SCM] CTDB repository - branch 1.2 updated - ctdb-1.9.1-423-g30a7315
The branch, 1.2 has been updated via 30a73156727f2286e6f5ae4d245536e0c55b2911 (commit) from 4dde1ff6aba0caec284f15539bfee2dbf6848c8e (commit) http://gitweb.samba.org/?p=ctdb.git;a=shortlog;h=1.2 - Log - commit 30a73156727f2286e6f5ae4d245536e0c55b2911 Author: Ronnie Sahlberg ronniesahlb...@gmail.com Date: Wed May 11 19:50:09 2011 +1000 Remove all checking of GPFS from ctdb_diagnostics CQ S1023524 --- Summary of changes: tools/ctdb_diagnostics | 32 1 files changed, 0 insertions(+), 32 deletions(-) Changeset truncated at 500 lines: diff --git a/tools/ctdb_diagnostics b/tools/ctdb_diagnostics index eae5483..cf166ec 100755 --- a/tools/ctdb_diagnostics +++ b/tools/ctdb_diagnostics @@ -249,38 +249,6 @@ show_all /usr/sbin/nfsstat -v done } -[ -d /usr/lpp/mmfs ] { -cat EOF - -Showing GPFS status and recent log entries -EOF - show_all tail -100 /var/adm/ras/mmfs.log.latest - show_all /usr/lpp/mmfs/bin/mmlsconfig - show_all /usr/lpp/mmfs/bin/mmlsfs all - show_all /usr/lpp/mmfs/bin/mmlsnsd - show_all /usr/lpp/mmfs/bin/mmlsnsd -X - show_all /usr/lpp/mmfs/bin/mmfsadm dump version - show_all /usr/lpp/mmfs/bin/mmfsadm dump waiters - show_all /usr/lpp/mmfs/bin/mmlsmount all - show_all /usr/lpp/mmfs/bin/mmlsquota - show_all /usr/lpp/mmfs/bin/mmlscluster - show_all /usr/lpp/mmfs/bin/mmlsmgr - devlist=`mmlsfs all|grep ^File.system.attributes | cut -d/ -f3 | cut -d: -f1` - for d in $devlist; do - show_all mmdf $d - show_all mmlsdisk $d - show_all mmlsfileset $d - show_all mmlspolicy $d - show_all mmlssnapshot $d - done - fslist=`mount|grep type.gpfs|awk '{print $1}'` - for fs in $fslist; do - show_all /usr/lpp/mmfs/bin/mmlssnapshot $fs - show_all /usr/lpp/mmfs/bin/mmlsdisk $fs - show_all /usr/lpp/mmfs/bin/mmlsfileset $fs - done -} - cat EOF Showing Samba status -- CTDB repository
[SCM] CTDB repository - branch master updated - ctdb-1.10-200-g4cddba0
The branch, master has been updated via 4cddba08b46db0a56a86b32403a41b89cd097317 (commit) from f90485b08d32cbe56050718a3b28ca0fe1d64e0f (commit) http://gitweb.samba.org/?p=ctdb.git;a=shortlog;h=master - Log - commit 4cddba08b46db0a56a86b32403a41b89cd097317 Author: Ronnie Sahlberg ronniesahlb...@gmail.com Date: Wed May 11 19:50:09 2011 +1000 Remove all checking of GPFS from ctdb_diagnostics CQ S1023524 --- Summary of changes: tools/ctdb_diagnostics | 32 1 files changed, 0 insertions(+), 32 deletions(-) Changeset truncated at 500 lines: diff --git a/tools/ctdb_diagnostics b/tools/ctdb_diagnostics index eae5483..cf166ec 100755 --- a/tools/ctdb_diagnostics +++ b/tools/ctdb_diagnostics @@ -249,38 +249,6 @@ show_all /usr/sbin/nfsstat -v done } -[ -d /usr/lpp/mmfs ] { -cat EOF - -Showing GPFS status and recent log entries -EOF - show_all tail -100 /var/adm/ras/mmfs.log.latest - show_all /usr/lpp/mmfs/bin/mmlsconfig - show_all /usr/lpp/mmfs/bin/mmlsfs all - show_all /usr/lpp/mmfs/bin/mmlsnsd - show_all /usr/lpp/mmfs/bin/mmlsnsd -X - show_all /usr/lpp/mmfs/bin/mmfsadm dump version - show_all /usr/lpp/mmfs/bin/mmfsadm dump waiters - show_all /usr/lpp/mmfs/bin/mmlsmount all - show_all /usr/lpp/mmfs/bin/mmlsquota - show_all /usr/lpp/mmfs/bin/mmlscluster - show_all /usr/lpp/mmfs/bin/mmlsmgr - devlist=`mmlsfs all|grep ^File.system.attributes | cut -d/ -f3 | cut -d: -f1` - for d in $devlist; do - show_all mmdf $d - show_all mmlsdisk $d - show_all mmlsfileset $d - show_all mmlspolicy $d - show_all mmlssnapshot $d - done - fslist=`mount|grep type.gpfs|awk '{print $1}'` - for fs in $fslist; do - show_all /usr/lpp/mmfs/bin/mmlssnapshot $fs - show_all /usr/lpp/mmfs/bin/mmlsdisk $fs - show_all /usr/lpp/mmfs/bin/mmlsfileset $fs - done -} - cat EOF Showing Samba status -- CTDB repository
[SCM] CTDB repository - branch 1.2.27 updated - ctdb-1.9.1-412-g798b134
The branch, 1.2.27 has been updated via 798b1349c6d35e268c7173806f63ea3bd37a8f4e (commit) via fc0d8b0da05e88512a5e024d873f61255f880a37 (commit) via b82ba4940dad3a21ed5b0e5734bd487af775ea78 (commit) from 8411e70e021f5ac90731059a02bec2a29ffc43b2 (commit) http://gitweb.samba.org/?p=ctdb.git;a=shortlog;h=1.2.27 - Log - commit 798b1349c6d35e268c7173806f63ea3bd37a8f4e Author: Ronnie Sahlberg ronniesahlb...@gmail.com Date: Tue May 10 14:53:53 2011 +1000 New version 1.2.27-3 commit fc0d8b0da05e88512a5e024d873f61255f880a37 Author: Ronnie Sahlberg ronniesahlb...@gmail.com Date: Tue May 10 08:25:27 2011 +1000 If samba fails to start for some reason, make this cause the startup event to fail too, so that ctdbd will re-try the startup event later. Or else this will leave samba not running. CQ S1023394 commit b82ba4940dad3a21ed5b0e5734bd487af775ea78 Author: Ronnie Sahlberg ronniesahlb...@gmail.com Date: Tue May 10 06:19:34 2011 +1000 Dont exit from checking interfaces once we have found one interface that is not in use by public addresses. this can happen when we have removed existing interfaces/ip addresses and prevents us from verifying the status of other interfaces --- Summary of changes: config/events.d/10.interface |2 +- config/events.d/50.samba | 17 ++--- packaging/RPM/ctdb.spec.in |6 +- 3 files changed, 20 insertions(+), 5 deletions(-) Changeset truncated at 500 lines: diff --git a/config/events.d/10.interface b/config/events.d/10.interface index e0689c4..5f25445 100755 --- a/config/events.d/10.interface +++ b/config/events.d/10.interface @@ -43,7 +43,7 @@ monitor_interfaces() ip addr show $IFACE 2/dev/null /dev/null || { echo Interface $IFACE does not exist but it is used by public addresses. - exit 1 + continue } # These interfaces are sometimes bond devices diff --git a/config/events.d/50.samba b/config/events.d/50.samba index a1f99fb..184fb2f 100755 --- a/config/events.d/50.samba +++ b/config/events.d/50.samba @@ -65,7 +65,11 @@ start_samba() { # start the winbind service [ $CTDB_MANAGES_WINBIND = yes ] { - service $CTDB_SERVICE_WINBIND start + service $CTDB_SERVICE_WINBIND start || { + echo failed to start winbind + exit 1 + } + } # start Samba service. Start it reniced, as under very heavy load @@ -74,8 +78,15 @@ start_samba() { [ $CTDB_MANAGES_SAMBA = yes ] { /usr/bin/net serverid wipe - nice_service $CTDB_SERVICE_NMB start - nice_service $CTDB_SERVICE_SMB start + nice_service $CTDB_SERVICE_NMB start || { + echo failed to start nmbd + exit 1 + } + + nice_service $CTDB_SERVICE_SMB start || { + echo failed to start samba + exit 1 + } } return 0 } diff --git a/packaging/RPM/ctdb.spec.in b/packaging/RPM/ctdb.spec.in index 75ca661..3005f4e 100644 --- a/packaging/RPM/ctdb.spec.in +++ b/packaging/RPM/ctdb.spec.in @@ -4,7 +4,7 @@ Summary: Clustered TDB Vendor: Samba Team Packager: Samba Team sa...@samba.org Version: 1.2.27 -Release: 2GITHASH +Release: 3GITHASH Epoch: 0 License: GNU GPL version 3 Group: System Environment/Daemons @@ -143,6 +143,10 @@ development libraries for ctdb %{_libdir}/libctdb.a %changelog +* Tue May 10 2011 : Version 1.2.27-3 + - Add support for bonding mode 4, workaround thel5 kernel bug + - Restart samba if it fails 'service smb start' CQ S1023394 + - Dont stop checking interfaces when deleted interfce found : CQ S1023420 * Mon Apr 11 2011 : Version 1.2.27-2 - Update and simplify handling of interfaces. check for and become unhealthy if an interface has been deleted -- CTDB repository
[SCM] Samba Website Repository - branch master updated
The branch, master has been updated via 5a1964d translate some german to english from 3176f0e update realted siteÑ: add ctdb, remove distcc http://gitweb.samba.org/?p=samba-web.git;a=shortlog;h=master - Log - commit 5a1964d541baa7e19582baa6d7db29921fa84b9d Author: Björn Jacke b...@sernet.de Date: Wed May 11 14:26:36 2011 +0200 translate some german to english --- Summary of changes: support/globalsupport.html | 30 ++ 1 files changed, 10 insertions(+), 20 deletions(-) Changeset truncated at 500 lines: diff --git a/support/globalsupport.html b/support/globalsupport.html index 20b4894..22f5d00 100644 --- a/support/globalsupport.html +++ b/support/globalsupport.html @@ -59,31 +59,21 @@ Germany Support /small/pre p -Die SerNet Service Network GmbH (SerNet) ist Europas technologischer -Marktfuuml;hrer bei Leistungen rund um die OpenSource-Software SAMBA und eines -der fuuml;hrenden Linux-System-Hauml;user in Deutschland. SerNet bietet -ihren Service fuuml;r Netzwerksicherheit, Linux und andere OpenSource-Software -in ganz Europa an. +SerNet Service Network GmbH (SerNet) is Europe's technology +market leaders round about Samba and other Linux and OpenSource related topics. +SerNet offers support contracts with 24/7 support with guaranteed reation times. /pp -a href=mailto:v...@samba.orgVolker Lendecke/a - eines der ersten Samba-Team-Mitglieder - gruuml;ndete 1997 -die SerNet um professionellen und kommerziellen Support fuuml;r diese -wichtigste Freie Alternative zu proprietauml;ren SMB-Servern (Windows(TM)) -anzubieten. +a href=mailto:v...@samba.orgVolker Lendecke/a, one of the first Samba Team +members, is one of the founders of SerNet. /pp -SerNet ist der europaweit einzige Anbieter von 3rd-Level-Support fuuml;r Samba -auf Basis von SLAs (Service Level Agreements). Kunden der SerNet sind sind -uuml;ber 1000 Endkunden und System-Integratoren weltweit. +SerNet is the only company offering 3rd level support for Samba +based on SLAs (Service Level Agreements). There are more than 1000 customers and systems vendors around the world. /pp -SerNet bietet als einziger Anbieter weltweit gebrauchsfertige Binauml;rpakete -fuuml;r Enterprise-Linux von Novell (SLES) und Red Hat (RHEL) sowie fuuml;r -Debian Linux an. Dabei werden alle verfuuml;gbaren Hardware-Plattformen auf -Anfrage unterstuuml;tzt. +We provide ready for use binary packages for Samba on SUSE, RedHat and Debian based systems. Other hardware and OS platforms are being supported on request. /pp -SerNet veranstaltet die einzige internationale Entwickler- und Anwender- -Konferenz zu Samba - die quot;samba eXPeriencequot; - in Gouml;ttingen. Jedes -Jahr treffen sich dazu mehr als 2^7 Menschen aus 2^4 Nationen :-) +SerNet also organizes the annual a href=http://www.sambaxp.org/;Samba eXPerience aka SambaXP/a, the international Samba conference for users and developers. /pp -Weitere Informationen uuml;ber SerNet finden Sie unter:bra +Links:bra href=http://www.sernet.de/;www.SerNet.de/a - a href=http://www.sambaXP.org;www.sambaXP.org/a - a href=http://www.EnterpriseSamba.com;www.EnterpriseSamba.com/a -- Samba Website Repository
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via a8798d8 s4/drepl_fsmo: Add an CR so that message is visible in the logs via d4481be s4/getnc_exop: Initial implementation of a testsuite for GetNCChanges extended opeartion handling via 647827d s4/getncchanges: Pre-mark extended requests as success in case a sub-function forget to do this via 55916e2 s4/getncchanges: Implement placeholder for handling ex-op collection of objects via 88a9f79 s4/getncchanges: Move the code that collects objects into separate function via 41496e7 s4/getncchanges: Don't mask Extended operation result - callers need it via 232a8df s4/getncchanges: Fail extended request rather than failing whole request from f99d6f0 s3-printing: make cups_pull_comment_location() work again. http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit a8798d8bce9a191ccd6e0692c75e38ffadba1011 Author: Kamen Mazdrashki kame...@samba.org Date: Wed May 11 21:05:42 2011 +0300 s4/drepl_fsmo: Add an CR so that message is visible in the logs Autobuild-User: Kamen Mazdrashki kame...@samba.org Autobuild-Date: Wed May 11 21:03:59 CEST 2011 on sn-devel-104 commit d4481be95c0c22ab8dd66edfdd82d1e9312b137d Author: Kamen Mazdrashki kame...@samba.org Date: Wed May 11 21:04:54 2011 +0300 s4/getnc_exop: Initial implementation of a testsuite for GetNCChanges extended opeartion handling commit 647827d09ccba7bcfa6454119afc22de96397128 Author: Kamen Mazdrashki kame...@samba.org Date: Wed May 11 21:09:34 2011 +0300 s4/getncchanges: Pre-mark extended requests as success in case a sub-function forget to do this commit 55916e273f0853084f5bc2171eefc86af69e27dc Author: Kamen Mazdrashki kame...@samba.org Date: Wed May 11 20:49:42 2011 +0300 s4/getncchanges: Implement placeholder for handling ex-op collection of objects Right now it is solely based on function that handles objects in normal DsGetNCChanges calls. commit 88a9f793aa3cc7d7be073eef618fded87420f0d3 Author: Kamen Mazdrashki kame...@samba.org Date: Wed May 11 20:48:53 2011 +0300 s4/getncchanges: Move the code that collects objects into separate function commit 41496e782df028a0fc8619aed6ca7a1173750677 Author: Kamen Mazdrashki kame...@samba.org Date: Mon May 9 20:11:22 2011 +0300 s4/getncchanges: Don't mask Extended operation result - callers need it commit 232a8dfb060dcac27801b51b9576d76fb2f93655 Author: Kamen Mazdrashki kame...@samba.org Date: Mon May 9 20:09:49 2011 +0300 s4/getncchanges: Fail extended request rather than failing whole request in case that destination_dsa_guid is not valid --- Summary of changes: source4/dsdb/repl/drepl_fsmo.c|2 +- source4/rpc_server/drsuapi/getncchanges.c | 168 - source4/torture/drs/python/getnc_exop.py | 136 +++ 3 files changed, 252 insertions(+), 54 deletions(-) create mode 100644 source4/torture/drs/python/getnc_exop.py Changeset truncated at 500 lines: diff --git a/source4/dsdb/repl/drepl_fsmo.c b/source4/dsdb/repl/drepl_fsmo.c index f8f4769..db63853 100644 --- a/source4/dsdb/repl/drepl_fsmo.c +++ b/source4/dsdb/repl/drepl_fsmo.c @@ -111,7 +111,7 @@ NTSTATUS drepl_take_FSMO_role(struct irpc_message *msg, if (fsmo_master_equal(ntds_dn, role_owner_dn) || (extended_op == DRSUAPI_EXOP_NONE)) { - DEBUG(0,(FSMO role check failed for DN %s and owner %s , + DEBUG(0,(FSMO role check failed for DN %s and owner %s \n, ldb_dn_get_linearized(fsmo_role_dn), ldb_dn_get_linearized(role_owner_dn))); r-out.result = WERR_OK; diff --git a/source4/rpc_server/drsuapi/getncchanges.c b/source4/rpc_server/drsuapi/getncchanges.c index 8ae5368..0c196aa 100644 --- a/source4/rpc_server/drsuapi/getncchanges.c +++ b/source4/rpc_server/drsuapi/getncchanges.c @@ -993,12 +993,14 @@ static WERROR getncchanges_change_master(struct drsuapi_bind_state *b_state, msg-dn = drs_ObjectIdentifier_to_dn(msg, ldb, req10-naming_context); W_ERROR_HAVE_NO_MEMORY(msg-dn); + /* TODO: make sure ntds_dn is a valid nTDSDSA object */ ret = dsdb_find_dn_by_guid(ldb, msg, req10-destination_dsa_guid, ntds_dn); if (ret != LDB_SUCCESS) { DEBUG(0, (__location__ : Unable to find NTDS object for guid %s - %s\n, GUID_string(mem_ctx, req10-destination_dsa_guid), ldb_errstring(ldb))); talloc_free(msg); - return WERR_DS_DRA_INTERNAL_ERROR; + ctr6-extended_ret = DRSUAPI_EXOP_ERR_UNKNOWN_CALLER; + return WERR_OK; } ret = ldb_msg_add_string(msg, fSMORoleOwner, ldb_dn_get_linearized(ntds_dn)); @@ -1161,6
[SCM] CTDB repository - branch master updated - ctdb-1.10-204-g2d67186
The branch, master has been updated via 2d67186e5acd5aa8cb3eb1f4fbd4a41153c52e96 (commit) via afd96d5990815019b1f9ddc8b78a05f86eca0421 (commit) via 39f595cad5321c64e2b1e72fe7b4bbb720f4b906 (commit) via a6d2f1bd552dba33640acb7a0b8110534debd4ce (commit) from 4cddba08b46db0a56a86b32403a41b89cd097317 (commit) http://gitweb.samba.org/?p=ctdb.git;a=shortlog;h=master - Log - commit 2d67186e5acd5aa8cb3eb1f4fbd4a41153c52e96 Author: Michael Adam ob...@samba.org Date: Wed May 11 16:13:47 2011 +0200 doc: regenerate ctdb docs commit afd96d5990815019b1f9ddc8b78a05f86eca0421 Author: Luk Claes l...@debian.org Date: Wed May 11 17:53:59 2011 +0200 doc/ctdb.1.xml: update listvars documentation Signed-off-by: Luk Claes l...@debian.org Signed-off-by: Michael Adam ob...@samba.org commit 39f595cad5321c64e2b1e72fe7b4bbb720f4b906 Author: Luk Claes l...@debian.org Date: Wed May 11 16:13:47 2011 +0200 doc: regenerate ctdb docs Signed-off-by: Luk Claes l...@debian.org Signed-off-by: Michael Adam ob...@samba.org commit a6d2f1bd552dba33640acb7a0b8110534debd4ce Author: Luk Claes l...@debian.org Date: Wed May 11 16:11:40 2011 +0200 doc/ctdb.1.xml: Fix typo s/poerwoff/poweroff/ Bug 8124 Signed-off-by: Luk Claes l...@debian.org Signed-off-by: Michael Adam ob...@samba.org --- Summary of changes: doc/ctdb.1 | 28 + doc/ctdb.1.html | 174 --- doc/ctdb.1.xml | 24 3 files changed, 116 insertions(+), 110 deletions(-) Changeset truncated at 500 lines: diff --git a/doc/ctdb.1 b/doc/ctdb.1 index 5cce2fb..8db893e 100644 --- a/doc/ctdb.1 +++ b/doc/ctdb.1 @@ -2,12 +2,12 @@ .\ Title: ctdb .\Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\ Generator: DocBook XSL Stylesheets v1.75.2 http://docbook.sf.net/ -.\ Date: 09/14/2010 +.\ Date: 05/12/2011 .\Manual: CTDB - clustered TDB database .\Source: ctdb .\ Language: English .\ -.TH CTDB 1 09/14/2010 ctdb CTDB \- clustered TDB database +.TH CTDB 1 05/12/2011 ctdb CTDB \- clustered TDB database .\ - .\ * Define some portability stuff .\ - @@ -463,42 +463,44 @@ ControlTimeout = 60 TraverseTimeout = 20 KeepaliveInterval = 5 KeepaliveLimit = 5 -MaxLACount = 7 RecoverTimeout = 20 RecoverInterval = 1 ElectionTimeout = 3 -TakeoverTimeout = 5 +TakeoverTimeout = 9 MonitorInterval = 15 TickleUpdateInterval = 20 EventScriptTimeout = 30 -EventScriptBanCount = 10 +EventScriptTimeoutCount = 1 EventScriptUnhealthyOnTimeout = 0 RecoveryGracePeriod = 120 RecoveryBanPeriod = 300 -DatabaseHashSize= 1 +DatabaseHashSize= 11 DatabaseMaxDead = 5 RerecoveryTimeout = 10 EnableBans = 1 DeterministicIPs= 1 -DisableWhenUnhealthy = 0 ReclockPingPeriod = 60 NoIPFailback= 0 +DisableIPFailover = 0 VerboseMemoryNames = 0 RecdPingTimeout = 60 RecdFailCount = 10 LogLatencyMs= 0 RecLockLatencyMs= 1000 -RecoveryDropAllIPs = 60 +RecoveryDropAllIPs = 120 VerifyRecoveryLock = 1 -VacuumDefaultInterval = 300 +VacuumDefaultInterval = 10 VacuumMaxRunTime= 30 RepackLimit = 1 VacuumLimit = 5000 -VacuumMinInterval = 60 -VacuumMaxInterval = 600 -MaxQueueDropMsg = 1000 +VacuumMinInterval = 10 +VacuumMaxInterval = 10 +VacuumFastPathCount = 60 +MaxQueueDropMsg = 100 UseStatusEvents = 0 AllowUnhealthyDBRead = 0 +StatHistoryInterval = 1 +DeferredAttachTO= 120 .fi .if n \{\ @@ -731,7 +733,7 @@ Procedure to remove a node: .PP 1, To remove a node from an existing cluster, first ensure with \*(Aqctdb status\*(Aq that all nodes, except the node to be deleted, are up and running and that they are all healthy\. Do not try to remove a node from a cluster unless the cluster is completely healthy! .PP -2, Shutdown and poerwoff the node to be removed\. +2, Shutdown and poweroff the node to be removed\. .PP 3, On all other nodes, edit the /etc/ctdb/nodes file and comment out the node to be removed\. Do not delete the line for that node, just comment it out by adding a \*(Aq#\*(Aq at the beginning of the line\. .PP diff --git a/doc/ctdb.1.html b/doc/ctdb.1.html index 169f2ce..67b6265 100644 --- a/doc/ctdb.1.html +++ b/doc/ctdb.1.html @@ -1,6 +1,6 @@ -htmlheadmeta http-equiv=Content-Type content=text/html; charset=ISO-8859-1titlectdb/titlemeta name=generator content=DocBook XSL Stylesheets V1.75.2/headbody bgcolor=white text=black link=#FF vlink=#840084 alink=#FFdiv class=refentry title=ctdba name=ctdb.1/adiv