Re: [Samba] Samba authentication problem
Little update. I just found that if I chose Map Network Drive on the vista machine it will authenticate and connect the share as a network drive. Why does it fail when just browsing through network neighborhood? It looks like it is still read only this way. But guest access for this share should be disabled so it makes no sense. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Clustered Samba: Every 24 hours There are Currently No Logon Servers Available
Hi Daniel, again thanks for your input! and a great looking tutorial! although i have a couple of questions: - you said to set these options in smb.conf: bind interfaces only = yes interfaces = 192.168.9.1 in this PDF document (Clustering Samba With CTDB A Tutorial At sambaXP 2009) http://www.samba.org/~obnox/presentations/sambaXP-2009/sambaxp-2009-tutorial-samba-ctdb-slides-paper.pdf it says: if CTDB MANAGES SAMBA, do not set interfaces or bind interfaces only (page 10) is it safe to ignore these recommendations? and wouldn't that mess up the whole setup in a CTDB ip takeover? same thing goes for the socket address = option Setting this option should never be necessary on usual Samba servers running only one nmbd. By default Samba will accept connections on any address http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#SOCKETADDRESS - your tutorial is for 1 server in a cluster; i think i should implement the same steps on the other servers, and then setup the push and pull replication between the nodes, right? and should every server use its local samba4wins daemon for wins? or should all the other servers point to samba4wins on the first server? Erik 2011/4/11 Daniel Müller muel...@tropenklinik.de For your wins server you can use samba4wins. It is great. For your linux-box you have to compile it. samba4wins can replicate to another samba4wins. I use it in my samba pdc/bdc setup so both server have their own wins pus and pull partner. Samba4wins can be installed on the same server as your ctdb/samba3 For nmbd to run without problems: Look here: http://ftp.sernet.com/pub/samba4WINS/samba4wins-1.0.8-HOWTO.txt Usually the following sockets are used to listen on: smbd: 0.0.0.0:139 tcp 0.0.0.0:445 tcp nmbd: 192.168.9.1:137 udp 0.0.0.0:137 udp 192.168.9.1:138 udp 0.0.0.0:138 udp In this case all incoming packets would go through the 0.0.0.0:* sockets. If you would start smbd4wins, it wouldn't be possible to listen on port 137 as nmdd already listens there with the wildcard ip. So what you need is to make nmbd not using the wildcard address, and we need a seperate unicast address for smbd4wins. This will add the 192.168.9.2 as 2nd address to the eth0 interface: ifconfig eth0:2 192.168.9.2 netmask 255.255.255 broadcast 192.168.9.255 To make nmbd not using the wildcard address, you need this: so what you need is the following in your smb.conf (for samba3!) -- /etc/samba/smb.conf --- [globals] ... netbios name = SERVER1 ... # only use the given interfaces bind interfaces only = yes # this is the unicast address interfaces = 192.168.9.1 # this is the broadcast address socket address = 192.168.9.255 # as we want to use samba4wins as wins server # set the address here wins server = 192.168.9.2 ... -- smbd4wins should only act as wins server and should in this case only handle unicast requests, as it's imposible to have 2 unix process listening on the same broadcast address and the same port (192.168.9.255 port 127 in this case). Also it should use a different netbios name! -- /etc/samba4wins/samba4wins.conf --- [globals] ... # it's important that this netbios name is different from # the one that's used for samba3! netbios name = SERVER1-WINS ... # only use the given interfaces bind interfaces only = yes # this is the unicast address interfaces = 192.168.9.2 # samba4wins is only a wins server, # and broadcasts are handled by samba3 # so disable listening on the broadcast address nbtd:disable_broadcast = yes # as we want to ourself as wins server # and don't listen on 127.0.0.1 # we need to explicit set the wins server here wins server = 192.168.9.2 ... -- After these changes, the use of listening sockets should be like this: smbd: 192.168.9.1:139 tcp 192.168.9.1:445 tcp nmbd: 192.168.9.1:137 udp 192.168.9.255:137 udp 192.168.9.1:138 udp 192.168.9.255:138 udp smbd4wins: 192.168.9.2:42 tcp 192.168.9.2:137 udp On Mon, 11 Apr 2011 16:52:37 +0200, erik bergsma ebergs...@gmail.com wrote: Daniel, thanks for your input! so i have to set this option wins server = some.external.wins.ip on both nodes then, correct? (and the next step is then to make the win server redundant aswell) and do i also have make sure the nmbd processes will not start anymore (that is configurable in /etc/conf.d/samba on gentoo) or do these processes take care of the name registration etc. ? Erik 2011/4/8 Daniel Müller muel...@tropenklinik.de Hi, in your ctdb-cluster you use the same netbios-name for both nodes!? As far as I know wins, nmbd should not be active on both nodes. You should use an external wins. --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463,
Re: [Samba] Clustered Samba: Every 24 hours There are Currently No Logon Servers Available
You are right, so you have to put the samba4wins on different machine(your pdc) and the secondary wins on your bdc. So your pdc point to winsserver 1 And your bdc points to your winsserver2. Both winsserver1 and winsserver2 replicate. Your windows clients have wins1= winsserver1 and wins2= winsserver2 I think if you have a samba4wins running you will not need a nmbd process running on your ctdb cluster. I think it should be enough to point to one of the samba4wins ( it will provide what nmbd is usually doing). But this a point of try and error. I myself have discarded ctdb because it should not be used on a pdc or bdc. I have PDC/ldap2.4 BDC/ldap2.4 in multimaster replication, winbind. Samba4wins on both Logon-Server push and pull each other. Glusterfs serving the HA of user data. And ucarp fixing the Ha availability with a virt.IP switching from PDC to BDC as the machines are up or down. EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de Von: erik bergsma [mailto:ebergs...@gmail.com] Gesendet: Dienstag, 12. April 2011 11:20 An: muel...@tropenklinik.de Cc: samba@lists.samba.org Betreff: Re: [Samba] Clustered Samba: Every 24 hours There are Currently No Logon Servers Available Hi Daniel, again thanks for your input! and a great looking tutorial! although i have a couple of questions: - you said to set these options in smb.conf: bind interfaces only = yes interfaces = 192.168.9.1 in this PDF document (Clustering Samba With CTDB A Tutorial At sambaXP 2009) http://www.samba.org/~obnox/presentations/sambaXP-2009/sambaxp-2009-tutorial -samba-ctdb-slides-paper.pdf it says: if CTDB MANAGES SAMBA, do not set interfaces or bind interfaces only (page 10) is it safe to ignore these recommendations? and wouldn't that mess up the whole setup in a CTDB ip takeover? same thing goes for the socket address = option Setting this option should never be necessary on usual Samba servers running only one nmbd. By default Samba will accept connections on any address http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#SOCKETADDRESS - your tutorial is for 1 server in a cluster; i think i should implement the same steps on the other servers, and then setup the push and pull replication between the nodes, right? and should every server use its local samba4wins daemon for wins? or should all the other servers point to samba4wins on the first server? Erik 2011/4/11 Daniel Müller muel...@tropenklinik.de For your wins server you can use samba4wins. It is great. For your linux-box you have to compile it. samba4wins can replicate to another samba4wins. I use it in my samba pdc/bdc setup so both server have their own wins pus and pull partner. Samba4wins can be installed on the same server as your ctdb/samba3 For nmbd to run without problems: Look here: http://ftp.sernet.com/pub/samba4WINS/samba4wins-1.0.8-HOWTO.txt Usually the following sockets are used to listen on: smbd: 0.0.0.0:139 tcp 0.0.0.0:445 tcp nmbd: 192.168.9.1:137 udp 0.0.0.0:137 udp 192.168.9.1:138 udp 0.0.0.0:138 udp In this case all incoming packets would go through the 0.0.0.0:* sockets. If you would start smbd4wins, it wouldn't be possible to listen on port 137 as nmdd already listens there with the wildcard ip. So what you need is to make nmbd not using the wildcard address, and we need a seperate unicast address for smbd4wins. This will add the 192.168.9.2 as 2nd address to the eth0 interface: ifconfig eth0:2 192.168.9.2 netmask 255.255.255 broadcast 192.168.9.255 To make nmbd not using the wildcard address, you need this: so what you need is the following in your smb.conf (for samba3!) -- /etc/samba/smb.conf --- [globals] ... netbios name = SERVER1 ... # only use the given interfaces bind interfaces only = yes # this is the unicast address interfaces = 192.168.9.1 # this is the broadcast address socket address = 192.168.9.255 # as we want to use samba4wins as wins server # set the address here wins server = 192.168.9.2 ... -- smbd4wins should only act as wins server and should in this case only handle unicast requests, as it's imposible to have 2 unix process listening on the same broadcast address and the same port (192.168.9.255 port 127 in this case). Also it should use a different netbios name! -- /etc/samba4wins/samba4wins.conf --- [globals] ... # it's important that this netbios name is different from # the one that's used for samba3! netbios name = SERVER1-WINS ... # only use the given interfaces bind interfaces only = yes # this is the unicast address interfaces = 192.168.9.2 # samba4wins is only a wins server, # and broadcasts are handled by samba3 # so disable listening on the broadcast address nbtd:disable_broadcast = yes # as we want to ourself as wins server # and don't listen on 127.0.0.1
[Samba] Samba Squid NTLM Auth
Hi I'm using Samba/Winbind(ntlm_auth) to handle NTLM requests from a Squid proxy. Everything works fine with local PDC mode and also in domain member mode. There is only one thing which isn't very nice for end-users. If you try to surf over the authenticated proxy with a Windows client which is not member of the domain, the browser (problem only occurs with IE) will use hostname as domain name for NTLM authentication. So if you just enter username and password it will not work. You have to enter the whole domain\username (and of course password) combination. My question is, are there any methods to tell ntlm_auth or winbind to simply ignore domain, sent by client, and always use samba configured domain on the proxy host? (The winbind use default domain directive will only work if there is no domain given by the client) I'm using Samba 3.5.6 from FreeBSD ports on a fully updated FreeBSD 8.2. Tobias Meier -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] getent group Issues, no groups available
Dear list users, currently i am despairing of winbind or nss and hopefully someone sees what i have overlooked. [problem is getent group does not work nor does chgrp domgroup work. chown domuser works] i have a samba pdc 3.5.6 on squeeze with ldap managed accounts. the pdc is working as expected. now i wanted to add a samba domain member with the following config: [global] workgroup = albertbauer.com log file = /var/log/samba/log.%m log level = 6 max log size = 1 syslog = 0 case sensitive = no pam password change = no unix password sync = no encrypt passwords = true security = domain socket options = TCP_NODELAY guest account = nobody idmap uid = 1-2 idmap gid = 1-2 hide special files = Yes hide unreadable = Yes map acl inherit = Yes printcap name = cups inherit permissions = yes winbind enum groups = yes winbind enum users = yes winbind use default domain = yes map untrusted to domain = yes added the server with net rpc join flawlessly. wbinfo -u and -g work as expected an list existing users via winbind. my nssswitch.conf: passwd: compat winbind group: compat winbind shadow: compat and here comes the problem: getent passwd is willing to list all users, getent group breaks with log entry (log.winbindd): [2011/04/12 15:32:39.493322, 5] winbindd/winbindd_getgrent.c:149(winbindd_getgrent_recv) getgrent failed: NT_STATUS_NO_SUCH_GROUP [2011/04/12 15:32:39.493470, 6] winbindd/winbindd.c:816(winbind_client_request_read) closing socket 22, client exited what is wrong with my setup? i get the same error with winbind 3.5.6 and 3.5.8 (didn´t try older versions yet). what wonders me most is the fact that i setup an example scenario at home without nsswitch entries and despite that i am able to chown and chgrp my files within the fs... how come? any ideas are very welcome. thanks and regards, sascha -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] getent passwd strange behavior
Can anybody give me a hint where get_dc_list fetches the entries. Because - [2011/04/11 12:24:13.560317, 3, effective(0, 0), real(0, 0)] libsmb/namequery.c:1880(get_dc_list) get_dc_list: preferred server list: , * - seems to be wrong. Cheers, Daniel -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba over IPX
Even Novell Netware made the switch from IPX/SPX to TCP/IP years ago as their preferred network stack.And netware itself is end-of-lifed. That I think would the the final nail for IPX. On 04/11/2011 05:10 PM, Volker Lendecke wrote: On Mon, Apr 11, 2011 at 03:03:20PM -0600, jfree wrote: IPX *is* just a network layer, over which NCP/RIP/SAP/... could run Memories from a distant past There is a NetBIOS over IPX layer that Samba does not support unfortunately, and I don't see that it ever will. Sorry, Volker -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba over IPX
On 4/12/2011 11:00 AM, Gaiseric Vandal wrote: Even Novell Netware made the switch from IPX/SPX to TCP/IP years ago as their preferred network stack. Netware 5, in ... 1999, IIRC. And netware itself is end-of-lifed. That I think would the the final nail for IPX. Shame. I always liked and preferred Netware's eDir to MS AD. Oh, well. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] samba active directory question
We are migrating to 2008 Active Directory and in making changed to smb.conf and krb5.conf and restarting smb services I get below error in the winbindd.log: Winbind won't start [2011/04/07 15:03:09, 1] nsswitch/winbindd.c:main(979) winbindd version 3.0.22-13.16-SUSE-SLES10 started. Copyright The Samba Team 2000-2004 [2011/04/07 15:03:09, 0] nsswitch/winbindd_util.c:winbindd_upgrade_idmap(1195) idmap_convert: Unable to open idmap database [2011/04/07 15:03:09, 1] nsswitch/winbindd.c:main(1012) Could not init idmap -- netlogon proxy only [2011/04/07 15:03:09, 0] nsswitch/winbindd_util.c:init_domain_list(522) Could not fetch our SID - did we join? [2011/04/07 15:03:09, 0] nsswitch/winbindd.c:main(1076) unable to initalize domain list [2011/04/07 15:03:33, 1] nsswitch/winbindd.c:main(979) winbindd version 3.0.22-13.16-SUSE-SLES10 started. Copyright The Samba Team 2000-2004 [2011/04/07 15:03:33, 0] nsswitch/winbindd_util.c:winbindd_upgrade_idmap(1195) idmap_convert: Unable to open idmap database [2011/04/07 15:03:33, 1] nsswitch/winbindd.c:main(1012) Could not init idmap -- netlogon proxy only [2011/04/07 15:03:33, 0] nsswitch/winbindd_util.c:init_domain_list(522) Could not fetch our SID - did we join? [2011/04/07 15:03:33, 0] nsswitch/winbindd.c:main(1076) unable to initalize domain list Here is the change in smb.conf file, esatest being the AD test domain. workgroup = ESATEST --- workgroup = LANGROUP 27c27 realm = esa.test --- realm = EFW.COM Here is the krb5.conf changes made: default_realm = EFW.COM --- default_realm = esa.test 5a6,10 (below was inserted, leaving the old realms also in place) esa.test = { kdc = 10.1.32.58 default_domain = esa.test admin_server = 10.1.32.58 } 20a26 .esatest = esa.test __ The information contained in this email transmission may contain proprietary and business sensitive information. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. Unauthorized interception of this e-mail is a violation of law. If you are not the intended recipient, please contact the sender by reply email and immediately destroy all copies of the original message. Any technical data and/or information provided with or in this email may be subject to U.S. export controls law. Export, diversion or disclosure contrary to U.S. law is prohibited. Such technical data or information is not to be exported from the U.S. or given to any foreign person in the U.S. without prior written authorization of Elbit Systems of America and the appropriate U.S. Government agency. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] roaming profiles - one file can't be copied to server
Hi, i have a Ubuntu x64 10.04 Server. Samba configured as PDC. Since today i experience that roaming prfiles can't copy one file to the server and shout an error message. It's no specific file, mostly its one in my Thunderbird Profile. Does anybody know what could this cause to happen? My smb.conf: [global] printing = bsd netbios name = PDC server string = PDC (%h) workgroup = workgroup interfaces = eth0,lo security = user encrypt passwords = true map to guest = bad user local master = yes preferred master = yes domain master = yes domain logons = yes add user script = /usr/sbin/useradd -m '%u' -g ntusers -G ntusers -s /bin/false delete user script = /usr/sbin/userdel -r '%u' add group script = /usr/sbin/groupadd '%g' delete group script = /usr/sbin/groupdel '%g' add user to group script = /usr/sbin/usermod -G '%g' '%u' add machine script = /usr/sbin/useradd -d /var/lib/nobody -g 100 -s /bin/false -M %u logon path = \\%L\profile\%U logon script = logon.bat hide files = /desktop.ini/ntuser.ini/NTUSER.*/Thumbs.db/ panic action = /usr/share/samba/panic-action %d #=== Share Definitions === [homes] comment = Home Directories browseable = no writeable = yes [profile] comment = Profildateien path = /bacula/samba/profile guest ok = yes browseable = no create mask = 0600 directory mask = 0700 writeable = yes profile acls = yes [netlogon] comment = Network Logon Service path = /bacula/samba/netlogon guest ok = yes writeable = no share modes = no browseable = no any hints about that? greetings juergen -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] [Announce] Samba 3.6.0pre2 Preview Release Available for Download
Release Announcements - This is the second preview release of Samba 3.6.0. This is *not* intended for production environments and is designed for testing purposes only. Please report any defects via the Samba bug reporting system at https://bugzilla.samba.org/. Major enhancements in Samba 3.6.0 include: Changed security defaults - Samba 3.6 has adopted a number of improved security defaults that will impact on existing users of Samba. client ntlmv2 auth = yes client use spnego principal = no send spnego principal = no The impact of 'client ntlmv2 auth = yes' is that by default we will not use NTLM authentication as a client. This applies to the Samba client tools such as smbclient and winbind, but does not change the separately released in-kernel CIFS client. To re-enable the poorer NTLM encryption set '--option=clientusentlmv2auth=no' on your smbclient command line, or set 'client ntlmv2 auth = no' in your smb.conf The impact of 'client use spnego principal = no' is that we may be able to use Kerberos to communicate with a server less often in smbclient, winbind and other Samba client tools. We may fall back to NTLMSSP in more situations where we would previously rely on the insecure indication from the 'NegProt' CIFS packet. This mostly occursed when connecting to a name alias not recorded as a servicePrincipalName for the server. This indication is not available from Windows 2008 or later in any case, and is not used by modern Windows clients, so this makes Samba's behaviour consistent with other clients and against all servers. The impact of 'send spnego principal = no' is to match Windows 2008 and not to send this principal, making existing clients give more consistent behaviour (more likely to fall back to NTLMSSP) between Samba and Windows 2008, and between Windows versions that did and no longer use this insecure hint. SMB2 support SMB2 support in 3.6.0 is fully functional (with one omission), and can be enabled by setting: max protocol = SMB2 in the [global] section of your smb.conf and re-starting Samba. All features should work over SMB2 except the modification of user quotas using the Windows quota management tools. As this is the first release containing what we consider to be a fully featured SMB2 protocol, we are not enabling this by default, but encourage users to enable SMB2 and test it. Once we have enough confirmation from Samba users and OEMs that SMB2 support is stable in wide user testing we will enable SMB2 by default in a future Samba release. Internal Winbind passdb changes --- Winbind has been changed to use the internal samr and lsa rpc pipe to get local user and group information instead of calling passdb functions. The reason is to use more of our infrastructure and test this infrastructure by using it. With this approach more code in Winbind is shared. New Spoolss code The spoolss and the old RAP printing code have been completely overhauled and refactored. All calls from lanman/printing code has been changed to go through the spoolss RPC interfaces, this allows us to keep all checks in one place and avoid special cases in the main printing code. Printing code has been therefore confined within the spoolss code. All the printing code, including the spoolss RPC interfaces has been changed to use the winreg RPC interfaces to store all data. All data has been migrated from custom, arbitrary TDB files to the registry interface. This transition allow us to present correct data to windows client accessing the server registry through the winreg RPC interfaces to query for printer data. Data is served out from a real registry implementation and therefore arguably 100% forward compatible. Migration code from the previous TDB files formats is provided. This code is automatically invoked the first time the new code is run on the server. Although manual migration is also available using the 'net printer migrate' command. These changes not only make all the spoolss code much more closer to the spec, it also greatly improves our internal testing of both spoolss and winreg interfaces, and reduces overall code duplication. As part of this work, new tests have been also added to increase coverage. This code will also allow, in future, an easy transition to split out the spooling functions into a separate daemon for those OEMs that do not need printing functionality in their appliances, reducing the code footprint. ID Mapping Changes -- The id mapping configuration has been a source of much grief in the past. For this release, id mapping has been rewritten yet again with the goal of making the configuration more simple and more coherent while keeping the needed flexibility and even adding to the flexibility in some respects. The major change that implies the configuration simplifications is at the heart of the id mapping system: The
[Samba] clustered samba registers all non CTDB addresses at WINS server
Hi all, in the first step to separate my wins/netbios/nmbd and my clustered samba servers i've installed the WINS feature on a windows 2k8r2 server, and set the wins server = ip.adress.of.windows.server the weird thing is: my samba 3.5.8 do not only register the public CTDB ip addresses specified by cluster addresses =, but also the static maintenance ip's + the internal ip address of each node (direct link between the nodes, not reachable from outside) is this behaviour normal? and is this behaviour safe? or am i missing something in my smb.conf? i can imagine that if a netbios request comes in for my domain name, and the returned address is 10.0.0.1 something goes wrong Regards, Erik -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba authentication problem
It seems samba has outgrown it's documentation and this is not possible anymore despite what it states. It would have been nice if someone here could have told me but maybe no one knows? Thanks to those who responded earlier. I found out through lots of searching and chats on irc that you can't do this with share level security. It's a shame, it would have been very useful in a low security home environment. On 4/11/2011 10:54 PM, Xamindar wrote: I'm coming back to this problem after giving it a rest for a while. I find it hard to believe that no one sets up authentication with security set to share. Is that really the case? Is share security deprecated and untested or something? As no one was able to point out what I did wrong in my config before, I decided to try setting this scenario up on a completely different system which runs a different distro (same version of samba afaik). I am having the same exact problem on this other machine so it must be a config issue or samba just doesn't work this way. This time I am testing it by trying to connect to it from a windows xp and vista machine. Both machines keep re-prompting me for the userid and password of the share over and over again after I type the correct password. Why is it so impossible to have a simple username authenticate to a share? At this point to have a little security, I have to make them all guest access read only as nothing else works in this mode. I don't mean to sound a little frustrated but I would have thought samba would be a little more robust than that by now. If it just isn't meant to work this way can someone help me out a little and explain it? I have read through the docs and explanations of the different options many times and can't find a reason it shouldn't work. Thanks for any help, I don't know what else to do. On 3/24/2011 1:00 PM, Xamindar wrote: Hi, I have asked around in other forums but no one seems to know why this doesn't work. I have a backup server with samba on it and am trying to set it up to only allow write access when a user authenticates but to allow reading from anyone (guest). At this time I have guest disabled and a minimal config set up as shown below to try to narrow down the problem. I have added the user xamindar using smbpasswd on the server. I then tried to mount the backup share from another machine with the following command: mount -t cifs //chiroru/backup /mnt/temp -o username=xamindar But I keep getting the following response: mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) Can anyone tell me what I am doing wrong here? I am sure I have missed something. It is possible to authenticate per share with share level security is it not? I just can't get authentication to work no matter what I have tried on this machine. With guest enabled it will just use the guest account and that works fine. Thanks for any help, I am pulling my hair out here. ***smb.conf*** [global] server string = Backup and Multimedia server security = SHARE smb passwd file = /etc/samba/private/passdb.tdb load printers = No disable spoolss = Yes show add printer wizard = No write list = xamindar printing = bsd print command = lpr -r -P'%p' %s lpq command = lpq -P'%p' lprm command = lprm -P'%p' %j map hidden = Yes map system = Yes [backup] path = /mnt/user/backup ** -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] clustered samba registers all non CTDB addresses at WINS server
Hi Erik, erik bergsma wrote: Hi all, in the first step to separate my wins/netbios/nmbd and my clustered samba servers i've installed the WINS feature on a windows 2k8r2 server, and set the wins server = ip.adress.of.windows.server the weird thing is: my samba 3.5.8 do not only register the public CTDB ip addresses specified by cluster addresses =, but also the static maintenance ip's + the internal ip address of each node (direct link between the nodes, not reachable from outside) is this behaviour normal? and is this behaviour safe? or am i missing something in my smb.conf? i can imagine that if a netbios request comes in for my domain name, and the returned address is 10.0.0.1 something goes wrong nmbd and wins in the cluster setup is probably not the best tested scenario... I'd say that you are right and that we should _only_ register the cluster addresses and not the other autodetected ones. The problem is that in the cluster setup, samba needs to listen on the wildcard interface and this defaults to registering all of the found addresses with WINS. I would consider the behaviour you describe a bug and think we should fix it to only register cluster addresses if it is set. Cheers - Michael Regards, Erik pgpJl9R8CIjly.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Input/output error on attempting to authenticate
Situation: OpenSUSE 11.2 server with LDAP for authentication. Authentication status: users CAN login using LDAP using ssh. Additionally, I have kerberos setup and users can get kerberos tokens without any problem. Environment: ADS running on Windows. I do not control the ADS. I had to ask an IT guy to come run a script that does the equivalent of net ads join and a few other things needed for an OpenSUSE 11.2 server. I cannot upgrade to a newer version of OpenSUSE 11.2 as a specific LDAP module needed for authentication locally is distributed in a binary only format. I do not make the rules here, just try to survive in this windows rich environment. History: I had a working winbind based authentication working here, but there was a change in the authentication setup at the ADS end that broke the authentication. So, I am rebuilding the server as an LDAP + Samba box without any use of winbind. Attempts to authenticate against a samba share fail: $ mount -v -t smbfs //us...@servername.edu/user1 ./share/ Password: mount_smbfs: server rejected the connection: Input/output error (The funny thing is that the above message occurs whether or not I type in the correct password.) Log file on Samba: [2011/04/12 16:13:08, 0] rpc_client/cli_pipe.c:3853(get_schannel_session_key_common) get_schannel_session_key: could not fetch trust account password for domain 'CAMPUS' [2011/04/12 16:13:08, 0] rpc_client/cli_pipe.c:4077(cli_rpc_pipe_open_schannel) cli_rpc_pipe_open_schannel: failed to get schannel session key from server CAMPUSDC10.CAMPUS.AD.CAMPUS.EDU for domain CAMPUS. [2011/04/12 16:13:08, 0] auth/auth_domain.c:187(connect_to_domain_password_server) connect_to_domain_password_server: unable to open the domain client session to machine CAMPUSDC10.CAMPUS.AD.CAMPUS.EDU. Error was : NT_STATUS_CANT_ACCESS_DOMAIN_INFO. [2011/04/12 16:13:08, 0] auth/auth_domain.c:288(domain_client_validate) domain_client_validate: Domain password server not available. [2011/04/12 16:13:08, 2] auth/auth.c:320(check_ntlm_password) check_ntlm_password: Authentication for user [user1] - [user1] FAILED with error NT_STATUS_CANT_ACCESS_DOMAIN_INFO What could be a problem (this may explain the password independent response above) ? Part of my /etc/samba/smb.conf: workgroup = CAMPUS dns proxy = no log file = /var/log/samba/log.%m max log size = 1000 log level = 0 passdb:3 tdb:3 printdrivers:3 auth:3 sam:3 winbind:3 syslog = 0 panic action = /usr/share/samba/panic-action %d security=ads realm=CAMPUS.AD.CAMPUS.EDU password server = campus.ad.campus.edu workgroup = CAMPUS idmap uid = 500-100 idmap gid = 500-100 template homedir = /home/%D/%U template shell = /bin/bash client use spnego = yes domain master = no encrypt passwords = true passdb backend = tbdsam obey pam restrictions = yes unix password sync = yes ... Thanks. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] winbind problem with BUILTIN?
I shut my Samba PDC and all members down for some PC rearranging and now having an issue with one member server on Ubuntu 10.12 with Samba 3.5.4 after restarting all. It would not connect, I tried to remove the computer name from LDAP and re-join the domain, that was successfully joined and the entry reappears in LDAP, but it times out when trying to connect to that host via the network or smbclient on the local box. All other workstations (Win2003, WinXP) and the PDC (FreeBSD Unix) are working perfectly. Since it is timing out, I tried the IP address with smbclient and browsing and it works. For some reason, my /etc/resolv.conf was empty, so I fixed, but still timing out. So, I looked at Winbind and found a potential issue with BUILTIN?... [2011/04/12 17:37:49.028871, 10] winbindd/winbindd_util.c:846(find_lookup_domain_from_sid) calling find_domain_from_sid [2011/04/12 17:37:49.029439, 10] winbindd/winbindd_cache.c:418(wcache_fetch_seqnum) wcache_fetch_seqnum: BUILTIN not found [2011/04/12 17:37:49.029462, 10] winbindd/winbindd_cache.c:4709(wcache_store_ndr) could not fetch seqnum for domain BUILTIN [2011/04/12 17:37:56.047749, 6] winbindd/winbindd.c:768(new_connection) accepted socket 22 [2011/04/12 17:37:56.047883, 10] winbindd/winbindd.c:620(process_request) process_request: request fn INTERFACE_VERSION [2011/04/12 17:37:56.047909, 3] winbindd/winbindd_misc.c:352(winbindd_interface_version) [ 5304]: request interface version [2011/04/12 17:37:56.047952, 10] winbindd/winbindd.c:716(winbind_client_response_written) winbind_client_response_written[5304:INTERFACE_VERSION]: deliverd response to client [2011/04/12 17:37:56.048022, 10] winbindd/winbindd.c:620(process_request) process_request: request fn WINBINDD_PRIV_PIPE_DIR [2011/04/12 17:37:56.048045, 3] winbindd/winbindd_misc.c:385(winbindd_priv_pipe_dir) [ 5304]: request location of privileged pipe [2011/04/12 17:37:56.048101, 10] winbindd/winbindd.c:716(winbind_client_response_written) winbind_client_response_written[5304:WINBINDD_PRIV_PIPE_DIR]: deliverd response to client [2011/04/12 17:37:56.048191, 6] winbindd/winbindd.c:816(winbind_client_request_read) closing socket 22, client exited [2011/04/12 17:37:56.048233, 6] winbindd/winbindd.c:768(new_connection) accepted socket 22 [2011/04/12 17:37:56.048276, 10] winbindd/winbindd.c:593(process_request) process_request: Handling async request 5304:SID_TO_GID [2011/04/12 17:37:56.048298, 3] winbindd/winbindd_sid_to_gid.c:47(winbindd_sid_to_gid_send) sid to gid S-1-5-21-4199262639-1984306771-3339216219-512 [2011/04/12 17:37:56.048347, 10] lib/gencache.c:345(gencache_get_data_blob) Returning expired cache entry: key = IDMAP/SID2GID/S-1-5-21-4199262639-1984306771-3339216219-512, value = , timeout = Wed Dec 31 19:00:00 1969 [2011/04/12 17:37:56.048387, 10] winbindd/winbindd_util.c:843(find_lookup_domain_from_sid) find_lookup_domain_from_sid(S-1-5-21-4199262639-1984306771-3339216219-512) [2011/04/12 17:37:56.048414, 10] winbindd/winbindd_util.c:853(find_lookup_domain_from_sid) calling find_our_domain [2011/04/12 17:37:57.609408, 0] winbindd/winbindd.c:195(winbindd_sig_term_handler) Got sig[15] terminate (is_parent=1) I tried emptying the contents of /var/cache/samba, still no help. Here is smb.conf on the problem PC, which noting has changed since it last worked... [global] netbios name = MEDIA server string = Media Server %v - Music, Videos and Photos workgroup = WEBTENT realm = WEBTENT security = DOMAIN log level = 10 syslog = 0 log file = /var/log/samba/%m max log size = 50 smb ports = 139 name resolve order = wins bcast hosts printcap name = CUPS wins server = 192.168.1.21 ldap suffix = dc=webtent,dc=org ldap machine suffix = ou=Computers ldap user suffix = ou=Users ldap group suffix = ou=Groups ldap idmap suffix = ou=Idmap ldap admin dn = cn=Manager,dc=webtent,dc=org idmap backend = ldap:ldap://mail.webtent.org idmap uid = 1-2 idmap gid = 1-2 snip shares Can someone help me determine the next step in tracking down this issue? Or, how I could start all over with this box (already tried re-join)? Thanks, Robert -- Robert rob...@webtent.org -- 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 v3-6-test updated
The branch, v3-6-test has been updated via 6215a7b talloc/testsuite: avoid memory leak reported by valgrind via 722da3d talloc/testsuite: test more talloc_pool related things via fb84f77 talloc: include valgrind headers if available via 1d11631 talloc: add TC_INVALIDATE_POOL marco via 046dfa2 talloc: add TC_UNDEFINE_GROW_CHUNK() marco via 31578b9 talloc: add TC_INVALIDATE_SHRINK_CHUNK() marco via 81a3c26 talloc: add TC_INVALIDATE_FULL_CHUNK() macro via a21ffe7 talloc: use VALGRIND_MAKE_MEM_UNDEFINED() before memmove() via 6fedf4b talloc: optimize talloc_free() and talloc_realloc() for talloc pools via cf12120 talloc: add TC_POOL_FIRST_CHUNK() macro via dbb450e talloc: add TC_POOL_SPACE_LEFT() macro via 3947608 talloc: add TC_ALIGN16() macro via c4a4e09 talloc: use TC_HDR_SIZE instead of sizeof(struct talloc_chunk) from 9ac8a58 s3-printing: Use become_user_by_session() function. http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test - Log - commit 6215a7bc8ef7268d6034785b4d887c40475e715e Author: Stefan Metzmacher me...@samba.org Date: Mon Apr 4 15:53:46 2011 +0200 talloc/testsuite: avoid memory leak reported by valgrind metze Signed-off-By: Andrew Tridgell tri...@samba.org Autobuild-User: Stefan Metzmacher me...@samba.org Autobuild-Date: Fri Apr 8 10:15:41 CEST 2011 on sn-devel-104 (cherry picked from commit eb0e276f3a3b57405cd8cd36c74021350aba9a98) commit 722da3df0f59c1ba5d90b598f94bf17a950715a8 Author: Stefan Metzmacher me...@samba.org Date: Thu Mar 31 19:50:47 2011 +0200 talloc/testsuite: test more talloc_pool related things metze Signed-off-By: Andrew Tridgell tri...@samba.org (cherry picked from commit f9fdef870e4c49d9e6c23ba085ba6dbd34ec5469) commit fb84f773cf7c74152caeea5d361e9604deeb353b Author: Stefan Metzmacher me...@samba.org Date: Mon Apr 4 16:28:31 2011 +0200 talloc: include valgrind headers if available metze Signed-off-By: Andrew Tridgell tri...@samba.org (cherry picked from commit 2146ffd764499d67e3f0576a2e78a1575cd52d9c) commit 1d11631906efe7b81a237bee73925a032d5d4318 Author: Stefan Metzmacher me...@samba.org Date: Mon Apr 4 15:08:20 2011 +0200 talloc: add TC_INVALIDATE_POOL marco metze Signed-off-By: Andrew Tridgell tri...@samba.org (cherry picked from commit 73cc85ac903387f2c7f8ef2d948b40b57887cf17) commit 046dfa2b6807838e787cdcef5eef28f9b660e961 Author: Stefan Metzmacher me...@samba.org Date: Mon Apr 4 13:29:47 2011 +0200 talloc: add TC_UNDEFINE_GROW_CHUNK() marco metze Signed-off-By: Andrew Tridgell tri...@samba.org (cherry picked from commit 9c9f208598d34d700bfc2ed7302b206e863a4c9b) commit 31578b94db5f9517ee344260e83362c547511549 Author: Stefan Metzmacher me...@samba.org Date: Mon Apr 4 13:28:11 2011 +0200 talloc: add TC_INVALIDATE_SHRINK_CHUNK() marco This invalidates the unused bytes if we shrink memory. metze Signed-off-By: Andrew Tridgell tri...@samba.org (cherry picked from commit 6126c3506d493cd4836a7539586b74faea8ca0b3) commit 81a3c26aa1af783bb3a37a0991d9962cd71fc92f Author: Stefan Metzmacher me...@samba.org Date: Mon Apr 4 11:47:57 2011 +0200 talloc: add TC_INVALIDATE_FULL_CHUNK() macro This makes it easier to mark a talloc pointer as invalid. metze Signed-off-By: Andrew Tridgell tri...@samba.org (cherry picked from commit 4895f55f0604a1851d45c24a8a584a10170d5917) commit a21ffe7d5b9a8ec8dae0fe5f123ba4add585821a Author: Stefan Metzmacher me...@samba.org Date: Mon Apr 4 16:46:21 2011 +0200 talloc: use VALGRIND_MAKE_MEM_UNDEFINED() before memmove() metze Signed-off-By: Andrew Tridgell tri...@samba.org (cherry picked from commit efbb35824e3845c3cdefea328dd1bf67d0f9087d) commit 6fedf4bfb3251278bff8ef22a879aac8c89e75d5 Author: Stefan Metzmacher me...@samba.org Date: Thu Mar 31 16:58:46 2011 +0200 talloc: optimize talloc_free() and talloc_realloc() for talloc pools metze Signed-off-By: Andrew Tridgell tri...@samba.org (cherry picked from commit 1e70439f770181ca16a0749c2164d0237d3bfd0a) commit cf12120f98aaab15406654e6acbaf3377a8d0c04 Author: Stefan Metzmacher me...@samba.org Date: Thu Mar 31 16:56:18 2011 +0200 talloc: add TC_POOL_FIRST_CHUNK() macro metze Signed-off-By: Andrew Tridgell tri...@samba.org (cherry picked from commit 73330f8436707b5ab46c0720ea735908948f5d27) commit dbb450e2651c2b4e837eb5a2db78d702d0fcc1bf Author: Stefan Metzmacher me...@samba.org Date: Thu Mar 31 16:51:40 2011 +0200 talloc: add TC_POOL_SPACE_LEFT() macro metze Signed-off-By: Andrew Tridgell tri...@samba.org (cherry picked from commit
[SCM] Samba Shared Repository - branch v3-5-test updated
The branch, v3-5-test has been updated via 7942bf5 s3-docs: document all wbinfo options. from 75ab0c4 s3-modules: Fix debug message (bug #8074) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test - Log - commit 7942bf50ce22597833bbfba99776f4b052edff1c Author: Günther Deschner g...@samba.org Date: Tue Apr 12 10:22:23 2011 +0200 s3-docs: document all wbinfo options. Guenther Autobuild-User: Günther Deschner g...@samba.org Autobuild-Date: Wed Feb 23 23:45:40 CET 2011 on sn-devel-104 Fix bug #7983 - not all wbinfo parameters are documented in manpage. --- Summary of changes: docs-xml/manpages-3/wbinfo.1.xml | 100 +- 1 files changed, 98 insertions(+), 2 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/manpages-3/wbinfo.1.xml b/docs-xml/manpages-3/wbinfo.1.xml index f63a3ee..0dbe830 100644 --- a/docs-xml/manpages-3/wbinfo.1.xml +++ b/docs-xml/manpages-3/wbinfo.1.xml @@ -24,22 +24,32 @@ arg choice=opt--allocate-gid/arg arg choice=opt--allocate-uid/arg arg choice=opt-c/arg + arg choide=opt--ccache-save/arg + arg choide=opt--change-user-password/arg arg choice=opt-D domain/arg arg choice=opt--domain domain/arg + arg choide=opt--dsgetdcname domain/arg arg choice=opt-g/arg arg choice=opt--getdcname domain/arg arg choice=opt--get-auth-user/arg arg choice=opt-G gid/arg - arg choice=opt-h/arg + arg choide=opt--gid-info/arg + arg choide=opt--group-info/arg + arg choice=opt--help|-?/arg arg choice=opt-i user/arg arg choice=opt-I ip/arg arg choice=opt-K user%password/arg + arg choide=opt--lanman/arg arg choice=opt-m/arg arg choice=opt-n name/arg arg choice=opt-N netbios-name/arg + arg choide=opt--ntlmv2/arg + arg choide=opt--online-status/arg arg choice=opt--own-domain/arg arg choice=opt-p/arg + arg choice=opt-P|--ping-dc/arg arg choice=opt-r user/arg + arg choide=opt-R|--lookup-rids/arg arg choice=opt--remove-uid-mapping uid,sid/arg arg choice=opt--remove-gid-mapping gid,sid/arg arg choice=opt-s sid/arg @@ -49,15 +59,19 @@ arg choice=opt--set-uid-mapping uid,sid/arg arg choice=opt--set-gid-mapping gid,sid/arg arg choice=opt-S sid/arg + arg choide=opt--sid-aliases/arg + arg choide=opt--sid-to-fullname/arg arg choice=opt-t/arg arg choice=opt-u/arg arg choice=opt--uid-info uid/arg + arg choide=opt--usage/arg arg choice=opt--user-domgroups sid/arg arg choice=opt--user-sids sid/arg arg choice=opt-U uid/arg arg choice=opt-V/arg - arg choice=opt-Y sid/arg arg choice=opt--verbose/arg + arg choice=opt-Y sid/arg + /cmdsynopsis /refsynopsisdiv @@ -120,6 +134,18 @@ /varlistentry varlistentry + term--ccache-save replaceableusername%password/replaceable/term + listitemparaStore user and password for ccache. + /para/listitem + /varlistentry + + varlistentry + term--change-user-password replaceableusername/replaceable/term + listitemparaChange the password of a user. The old and new password will be prompted. + /para/listitem + /varlistentry + + varlistentry term--domain replaceablename/replaceable/term listitemparaThis parameter sets the domain on which any specified operations will performed. If special domain name '.' is used to represent @@ -138,6 +164,24 @@ /varlistentry varlistentry + term--dsgetdcname replaceabledomain/replaceable/term + listitemparaFind a DC for a domain. + /para/listitem + /varlistentry + + varlistentry + term--gid-info replaceablegid/replaceable/term + listitemparaGet group info from gid. + /para/listitem + /varlistentry + + varlistentry + term--group-info replaceableuser/replaceable/term + listitemparaGet group info for user. + /para/listitem +
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 510e618 s3-util: separate out cmdline helpers. via 9c6f78a s3: add some forward declarations. via 7ea0384 s3-netapi: use dcerpc_try_samr_connects(). via 3acd6bd s3-netapi: use libnetapi_get_binding_handle(). via 0eece62 s3-netapi: add libnetapi_get_binding_handle(). via f102748 s3-librpc: let librpc/rpc/dcerpc.h include ndr and generated dcerpc headers. via 64b6641 s3-rpc_client: move rpc_cli_transport structs and protos to rpc_transport.h from bb15aa5 s3/selftest Tear down the environment if we fail to connect http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 510e61871c0c2b2659b80d5f785522184131b1d9 Author: Günther Deschner g...@samba.org Date: Sat Apr 2 01:00:52 2011 +0200 s3-util: separate out cmdline helpers. Guenther Autobuild-User: Günther Deschner g...@samba.org Autobuild-Date: Tue Apr 12 13:06:27 CEST 2011 on sn-devel-104 commit 9c6f78aae195c286818f91405b983b127ae17402 Author: Günther Deschner g...@samba.org Date: Wed Apr 6 15:16:53 2011 +0200 s3: add some forward declarations. Guenther commit 7ea03840fc817b21d7d333aebc6bbaeded9a0485 Author: Günther Deschner g...@samba.org Date: Wed Apr 6 14:40:50 2011 +0200 s3-netapi: use dcerpc_try_samr_connects(). Guenther commit 3acd6bde58ecd68faf8200268cc674a71c57778d Author: Günther Deschner g...@samba.org Date: Wed Apr 6 14:35:24 2011 +0200 s3-netapi: use libnetapi_get_binding_handle(). Guenther commit 0eece6202c94fdd180f266049e1a3712b9477dc6 Author: Günther Deschner g...@samba.org Date: Wed Apr 6 14:21:30 2011 +0200 s3-netapi: add libnetapi_get_binding_handle(). Guenther commit f10274806196cbea8d27cc2b1f1fe5087a2ede2b Author: Günther Deschner g...@samba.org Date: Thu Mar 31 01:01:05 2011 +0200 s3-librpc: let librpc/rpc/dcerpc.h include ndr and generated dcerpc headers. Guenther commit 64b664155b16b0995af7cc87f54c613350127f9e Author: Günther Deschner g...@samba.org Date: Thu Mar 31 00:34:28 2011 +0200 s3-rpc_client: move rpc_cli_transport structs and protos to rpc_transport.h Guenther --- Summary of changes: libcli/samsync/samsync.h |2 + source3/Makefile.in|2 +- source3/include/client.h | 56 +-- source3/include/proto.h| 97 -- source3/lib/netapi/cm.c| 23 +++ source3/lib/netapi/file.c | 27 +-- source3/lib/netapi/getdc.c | 27 +-- source3/lib/netapi/netapi_private.h|4 + source3/lib/netapi/netlogon.c | 18 +-- source3/lib/netapi/samr.c | 22 ++- source3/lib/netapi/serverinfo.c| 27 +-- source3/lib/netapi/share.c | 45 ++--- source3/lib/netapi/shutdown.c | 18 +-- source3/lib/util.c | 253 - source3/lib/util_cmdline.c | 277 source3/librpc/rpc/dcerpc.h|2 + source3/rpc_client/rpc_transport.h | 107 +++ source3/rpc_client/rpc_transport_np.c |1 + source3/rpc_client/rpc_transport_sock.c|1 + source3/rpc_client/rpc_transport_tstream.c |1 + source3/winbindd/winbindd_proto.h |2 +- source3/wscript_build |2 +- 22 files changed, 532 insertions(+), 482 deletions(-) create mode 100644 source3/lib/util_cmdline.c create mode 100644 source3/rpc_client/rpc_transport.h Changeset truncated at 500 lines: diff --git a/libcli/samsync/samsync.h b/libcli/samsync/samsync.h index df76f1b..0cd55e4 100644 --- a/libcli/samsync/samsync.h +++ b/libcli/samsync/samsync.h @@ -22,6 +22,8 @@ #ifndef __SAMSYNC_SAMSYNC_H__ #define __SAMSYNC_SAMSYNC_H__ +struct netlogon_creds_CredentialState; + /** * Fix up the delta, dealing with encryption issues so that the final * callback need only do the printing or application logic diff --git a/source3/Makefile.in b/source3/Makefile.in index 0854114..b3b1de4 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -452,7 +452,7 @@ LIB_OBJ = $(LIBSAMBAUTIL_OBJ) $(UTIL_OBJ) $(CRYPTO_OBJ) \ lib/wins_srv.o \ lib/util_str.o ../lib/util/base64.o lib/util_sid.o \ lib/util_unistr.o ../lib/util/charset/codepoints.o ../lib/util/charset/util_str.o lib/util_file.o \ - lib/util.o lib/util_names.o \ + lib/util.o lib/util_cmdline.o lib/util_names.o \ lib/util_sock.o lib/sock_exec.o lib/util_sec.o \ lib/substitute.o lib/dbwrap_util.o \ lib/ms_fnmatch.o lib/errmap_unix.o \ diff --git a/source3/include/client.h b/source3/include/client.h
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 4edc98e s3: For net ads join, create a krb5.conf via da5e5a6 s3: Initialize output in libnet_Join via feb3cde s3: Retry the join with the short name from 510e618 s3-util: separate out cmdline helpers. http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 4edc98eb9e18eff00bb5ce9bdcdffa5b11149dd4 Author: Volker Lendecke v...@samba.org Date: Sat Feb 26 18:12:49 2011 +0100 s3: For net ads join, create a krb5.conf Signed-off-by: Günther Deschner g...@samba.org Autobuild-User: Günther Deschner g...@samba.org Autobuild-Date: Tue Apr 12 14:10:05 CEST 2011 on sn-devel-104 commit da5e5a6a83a6dcf04c51497f8b5f10621d7b47f7 Author: Volker Lendecke v...@samba.org Date: Sat Feb 26 18:12:32 2011 +0100 s3: Initialize output in libnet_Join Signed-off-by: Günther Deschner g...@samba.org commit feb3cdee366a439e8526f439714c9068068cdaa4 Author: Volker Lendecke v...@samba.org Date: Sat Feb 26 17:53:16 2011 +0100 s3: Retry the join with the short name Signed-off-by: Günther Deschner g...@samba.org --- Summary of changes: source3/libnet/libnet_join.c |7 +++ source3/utils/net_ads.c |5 + 2 files changed, 12 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c index e702ffc..1e866c3 100644 --- a/source3/libnet/libnet_join.c +++ b/source3/libnet/libnet_join.c @@ -1974,6 +1974,11 @@ static WERROR libnet_DomainJoin(TALLOC_CTX *mem_ctx, } #ifdef HAVE_ADS + + create_local_private_krb5_conf_for_domain( + r-out.dns_domain_name, r-out.netbios_domain_name, + NULL, cli-dest_ss, cli-desthost); + if (r-out.domain_is_ad r-in.account_ou !(r-in.join_flags WKSSVC_JOIN_FLAGS_JOIN_UNSECURE)) { @@ -2068,6 +2073,8 @@ WERROR libnet_Join(TALLOC_CTX *mem_ctx, LIBNET_JOIN_IN_DUMP_CTX(mem_ctx, r); } + ZERO_STRUCT(r-out); + werr = libnet_join_pre_processing(mem_ctx, r); if (!W_ERROR_IS_OK(werr)) { goto done; diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index e6ac1c9..ca5c1bf 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -1412,6 +1412,11 @@ int net_ads_join(struct net_context *c, int argc, const char **argv) r-in.msg_ctx = c-msg_ctx; werr = libnet_Join(ctx, r); + if (W_ERROR_EQUAL(werr, WERR_DCNOTFOUND) + strequal(domain, lp_realm())) { + r-in.domain_name = lp_workgroup(); + werr = libnet_Join(ctx, r); + } if (!W_ERROR_IS_OK(werr)) { goto fail; } -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-6-test updated
The branch, v3-6-test has been updated via 7de5b20 s3-util: separate out cmdline helpers. via 897ccdc s3: add some forward declarations. via 3904e1d s3-netapi: use dcerpc_try_samr_connects(). via 1256f75 s3-netapi: use libnetapi_get_binding_handle(). via 710b40b s3-netapi: add libnetapi_get_binding_handle(). via 7937e6c s3-librpc: let librpc/rpc/dcerpc.h include ndr and generated dcerpc headers. via a35c24c s3-rpc_client: move rpc_cli_transport structs and protos to rpc_transport.h from 6215a7b talloc/testsuite: avoid memory leak reported by valgrind http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test - Log - commit 7de5b2002d853947bc66fa4dc96773a788dc5248 Author: Günther Deschner g...@samba.org Date: Sat Apr 2 01:00:52 2011 +0200 s3-util: separate out cmdline helpers. Guenther Autobuild-User: Günther Deschner g...@samba.org Autobuild-Date: Tue Apr 12 13:06:27 CEST 2011 on sn-devel-104 commit 897ccdcae91ff4b3a61e6349dd0f7b8ed1ec6fac Author: Günther Deschner g...@samba.org Date: Wed Apr 6 15:16:53 2011 +0200 s3: add some forward declarations. Guenther (cherry picked from commit 9c6f78aae195c286818f91405b983b127ae17402) commit 3904e1dbe459ed660201204dcea350982aa0401a Author: Günther Deschner g...@samba.org Date: Wed Apr 6 14:40:50 2011 +0200 s3-netapi: use dcerpc_try_samr_connects(). Guenther (cherry picked from commit 7ea03840fc817b21d7d333aebc6bbaeded9a0485) commit 1256f75645753830a396d25fdd968843ac58ce0f Author: Günther Deschner g...@samba.org Date: Wed Apr 6 14:35:24 2011 +0200 s3-netapi: use libnetapi_get_binding_handle(). Guenther (cherry picked from commit 3acd6bde58ecd68faf8200268cc674a71c57778d) commit 710b40b5ac731cabb73608577af98e666b13214f Author: Günther Deschner g...@samba.org Date: Wed Apr 6 14:21:30 2011 +0200 s3-netapi: add libnetapi_get_binding_handle(). Guenther (cherry picked from commit 0eece6202c94fdd180f266049e1a3712b9477dc6) commit 7937e6c9cd112b4f47215168e52d1cbf74786732 Author: Günther Deschner g...@samba.org Date: Thu Mar 31 01:01:05 2011 +0200 s3-librpc: let librpc/rpc/dcerpc.h include ndr and generated dcerpc headers. Guenther (cherry picked from commit f10274806196cbea8d27cc2b1f1fe5087a2ede2b) commit a35c24c9a47f947abc992c14c809403e6aa5aa07 Author: Günther Deschner g...@samba.org Date: Thu Mar 31 00:34:28 2011 +0200 s3-rpc_client: move rpc_cli_transport structs and protos to rpc_transport.h Guenther (cherry picked from commit 64b664155b16b0995af7cc87f54c613350127f9e) --- Summary of changes: libcli/samsync/samsync.h |2 + source3/Makefile.in|2 +- source3/include/client.h | 56 +-- source3/include/proto.h| 97 -- source3/lib/netapi/cm.c| 23 +++ source3/lib/netapi/file.c | 27 +-- source3/lib/netapi/getdc.c | 27 +-- source3/lib/netapi/netapi_private.h|4 + source3/lib/netapi/netlogon.c | 18 +-- source3/lib/netapi/samr.c | 22 ++- source3/lib/netapi/serverinfo.c| 27 +-- source3/lib/netapi/share.c | 45 ++--- source3/lib/netapi/shutdown.c | 18 +-- source3/lib/util.c | 253 - source3/lib/util_cmdline.c | 277 source3/librpc/rpc/dcerpc.h|2 + source3/rpc_client/rpc_transport.h | 107 +++ source3/rpc_client/rpc_transport_np.c |1 + source3/rpc_client/rpc_transport_sock.c|1 + source3/rpc_client/rpc_transport_tstream.c |1 + source3/winbindd/winbindd_proto.h |2 +- source3/wscript_build |2 +- 22 files changed, 532 insertions(+), 482 deletions(-) create mode 100644 source3/lib/util_cmdline.c create mode 100644 source3/rpc_client/rpc_transport.h Changeset truncated at 500 lines: diff --git a/libcli/samsync/samsync.h b/libcli/samsync/samsync.h index df76f1b..0cd55e4 100644 --- a/libcli/samsync/samsync.h +++ b/libcli/samsync/samsync.h @@ -22,6 +22,8 @@ #ifndef __SAMSYNC_SAMSYNC_H__ #define __SAMSYNC_SAMSYNC_H__ +struct netlogon_creds_CredentialState; + /** * Fix up the delta, dealing with encryption issues so that the final * callback need only do the printing or application logic diff --git a/source3/Makefile.in b/source3/Makefile.in index 3ada9f6..526fe16 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -452,7 +452,7 @@ LIB_OBJ = $(LIBSAMBAUTIL_OBJ) $(UTIL_OBJ) $(CRYPTO_OBJ) \ lib/wins_srv.o \ lib/util_str.o lib/clobber.o lib/util_sid.o
[SCM] Samba Shared Repository - branch v3-6-test updated
The branch, v3-6-test has been updated via 710988c s3: Retry the join with the short name via 691299c s3: Initialize output in libnet_Join via 4787c32 s3: For net ads join, create a krb5.conf from 7de5b20 s3-util: separate out cmdline helpers. http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test - Log - commit 710988c69c98736aeab1174dbf46b5ab3d053d33 Author: Volker Lendecke v...@samba.org Date: Sat Feb 26 17:53:16 2011 +0100 s3: Retry the join with the short name Signed-off-by: Günther Deschner g...@samba.org (cherry picked from commit feb3cdee366a439e8526f439714c9068068cdaa4) commit 691299cc72ca5897cae7f130c518e5ddc1ebeb40 Author: Volker Lendecke v...@samba.org Date: Sat Feb 26 18:12:32 2011 +0100 s3: Initialize output in libnet_Join Signed-off-by: Günther Deschner g...@samba.org (cherry picked from commit da5e5a6a83a6dcf04c51497f8b5f10621d7b47f7) commit 4787c32934d885bd0084359a28c33b30bb523124 Author: Volker Lendecke v...@samba.org Date: Sat Feb 26 18:12:49 2011 +0100 s3: For net ads join, create a krb5.conf Signed-off-by: Günther Deschner g...@samba.org Autobuild-User: Günther Deschner g...@samba.org Autobuild-Date: Tue Apr 12 14:10:05 CEST 2011 on sn-devel-104 (cherry picked from commit 4edc98eb9e18eff00bb5ce9bdcdffa5b11149dd4) --- Summary of changes: source3/libnet/libnet_join.c |7 +++ source3/utils/net_ads.c |5 + 2 files changed, 12 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c index e702ffc..1e866c3 100644 --- a/source3/libnet/libnet_join.c +++ b/source3/libnet/libnet_join.c @@ -1974,6 +1974,11 @@ static WERROR libnet_DomainJoin(TALLOC_CTX *mem_ctx, } #ifdef HAVE_ADS + + create_local_private_krb5_conf_for_domain( + r-out.dns_domain_name, r-out.netbios_domain_name, + NULL, cli-dest_ss, cli-desthost); + if (r-out.domain_is_ad r-in.account_ou !(r-in.join_flags WKSSVC_JOIN_FLAGS_JOIN_UNSECURE)) { @@ -2068,6 +2073,8 @@ WERROR libnet_Join(TALLOC_CTX *mem_ctx, LIBNET_JOIN_IN_DUMP_CTX(mem_ctx, r); } + ZERO_STRUCT(r-out); + werr = libnet_join_pre_processing(mem_ctx, r); if (!W_ERROR_IS_OK(werr)) { goto done; diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index e6ac1c9..ca5c1bf 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -1412,6 +1412,11 @@ int net_ads_join(struct net_context *c, int argc, const char **argv) r-in.msg_ctx = c-msg_ctx; werr = libnet_Join(ctx, r); + if (W_ERROR_EQUAL(werr, WERR_DCNOTFOUND) + strequal(domain, lp_realm())) { + r-in.domain_name = lp_workgroup(); + werr = libnet_Join(ctx, r); + } if (!W_ERROR_IS_OK(werr)) { goto fail; } -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-6-test updated
The branch, v3-6-test has been updated via 9ffc2a9 s3:WHATSNEW: mention Gregor's net idmap check tool from 710988c s3: Retry the join with the short name http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test - Log - commit 9ffc2a90167518fd9de43bf801170012d0842b74 Author: Michael Adam ob...@samba.org Date: Tue Apr 12 14:55:09 2011 +0200 s3:WHATSNEW: mention Gregor's net idmap check tool --- Summary of changes: WHATSNEW.txt |4 1 files changed, 4 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/WHATSNEW.txt b/WHATSNEW.txt index 50d9cff..414cc84 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -227,6 +227,10 @@ o Jeremy Allison j...@samba.org * Fix crash bug on smbd shutdown when using FOPENDIR(). +o Gregor Beck gb...@sernet.de +* Add net idmap check, a check and repair tool for the + id mapping database. + o Günther Deschner g...@samba.org * Fix Coverity ID 2041. * fix potential crash bug in spoolss_PrinterEnumValues push path. -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-6-test updated
The branch, v3-6-test has been updated via d4a2564 WHATSNEW: Update release notes. from 9ffc2a9 s3:WHATSNEW: mention Gregor's net idmap check tool http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test - Log - commit d4a25642fc1c26245c297c60356fe923fe2a316e Author: Karolin Seeger ksee...@samba.org Date: Tue Apr 12 14:50:30 2011 +0200 WHATSNEW: Update release notes. I know that it's not 100% complete, but I think it's good enough to ship (that's even better than delaying again). Karolin --- Summary of changes: WHATSNEW.txt | 127 +- 1 files changed, 125 insertions(+), 2 deletions(-) Changeset truncated at 500 lines: diff --git a/WHATSNEW.txt b/WHATSNEW.txt index 414cc84..fc6e972 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -157,6 +157,29 @@ brought to the conciousness of the users that even the simple id mapping is not working exactly as in Samba 3.0 versions any more. +Endpoint Mapper +--- + +As Microsoft is more and more relying on endpoint mapper and we didn't have a +complete implementation we decided to create an instance for Samba. The +endpoint mapper is like a DNS server but for ports. If you want to talk to a +certain RPC service over TCP/IP, you just ask the endpoint mapper on which +port it is running. Then you can connect to the service and make sure that it +is running. +The code is deactivated by default, because it needs more testing and it +doesn't scale yet. We will work on these limitations and hopefully release it +with pre3. If you want to enable and test the endpoint mapper you can set +rpc_server:epmapper = daemon in the smb.conf file. + + +Internal restructuring +-- + +Ongoing internal restructuring for better separation of internal subsystem to +achieve a faster build, smaller binaries and cleaner dependencies for the samba3 +waf build. + + SMB Traffic Analyzer @@ -210,6 +233,16 @@ smb.conf changes Commit Highlights - +o Michael Adam ob...@samba.org +* ID Mapping changes. + + +o Jeremy Allison j...@samba.org +* Implement SMB2 support. + + +o Andreas Schneider a...@samba.org +* Add an Endpoint Mapper daemon. @@ -217,14 +250,45 @@ Changes since 3.6.0pre1 --- o Michael Adam ob...@samba.org -* IDmapping changes. +* ID Mapping changes. +* Add --option to 'testparm'. o Jeremy Allison j...@samba.org * BUG 7080: Quota only shown when logged as root. +* BUG 7863: Unlink may unlink wrong file when hardlinks are involved. * BUG 7996: Sgid bit lost on folder rename. * BUG 8040: Fix smbclient segfault with Cyrillic netbios names. * Fix crash bug on smbd shutdown when using FOPENDIR(). +* Ensure we don't return an incorrect access mask. +* Fix bug against the new Mac client. +* Fix leak in error path. +* Fix error where Windows client spoolss returns WERR_INVALID_DATA. + + +o Christian Ambach christian.amb...@de.ibm.com +* Fix a segfault in the krb5 locator plugin. +* Enable sharesec for registry shares. + + +o Andrew Bartlett abart...@samba.org +* Fix memory leak in security=share and force user. + + +o Björn Baumbach b...@sernet.de +* BUG 7875: Fix 'nmbd --port'. +* BUG 7880: cmd_spoolss_deletedriver() returned without checking all + architectures. + + +o Gregor Beck gb...@sernet.de +* Add new 'net idmap check' command. +* Add new 'net idmap delete' command. +* Fix segfault on missing input file in 'net idmap restore'. + + +o Olly Betts o...@survex.com +* Fix 'net usersidlist' not to skip every other user. o Gregor Beck gb...@sernet.de @@ -232,14 +296,23 @@ o Gregor Beck gb...@sernet.de id mapping database. o Günther Deschner g...@samba.org +* BUG 7690: Retry DNS updates when connection to one nameserver has failed. +* BUG 7945: Let winbind try to use samlogon validation level 6. * Fix Coverity ID 2041. -* fix potential crash bug in spoolss_PrinterEnumValues push path. +* Fix potential crash bug in spoolss_PrinterEnumValues push path. +* Internal restructuring. +* Don't wipe out all printer drivers when only one should be deleted. +* Fix winbindd_dual_pam_auth_samlogon() for NT4 domains. o David Disseldorp dd...@suse.de +* BUG 7915: Fix cups pcap reload with no printers. * BUG 8040: Fix smbclient segfault with Cyrillic netbios names. * Fix memory leak in print_cups.c. * Remove duplicate cups response processing code. +* Follow force user/group for driver IO. +* Initiate pcap reload from parent smbd. +* Reload shares after pcap cache fill. o Björn Jacke b...@sernet.de @@ -248,10 +321,24 @@ o Björn Jacke
[SCM] Samba GTK+ frontends branch, master, updated. a9afd76f021132bac7effeb1ea3733d60591feee
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project Samba GTK+ frontends. The branch, master has been updated via a9afd76f021132bac7effeb1ea3733d60591feee (commit) via 3757aadf28f5c7a3b76a52105398373ac83893c2 (commit) via eb0bf33fce2a5ff94f22049ff25f1ae2d94ae3b6 (commit) via f882cd63bba23b73a3bc768077daf20cc9f9276b (commit) from 03db4beb5de4ad4fcf72d1dc81e2c1eec4034892 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit a9afd76f021132bac7effeb1ea3733d60591feee Author: Jelmer Vernooij jel...@samba.org Date: Tue Apr 12 15:18:37 2011 +0200 Split atsvc-related code into a separate module. commit 3757aadf28f5c7a3b76a52105398373ac83893c2 Author: Jelmer Vernooij jel...@samba.org Date: Mon Apr 11 18:11:18 2011 +0200 Split SAM-related functionality out into sambagtk.sam. commit eb0bf33fce2a5ff94f22049ff25f1ae2d94ae3b6 Author: Jelmer Vernooij jel...@samba.org Date: Mon Apr 11 18:07:31 2011 +0200 Split svcctl-related functionality out into a separate file. commit f882cd63bba23b73a3bc768077daf20cc9f9276b Author: Jelmer Vernooij jel...@samba.org Date: Mon Apr 11 18:04:33 2011 +0200 Split registry specific stuff out to sambagtk.registry. --- Summary of changes: gregedit|6 +- sambagtk/atsvc.py | 647 + sambagtk/dialogs.py | 3420 +-- sambagtk/main.py|3 +- sambagtk/objects.py | 447 --- sambagtk/pygwcrontab.py |6 +- sambagtk/pygwregedit.py | 10 +- sambagtk/pygwsam.py | 236 ++-- sambagtk/pygwsvcctl.py | 80 +- sambagtk/registry.py| 1906 ++ sambagtk/sam.py | 688 ++ sambagtk/svcctl.py | 614 + 12 files changed, 4048 insertions(+), 4015 deletions(-) create mode 100644 sambagtk/atsvc.py create mode 100644 sambagtk/registry.py create mode 100644 sambagtk/sam.py create mode 100644 sambagtk/svcctl.py hooks/post-receive -- Samba GTK+ frontends
[SCM] Samba Shared Repository - branch v3-6-test updated
The branch, v3-6-test has been updated via 21b0bc2 WHATSNEW: Update release notes. from d4a2564 WHATSNEW: Update release notes. http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test - Log - commit 21b0bc2449ca30c3ad5570c794b4f56cd243996d Author: Karolin Seeger ksee...@samba.org Date: Tue Apr 12 15:55:07 2011 +0200 WHATSNEW: Update release notes. Karolin --- Summary of changes: WHATSNEW.txt |4 1 files changed, 4 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/WHATSNEW.txt b/WHATSNEW.txt index fc6e972..3ab9324 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -241,6 +241,10 @@ o Jeremy Allison j...@samba.org * Implement SMB2 support. +o Stefan Metzmacher me...@samba.org +* Implement SMB2 support. + + o Andreas Schneider a...@samba.org * Add an Endpoint Mapper daemon. -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-6-stable updated
The branch, v3-6-stable has been updated via 567a3e7 WHATSNEW: Update release notes. via fb688a4 WHATSNEW: Update release notes. via b21df62 s3:WHATSNEW: mention Gregor's net idmap check tool (cherry picked from commit 9ffc2a90167518fd9de43bf801170012d0842b74) via 2351175 s3: Retry the join with the short name via 2c52829 s3: Initialize output in libnet_Join via ac1d618 s3: For net ads join, create a krb5.conf via 9a267fc s3-util: separate out cmdline helpers. via d201aa1 s3: add some forward declarations. via ac54b94 s3-netapi: use dcerpc_try_samr_connects(). via 27a715d s3-netapi: use libnetapi_get_binding_handle(). via 9b75978 s3-netapi: add libnetapi_get_binding_handle(). via dda50a9 s3-librpc: let librpc/rpc/dcerpc.h include ndr and generated dcerpc headers. via 66e8961 s3-rpc_client: move rpc_cli_transport structs and protos to rpc_transport.h via 8db0fa1 talloc/testsuite: avoid memory leak reported by valgrind via d45194d talloc/testsuite: test more talloc_pool related things via c71c211 talloc: include valgrind headers if available via 6a9b427 talloc: add TC_INVALIDATE_POOL marco via 1a59ccb talloc: add TC_UNDEFINE_GROW_CHUNK() marco via fea8fc6 talloc: add TC_INVALIDATE_SHRINK_CHUNK() marco via a67532a talloc: add TC_INVALIDATE_FULL_CHUNK() macro via df21550 talloc: use VALGRIND_MAKE_MEM_UNDEFINED() before memmove() via 2944251 talloc: optimize talloc_free() and talloc_realloc() for talloc pools via b6b0d0d talloc: add TC_POOL_FIRST_CHUNK() macro via 5bde8e2 talloc: add TC_POOL_SPACE_LEFT() macro via 3d21e94 talloc: add TC_ALIGN16() macro via 4bd3ee3 talloc: use TC_HDR_SIZE instead of sizeof(struct talloc_chunk) via 4e65ab0 s3-printing: Use become_user_by_session() function. via d328db5 s3-smbd: Added a become_user_by_session() function. via 08ccde5 s3-smbd: Added a change_to_user_by_session() function. via 6d5cdd6 s3: Wrap creating the svcctl keys in a transaction via bfa5b7d s3: Make reg_backend_db.h includable by itself (cherry picked from commit 6ba31d3bd29dd11b1b98859f4d8a65d9be7dac60) (cherry picked from commit a5495e70cc5f7659ab94d8570195edf3bd41072b) (cherry picked from commit 59ed52d8ab9521466e9f25118336b9e9c42d2344) via aaa0321 WHATSNEW: Start to add changes since 3.6.0pre1. from 4b0054c s3: Fix Coverity ID 2472, UNINIT http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-stable - Log - commit 567a3e7800813c14621e2b3342ae769fd12e0ca9 Author: Karolin Seeger ksee...@samba.org Date: Tue Apr 12 15:55:07 2011 +0200 WHATSNEW: Update release notes. Karolin (cherry picked from commit 21b0bc2449ca30c3ad5570c794b4f56cd243996d) commit fb688a4e0813b79403cd39f0ad267481b3706faa Author: Karolin Seeger ksee...@samba.org Date: Tue Apr 12 14:50:30 2011 +0200 WHATSNEW: Update release notes. I know that it's not 100% complete, but I think it's good enough to ship (that's even better than delaying again). Karolin (cherry picked from commit d4a25642fc1c26245c297c60356fe923fe2a316e) commit b21df62eaa5265c4f393f199c9555dab6ea637ff Author: Michael Adam ob...@samba.org Date: Tue Apr 12 14:55:09 2011 +0200 s3:WHATSNEW: mention Gregor's net idmap check tool (cherry picked from commit 9ffc2a90167518fd9de43bf801170012d0842b74) commit 2351175407330181d67ab8b94183d6d07aba57cc Author: Volker Lendecke v...@samba.org Date: Sat Feb 26 17:53:16 2011 +0100 s3: Retry the join with the short name Signed-off-by: Günther Deschner g...@samba.org (cherry picked from commit feb3cdee366a439e8526f439714c9068068cdaa4) (cherry picked from commit 710988c69c98736aeab1174dbf46b5ab3d053d33) commit 2c52829a1d1051b3b36a296fc830c8594716c055 Author: Volker Lendecke v...@samba.org Date: Sat Feb 26 18:12:32 2011 +0100 s3: Initialize output in libnet_Join Signed-off-by: Günther Deschner g...@samba.org (cherry picked from commit da5e5a6a83a6dcf04c51497f8b5f10621d7b47f7) (cherry picked from commit 691299cc72ca5897cae7f130c518e5ddc1ebeb40) commit ac1d618a94a7f64266f17f7c5c68ac7211961774 Author: Volker Lendecke v...@samba.org Date: Sat Feb 26 18:12:49 2011 +0100 s3: For net ads join, create a krb5.conf Signed-off-by: Günther Deschner g...@samba.org Autobuild-User: Günther Deschner g...@samba.org Autobuild-Date: Tue Apr 12 14:10:05 CEST 2011 on sn-devel-104 (cherry picked from commit 4edc98eb9e18eff00bb5ce9bdcdffa5b11149dd4) (cherry picked from commit 4787c32934d885bd0084359a28c33b30bb523124) commit 9a267fcd66fca6848cc3023e99d45b060b090410 Author: Günther Deschner g...@samba.org Date: Sat Apr 2 01:00:52 2011 +0200 s3-util: separate out cmdline helpers.
[SCM] Samba Shared Repository - branch v3-6-test updated
The branch, v3-6-test has been updated via 30e30ab WHATSNEW: Fix date. from 21b0bc2 WHATSNEW: Update release notes. http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test - Log - commit 30e30abc392c17d16a44eca73e5e4c3f7cda2199 Author: Karolin Seeger ksee...@samba.org Date: Tue Apr 12 16:01:14 2011 +0200 WHATSNEW: Fix date. Karolin --- Summary of changes: WHATSNEW.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/WHATSNEW.txt b/WHATSNEW.txt index 3ab9324..d0995f5 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -1,6 +1,6 @@ = Release Notes for Samba 3.6.0pre2 -April 12, 2010 +April 12, 2011 = -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-6-stable updated
The branch, v3-6-stable has been updated via da2a2e1 WHATSNEW: Fix date. from 567a3e7 WHATSNEW: Update release notes. http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-stable - Log - commit da2a2e1f7402aa54964ae9d09085052424c5530f Author: Karolin Seeger ksee...@samba.org Date: Tue Apr 12 16:01:14 2011 +0200 WHATSNEW: Fix date. Karolin (cherry picked from commit 30e30abc392c17d16a44eca73e5e4c3f7cda2199) --- Summary of changes: WHATSNEW.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/WHATSNEW.txt b/WHATSNEW.txt index 3ab9324..d0995f5 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -1,6 +1,6 @@ = Release Notes for Samba 3.6.0pre2 -April 12, 2010 +April 12, 2011 = -- Samba Shared Repository
[SCM] Samba Website Repository - branch master updated
The branch, master has been updated via 7087751 Announce Samba 3.6.0pre2. from 390eadb websvn and cvs no longer exist http://gitweb.samba.org/?p=samba-web.git;a=shortlog;h=master - Log - commit 70877511399421ded56a7e217768d7ded3edd38c Author: Karolin Seeger ksee...@samba.org Date: Tue Apr 12 16:42:28 2011 +0200 Announce Samba 3.6.0pre2. Karolin --- Summary of changes: generated_news/latest_10_bodies.html| 36 ++- generated_news/latest_10_headlines.html |2 + generated_news/latest_2_bodies.html | 31 -- 3 files changed, 42 insertions(+), 27 deletions(-) Changeset truncated at 500 lines: diff --git a/generated_news/latest_10_bodies.html b/generated_news/latest_10_bodies.html index b79e211..93e8adc 100644 --- a/generated_news/latest_10_bodies.html +++ b/generated_news/latest_10_bodies.html @@ -1,3 +1,22 @@ + h5a name=3.6.0pre228 July 2010/a/h5 + p class=headlineSamba 3.6.0pre2 Available for Download/p + pSamba 3.6.0pre2 is available for download. This is a + preview of the next upgrade production release version of Samba. + It is intended for btesting purposes only/b. Please test and + a href=https://bugzilla.samba.org/;report any bugs that you + find/a. Please read the changes in the + a href=http://samba.org/samba/ftp/pre/WHATSNEW-3-6-0pre2.txt;Release Notes/a + for details on new features and difference in behavior from + previous releases./p + + pThe a href=http://samba.org/samba/ftp/pre/samba-3.6.0pre2.tar.gz;Samba 3.6.0pre2 + source code/a can be downloaded now. The a + href=http://samba.org/samba/ftp/pre/samba-3.6.0pre2.tar.asc;GnuPG + signature is for the emun/emcompressed tarball/a. + Precompiled packages will + be made available on a volunteer basis and can be found in the + a href=http://samba.org/samba/ftp/Binary_Packages/;Binary_Packages download area/a./p + h5a name=3.5.87 March 2011/a/h5 p class=headlineSamba 3.5.8 Available for Download/p pThis is the latest stable release of the Samba 3.5 series./p @@ -112,19 +131,6 @@ Patches for all current releases are available on our a href=http://www.samba. pThe uncompressed tarballs and patch files have been signed using GnuPG (ID 6568B7EA). The source code can be -a href=http://www.samba.org/samba/ftp/stable/samba-3.5.5.tar.gz;downloaded now/a. -See a href=http://www.samba.org/samba/history/samba-3.5.5.html;the release notes for more -info/a./p - - - h5a name=3.4.914 September 2010/a/h5 - p class=headlineSamba 3.4.9 Security Release Available/p - pThis is a security release to address a href=http://www.samba.org/samba/security/CVE-2010-3069;CVE-2010-3069/a (Buffer Overrun Vulnerability). - -Patches for all current releases are available on our a href=http://www.samba.org/samba/security/;security page/a./p - -pThe uncompressed tarballs and patch files have been signed -using GnuPG (ID 6568B7EA). The source code can be -a href=http://www.samba.org/samba/ftp/stable/samba-3.4.9.tar.gz;downloaded now/a. -See a href=http://www.samba.org/samba/history/samba-3.4.9.html;the release notes for more +a href=http://www.samba.org/samba/ftp/stable/samba-3.5.5.tar.gz;downloaded now/a. +See a href=http://www.samba.org/samba/history/samba-3.5.5.html;the release notes for more info/a./p diff --git a/generated_news/latest_10_headlines.html b/generated_news/latest_10_headlines.html index a1c81ff..1e0b0e5 100644 --- a/generated_news/latest_10_headlines.html +++ b/generated_news/latest_10_headlines.html @@ -1,4 +1,6 @@ ul + li 12 April 2011 a href=#3.6.0pre2Samba 3.6.0pre2 Available for Download/a/li + li 7 March 2011 a href=#3.5.8Samba 3.5.8 Available for Download/a/li li 28 February 2011 a href=#3.5.7Samba 3.5.7 Available for Download/a/li diff --git a/generated_news/latest_2_bodies.html b/generated_news/latest_2_bodies.html index f344b43..3e8f8ce 100644 --- a/generated_news/latest_2_bodies.html +++ b/generated_news/latest_2_bodies.html @@ -1,3 +1,22 @@ + h5a name=3.6.0pre228 July 2010/a/h5 + p class=headlineSamba 3.6.0pre2 Available for Download/p + pSamba 3.6.0pre2 is available for download. This is a + preview of the next upgrade production release version of Samba. + It is intended for btesting purposes only/b. Please test and + a href=https://bugzilla.samba.org/;report any bugs that you + find/a. Please read the changes in the + a href=http://samba.org/samba/ftp/pre/WHATSNEW-3-6-0pre2.txt;Release Notes/a + for details on new features and difference in behavior from + previous releases./p + + pThe a href=http://samba.org/samba/ftp/pre/samba-3.6.0pre2.tar.gz;Samba 3.6.0pre2 + source code/a can be downloaded now. The a + href=http://samba.org/samba/ftp/pre/samba-3.6.0pre2.tar.asc;GnuPG +
[SCM] Samba Shared Repository - branch v3-6-test updated
The branch, v3-6-test has been updated via a5813a0 WHATSNEW: Start release notes for 3.6.0pre3. via ec3976b VERSION: Bump version number up to 3.6.0pre2. from 30e30ab WHATSNEW: Fix date. http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test - Log - commit a5813a07d2428265c204636aa6cd508004718e85 Author: Karolin Seeger ksee...@samba.org Date: Tue Apr 12 20:08:44 2011 +0200 WHATSNEW: Start release notes for 3.6.0pre3. Karolin commit ec3976b684fe4b3549bf2119a299be1b038e3eab Author: Karolin Seeger ksee...@samba.org Date: Tue Apr 12 20:06:41 2011 +0200 VERSION: Bump version number up to 3.6.0pre2. Karolin --- Summary of changes: WHATSNEW.txt| 10 +++--- source3/VERSION |2 +- 2 files changed, 8 insertions(+), 4 deletions(-) Changeset truncated at 500 lines: diff --git a/WHATSNEW.txt b/WHATSNEW.txt index d0995f5..a5cdeca 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -1,10 +1,10 @@ = - Release Notes for Samba 3.6.0pre2 -April 12, 2011 + Release Notes for Samba 3.6.0pre3 +April 26, 2011 = -This is the second preview release of Samba 3.6.0. This is *not* +This is the third preview release of Samba 3.6.0. This is *not* intended for production environments and is designed for testing purposes only. Please report any defects via the Samba bug reporting system at https://bugzilla.samba.org/. @@ -249,6 +249,10 @@ o Andreas Schneider a...@samba.org * Add an Endpoint Mapper daemon. +Changes since 3.6.0pre2 +--- + + Changes since 3.6.0pre1 --- diff --git a/source3/VERSION b/source3/VERSION index 6f3b267..531253d 100644 --- a/source3/VERSION +++ b/source3/VERSION @@ -46,7 +46,7 @@ SAMBA_VERSION_REVISION= # e.g. SAMBA_VERSION_PRE_RELEASE=1 # # - 2.2.9pre1 # -SAMBA_VERSION_PRE_RELEASE=2 +SAMBA_VERSION_PRE_RELEASE=3 # For 'rc' releases the version will be# -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-6-stable updated
The branch, v3-6-stable has been updated via 21b73d1 WHATSNEW: Start release notes for 3.6.0pre3. via c504c5c VERSION: Bump version number up to 3.6.0pre2. from da2a2e1 WHATSNEW: Fix date. http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-stable - Log - commit 21b73d1198af28c22b6d57a67f1eb9afb270a093 Author: Karolin Seeger ksee...@samba.org Date: Tue Apr 12 20:08:44 2011 +0200 WHATSNEW: Start release notes for 3.6.0pre3. Karolin (cherry picked from commit a5813a07d2428265c204636aa6cd508004718e85) commit c504c5c34fc0c3ee1d200d79a1cb85c2e4d76a68 Author: Karolin Seeger ksee...@samba.org Date: Tue Apr 12 20:06:41 2011 +0200 VERSION: Bump version number up to 3.6.0pre2. Karolin (cherry picked from commit ec3976b684fe4b3549bf2119a299be1b038e3eab) --- Summary of changes: WHATSNEW.txt| 10 +++--- source3/VERSION |2 +- 2 files changed, 8 insertions(+), 4 deletions(-) Changeset truncated at 500 lines: diff --git a/WHATSNEW.txt b/WHATSNEW.txt index d0995f5..a5cdeca 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -1,10 +1,10 @@ = - Release Notes for Samba 3.6.0pre2 -April 12, 2011 + Release Notes for Samba 3.6.0pre3 +April 26, 2011 = -This is the second preview release of Samba 3.6.0. This is *not* +This is the third preview release of Samba 3.6.0. This is *not* intended for production environments and is designed for testing purposes only. Please report any defects via the Samba bug reporting system at https://bugzilla.samba.org/. @@ -249,6 +249,10 @@ o Andreas Schneider a...@samba.org * Add an Endpoint Mapper daemon. +Changes since 3.6.0pre2 +--- + + Changes since 3.6.0pre1 --- diff --git a/source3/VERSION b/source3/VERSION index 2390a2c..0c18057 100644 --- a/source3/VERSION +++ b/source3/VERSION @@ -46,7 +46,7 @@ SAMBA_VERSION_REVISION= # e.g. SAMBA_VERSION_PRE_RELEASE=1 # # - 2.2.9pre1 # -SAMBA_VERSION_PRE_RELEASE=2 +SAMBA_VERSION_PRE_RELEASE=3 # For 'rc' releases the version will be# -- Samba Shared Repository
[SCM] Samba Website Repository - branch master updated
The branch, master has been updated via e72fad3 Fix date. from 7087751 Announce Samba 3.6.0pre2. http://gitweb.samba.org/?p=samba-web.git;a=shortlog;h=master - Log - commit e72fad31cd5722c8b4a511b12674f895da3144ce Author: Karolin Seeger ksee...@samba.org Date: Tue Apr 12 20:20:18 2011 +0200 Fix date. Karolin --- Summary of changes: generated_news/latest_10_bodies.html |2 +- generated_news/latest_2_bodies.html |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Changeset truncated at 500 lines: diff --git a/generated_news/latest_10_bodies.html b/generated_news/latest_10_bodies.html index 93e8adc..e3c547d 100644 --- a/generated_news/latest_10_bodies.html +++ b/generated_news/latest_10_bodies.html @@ -1,4 +1,4 @@ - h5a name=3.6.0pre228 July 2010/a/h5 + h5a name=3.6.0pre212 April 2011/a/h5 p class=headlineSamba 3.6.0pre2 Available for Download/p pSamba 3.6.0pre2 is available for download. This is a preview of the next upgrade production release version of Samba. diff --git a/generated_news/latest_2_bodies.html b/generated_news/latest_2_bodies.html index 3e8f8ce..e9c9302 100644 --- a/generated_news/latest_2_bodies.html +++ b/generated_news/latest_2_bodies.html @@ -1,4 +1,4 @@ - h5a name=3.6.0pre228 July 2010/a/h5 + h5a name=3.6.0pre212 April 2011/a/h5 p class=headlineSamba 3.6.0pre2 Available for Download/p pSamba 3.6.0pre2 is available for download. This is a preview of the next upgrade production release version of Samba. -- Samba Website Repository
[SCM] Samba GTK+ frontends branch, master, updated. 99b801e0ccd9d9f0d0a34535a19a592bdd931ade
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project Samba GTK+ frontends. The branch, master has been updated via 99b801e0ccd9d9f0d0a34535a19a592bdd931ade (commit) from a9afd76f021132bac7effeb1ea3733d60591feee (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit 99b801e0ccd9d9f0d0a34535a19a592bdd931ade Author: Jelmer Vernooij jel...@samba.org Date: Tue Apr 12 23:44:31 2011 +0200 Add gtkldb desktop file. --- Summary of changes: meta/{gwsam.desktop = gtkldb.desktop} |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) copy meta/{gwsam.desktop = gtkldb.desktop} (59%) hooks/post-receive -- Samba GTK+ frontends
[SCM] Samba GTK+ frontends branch, master, updated. 4129587eda424b80225db06c12815414f1c17888
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project Samba GTK+ frontends. The branch, master has been updated via 4129587eda424b80225db06c12815414f1c17888 (commit) from 99b801e0ccd9d9f0d0a34535a19a592bdd931ade (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit 4129587eda424b80225db06c12815414f1c17888 Author: Jelmer Vernooij jel...@samba.org Date: Tue Apr 12 23:58:19 2011 +0200 Move gepdump to bin/ --- Summary of changes: gepdump = bin/gepdump |0 gregedit |4 ++-- setup.py |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename gepdump = bin/gepdump (100%) hooks/post-receive -- Samba GTK+ frontends
[SCM] Samba GTK+ frontends branch, master, updated. 52c567cad6707af77b115baf0e33d22d7d1e9e18
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project Samba GTK+ frontends. The branch, master has been updated via 52c567cad6707af77b115baf0e33d22d7d1e9e18 (commit) from 4129587eda424b80225db06c12815414f1c17888 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit 52c567cad6707af77b115baf0e33d22d7d1e9e18 Author: Jelmer Vernooij jel...@samba.org Date: Wed Apr 13 00:09:42 2011 +0200 remove remaining C files. --- Summary of changes: Makefile | 93 - Makefile.settings.in | 57 autogen.sh |2 - common/credentials.c | 152 common/gtk-smb.c | 329 --- common/gtk-smb.h | 86 common/gtk_events.c | 376 -- common/select.c | 302 common/select.h | 88 configure.ac | 49 --- gtksamba.pc.in | 10 -- install-sh | 323 --- 12 files changed, 0 insertions(+), 1867 deletions(-) delete mode 100644 Makefile delete mode 100644 Makefile.settings.in delete mode 100755 autogen.sh delete mode 100644 common/credentials.c delete mode 100644 common/gtk-smb.c delete mode 100644 common/gtk-smb.h delete mode 100644 common/gtk_events.c delete mode 100644 common/select.c delete mode 100644 common/select.h delete mode 100644 configure.ac delete mode 100644 gtksamba.pc.in delete mode 100755 install-sh hooks/post-receive -- Samba GTK+ frontends
[SCM] Samba GTK+ frontends branch, master, updated. 265ea9c00353f6a1b1b795fe9203b8979a4974c6
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project Samba GTK+ frontends. The branch, master has been updated via 265ea9c00353f6a1b1b795fe9203b8979a4974c6 (commit) from 52c567cad6707af77b115baf0e33d22d7d1e9e18 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit 265ea9c00353f6a1b1b795fe9203b8979a4974c6 Author: Jelmer Vernooij jel...@samba.org Date: Wed Apr 13 00:49:18 2011 +0200 Install metadata files. --- Summary of changes: setup.py |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) hooks/post-receive -- Samba GTK+ frontends
[SCM] CTDB repository - branch 1.2 updated - ctdb-1.9.1-416-gdcbb31f
The branch, 1.2 has been updated via dcbb31f9fa9a59c2a795cf48d1adf90a47421ba2 (commit) via b259c9db48fc1ad99a65d63fb04451f837a9af56 (commit) from 671eff3ccf1914de110909b9eb5d7844c8aebb3b (commit) http://gitweb.samba.org/?p=ctdb.git;a=shortlog;h=1.2 - Log - commit dcbb31f9fa9a59c2a795cf48d1adf90a47421ba2 Author: Ronnie Sahlberg ronniesahlb...@gmail.com Date: Wed Apr 13 07:51:36 2011 +1000 bonding mode 4 monitoring: we can not just check if MII Status is up for bonding mode 4, since the kernel will always report the bond device as UP even if all cables are disconneccted. For mode 4, ignore the status of the bond device and instead chek if at least one slave interface is up when determining if the device is good or bad commit b259c9db48fc1ad99a65d63fb04451f837a9af56 Author: Ronnie Sahlberg ronniesahlb...@gmail.com Date: Tue Apr 12 05:24:43 2011 +1000 If the eventscript is finished but state-ctdb is NULL, log an error and return. (Need to find root cause for this is soo too.) --- Summary of changes: config/events.d/10.interface |8 server/eventscript.c |5 + 2 files changed, 13 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/config/events.d/10.interface b/config/events.d/10.interface index 2ca8eae..e0689c4 100755 --- a/config/events.d/10.interface +++ b/config/events.d/10.interface @@ -63,6 +63,14 @@ monitor_interfaces() ctdb setifacelink $IFACE down continue; } + grep -q '^Bonding Mode: IEEE 802.3ad Dynamic link aggregation' /proc/net/bonding/$REALIFACE { + grep 'MII Status:' /proc/net/bonding/$REALIFACE | tail -n +2 | grep -q '^MII Status: up' || { + echo No active slaves for 802.ad bond device $REALIFACE + ctdb setifacelink $IFACE down + fail=1 + continue + } + } ok=1 # we only set ok for interfaces known to ctdbd ctdb setifacelink $IFACE up continue; diff --git a/server/eventscript.c b/server/eventscript.c index 9ba3a5d..0967c00 100644 --- a/server/eventscript.c +++ b/server/eventscript.c @@ -448,6 +448,11 @@ static void ctdb_event_script_handler(struct event_context *ev, struct fd_event struct ctdb_context *ctdb = state-ctdb; int r, status; + if (ctdb == NULL) { + DEBUG(DEBUG_ERR,(Eventscript finished but ctdb is NULL\n)); + return; + } + r = read(state-fd[0], current-status, sizeof(current-status)); if (r 0) { current-status = -errno; -- CTDB repository
[SCM] CTDB repository - branch 1.2.27 updated - ctdb-1.9.1-409-g8411e70
The branch, 1.2.27 has been updated via 8411e70e021f5ac90731059a02bec2a29ffc43b2 (commit) from 4dcbd355fe95adf0f0380bcd447effc6862b7d93 (commit) http://gitweb.samba.org/?p=ctdb.git;a=shortlog;h=1.2.27 - Log - commit 8411e70e021f5ac90731059a02bec2a29ffc43b2 Author: Ronnie Sahlberg ronniesahlb...@gmail.com Date: Wed Apr 13 07:51:36 2011 +1000 bonding mode 4 monitoring: we can not just check if MII Status is up for bonding mode 4, since the kernel will always report the bond device as UP even if all cables are disconneccted. For mode 4, ignore the status of the bond device and instead chek if at least one slave interface is up when determining if the device is good or bad --- Summary of changes: config/events.d/10.interface |8 1 files changed, 8 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/config/events.d/10.interface b/config/events.d/10.interface index 2ca8eae..e0689c4 100755 --- a/config/events.d/10.interface +++ b/config/events.d/10.interface @@ -63,6 +63,14 @@ monitor_interfaces() ctdb setifacelink $IFACE down continue; } + grep -q '^Bonding Mode: IEEE 802.3ad Dynamic link aggregation' /proc/net/bonding/$REALIFACE { + grep 'MII Status:' /proc/net/bonding/$REALIFACE | tail -n +2 | grep -q '^MII Status: up' || { + echo No active slaves for 802.ad bond device $REALIFACE + ctdb setifacelink $IFACE down + fail=1 + continue + } + } ok=1 # we only set ok for interfaces known to ctdbd ctdb setifacelink $IFACE up continue; -- CTDB repository
[SCM] CTDB repository - branch master updated - ctdb-1.10-186-ga6930ce
The branch, master has been updated via a6930cec6d9503dba18b9d4839d87a1c1a8ddba2 (commit) via 2e80d53b73fcba58ed5a72bab66c051691ccf719 (commit) from 4ab63d2a7262aff30d5eced184c294c9c9dd4974 (commit) http://gitweb.samba.org/?p=ctdb.git;a=shortlog;h=master - Log - commit a6930cec6d9503dba18b9d4839d87a1c1a8ddba2 Author: Ronnie Sahlberg ronniesahlb...@gmail.com Date: Wed Apr 13 07:51:36 2011 +1000 bonding mode 4 monitoring: we can not just check if MII Status is up for bonding mode 4, since the kernel will always report the bond device as UP even if all cables are disconneccted. For mode 4, ignore the status of the bond device and instead chek if at least one slave interface is up when determining if the device is good or bad commit 2e80d53b73fcba58ed5a72bab66c051691ccf719 Author: Ronnie Sahlberg ronniesahlb...@gmail.com Date: Tue Apr 12 05:24:43 2011 +1000 If the eventscript is finished but state-ctdb is NULL, log an error and return. (Need to find root cause for this is soo too.) --- Summary of changes: config/events.d/10.interface |8 server/eventscript.c |5 + 2 files changed, 13 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/config/events.d/10.interface b/config/events.d/10.interface index 2ca8eae..e0689c4 100755 --- a/config/events.d/10.interface +++ b/config/events.d/10.interface @@ -63,6 +63,14 @@ monitor_interfaces() ctdb setifacelink $IFACE down continue; } + grep -q '^Bonding Mode: IEEE 802.3ad Dynamic link aggregation' /proc/net/bonding/$REALIFACE { + grep 'MII Status:' /proc/net/bonding/$REALIFACE | tail -n +2 | grep -q '^MII Status: up' || { + echo No active slaves for 802.ad bond device $REALIFACE + ctdb setifacelink $IFACE down + fail=1 + continue + } + } ok=1 # we only set ok for interfaces known to ctdbd ctdb setifacelink $IFACE up continue; diff --git a/server/eventscript.c b/server/eventscript.c index 9ba3a5d..0967c00 100644 --- a/server/eventscript.c +++ b/server/eventscript.c @@ -448,6 +448,11 @@ static void ctdb_event_script_handler(struct event_context *ev, struct fd_event struct ctdb_context *ctdb = state-ctdb; int r, status; + if (ctdb == NULL) { + DEBUG(DEBUG_ERR,(Eventscript finished but ctdb is NULL\n)); + return; + } + r = read(state-fd[0], current-status, sizeof(current-status)); if (r 0) { current-status = -errno; -- CTDB repository
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 380bd49 build: use readelf as a replacement for ldd via cec7c53 libds: Make flag_mapping a library via fe458f2 lib/util make UTIL_TDB a library via 5694ba5 libcli/ldap pull LIBCLI_LDAP_MESSAGE and LIBCLI_LDAP_NDR into a library via 601835e build: speed up SYMBOLCHECK code from 4edc98e s3: For net ads join, create a krb5.conf http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 380bd493bb02744dfd4e88a875d3beabb3c784f8 Author: Andrew Tridgell tri...@samba.org Date: Tue Apr 12 21:20:41 2011 +1000 build: use readelf as a replacement for ldd using readelf allows us to do a non-recursive library listing, which is important to remove false positive symbol duplication Autobuild-User: Andrew Tridgell tri...@samba.org Autobuild-Date: Wed Apr 13 04:37:33 CEST 2011 on sn-devel-104 commit cec7c53da955ade9a218fdf0aaa44568d2417eb7 Author: Andrew Bartlett abart...@samba.org Date: Fri Apr 8 13:18:14 2011 +1000 libds: Make flag_mapping a library This is a tiny library, but otherwise the functions end up in multiple other libraries. Andrew Bartlett commit fe458f23addff53378c5984fa80b813af821c98e Author: Andrew Bartlett abart...@samba.org Date: Fri Apr 8 12:55:49 2011 +1000 lib/util make UTIL_TDB a library commit 5694ba507cf3774f6f1d30bb2b584a5f28b88a4b Author: Andrew Bartlett abart...@samba.org Date: Fri Apr 8 11:16:45 2011 +1000 libcli/ldap pull LIBCLI_LDAP_MESSAGE and LIBCLI_LDAP_NDR into a library This reduces symbol duplication Andrew Bartlett commit 601835ee6db8952911216f8f7f02f5101dc3b269 Author: Andrew Tridgell tri...@samba.org Date: Tue Apr 12 11:11:55 2011 +1000 build: speed up SYMBOLCHECK code this uses a nm and ldd cache to speed up the duplicate symbol checking code Pair-Programmed-With: Andrew Bartlett abart...@samba.org --- Summary of changes: buildtools/wafsamba/symbols.py| 141 + lib/util/wscript_build|5 +- libcli/ldap/wscript_build | 20 ++ libds/common/wscript_build|8 ++- source3/passdb/wscript_build |2 +- source3/wscript_build |8 +- source4/dsdb/wscript_build|4 +- source4/libcli/ldap/wscript_build |2 +- 8 files changed, 132 insertions(+), 58 deletions(-) Changeset truncated at 500 lines: diff --git a/buildtools/wafsamba/symbols.py b/buildtools/wafsamba/symbols.py index 5059c60..ed19517 100644 --- a/buildtools/wafsamba/symbols.py +++ b/buildtools/wafsamba/symbols.py @@ -1,7 +1,7 @@ # a waf tool to extract symbols from object files or libraries # using nm, producing a set of exposed defined/undefined symbols -import Utils, Build, subprocess, Logs +import Utils, Build, subprocess, Logs, re from samba_wildcard import fake_build_environment from samba_utils import * @@ -21,12 +21,30 @@ from samba_utils import * # # LOCAL_CACHE(bld, 'TARGET_TYPE') : dictionary mapping subsystem name to target type -def symbols_extract(objfiles, dynamic=False): + +def symbols_extract(bld, objfiles, dynamic=False): '''extract symbols from objfile, returning a dictionary containing the set of undefined and public symbols for each file''' ret = {} +# see if we can get some results from the nm cache +if not bld.env.nm_cache: +bld.env.nm_cache = {} + +objfiles = set(objfiles).copy() + +remaining = set() +for obj in objfiles: +if obj in bld.env.nm_cache: +ret[obj] = bld.env.nm_cache[obj].copy() +else: +remaining.add(obj) +objfiles = remaining + +if len(objfiles) == 0: +return ret + cmd = [nm] if dynamic: # needed for some .so files @@ -60,6 +78,13 @@ def symbols_extract(objfiles, dynamic=False): elif symbol_type in U: ret[filename][UNDEFINED].add(symbol) +# add to the cache +for obj in objfiles: +if obj in ret: +bld.env.nm_cache[obj] = ret[obj].copy() +else: +bld.env.nm_cache[obj] = { PUBLIC: set(), UNDEFINED : set() } + return ret @@ -69,35 +94,102 @@ def real_name(name): return name -def get_ldd_libs(bld, binname): -'''find the list of linked libraries for any binary or library -binname is the path to the binary/library on disk -''' -ret = set() -lddpipe = subprocess.Popen(['ldd', binname], stdout=subprocess.PIPE).stdout +def find_ldd_path(bld, libname, binary): +'''find the path to the syslib we will link against''' +ret = None +if not bld.env.syslib_paths: +bld.env.syslib_paths = {} +if libname in bld.env.syslib_paths: +return bld.env.syslib_paths[libname] + +
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 887fdb7 s4-test: added a test for E_deshash() via 4158e9a s3-charcnv: Move convert_string() et al to lib/util/charset via bf431fb libcli/auth Use convert_string_error to check LM hash calculation. via d335b63 lib/util/charset Add many more charset tests via 748c31d lib/util/charset Add convert_string_error() via 8db1648 lib/util/charset Make ASCII conversion validate it's input via 1d4fb07 s3-selftest Add workaround for RAP test failure via a2c691a lib/util/charset Rename convert_string test to allow a 'non_handle' test via 7bbd701 lib/util/charset Add more tests for convert_string_error_handle() via 9346382 lib/util/charset Preserve 'pull' errors even when converting via UTF16 via 1efa600 lib/util/charset Add tests for convert_string_error_handle via b21129a lib/util/charset Add expected values for upper/lower case tests via cd63c92 lib/util/charset Fix and add public interface for convert_string_error_handle via 87d2722 s4/torture Fix calls to charcnv functions to always supply converted_size via 17ccff9 lib/util: Make string_replace from s3 common via b2e37d9 lib/util ucs2_align is identical, put it in common via 2eea919 lib/util Move simple string routines into common code. via 9941dfe lib/util/charset Move source3/lib/util_unistr.c to the common code. via ce2f217 s3-lib Move strdup_w to it's only user in mangle_hash.c via e3138f2 s3-lib Move isvalid83_w to mangle_hash.c via d458f6b s3-lib make static and remove more _w functions via a82fba3 s3-lib Remove unused #define via ba2b7f7 s3-lib Remove unused skip_unibuf() via 8fcda44 s3-lib: Remove unused _w functions. via 5cfb0bd s3-lib Correct comment in strlen_w() via 43deb97 s3-lib Remove more unused fstring.c functions via c8a5fa3 s3-charcnv: make pull_ucs2 static via b6a8418 s3-lib: Remove unused pull_ucs2_fstring() from 380bd49 build: use readelf as a replacement for ldd http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 887fdb7ba126f280682699d19bcc2931e9c3602d Author: Andrew Tridgell tri...@samba.org Date: Wed Apr 13 14:40:27 2011 +1000 s4-test: added a test for E_deshash() this particularly checks the boundary conditions near passwords of length 14 characters Pair-Programmed-With: Andrew Bartlett abart...@samba.org Autobuild-User: Andrew Tridgell tri...@samba.org Autobuild-Date: Wed Apr 13 07:31:55 CEST 2011 on sn-devel-104 commit 4158e9a7e59c489c90097ac10d44640ccdd4470d Author: Andrew Bartlett abart...@samba.org Date: Tue Apr 12 14:01:41 2011 +1000 s3-charcnv: Move convert_string() et al to lib/util/charset This is the first step to this being the common convert_string implementation. Andrew Bartlett Signed-off-by: Andrew Tridgell tri...@samba.org commit bf431fbedb8119b392b071f903b63e0f9671ee49 Author: Andrew Bartlett abart...@samba.org Date: Tue Apr 12 11:29:59 2011 +1000 libcli/auth Use convert_string_error to check LM hash calculation. This allows us to know if the LM hash was built correctly or not. NOTE: talloc_tos() is not available in the common code at this time. Andrew Bartlett Signed-off-by: Andrew Tridgell tri...@samba.org commit d335b635c2a5ebd8ac5478a4293798072ac18d47 Author: Andrew Bartlett abart...@samba.org Date: Tue Apr 12 10:37:24 2011 +1000 lib/util/charset Add many more charset tests This confirms that the behaviour of the convert_string() API (with the process-wide iconv handle). Andrew Bartlett Signed-off-by: Andrew Tridgell tri...@samba.org commit 748c31dc5de762942770b4cced8c1ea827d8e040 Author: Andrew Bartlett abart...@samba.org Date: Tue Apr 12 10:36:37 2011 +1000 lib/util/charset Add convert_string_error() This adds an interface that matches the source3/ convert string code. Andrew Bartlett Signed-off-by: Andrew Tridgell tri...@samba.org commit 8db1648f6644acca05ca41fd3803468bba98993d Author: Andrew Bartlett abart...@samba.org Date: Tue Apr 12 10:35:43 2011 +1000 lib/util/charset Make ASCII conversion validate it's input We should not just strip the high bits off unicode strings being converted to ASCII, we need to actually fail the conversion. Andrew Bartlett Signed-off-by: Andrew Tridgell tri...@samba.org commit 1d4fb073ecd77a8289b064d4eb6bb148ba49c11b Author: Andrew Bartlett abart...@samba.org Date: Wed Apr 13 11:37:33 2011 +1000 s3-selftest Add workaround for RAP test failure The rap.sam test reads 0x as a string in the level 2 r-HomeDir attribute, which once we start validating ASCII strings