Re: [Samba] Samba 4 how to provision as simply a member of a domain
On 24/08/12 10:47, Rowland Penny wrote: On 24/08/12 09:28, steve wrote: Hi I want to try out the Samba 4 versions of smbd, nmbd and winbindd (not samba and not as a DC) on a box which I shall join to an existing domain. How do I provision it? Or don't I and just join it using samba tool domain join? Cheers, Steve Hi Steve, You could try 'net ads join', the net command is there in /usr/local/samba/bin and this is the command that would be used from a samba 3 domain member, but I must say that I haven't yet tried this. Rowland Hi Rowland Yes, thanks I could alwasy do that but I thinking more of a samba'tool domain join method, as a member, not a dc. Anyone had any experience iof this? It looks too straightforaer to me. I must have missed something Cheers, Steve -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] After upgrade samba4 to beta version i've got network path not found
Yes, that is Debian wheezy system, but this not solved my problem. -Original Message- From: Andrew Bartlett [mailto:abart...@samba.org] Sent: Saturday, August 18, 2012 1:48 AM To: h2...@yahoo.com Cc: samba@lists.samba.org Subject: Re: [Samba] After upgrade samba4 to beta version i've got network path not found On Thu, 2012-08-16 at 16:09 +0300, h2...@yahoo.com wrote: Hello, I'm using samba4 as domain controller with new forest domain (not existing domain) and everything is fine but.. one day when I usually do upgrades of my system I saw samba4 will be upgraded to beta version. Everything went fine after upgrade, but I cannot join new computers to the AD anymore. I got network path not found when I try to join Windows XP. With Linux I got connection refused. I also try to make new installation of Debian stable, then upgrade to wheezy and make Samba4 provision as active directory. Everything the same. I cannot join to the Active Directory. Only one difference, in first case I have Windows XP successfully joined, and I can manage the Active Directory. Can somebody help me with debugging that? If this is a debian system, you may need to set: server services = +smb -s3fs dcerpc endpoint servers = +winreg +srvsvc see: https://wiki.samba.org/index.php/Samba4/s3fs#Using_it Debian ships with only part of Samba4, not including the smbd file server that is now the default. The above restores the use of the included ntvfs file server. If this fixed it for you, you will need to file a bug with debian for them to deal with this properly on upgrade. Andrew Bartlett -- Andrew Bartletthttp://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Problem with heaps of sleeping smb processes due to panic action
Thanks for replying! - Ursprungligt meddelande - Från: Andrew Bartlett abart...@samba.org Till: Dieter Modig diete...@inputinterior.se Kopia: samba@lists.samba.org, me...@samba.org Skickat: lördag, 18 aug 2012 8:38:49 Ämne: Re: [Samba] Problem with heaps of sleeping smb processes due to panic action On Tue, 2012-08-14 at 15:21 +0200, Dieter Modig wrote: Hi! We're running Samba4 (Version 4.0.0beta4) and are experiencing problems with smb_panic actions which result in loads of sleep processes in the end taking down the entire machine. This problem did not exist in prior builds for us (upgraded from alpha17 to beta3 and then beta4). Are there any specific log extracts I can supply that can help someone pinpoint the problem? log.smbd seems to indicate the following: [2012/07/06 13:52:36.425367, 0] ../source3/lib/util.c:974(log_stack_trace) BACKTRACE: 27 stack frames: #0 /usr/local/samba/lib/libsmbconf.so.0(log_stack_trace+0x1f) [0x7f37c35011df] #1 /usr/local/samba/lib/libsmbconf.so.0(smb_panic_s3+0x6d) [0x7f37c350105d] #2 /usr/local/samba/lib/libsamba-util.so.0(smb_panic+0x28) [0x7f37c5323aee] #3 /usr/local/samba/lib/private/libsmbd_base.so(+0x129b89) [0x7f37c4ac6b89] #4 /usr/local/samba/lib/private/libsmbd_base.so(+0x129ea9) [0x7f37c4ac6ea9] #5 /usr/local/samba/lib/private/libsmbd_base.so(+0x12c769) [0x7f37c4ac9769] #6 /usr/local/samba/lib/private/libsmbd_base.so(+0x130045) [0x7f37c4acd045] #7 /usr/local/samba/lib/private/libsmbd_base.so(create_file_default+0x2f8) [0x7f37c4acdb7f] #8 /usr/local/samba/lib/private/libsmbd_base.so(+0x23f813) [0x7f37c4bdc813] #9 /usr/local/samba/lib/private/libsmbd_base.so(smb_vfs_call_create_file+0xcb) [0x7f37c4ad8fc8] #10 /usr/local/samba/lib/private/libsmbd_base.so(+0x1771b2) [0x7f37c4b141b2] #11 /usr/local/samba/lib/private/libsmbd_base.so(smbd_smb2_request_process_create+0x7ac) [0x7f37c4b1224c] #12 /usr/local/samba/lib/private/libsmbd_base.so(smbd_smb2_request_dispatch+0x6fe) [0x7f37c4b0a42d] #13 /usr/local/samba/lib/private/libsmbd_base.so(+0x1781ce) [0x7f37c4b151ce] #14 /usr/local/samba/lib/private/libtevent.so.0(tevent_common_loop_immediate+0x1f9) [0x7f37c376a090] #15 /usr/local/samba/lib/libsmbconf.so.0(run_events_poll+0x57) [0x7f37c351d23f] #16 /usr/local/samba/lib/libsmbconf.so.0(+0x44ac2) [0x7f37c351dac2] #17 /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0xe8) [0x7f37c376918f] #18 /usr/local/samba/lib/private/libsmbd_base.so(smbd_process+0x10ed) [0x7f37c4af4569] #19 /usr/local/samba/sbin/smbd() [0x409c48] #20 /usr/local/samba/lib/libsmbconf.so.0(run_events_poll+0x71a) [0x7f37c351d902] #21 /usr/local/samba/lib/libsmbconf.so.0(+0x44ba2) [0x7f37c351dba2] #22 /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0xe8) [0x7f37c376918f] #23 /usr/local/samba/sbin/smbd() [0x40a838] #24 /usr/local/samba/sbin/smbd(main+0x14b9) [0x40be42] #25 /lib/libc.so.6(__libc_start_main+0xfd) [0x7f37c1e02c8d] #26 /usr/local/samba/sbin/smbd() [0x405969] [2012/07/06 13:52:36.430994, 0] ../source3/lib/util.c:875(smb_panic_s3) but I'm honestly not good enough to dissect the problem. In developer mode, the default panic action is to run 'sleep' so you can attach with a debugger (see testparm -v output). To instead produce a stack trace that we can use, get 'gdb_backtrace' from selftest/gdb_backtrace and set in your smb.conf: panic action = /path/to/gdb_backtrace %d Done! Where does this backtrace end up once it's been created? I've CC'ed metze, one of the key developers working on the smbd file server to see if he wants to persue this with you further on beta4. Otherwise, please update to current master as this is a fast-moving area that may have already been fixed. I've upgraded to beta6 (which at least last week was the latest version) and the problem still persists. Regards, /Dieter -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Samba rejecting Machine account auth requests.
Hi, I have a samba domain with over 100 machines in it. For some reason every 30-35 days, 2 of the machines fail the trust relationship at login and need to be removed from the domain and rejoined. In the logs I see the following: [2012/08/21 07:55:52.981302, 0] rpc_server/netlogon/srv_netlog_nt.c:976(_netr_ServerAuthenticate3) _netr_ServerAuthenticate3: netlogon_creds_server_check failed. Rejecting auth request from client RED-TEAM machine account RED-TEAM$ I am running samba 3.6.6 on a Centos-5 machine. Does anyone have any suggestions on what could cause this or how to troubleshoot this problem? Regards, -- Tom Diehl tdi...@tntechs.com SpamTrap Address mtd...@tntechs.com 215-741-3813 Please note: Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] IDMAP cache creating tons of mulex spins
Good morning, We have been noticing troubles browsing on a ZFS share, especially in the afternoon, and found our 8 cores going at 100% with over 10 smtx running on each core on mpstat. We are running Solaris 5.11 with Samba 3.5.10, 48 GB of RAM and two 4 core Xeons. The fileserver is attached by domain mode to Windows 2003 R2 SP2 with Services for Unix installed and we only have around 80 users (40-50 on the server at a time). Here's an example of the mpstat in the morning: CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 00 0 14 8910 8686 3612 12 1084 59403 316 9211 65 0 35 10 07 5638 5536 5817 16 1214 66263 309 1170 69 0 31 20 06 4646 4580 34046 1120 64217 324740 62 0 38 30 08 3112 3006 37128 1131 61692 340540 61 0 39 40 0 12 166 36 3102 14 973 51300 221680 61 0 38 50 0 15 206 25 3397 13 965 51468 238620 61 0 39 60 0 10 205 29 3254 11 958 52947 236 1070 62 0 38 70 0 19 124 30 3889 15 962 51948 230440 62 0 38 We ran lockstat to see what was causing the high SMTX and found this: root@dcivolume01:~# lockstat -D 10 sleep 2 Adaptive mutex spin: 706601 events in 2.060 seconds (342956 events/sec) Count indv cuml rcnt nsec Lock Caller --- 402581 57% 57% 0.0013105 0xff0d492ad678 kidmap_cache_lookup_uidbys id+0x51 265969 38% 95% 0.0010882 0xff0d492ad678 kidmap_cache_lookup_gidbys id+0x51 24747 4% 98% 0.00 1427 zone0+0x20 zone_getspecific+0x2b 3660 1% 99% 0.00 1058 0xff0d54a5d590 rrw_enter_read+0x1b 3260 0% 99% 0.00 1524 0xff0d54a5d670 zfs_zget+0x46 2552 0% 99% 0.00 800 0xff0d54a5d590 rrw_exit+0x1d 872 0% 100% 0.0027319 0xff0d538a3330 zfs_zaccess_aces_check+0x77 599 0% 100% 0.00 888 0xff0d55bedcb0 dnode_block_freed+0x6e 479 0% 100% 0.00 1899 0xff0e32dfe168 dmu_zfetch_find+0x17b 149 0% 100% 0.00 802 0xff0d34e79000 vn_rele+0x1e --- We can't figure out what's causing it, even reducing the number of groups used on the device, but hasn't helped. Seems like the longer the machine is serving browsing the worse it gets until somedays it locks up. I tried flushing idmap and restarting both services (smb and idmap), but it doesn't seem to help. Any help would be greatly appreciated! Thank you, Matthias MATTHIAS FOSTEL TECHNOLOGY DESIGN COLLECTIVE, INC. ARCHITECTURE | PLANNING | INTERIORS WWW.DESIGNCOLLECTIVE.COM http://www.designcollective.com/ _ This e-mail and any attachments contain confidential and privileged information. If you are NOT the intended recipient, please notify the sender promptly by return e-mail and delete this message and any attachments. Any action taken with this message by persons other than the intended recipient is prohibited. By the use of any attachment, the intended recipient accepts all risks associated with such use, including unintended electronic viruses and will indemnify Design Collective, Inc. from any claim of damage arising from use or transfer of the attachment. Certain attachments are copyrighted instruments of service of Design Collective, Inc. and governed by the current edition of the AIA B141 Owner Architect Agreement. __ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Fwd: NET RPC CLOSE FILE fileID command is not working
Hello All, After executing NET RPC CLOSE FILE fileID command,the files which we have opened from windows is not closing. Instead of using this command we have used KILL command to kill all the process forcefully. We are using samba-3.5 which is installed on Unix platform. Is there any specific version of samba version supporting this command? or Can you please help to resolve this issue. Thanks in advance, -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Sysvol Replication in Samba4
Hi, We installed a samba4 AD controller using Gpo for a small group of users (5 users), everything is OK. (Samba4 beta 7 on Ubuntu 12.04) We installed another Samba4 AD controller as a BDC of the first one with the command samba-tool domain join with succes. After checking this new installation, we saw that the sysvol share was not replicated from the PDC and all the Policies are not present in the BDC. At this stage of Samba4, is this feature implemented ? Do we do it manually by shelle scripts ? Thanks Alain -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Centos 6.3 smbldap-tools installation issue.
Hi. I got a fresh installation of centos 6.3 x64, I want to setup a PDC with samba+ldap and see what I need to upgrade my centos 5.x servers. I follow my manual, but I got issues went I want to install smbldap-tools, check: Processing Dependency: perl(Unicode::MapUTF8) for package: smbldap-tools-0.9.5-2.el6.rf.noarch -- Finished Dependency Resolution Error: Package: smbldap-tools-0.9.5-2.el6.rf.noarch (rpmforge) Requires: perl(Unicode::MapUTF8) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest I'm using rpmforge repo. Does someone here knows how to fix this issue? Using: rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm Thanks!!! -- LIving the dream... -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Samba PDC: Admin tools?
Guys. I have use smbldap-tools to handle my accounts for my PDC with samba+openldap. Now, I ask here because a lot of people have PDC running on their networks, what tools do u use to manage your openldap db for samba: users, machines, groups? Working with Centos 6.x. Any input will be appreciated, thanks!!! -- LIving the dream... -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba PDC: Admin tools?
On Sat, Aug 25, 2012 at 4:34 PM, Alberto Moreno ports...@gmail.com wrote: Guys. I have use smbldap-tools to handle my accounts for my PDC with samba+openldap. Now, I ask here because a lot of people have PDC running on their networks, what tools do u use to manage your openldap db for samba: users, machines, groups? Working with Centos 6.x. Any input will be appreciated, thanks!!! I use ldap account manager to manage my users / machines / group accounts. John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 4 how to provision as simply a member of a domain
On 08/24/2012 11:04 PM, steve wrote: On 24/08/12 10:47, Rowland Penny wrote: On 24/08/12 09:28, steve wrote: Hi I want to try out the Samba 4 versions of smbd, nmbd and winbindd (not samba and not as a DC) on a box which I shall join to an existing domain. How do I provision it? Or don't I and just join it using samba tool domain join? Cheers, Steve Hi Steve, You could try 'net ads join', the net command is there in /usr/local/samba/bin and this is the command that would be used from a samba 3 domain member, but I must say that I haven't yet tried this. Rowland Hi Rowland Yes, thanks I could alwasy do that but I thinking more of a samba'tool domain join method, as a member, not a dc. Anyone had any experience iof this? It looks too straightforaer to me. I must have missed something Samba-tool commands is highly related to DC operation mode, for the member operation mode the net command is your companion. Cheers, Steve -- Matthieu Patou Samba Team http://samba.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] where to locate smb.conf for Samba4
On 08/23/2012 01:13 AM, steve wrote: Hi If I run the samba binary from a git and do a default install, I find smb.conf in /usr/local/samba/etc/smb.conf Fine. What about running the separate smbd, nmbd and winbindd binaries instead of samba? Do I still write my smb.conf in /usr/local/samba/etc/smb.conf? Question/summary/comment Could anyone please confirm where is smb.conf for: 1. Samba4 AD /usr/local/samba/etc/smb.conf 2. Samba4 winthout AD running smbd, nmbd and winbindd in the sbin directory. /usr/local/samba/etc/smb.conf 3. For distros with 3.x, I don't have to install Samba4 at all and find smb.conf in /etc/samba/smb.conf /etc/samba/smb.conf You can change this while building with the directory related switches, try them ! -- Matthieu Patou Samba Team http://samba.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Sysvol Replication in Samba4
On 08/24/2012 07:21 PM, Fouchers's Family wrote: Hi, We installed a samba4 AD controller using Gpo for a small group of users (5 users), everything is OK. (Samba4 beta 7 on Ubuntu 12.04) We installed another Samba4 AD controller as a BDC of the first one with the command samba-tool domain join with succes. After checking this new installation, we saw that the sysvol share was not replicated from the PDC and all the Policies are not present in the BDC. At this stage of Samba4, is this feature implemented ? Do we do it manually by shelle scripts ? No replication is not working yet you have to use scripts to do the sync. Matthieu. -- Matthieu Patou Samba Team http://samba.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
autobuild: intermittent test failure detected
The autobuild test system has detected an intermittent failing test in the current master tree. The autobuild log of the failure is available here: http://git.samba.org/autobuild.flakey/2012-08-25-2043/flakey.log The samba3 build logs are available here: http://git.samba.org/autobuild.flakey/2012-08-25-2043/samba3.stderr http://git.samba.org/autobuild.flakey/2012-08-25-2043/samba3.stdout The source4 build logs are available here: http://git.samba.org/autobuild.flakey/2012-08-25-2043/samba.stderr http://git.samba.org/autobuild.flakey/2012-08-25-2043/samba.stdout The top commit at the time of the failure was: commit b05d28ebddb7ebd4f8e28a80489fceb8703a9868 Author: Stefan Metzmacher me...@samba.org Date: Fri Aug 24 17:42:18 2012 +0200 s4:winbind: let wb_update_rodc_dns_send/recv use netlogon_queue (bug #9097) metze Autobuild-User(master): Stefan Metzmacher me...@samba.org Autobuild-Date(master): Sat Aug 25 05:06:18 CEST 2012 on sn-devel-104