Re: [Samba] samba documentation error
Hi Jason, On Sat, Jan 17, 2009 at 03:40:20PM -0600, Jason Ellison wrote: Hello I found an issue with samba documentation on the website and in the source archive. The document states to use -B with winbindd. There is not a -B option for winbindd... I think it was intended to be -D ? [r...@server source]# /usr/local/samba/sbin/winbindd -B Invalid option -B: unknown option Usage: winbindd [-?] [-?SFDinV] [-?|--help] [--usage] [-S|--stdout] [-F|--foreground] [--no-process-group] [-D|--daemon] [-i|--interactive] [-n|--no-caching] [-d|--debuglevel DEBUGLEVEL] [-s|--configfile CONFIGFILE] [-l|--log-basename LOGFILEBASE] [-V|--version] fixed with 7c1e0851. Will be included in the next releases. Thanks for reporting! Karolin -- SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen phone: +49-551-37-0, fax: +49-551-37-9 AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen http://www.SerNet.DE, mailto: Info @ SerNet.DE pgp3FpVpJmI2P.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Changes on samba server screwed windows profiles
Hi again No one any ideas? Dennis -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Windows 7 Beta and Samba PDC
Please see http://lists.samba.org/archive/samba-technical/2009-January/062827.html Thanks, Volker Apologies, I searched the samba archives and not the samba-technical. Thank you, Nick. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Windows 7 Beta and Samba PDC
On Mon, Jan 19, 2009 at 07:58:38PM +1100, Nicolas Triantafillou wrote: http://lists.samba.org/archive/samba-technical/2009-January/062827.html Thanks, Volker Apologies, I searched the samba archives and not the samba-technical. Thank you, No problem. I'm listening to both lists :-) Volker pgpxb9ZivGOf3.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] recycle vfs module
Dear all I am using samba 3.0.28 on RHEL5.2. I configured VFS to store deleted file from samba share. Now i want to write script to delete files from recycle store after 7 days of deleting file from samba share. How i know the date when file was deleted from samba share. Thanks -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] winbindd did not start
Hello all, I have a problem with starting the winbind daemon. I want to connect to a win2003 server domain. I get the following error message when i start winbindd with: winbind -d10 -i winbindd version 3.2.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 initialize_winbindd_cache: clearing cache and re-creating with version number 1 Could not fetch our SID - did we join? unable to initialize domain list in log.winbind i can read [2009/01/19 10:18:51, 0] winbindd/winbindd.c:main(1132) winbindd version 3.2.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 [2009/01/19 10:18:51, 0] winbindd/winbindd_cache.c:initialize_winbindd_cache(2374) initialize_winbindd_cache: clearing cache and re-creating with version number 1 [2009/01/19 10:18:51, 0] winbindd/winbindd_util.c:init_domain_list(736) Could not fetch our SID - did we join? [2009/01/19 10:18:51, 0] winbindd/winbindd.c:main(1274) unable to initialize domain list net rpc join Joined domain HUDE. is successful net ads join -U Administrator Joined 'SERVER02' to realm 'HUDE.LOCAL' is also successful I don't know where the problem is. Best regards M.Schmitz -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] winbindd did not start
Hello all, I have a problem with starting the winbind daemon. I want to connect to a win2003 server domain. I get the following error message when i start winbindd with: winbind -d10 -i winbindd version 3.2.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 initialize_winbindd_cache: clearing cache and re-creating with version number 1 Could not fetch our SID - did we join? unable to initialize domain list in log.winbind i can read [2009/01/19 10:18:51, 0] winbindd/winbindd.c:main(1132) winbindd version 3.2.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 [2009/01/19 10:18:51, 0] winbindd/winbindd_cache.c:initialize_winbindd_cache(2374) initialize_winbindd_cache: clearing cache and re-creating with version number 1 [2009/01/19 10:18:51, 0] winbindd/winbindd_util.c:init_domain_list(736) Could not fetch our SID - did we join? [2009/01/19 10:18:51, 0] winbindd/winbindd.c:main(1274) unable to initialize domain list net rpc join Joined domain HUDE. is successful net ads join -U Administrator Joined 'SERVER02' to realm 'HUDE.LOCAL' is also successful I don't know where the problem is. Best regards M.Schmitz -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] winbindd did not start
Hello all, I have a problem with starting the winbind daemon. I want to connect to a win2003 server domain. I get the following error message when i start winbindd with: winbind -d10 -i winbindd version 3.2.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 initialize_winbindd_cache: clearing cache and re-creating with version number 1 Could not fetch our SID - did we join? unable to initialize domain list in log.winbind i can read [2009/01/19 10:18:51, 0] winbindd/winbindd.c:main(1132) winbindd version 3.2.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 [2009/01/19 10:18:51, 0] winbindd/winbindd_cache.c:initialize_winbindd_cache(2374) initialize_winbindd_cache: clearing cache and re-creating with version number 1 [2009/01/19 10:18:51, 0] winbindd/winbindd_util.c:init_domain_list(736) Could not fetch our SID - did we join? [2009/01/19 10:18:51, 0] winbindd/winbindd.c:main(1274) unable to initialize domain list net rpc join Joined domain HUDE. is successful net ads join -U Administrator Joined 'SERVER02' to realm 'HUDE.LOCAL' is also successful I don't know where the problem is. Best regards M.Schmitz -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] recycle vfs module
If you shares are on a filesystem that does ctime, you can find files with a ctime older than 7 days. ctime should update when the files are moved to the recycle directory. For example, you could use find like this: find /full/path/to/.recycled/ -ctime +7 TB vishesh kumar wrote: Dear all I am using samba 3.0.28 on RHEL5.2. I configured VFS to store deleted file from samba share. Now i want to write script to delete files from recycle store after 7 days of deleting file from samba share. How i know the date when file was deleted from samba share. Thanks -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] winbindd did not start
Hello all, I have a problem with starting the winbind daemon. I want to connect to a win2003 server domain. I get the following error message when i start winbindd with: winbind -d10 -i winbindd version 3.2.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 initialize_winbindd_cache: clearing cache and re-creating with version number 1 Could not fetch our SID - did we join? unable to initialize domain list in log.winbind i can read [2009/01/19 10:18:51, 0] winbindd/winbindd.c:main(1132) winbindd version 3.2.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 [2009/01/19 10:18:51, 0] winbindd/winbindd_cache.c:initialize_winbindd_cache(2374) initialize_winbindd_cache: clearing cache and re-creating with version number 1 [2009/01/19 10:18:51, 0] winbindd/winbindd_util.c:init_domain_list(736) Could not fetch our SID - did we join? [2009/01/19 10:18:51, 0] winbindd/winbindd.c:main(1274) unable to initialize domain list net rpc join Joined domain HUDE. is successful net ads join -U Administrator Joined 'SERVER02' to realm 'HUDE.LOCAL' is also successful I don't know where the problem is. Best regards M.Schmitz -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Strange problems with ADS-groups and winbindd
Hello, we experience some strange problems with group memberships of ADS users using samba v3.2.4 on SLES-9. An upgrade to v3.2.7 didn't help. Changes to the membership of users in ADS universal groups doesn't take effect at all or take long time (1 day) to be seen on the linux side. For example the command net shows the following GIDs of a user: # for i in $(net ads user info thenneri -U xxx) do getent group $i | awk -F : '{ print $3 }' done | sort Enter xxx's password: 10006 10007 10008 10009 10011 10374 The wbinfo shows the following GIDs of the same user: # wbinfo -r thenneri | sort 10003 10005 10006 10007 10008 10009 10010 10011 10005 is domain users - seems to be ok. 10003 is BUILTIN\users - I have no idea, how I get into that group. The group 10010 is wrong! The group 10374 is missing! After deleting some cache files from winbind, the output of wbinfo looks more like the net command: # /etc/init.d/winbind stop Shutting down Samba WINBIND daemon done # cd /var/lib/samba # mv netsamlogon_cache.tdb netsamlogon_cache.tdb.OLD # mv winbindd_cache.tdb winbindd_cache.tdb.OLD # /etc/init.d/winbind start Starting Samba WINBIND daemon done # wbinfo -r thenneri | sort 10003 10005 10006 10007 10008 10009 10010 10011 10374 The group 10010 is still wrong, but now the missing group 10374 is shown with both commands. This output doesn't change for the next few hours until we restart the nmb-daemon (?!? - restarting winbind or smb doesn't have any effect) : # /etc/init.d/nmb restart Shutting down Samba NMB daemon done Starting Samba NMB daemon done # wbinfo -r thenneri | sort 10003 10005 10006 10007 10008 10009 10010 10011 Now the group 10374 is missing again! Our smb.conf looks like this: [global] workgroup = XX realm = xx..com security = ADS encrypt passwords = yes preferred master = no idmap uid = 1-5 idmap gid = 1-5 winbind use default domain = yes template shell = /bin/bash winbind refresh tickets = true client use spnego = yes use kerberos keytab = true winbind cache time = 30 [share] comment = sharing directory browseable = yes available = yes path = /data/share/ guest ok = no printable = no writeable = yes Has someone any idea how to debug this? Thank you for your help! Best regards Tobias -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Winbind+nss working on one centOS 5.2 box but not another
Hi all, I have an odd situation on my hands: * Two CentOS 5.2 boxes both joined to an AD domain. * Same samba version (3.0.28-1.el5_2.1) smb.conf, only the netbios names differ * Can enumerate users and groups using winbind -{u,g} on both. * nss doesn't enumerate users groups on one (same lib versions, same conf file). //ben...@testukmcsstor1//:~$ rpm -qa | grep nss- nss-tools-3.12.2.0-2.el5.centos nss-3.12.2.0-2.el5.centos pkinit-nss-0.7.3-1.el5 nss-3.12.2.0-2.el5.centos Looks like this may be more of a libnss problem than a samba one, but can anyone suggest how I can start to troubleshoot? Thanks in advance, Ben Tisdall -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Update: Winbind+nss working on one centOS 5.2 box but not another
Something is not right with the group mapping, but I am unsure what. getent returns different a primary GID for a given user on each box and the group mapping differs in each case: Box A: //u...@host//:~$ getent group 10012 OURDOMAIN\domain users:*:10012: Box B: //u...@host//:~$ getent group 10004 OURDOMAIN\domain users:*:10004: When I do a long file listing winbindd is printing stuff like this: [14855]: getpwuid 10082 Added timed event async_request_timeout: 2ae2266d45b0 child daemon request 51 timed_events_timeout: 299/87 process_request: request fn DUAL_UID2SID [14254]: uid to sid 10082 uid = [10082] Cache entry with key = IDMAP/UID/10082 couldn't be found Query backends to map ids-sids Query sids from domain OURDOMAIN Fetching record UID 10082 Record UID 10082 not found Query sids from domain SAMBASERVER pdb_default_uid_to_rid: host has no idea of uid 10082 Storing response for pid 14257, len 3240 Destroying timed event 2ae2266d45b0 async_request_timeout Retrieving response for pid 14257 uid2sid_recv: uid 10082 has sid S-1-22-1-10082 Could not find domain for sid S-1-22-1-10082 Ben Tisdall wrote: Hi all, I have an odd situation on my hands: * Two CentOS 5.2 boxes both joined to an AD domain. * Same samba version (3.0.28-1.el5_2.1) smb.conf, only the netbios names differ * Can enumerate users and groups using winbind -{u,g} on both. * nss doesn't enumerate users groups on one (same lib versions, same conf file). //ben...@testukmcsstor1//:~$ rpm -qa | grep nss- nss-tools-3.12.2.0-2.el5.centos nss-3.12.2.0-2.el5.centos pkinit-nss-0.7.3-1.el5 nss-3.12.2.0-2.el5.centos Looks like this may be more of a libnss problem than a samba one, but can anyone suggest how I can start to troubleshoot? Thanks in advance, Ben Tisdall -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] File permissions
John H Terpstra wrote: On Sunday 18 January 2009 18:38:25 Daniel L. Miller wrote: Is it possible to define file rights, such that - The file is owned by root, with full privleges on the Linux server. The file is shared by a group users. The shared file should be available for read and write access. That part's easy - but now Deny delete, overwrite, or rename access to this file. Is this possible? -- Daniel Please explain how a user can have write access to a file but not overwrite access? The ability to write implies the ability to change the name as well as the contents of a file. Can you provide a clear description of what you really wish to achieve? - John T. Oh - you want me to tell you want I want to do, so you can tell me the right way how - instead of helping with the wrong way to do it? Geez... Ok, since you insist. I'm trying to accommodate Quickbooks (Enterprise Edition). Users need to be able to open the file for read write access or Quickbooks complains. However, I don't want the clients to be able to destroy the file (outside of Quickbooks). So I need to allow read/write via Samba - but I want to protect the file as much as possible. I have the UNIX file owned by root (which the QB SQL server runs as). The UNIX group ownership is the windows users. Setting the UNIX group privileges to read only results in QB errors. So I don't see how to protect it just using UNIX privileges - so I thought perhaps there was a way via Samba. I (mis)remember some Windoze ACL's might allow for this type of special access control. If Quickbooks used a real SQL interface, then it wouldn't be a problem. But...it doesn't. -- Daniel -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] File permissions
On Monday 19 January 2009 14:29:16 Daniel L. Miller wrote: John H Terpstra wrote: On Sunday 18 January 2009 18:38:25 Daniel L. Miller wrote: Is it possible to define file rights, such that - The file is owned by root, with full privleges on the Linux server. The file is shared by a group users. The shared file should be available for read and write access. That part's easy - but now Deny delete, overwrite, or rename access to this file. Is this possible? -- Daniel Please explain how a user can have write access to a file but not overwrite access? The ability to write implies the ability to change the name as well as the contents of a file. Can you provide a clear description of what you really wish to achieve? - John T. Oh - you want me to tell you want I want to do, so you can tell me the right way how - instead of helping with the wrong way to do it? Geez... Nice try. I'm only trying to help you. If a user has write access then the file can be overwritten or renamed. There is no getting around that. Ok, since you insist. I'm trying to accommodate Quickbooks (Enterprise Edition). Users need to be able to open the file for read write access or Quickbooks complains. However, I don't want the clients to be able to destroy the file (outside of Quickbooks). So I need to allow read/write via Samba - but I want to protect the file as much as possible. If I understand correctly Quickbooks is accessing the files over the Samba share. Correct? If so, then the file must be writable. Is it necessary for users to update the files within Quickbooks? I presume the answer is: Yes! If yes, this means the file must actually be writable - there is no escape from this need. Right? If not, then you can use the VFS module 'readonly' to fake read-write but actually not allow writing to the share. I have the UNIX file owned by root (which the QB SQL server runs as). The UNIX group ownership is the windows users. Setting the UNIX group privileges to read only results in QB errors. So I don't see how to protect it just using UNIX privileges - so I thought perhaps there was a way via Samba. I (mis)remember some Windoze ACL's might allow for this type of special access control. If Quickbooks used a real SQL interface, then it wouldn't be a problem. But...it doesn't. Sorry, I can;t help you there. Please speak with Quickbooks about your needs. That way you might help them to create a case to support other platforms. Cheers, John T. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] File permissions
On Mon, Jan 19, 2009 at 3:29 PM, Daniel L. Miller dmil...@amfes.com wrote: John H Terpstra wrote: On Sunday 18 January 2009 18:38:25 Daniel L. Miller wrote: Is it possible to define file rights, such that - The file is owned by root, with full privleges on the Linux server. The file is shared by a group users. The shared file should be available for read and write access. That part's easy - but now Deny delete, overwrite, or rename access to this file. Is this possible? -- Daniel Please explain how a user can have write access to a file but not overwrite access? The ability to write implies the ability to change the name as well as the contents of a file. Can you provide a clear description of what you really wish to achieve? - John T. Oh - you want me to tell you want I want to do, so you can tell me the right way how - instead of helping with the wrong way to do it? Geez... If you allow writing to a file there is no way to prevent overwriting the file with anything. I believe preventing renaming, and deleting are possible if you restrict the posix permissions so that writes on the folder are not permitted by the users. rename and a delete are write operations on the folder not the file. John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Samba 3.2.5 and vscan-clamav.so
Hi Andrzej, try the patch create by me and Leonardo available in https://sourceforge.net/tracker/?func=detailatid=310590aid=2521012group_id=10590 and post your comments. This solution worked fine for us. We use Samba 3.2.5, Samba-vscan and Clamav on a Debian Etch amd64 server. Clever Jr. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba server visibility
Eric Feldhusen wrote: On F9 and F10, I think you also have to do a /sbin/service nmbd start Finally got back to this. You're right, on FC10 (and possibly F9 as well, I don't know), smb and nmb are two separate services. Once I enabled and started nmb, I was able to get to the server just fine. Thanks! -- W | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:ash...@pcraft.com . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] samba stops updating user shares
Can someone please help? nabbleusr1234565 wrote: Can someone please help? nabbleusr1234565 wrote: Can someone please help? nabbleusr1234565 wrote: Can anyone help? I tried some stuff from the samba checklist. The pc could ping both the samba server shwick_gateway and itself shwickhomepc. The server couldn't ping shwickhomepc: ping: unknown host shwickhomepc. It also couldn't ping shwick_gateway. On the server when i do smbclient -L shwick_gateway I get Connection to shwick_gateway failed (Error NT_STATUS_BAD_NETWORK_NAME). On the server when i do nmblookup shwickhomepc it returns the right ip. Also nmblookup shwick_gateway is successful. It seems the netbios lookups are successful from the server and the wins lookups are successful from the pc. The wins lookups aren't successful from the server. I have a bind setup on my machine, but I don't tell samba to check it because I want it using the wins server. I set dns proxy = no. I get the same results with dns proxy = yes. nabbleusr1234565 wrote: When I share a new folder on my XP box it isn't picked up by samba after a while. If I immediately connect to the network and share a folder samba picks it up. After about 10 minutes if I share another folder samba won't pick it up. I notice the same problem with smbtree- after a while it doesn't list user shares. After looking at wireshark I could see that samba stopped sending a Name Query to my XP box. XP was still refreshing it's registration about once every 5 minutes though. I'm using samba 3.0.28a and have no firewalls on the lan, any suggestions are welcome. smb.conf [global] netbios name = SHWICK_GATEWAY server string = SHWICK_GATEWAY interfaces = lo, eth1 bind interfaces only = Yes map to guest = Bad User passdb backend = tdbsam syslog only = Yes name resolve order = lmhosts hosts wins socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE os level = 65 preferred master = Yes domain master = Yes dns proxy = No wins support = Yes invalid users = root [Media] path = /home/ftp/ create mask = 0640 directory mask = 0750 guest only = Yes guest ok = Yes -- View this message in context: http://www.nabble.com/samba-stops-updating-user-shares-tp21269191p21554915.html Sent from the Samba - General mailing list archive at Nabble.com. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: time sync issue
wes wrote: I am running a Samba domain controller with LDAP integration. I have at least some workstations which do not seem to be syncing the time with the DC at all. My first instinct is to simply set the time with a logon script, but of course that runs as the user, whom does not have permission to set the system time. I would prefer to get it working right, to where the system syncs its time with the time server runnong in the DC. I have tried to find the cause. net time \\dc1 works fine. There are no entries in the event log regarding a failure to sync with the time server. What can I do to find out why it's not syncing? Although the literature suggests that the workstations should be able to find the time server automatically since it is running on the domain controller, that does not appear to be true. The error message received is Member of an NT4 domain. Cannot synchronize. So maybe it only works in AD style domains, not NT4 style domains. Run this little batch file once on your XP workstations to get them syncing with your ntp server on your local network. The ntp server may or may not be the samba server. Of course, you have to edit the IP address of your ntp server. rem - filename XPtime.bat rem - this works for windows xp to set up syncing with our ntp time server net time /setsntp:192.168.254.35 net stop w32time net start w32time Note that the procedure is different for Win2000 workstations. Let me know if you need that too. Mark Nienberg -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] samba stops updating user shares
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is this accidental, or are you really being this rude? =R nabbleusr1234565 wrote: Can someone please help? nabbleusr1234565 wrote: Can someone please help? nabbleusr1234565 wrote: Can someone please help? nabbleusr1234565 wrote: Can anyone help? I tried some stuff from the samba checklist. The pc could ping both the samba server shwick_gateway and itself shwickhomepc. The server couldn't ping shwickhomepc: ping: unknown host shwickhomepc. It also couldn't ping shwick_gateway. On the server when i do smbclient -L shwick_gateway I get Connection to shwick_gateway failed (Error NT_STATUS_BAD_NETWORK_NAME). On the server when i do nmblookup shwickhomepc it returns the right ip. Also nmblookup shwick_gateway is successful. It seems the netbios lookups are successful from the server and the wins lookups are successful from the pc. The wins lookups aren't successful from the server. I have a bind setup on my machine, but I don't tell samba to check it because I want it using the wins server. I set dns proxy = no. I get the same results with dns proxy = yes. nabbleusr1234565 wrote: When I share a new folder on my XP box it isn't picked up by samba after a while. If I immediately connect to the network and share a folder samba picks it up. After about 10 minutes if I share another folder samba won't pick it up. I notice the same problem with smbtree- after a while it doesn't list user shares. After looking at wireshark I could see that samba stopped sending a Name Query to my XP box. XP was still refreshing it's registration about once every 5 minutes though. I'm using samba 3.0.28a and have no firewalls on the lan, any suggestions are welcome. smb.conf [global] netbios name = SHWICK_GATEWAY server string = SHWICK_GATEWAY interfaces = lo, eth1 bind interfaces only = Yes map to guest = Bad User passdb backend = tdbsam syslog only = Yes name resolve order = lmhosts hosts wins socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE os level = 65 preferred master = Yes domain master = Yes dns proxy = No wins support = Yes invalid users = root [Media] path = /home/ftp/ create mask = 0640 directory mask = 0750 guest only = Yes guest ok = Yes - -- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II |$| |__| | | |__/ | \| _| |novos...@umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkl1I0MACgkQmb+gadEcsb4zYACgnEeQzlA6g/PvcZpFpo7ZqmxT TboAn2U5X772IOtSGtn4mfl2fRnIc5OG =aKc8 -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] 3 vs 4
Hello guys, I am looking to deploy samba as a Primary Domain Controller on a small network of windows vista PC's. I was wondering if it's worth installing samba 4 alpha versions or if I should go with 3 for now and wait until 4 is final. Will there be a dramatic change in the configuration? i.e. if I work with 3 right now, will I have to do everything from scratch when 4 becomes final? Also any estimations as to when 4 might become production stable? Jubei -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3 vs 4
On Mon, Jan 19, 2009 at 10:07 PM, Nicholas Katzakis nkatza...@gmail.com wrote: Hello guys, I am looking to deploy samba as a Primary Domain Controller on a small network of windows vista PC's. I was wondering if it's worth installing samba 4 alpha versions or if I should go with 3 for now and wait until 4 is final. Will there be a dramatic change in the configuration? i.e. if I work with 3 right now, will I have to do everything from scratch when 4 becomes final? Also any estimations as to when 4 might become production stable? I would install samba-3.2 now and not worry about samba-4. It is not meant to be used in production machines right now and I do not see that changing anytime soon. John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: time sync issue
On Mon, Jan 19, 2009 at 5:56 PM, Mark Nienberg gm...@tippingmar.com wrote: wes wrote: I am running a Samba domain controller with LDAP integration. I have at least some workstations which do not seem to be syncing the time with the DC at all. My first instinct is to simply set the time with a logon script, but of course that runs as the user, whom does not have permission to set the system time. I would prefer to get it working right, to where the system syncs its time with the time server runnong in the DC. I have tried to find the cause. net time \\dc1 works fine. There are no entries in the event log regarding a failure to sync with the time server. What can I do to find out why it's not syncing? Although the literature suggests that the workstations should be able to find the time server automatically since it is running on the domain controller, that does not appear to be true. The error message received is Member of an NT4 domain. Cannot synchronize. So maybe it only works in AD style domains, not NT4 style domains. Run this little batch file once on your XP workstations to get them syncing with your ntp server on your local network. The ntp server may or may not be the samba server. Of course, you have to edit the IP address of your ntp server. rem - filename XPtime.bat rem - this works for windows xp to set up syncing with our ntp time server net time /setsntp:192.168.254.35 net stop w32time net start w32time Note that the procedure is different for Win2000 workstations. Let me know if you need that too. Mark Nienberg I have done this on the XP machines. I think XP only syncs like once a week or something. I would like the directions for 2k as well. I still have a few of those around, but they are on the way out. thanks, -wes -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4835-g3b5d2fd
The branch, v3-3-test has been updated via 3b5d2fd4cc5f7cbe22be1dfc593ca4ba29197b66 (commit) from 005bd7eee44160e4531e46be85c67650821a8328 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log - commit 3b5d2fd4cc5f7cbe22be1dfc593ca4ba29197b66 Author: Karolin Seeger ksee...@samba.org Date: Mon Jan 19 08:55:30 2009 +0100 S3-HowTo: Change 'winbindd -B' to 'winbindd -D'. There is no option '-B' at all. Thanks to Jason Ellison for reporting! Karolin (cherry picked from commit 7c1e08518bfbe054db270e72476c642d5db93c0a) --- Summary of changes: docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml |6 +++--- docs-xml/Samba3-HOWTO/TOSHARG-Winbind.xml |4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml b/docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml index 130da81..1f1f51c 100644 --- a/docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml +++ b/docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml @@ -492,9 +492,9 @@ netbios-ns dgram udp wait root /usr/local/samba/sbin/nmbd nmbd paraprogramlisting #!/bin/sh -/usr/local/samba/sbin/smbd -D -/usr/local/samba/sbin/winbindd -B -/usr/local/samba/sbin/nmbd -D +/usr/local/samba/sbin/smbd -D +/usr/local/samba/sbin/winbindd -D +/usr/local/samba/sbin/nmbd -D /programlisting/para para diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-Winbind.xml b/docs-xml/Samba3-HOWTO/TOSHARG-Winbind.xml index 7731e4e..adb0ba2 100644 --- a/docs-xml/Samba3-HOWTO/TOSHARG-Winbind.xml +++ b/docs-xml/Samba3-HOWTO/TOSHARG-Winbind.xml @@ -1016,7 +1016,7 @@ start() { in the example above with: programlisting -daemon /usr/local/samba/sbin/winbindd -B +daemon /usr/local/samba/sbin/winbindd -D /programlisting. /para @@ -1125,7 +1125,7 @@ Again, if you would like to run Samba in dual daemon mode, replace: /programlisting in the script above with: programlisting -/usr/local/samba/sbin/winbindd -B +/usr/local/samba/sbin/winbindd -D /programlisting /para -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-3375-g0900b10
The branch, v3-2-test has been updated via 0900b10f64fbb9f2e55591d1b11be9bb29526744 (commit) from 652151fe7b0a48b5ae6272a088ce80ad428f1928 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit 0900b10f64fbb9f2e55591d1b11be9bb29526744 Author: Karolin Seeger ksee...@samba.org Date: Mon Jan 19 08:55:30 2009 +0100 S3-HowTo: Change 'winbindd -B' to 'winbindd -D'. There is no option '-B' at all. Thanks to Jason Ellison for reporting! Karolin (cherry picked from commit 7c1e08518bfbe054db270e72476c642d5db93c0a) (cherry picked from commit 3b5d2fd4cc5f7cbe22be1dfc593ca4ba29197b66) --- Summary of changes: docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml |6 +++--- docs-xml/Samba3-HOWTO/TOSHARG-Winbind.xml |4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml b/docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml index 130da81..1f1f51c 100644 --- a/docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml +++ b/docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml @@ -492,9 +492,9 @@ netbios-ns dgram udp wait root /usr/local/samba/sbin/nmbd nmbd paraprogramlisting #!/bin/sh -/usr/local/samba/sbin/smbd -D -/usr/local/samba/sbin/winbindd -B -/usr/local/samba/sbin/nmbd -D +/usr/local/samba/sbin/smbd -D +/usr/local/samba/sbin/winbindd -D +/usr/local/samba/sbin/nmbd -D /programlisting/para para diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-Winbind.xml b/docs-xml/Samba3-HOWTO/TOSHARG-Winbind.xml index 7731e4e..adb0ba2 100644 --- a/docs-xml/Samba3-HOWTO/TOSHARG-Winbind.xml +++ b/docs-xml/Samba3-HOWTO/TOSHARG-Winbind.xml @@ -1016,7 +1016,7 @@ start() { in the example above with: programlisting -daemon /usr/local/samba/sbin/winbindd -B +daemon /usr/local/samba/sbin/winbindd -D /programlisting. /para @@ -1125,7 +1125,7 @@ Again, if you would like to run Samba in dual daemon mode, replace: /programlisting in the script above with: programlisting -/usr/local/samba/sbin/winbindd -B +/usr/local/samba/sbin/winbindd -D /programlisting /para -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-32-116-gf41988a
The branch, v3-0-test has been updated via f41988a343b1ac38e184f0e3aa34c6050953a6b4 (commit) from f121ad38a1306b3c69eb4485b18ed187d1fd9270 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test - Log - commit f41988a343b1ac38e184f0e3aa34c6050953a6b4 Author: Karolin Seeger ksee...@samba.org Date: Mon Jan 19 08:55:30 2009 +0100 S3-HowTo: Change 'winbindd -B' to 'winbindd -D'. There is no option '-B' at all. Thanks to Jason Ellison for reporting! Karolin (cherry picked from commit 7c1e08518bfbe054db270e72476c642d5db93c0a) (cherry picked from commit 3b5d2fd4cc5f7cbe22be1dfc593ca4ba29197b66) (cherry picked from commit 0900b10f64fbb9f2e55591d1b11be9bb29526744) --- Summary of changes: docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml |6 +++--- docs-xml/Samba3-HOWTO/TOSHARG-Winbind.xml |4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml b/docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml index 130da81..1f1f51c 100644 --- a/docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml +++ b/docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml @@ -492,9 +492,9 @@ netbios-ns dgram udp wait root /usr/local/samba/sbin/nmbd nmbd paraprogramlisting #!/bin/sh -/usr/local/samba/sbin/smbd -D -/usr/local/samba/sbin/winbindd -B -/usr/local/samba/sbin/nmbd -D +/usr/local/samba/sbin/smbd -D +/usr/local/samba/sbin/winbindd -D +/usr/local/samba/sbin/nmbd -D /programlisting/para para diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-Winbind.xml b/docs-xml/Samba3-HOWTO/TOSHARG-Winbind.xml index 7731e4e..adb0ba2 100644 --- a/docs-xml/Samba3-HOWTO/TOSHARG-Winbind.xml +++ b/docs-xml/Samba3-HOWTO/TOSHARG-Winbind.xml @@ -1016,7 +1016,7 @@ start() { in the example above with: programlisting -daemon /usr/local/samba/sbin/winbindd -B +daemon /usr/local/samba/sbin/winbindd -D /programlisting. /para @@ -1125,7 +1125,7 @@ Again, if you would like to run Samba in dual daemon mode, replace: /programlisting in the script above with: programlisting -/usr/local/samba/sbin/winbindd -B +/usr/local/samba/sbin/winbindd -D /programlisting /para -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-0-stable updated - release-3-0-33-112-g79171d7
The branch, v3-0-stable has been updated via 79171d7a781d636d09af85e441ddc88e4a508eb7 (commit) from 0b37b5ac22b9d56c4eb24b00d1cd1d9057bfbdca (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-stable - Log - commit 79171d7a781d636d09af85e441ddc88e4a508eb7 Author: Karolin Seeger ksee...@samba.org Date: Mon Jan 19 08:55:30 2009 +0100 S3-HowTo: Change 'winbindd -B' to 'winbindd -D'. There is no option '-B' at all. Thanks to Jason Ellison for reporting! Karolin (cherry picked from commit 7c1e08518bfbe054db270e72476c642d5db93c0a) (cherry picked from commit 3b5d2fd4cc5f7cbe22be1dfc593ca4ba29197b66) (cherry picked from commit 0900b10f64fbb9f2e55591d1b11be9bb29526744) (cherry picked from commit f41988a343b1ac38e184f0e3aa34c6050953a6b4) --- Summary of changes: docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml |6 +++--- docs-xml/Samba3-HOWTO/TOSHARG-Winbind.xml |4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml b/docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml index 130da81..1f1f51c 100644 --- a/docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml +++ b/docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml @@ -492,9 +492,9 @@ netbios-ns dgram udp wait root /usr/local/samba/sbin/nmbd nmbd paraprogramlisting #!/bin/sh -/usr/local/samba/sbin/smbd -D -/usr/local/samba/sbin/winbindd -B -/usr/local/samba/sbin/nmbd -D +/usr/local/samba/sbin/smbd -D +/usr/local/samba/sbin/winbindd -D +/usr/local/samba/sbin/nmbd -D /programlisting/para para diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-Winbind.xml b/docs-xml/Samba3-HOWTO/TOSHARG-Winbind.xml index 7731e4e..adb0ba2 100644 --- a/docs-xml/Samba3-HOWTO/TOSHARG-Winbind.xml +++ b/docs-xml/Samba3-HOWTO/TOSHARG-Winbind.xml @@ -1016,7 +1016,7 @@ start() { in the example above with: programlisting -daemon /usr/local/samba/sbin/winbindd -B +daemon /usr/local/samba/sbin/winbindd -D /programlisting. /para @@ -1125,7 +1125,7 @@ Again, if you would like to run Samba in dual daemon mode, replace: /programlisting in the script above with: programlisting -/usr/local/samba/sbin/winbindd -B +/usr/local/samba/sbin/winbindd -D /programlisting /para -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated - 4b26c7bbf4fe93f5ffb92d3f04012be290be25be
The branch, master has been updated via 4b26c7bbf4fe93f5ffb92d3f04012be290be25be (commit) from 7c1e08518bfbe054db270e72476c642d5db93c0a (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 4b26c7bbf4fe93f5ffb92d3f04012be290be25be Author: Karolin Seeger ksee...@samba.org Date: Mon Jan 19 10:22:46 2009 +0100 S3-ByExample: Use 'winbindd -D' instead of 'winbindd -B'. The option '-B' does not exist at all. Thanks to Jason Ellison for reporting! Karolin --- Summary of changes: .../Samba3-ByExample/SBE-DomainAppsSupport.xml |2 +- .../Samba3-ByExample/SBE-SecureOfficeServer.xml|4 ++-- docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml |4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/Samba3-ByExample/SBE-DomainAppsSupport.xml b/docs-xml/Samba3-ByExample/SBE-DomainAppsSupport.xml index 6d144ab..c9ccd43 100644 --- a/docs-xml/Samba3-ByExample/SBE-DomainAppsSupport.xml +++ b/docs-xml/Samba3-ByExample/SBE-DomainAppsSupport.xml @@ -477,7 +477,7 @@ Password for administra...@london.abmas.biz: screen rootprompt; smbd -D rootprompt; nmbd -D -rootprompt; winbindd -B +rootprompt; winbindd -D /screen /para/step diff --git a/docs-xml/Samba3-ByExample/SBE-SecureOfficeServer.xml b/docs-xml/Samba3-ByExample/SBE-SecureOfficeServer.xml index e03c010..2e60b4a 100644 --- a/docs-xml/Samba3-ByExample/SBE-SecureOfficeServer.xml +++ b/docs-xml/Samba3-ByExample/SBE-SecureOfficeServer.xml @@ -1910,8 +1910,8 @@ Loaded services file OK. 14290 ?S 0:00 /usr/sbin/smbd -D $rootprompt; ps ax | grep winbind -14293 ?S 0:00 /usr/sbin/winbindd -B -14295 ?S 0:00 /usr/sbin/winbindd -B +14293 ?S 0:00 /usr/sbin/winbindd -D +14295 ?S 0:00 /usr/sbin/winbindd -D /screen The commandwinbindd/command daemon is running in split mode (normal), so there are also two instancesfootnoteparaFor more information regarding winbindd, see emphasisTOSHARG2/emphasis, diff --git a/docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml b/docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml index ca39af3..b178749 100644 --- a/docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml +++ b/docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml @@ -767,8 +767,8 @@ Ignoring unknown parameter dogbert 14290 ?S 0:00 /usr/sbin/smbd -D $rootprompt; ps ax | grep winbind -14293 ?S 0:00 /usr/sbin/winbindd -B -14295 ?S 0:00 /usr/sbin/winbindd -B +14293 ?S 0:00 /usr/sbin/winbindd -D +14295 ?S 0:00 /usr/sbin/winbindd -D /screen The commandwinbindd/command daemon is running in split mode (normal), so there are also two instances of it. For more information regarding commandwinbindd/command, see -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4836-g05c7d97
The branch, v3-3-test has been updated via 05c7d97e6cf25c05ba6a661c0a31c88946ffd5cd (commit) from 3b5d2fd4cc5f7cbe22be1dfc593ca4ba29197b66 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log - commit 05c7d97e6cf25c05ba6a661c0a31c88946ffd5cd Author: Karolin Seeger ksee...@samba.org Date: Mon Jan 19 10:22:46 2009 +0100 S3-ByExample: Use 'winbindd -D' instead of 'winbindd -B'. The option '-B' does not exist at all. Thanks to Jason Ellison for reporting! Karolin (cherry picked from commit 4b26c7bbf4fe93f5ffb92d3f04012be290be25be) --- Summary of changes: .../Samba3-ByExample/SBE-DomainAppsSupport.xml |2 +- .../Samba3-ByExample/SBE-SecureOfficeServer.xml|4 ++-- docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml |4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/Samba3-ByExample/SBE-DomainAppsSupport.xml b/docs-xml/Samba3-ByExample/SBE-DomainAppsSupport.xml index 6d144ab..c9ccd43 100644 --- a/docs-xml/Samba3-ByExample/SBE-DomainAppsSupport.xml +++ b/docs-xml/Samba3-ByExample/SBE-DomainAppsSupport.xml @@ -477,7 +477,7 @@ Password for administra...@london.abmas.biz: screen rootprompt; smbd -D rootprompt; nmbd -D -rootprompt; winbindd -B +rootprompt; winbindd -D /screen /para/step diff --git a/docs-xml/Samba3-ByExample/SBE-SecureOfficeServer.xml b/docs-xml/Samba3-ByExample/SBE-SecureOfficeServer.xml index e03c010..2e60b4a 100644 --- a/docs-xml/Samba3-ByExample/SBE-SecureOfficeServer.xml +++ b/docs-xml/Samba3-ByExample/SBE-SecureOfficeServer.xml @@ -1910,8 +1910,8 @@ Loaded services file OK. 14290 ?S 0:00 /usr/sbin/smbd -D $rootprompt; ps ax | grep winbind -14293 ?S 0:00 /usr/sbin/winbindd -B -14295 ?S 0:00 /usr/sbin/winbindd -B +14293 ?S 0:00 /usr/sbin/winbindd -D +14295 ?S 0:00 /usr/sbin/winbindd -D /screen The commandwinbindd/command daemon is running in split mode (normal), so there are also two instancesfootnoteparaFor more information regarding winbindd, see emphasisTOSHARG2/emphasis, diff --git a/docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml b/docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml index ca39af3..b178749 100644 --- a/docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml +++ b/docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml @@ -767,8 +767,8 @@ Ignoring unknown parameter dogbert 14290 ?S 0:00 /usr/sbin/smbd -D $rootprompt; ps ax | grep winbind -14293 ?S 0:00 /usr/sbin/winbindd -B -14295 ?S 0:00 /usr/sbin/winbindd -B +14293 ?S 0:00 /usr/sbin/winbindd -D +14295 ?S 0:00 /usr/sbin/winbindd -D /screen The commandwinbindd/command daemon is running in split mode (normal), so there are also two instances of it. For more information regarding commandwinbindd/command, see -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-3376-gf89c3db
The branch, v3-2-test has been updated via f89c3db4ae0bcf1680c2532833ee115005b8ed70 (commit) from 0900b10f64fbb9f2e55591d1b11be9bb29526744 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit f89c3db4ae0bcf1680c2532833ee115005b8ed70 Author: Karolin Seeger ksee...@samba.org Date: Mon Jan 19 10:22:46 2009 +0100 S3-ByExample: Use 'winbindd -D' instead of 'winbindd -B'. The option '-B' does not exist at all. Thanks to Jason Ellison for reporting! Karolin (cherry picked from commit 4b26c7bbf4fe93f5ffb92d3f04012be290be25be) (cherry picked from commit 05c7d97e6cf25c05ba6a661c0a31c88946ffd5cd) --- Summary of changes: .../Samba3-ByExample/SBE-DomainAppsSupport.xml |2 +- .../Samba3-ByExample/SBE-SecureOfficeServer.xml|4 ++-- docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml |4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/Samba3-ByExample/SBE-DomainAppsSupport.xml b/docs-xml/Samba3-ByExample/SBE-DomainAppsSupport.xml index 6d144ab..c9ccd43 100644 --- a/docs-xml/Samba3-ByExample/SBE-DomainAppsSupport.xml +++ b/docs-xml/Samba3-ByExample/SBE-DomainAppsSupport.xml @@ -477,7 +477,7 @@ Password for administra...@london.abmas.biz: screen rootprompt; smbd -D rootprompt; nmbd -D -rootprompt; winbindd -B +rootprompt; winbindd -D /screen /para/step diff --git a/docs-xml/Samba3-ByExample/SBE-SecureOfficeServer.xml b/docs-xml/Samba3-ByExample/SBE-SecureOfficeServer.xml index e03c010..2e60b4a 100644 --- a/docs-xml/Samba3-ByExample/SBE-SecureOfficeServer.xml +++ b/docs-xml/Samba3-ByExample/SBE-SecureOfficeServer.xml @@ -1910,8 +1910,8 @@ Loaded services file OK. 14290 ?S 0:00 /usr/sbin/smbd -D $rootprompt; ps ax | grep winbind -14293 ?S 0:00 /usr/sbin/winbindd -B -14295 ?S 0:00 /usr/sbin/winbindd -B +14293 ?S 0:00 /usr/sbin/winbindd -D +14295 ?S 0:00 /usr/sbin/winbindd -D /screen The commandwinbindd/command daemon is running in split mode (normal), so there are also two instancesfootnoteparaFor more information regarding winbindd, see emphasisTOSHARG2/emphasis, diff --git a/docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml b/docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml index ca39af3..b178749 100644 --- a/docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml +++ b/docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml @@ -767,8 +767,8 @@ Ignoring unknown parameter dogbert 14290 ?S 0:00 /usr/sbin/smbd -D $rootprompt; ps ax | grep winbind -14293 ?S 0:00 /usr/sbin/winbindd -B -14295 ?S 0:00 /usr/sbin/winbindd -B +14293 ?S 0:00 /usr/sbin/winbindd -D +14295 ?S 0:00 /usr/sbin/winbindd -D /screen The commandwinbindd/command daemon is running in split mode (normal), so there are also two instances of it. For more information regarding commandwinbindd/command, see -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-32-117-g604fb1e
The branch, v3-0-test has been updated via 604fb1e00c18d81b5be8f096274e8a121a413745 (commit) from f41988a343b1ac38e184f0e3aa34c6050953a6b4 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test - Log - commit 604fb1e00c18d81b5be8f096274e8a121a413745 Author: Karolin Seeger ksee...@samba.org Date: Mon Jan 19 10:22:46 2009 +0100 S3-ByExample: Use 'winbindd -D' instead of 'winbindd -B'. The option '-B' does not exist at all. Thanks to Jason Ellison for reporting! Karolin (cherry picked from commit 4b26c7bbf4fe93f5ffb92d3f04012be290be25be) (cherry picked from commit 05c7d97e6cf25c05ba6a661c0a31c88946ffd5cd) (cherry picked from commit f89c3db4ae0bcf1680c2532833ee115005b8ed70) --- Summary of changes: .../Samba3-ByExample/SBE-DomainAppsSupport.xml |2 +- .../Samba3-ByExample/SBE-SecureOfficeServer.xml|4 ++-- docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml |4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/Samba3-ByExample/SBE-DomainAppsSupport.xml b/docs-xml/Samba3-ByExample/SBE-DomainAppsSupport.xml index 6d144ab..c9ccd43 100644 --- a/docs-xml/Samba3-ByExample/SBE-DomainAppsSupport.xml +++ b/docs-xml/Samba3-ByExample/SBE-DomainAppsSupport.xml @@ -477,7 +477,7 @@ Password for administra...@london.abmas.biz: screen rootprompt; smbd -D rootprompt; nmbd -D -rootprompt; winbindd -B +rootprompt; winbindd -D /screen /para/step diff --git a/docs-xml/Samba3-ByExample/SBE-SecureOfficeServer.xml b/docs-xml/Samba3-ByExample/SBE-SecureOfficeServer.xml index e03c010..2e60b4a 100644 --- a/docs-xml/Samba3-ByExample/SBE-SecureOfficeServer.xml +++ b/docs-xml/Samba3-ByExample/SBE-SecureOfficeServer.xml @@ -1910,8 +1910,8 @@ Loaded services file OK. 14290 ?S 0:00 /usr/sbin/smbd -D $rootprompt; ps ax | grep winbind -14293 ?S 0:00 /usr/sbin/winbindd -B -14295 ?S 0:00 /usr/sbin/winbindd -B +14293 ?S 0:00 /usr/sbin/winbindd -D +14295 ?S 0:00 /usr/sbin/winbindd -D /screen The commandwinbindd/command daemon is running in split mode (normal), so there are also two instancesfootnoteparaFor more information regarding winbindd, see emphasisTOSHARG2/emphasis, diff --git a/docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml b/docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml index ca39af3..b178749 100644 --- a/docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml +++ b/docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml @@ -767,8 +767,8 @@ Ignoring unknown parameter dogbert 14290 ?S 0:00 /usr/sbin/smbd -D $rootprompt; ps ax | grep winbind -14293 ?S 0:00 /usr/sbin/winbindd -B -14295 ?S 0:00 /usr/sbin/winbindd -B +14293 ?S 0:00 /usr/sbin/winbindd -D +14295 ?S 0:00 /usr/sbin/winbindd -D /screen The commandwinbindd/command daemon is running in split mode (normal), so there are also two instances of it. For more information regarding commandwinbindd/command, see -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-0-stable updated - release-3-0-33-113-g2521b56
The branch, v3-0-stable has been updated via 2521b56722bb4dafa8875c1946f9dd9a92dfde58 (commit) from 79171d7a781d636d09af85e441ddc88e4a508eb7 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-stable - Log - commit 2521b56722bb4dafa8875c1946f9dd9a92dfde58 Author: Karolin Seeger ksee...@samba.org Date: Mon Jan 19 10:22:46 2009 +0100 S3-ByExample: Use 'winbindd -D' instead of 'winbindd -B'. The option '-B' does not exist at all. Thanks to Jason Ellison for reporting! Karolin (cherry picked from commit 4b26c7bbf4fe93f5ffb92d3f04012be290be25be) (cherry picked from commit 05c7d97e6cf25c05ba6a661c0a31c88946ffd5cd) (cherry picked from commit f89c3db4ae0bcf1680c2532833ee115005b8ed70) (cherry picked from commit 604fb1e00c18d81b5be8f096274e8a121a413745) --- Summary of changes: .../Samba3-ByExample/SBE-DomainAppsSupport.xml |2 +- .../Samba3-ByExample/SBE-SecureOfficeServer.xml|4 ++-- docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml |4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/Samba3-ByExample/SBE-DomainAppsSupport.xml b/docs-xml/Samba3-ByExample/SBE-DomainAppsSupport.xml index 6d144ab..c9ccd43 100644 --- a/docs-xml/Samba3-ByExample/SBE-DomainAppsSupport.xml +++ b/docs-xml/Samba3-ByExample/SBE-DomainAppsSupport.xml @@ -477,7 +477,7 @@ Password for administra...@london.abmas.biz: screen rootprompt; smbd -D rootprompt; nmbd -D -rootprompt; winbindd -B +rootprompt; winbindd -D /screen /para/step diff --git a/docs-xml/Samba3-ByExample/SBE-SecureOfficeServer.xml b/docs-xml/Samba3-ByExample/SBE-SecureOfficeServer.xml index e03c010..2e60b4a 100644 --- a/docs-xml/Samba3-ByExample/SBE-SecureOfficeServer.xml +++ b/docs-xml/Samba3-ByExample/SBE-SecureOfficeServer.xml @@ -1910,8 +1910,8 @@ Loaded services file OK. 14290 ?S 0:00 /usr/sbin/smbd -D $rootprompt; ps ax | grep winbind -14293 ?S 0:00 /usr/sbin/winbindd -B -14295 ?S 0:00 /usr/sbin/winbindd -B +14293 ?S 0:00 /usr/sbin/winbindd -D +14295 ?S 0:00 /usr/sbin/winbindd -D /screen The commandwinbindd/command daemon is running in split mode (normal), so there are also two instancesfootnoteparaFor more information regarding winbindd, see emphasisTOSHARG2/emphasis, diff --git a/docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml b/docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml index ca39af3..b178749 100644 --- a/docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml +++ b/docs-xml/Samba3-ByExample/SBE-TheSmallOffice.xml @@ -767,8 +767,8 @@ Ignoring unknown parameter dogbert 14290 ?S 0:00 /usr/sbin/smbd -D $rootprompt; ps ax | grep winbind -14293 ?S 0:00 /usr/sbin/winbindd -B -14295 ?S 0:00 /usr/sbin/winbindd -B +14293 ?S 0:00 /usr/sbin/winbindd -D +14295 ?S 0:00 /usr/sbin/winbindd -D /screen The commandwinbindd/command daemon is running in split mode (normal), so there are also two instances of it. For more information regarding commandwinbindd/command, see -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-32-118-g4772212
The branch, v3-0-test has been updated via 4772212983868e450706dcd3dd2e758285e89741 (commit) from 604fb1e00c18d81b5be8f096274e8a121a413745 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test - Log - commit 4772212983868e450706dcd3dd2e758285e89741 Author: Karolin Seeger ksee...@samba.org Date: Thu Sep 18 15:52:06 2008 +0200 build-docs: Add 'make clean'. Karolin (cherry picked from commit cf40fb97239ed9a11e5750fde6e078233e567bba) (cherry picked from commit 6e1d92e3b324a0759486f914a0e4b32be1142aee) (cherry picked from commit 656189740d701246a8689e3348510715122bf148) (cherry picked from commit 4f9f592ab792e36e870bbeba96a1fb8f0ee9efda) (cherry picked from commit 759e253212ce389ecfe3dd08b34e1b1900aa817f) --- Summary of changes: release-scripts/build-docs |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/release-scripts/build-docs b/release-scripts/build-docs index c138149..357b4e9 100755 --- a/release-scripts/build-docs +++ b/release-scripts/build-docs @@ -25,4 +25,7 @@ cd ../docs || exit 1 mv manpages-3 manpages mv htmldocs/manpages-3 htmldocs/manpages +cd $DOCSRCDIR || exit 1 +make clean + exit -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-0-stable updated - release-3-0-33-114-g96fdc4a
The branch, v3-0-stable has been updated via 96fdc4a92189944d7c2d2ff68b74ebc053dedafb (commit) from 2521b56722bb4dafa8875c1946f9dd9a92dfde58 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-stable - Log - commit 96fdc4a92189944d7c2d2ff68b74ebc053dedafb Author: Karolin Seeger ksee...@samba.org Date: Thu Sep 18 15:52:06 2008 +0200 build-docs: Add 'make clean'. Karolin (cherry picked from commit cf40fb97239ed9a11e5750fde6e078233e567bba) (cherry picked from commit 6e1d92e3b324a0759486f914a0e4b32be1142aee) (cherry picked from commit 656189740d701246a8689e3348510715122bf148) (cherry picked from commit 4f9f592ab792e36e870bbeba96a1fb8f0ee9efda) (cherry picked from commit 759e253212ce389ecfe3dd08b34e1b1900aa817f) (cherry picked from commit 4772212983868e450706dcd3dd2e758285e89741) --- Summary of changes: release-scripts/build-docs |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/release-scripts/build-docs b/release-scripts/build-docs index c138149..357b4e9 100755 --- a/release-scripts/build-docs +++ b/release-scripts/build-docs @@ -25,4 +25,7 @@ cd ../docs || exit 1 mv manpages-3 manpages mv htmldocs/manpages-3 htmldocs/manpages +cd $DOCSRCDIR || exit 1 +make clean + exit -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-32-119-gec58560
The branch, v3-0-test has been updated via ec585601dabc10ebbc17b24684e3932f23e93e25 (commit) from 4772212983868e450706dcd3dd2e758285e89741 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test - Log - commit ec585601dabc10ebbc17b24684e3932f23e93e25 Author: Karolin Seeger ksee...@samba.org Date: Tue Dec 9 22:08:13 2008 +0100 build-docs: Change to the right directory before calling 'make clean'. This fixes build-docs if it's called from the create-tarball script. Karolin (cherry picked from commit dd3ef73c8c184eaec7ee515ef2130f30f9e481b3) (cherry picked from commit 1e7c488097d67457632778a09e7f82db5d0e93e3) --- Summary of changes: release-scripts/build-docs |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/release-scripts/build-docs b/release-scripts/build-docs index 357b4e9..b80a7fb 100755 --- a/release-scripts/build-docs +++ b/release-scripts/build-docs @@ -25,7 +25,7 @@ cd ../docs || exit 1 mv manpages-3 manpages mv htmldocs/manpages-3 htmldocs/manpages -cd $DOCSRCDIR || exit 1 +cd ../docs-xml || exit 1 make clean exit -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-0-stable updated - release-3-0-33-115-g9398128
The branch, v3-0-stable has been updated via 9398128966537cc1977ea59ef54fbfd66bf8d0e5 (commit) from 96fdc4a92189944d7c2d2ff68b74ebc053dedafb (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-stable - Log - commit 9398128966537cc1977ea59ef54fbfd66bf8d0e5 Author: Karolin Seeger ksee...@samba.org Date: Tue Dec 9 22:08:13 2008 +0100 build-docs: Change to the right directory before calling 'make clean'. This fixes build-docs if it's called from the create-tarball script. Karolin (cherry picked from commit dd3ef73c8c184eaec7ee515ef2130f30f9e481b3) (cherry picked from commit 1e7c488097d67457632778a09e7f82db5d0e93e3) --- Summary of changes: release-scripts/build-docs |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/release-scripts/build-docs b/release-scripts/build-docs index 357b4e9..b80a7fb 100755 --- a/release-scripts/build-docs +++ b/release-scripts/build-docs @@ -25,7 +25,7 @@ cd ../docs || exit 1 mv manpages-3 manpages mv htmldocs/manpages-3 htmldocs/manpages -cd $DOCSRCDIR || exit 1 +cd ../docs-xml || exit 1 make clean exit -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated - b0c92548d8a0ec628e61364da04ea239cf297fc7
The branch, master has been updated via b0c92548d8a0ec628e61364da04ea239cf297fc7 (commit) from 4b26c7bbf4fe93f5ffb92d3f04012be290be25be (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit b0c92548d8a0ec628e61364da04ea239cf297fc7 Author: Volker Lendecke v...@samba.org Date: Mon Jan 19 11:39:24 2009 +0100 Attempt to fix the merged build --- Summary of changes: libcli/nbt/libnbt.h|2 +- libcli/nbt/nbtsocket.c |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) Changeset truncated at 500 lines: diff --git a/libcli/nbt/libnbt.h b/libcli/nbt/libnbt.h index 491abd7..a37a213 100644 --- a/libcli/nbt/libnbt.h +++ b/libcli/nbt/libnbt.h @@ -330,7 +330,7 @@ NTSTATUS nbt_set_incoming_handler(struct nbt_name_socket *nbtsock, NTSTATUS nbt_set_unexpected_handler(struct nbt_name_socket *nbtsock, void (*handler)(struct nbt_name_socket *, struct nbt_name_packet *, struct socket_address *), - void *private); + void *private_data); NTSTATUS nbt_name_reply_send(struct nbt_name_socket *nbtsock, struct socket_address *dest, struct nbt_name_packet *request); diff --git a/libcli/nbt/nbtsocket.c b/libcli/nbt/nbtsocket.c index 0d269fa..dac61ef 100644 --- a/libcli/nbt/nbtsocket.c +++ b/libcli/nbt/nbtsocket.c @@ -522,10 +522,10 @@ _PUBLIC_ NTSTATUS nbt_set_incoming_handler(struct nbt_name_socket *nbtsock, NTSTATUS nbt_set_unexpected_handler(struct nbt_name_socket *nbtsock, void (*handler)(struct nbt_name_socket *, struct nbt_name_packet *, struct socket_address *), - void *private) + void *private_data) { nbtsock-unexpected.handler = handler; - nbtsock-unexpected.private_data = private; + nbtsock-unexpected.private_data = private_data; EVENT_FD_READABLE(nbtsock-fde); return NT_STATUS_OK; } -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated - e58a8c169cd075ca900a2a144d7b5387460bbf05
The branch, master has been updated via e58a8c169cd075ca900a2a144d7b5387460bbf05 (commit) from b0c92548d8a0ec628e61364da04ea239cf297fc7 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit e58a8c169cd075ca900a2a144d7b5387460bbf05 Author: Volker Lendecke v...@samba.org Date: Mon Jan 19 11:47:29 2009 +0100 Fix the same bug as 8b618d0 fixes, this time in winbindd_passdb.c --- Summary of changes: source3/winbindd/winbindd_passdb.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/winbindd/winbindd_passdb.c b/source3/winbindd/winbindd_passdb.c index d754373..d704ca0 100644 --- a/source3/winbindd/winbindd_passdb.c +++ b/source3/winbindd/winbindd_passdb.c @@ -333,14 +333,16 @@ static NTSTATUS password_policy(struct winbindd_domain *domain, } if (!pdb_get_account_policy(AP_MIN_PASSWORD_LEN, - (uint32_t *)p-min_password_length)) { + account_policy_temp)) { return NT_STATUS_ACCESS_DENIED; } + p-min_password_length = account_policy_temp; if (!pdb_get_account_policy(AP_PASSWORD_HISTORY, - (uint32_t *)p-password_history_length)) { + account_policy_temp)) { return NT_STATUS_ACCESS_DENIED; } + p-password_history_length = account_policy_temp; if (!pdb_get_account_policy(AP_USER_MUST_LOGON_TO_CHG_PASS, p-password_properties)) { -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated - aa79f76b0cfcf402bdf955cdf8356d619ace0b68
The branch, master has been updated via aa79f76b0cfcf402bdf955cdf8356d619ace0b68 (commit) from e58a8c169cd075ca900a2a144d7b5387460bbf05 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit aa79f76b0cfcf402bdf955cdf8356d619ace0b68 Author: Andreas Schneider anschnei...@suse.de Date: Mon Jan 19 16:26:07 2009 +0100 Avoid flooding of syslog with failing pam_putenv messages. Signed-off-by: Andreas Schneider anschnei...@suse.de Signed-off-by: Günther Deschner g...@samba.org --- Summary of changes: nsswitch/pam_winbind.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c index d049bdb..62d72c2 100644 --- a/nsswitch/pam_winbind.c +++ b/nsswitch/pam_winbind.c @@ -2428,7 +2428,7 @@ out: * Delete the krb5 ccname variable from the PAM environment * if it was set by winbind. */ - if (ctx-ctrl WINBIND_KRB5_AUTH) { + if ((ctx-ctrl WINBIND_KRB5_AUTH) pam_getenv(pamh, KRB5CCNAME)) { pam_putenv(pamh, KRB5CCNAME); } -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4837-gacb1deb
The branch, v3-3-test has been updated via acb1debf257c6c3df325267b2a4c8e2d40c1f850 (commit) from 05c7d97e6cf25c05ba6a661c0a31c88946ffd5cd (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log - commit acb1debf257c6c3df325267b2a4c8e2d40c1f850 Author: Andreas Schneider anschnei...@suse.de Date: Mon Jan 19 16:26:07 2009 +0100 Avoid flooding of syslog with failing pam_putenv messages. Signed-off-by: Andreas Schneider anschnei...@suse.de Signed-off-by: Günther Deschner g...@samba.org --- Summary of changes: source/nsswitch/pam_winbind.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source/nsswitch/pam_winbind.c b/source/nsswitch/pam_winbind.c index 338d538..4c24d6a 100644 --- a/source/nsswitch/pam_winbind.c +++ b/source/nsswitch/pam_winbind.c @@ -2428,7 +2428,7 @@ out: * Delete the krb5 ccname variable from the PAM environment * if it was set by winbind. */ - if (ctx-ctrl WINBIND_KRB5_AUTH) { + if ((ctx-ctrl WINBIND_KRB5_AUTH) pam_getenv(pamh, KRB5CCNAME)) { pam_putenv(pamh, KRB5CCNAME); } -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-3377-g5db09d4
The branch, v3-2-test has been updated via 5db09d4dd27e10c926c3413bcd3088e72a4af487 (commit) from f89c3db4ae0bcf1680c2532833ee115005b8ed70 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit 5db09d4dd27e10c926c3413bcd3088e72a4af487 Author: Andreas Schneider anschnei...@suse.de Date: Mon Jan 19 16:26:07 2009 +0100 Avoid flooding of syslog with failing pam_putenv messages. Signed-off-by: Andreas Schneider anschnei...@suse.de Signed-off-by: Günther Deschner g...@samba.org --- Summary of changes: source/nsswitch/pam_winbind.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source/nsswitch/pam_winbind.c b/source/nsswitch/pam_winbind.c index 15b33e3..ad063c3 100644 --- a/source/nsswitch/pam_winbind.c +++ b/source/nsswitch/pam_winbind.c @@ -2362,7 +2362,7 @@ out: * Delete the krb5 ccname variable from the PAM environment * if it was set by winbind. */ - if (ctx-ctrl WINBIND_KRB5_AUTH) { + if ((ctx-ctrl WINBIND_KRB5_AUTH) pam_getenv(pamh, KRB5CCNAME)) { pam_putenv(pamh, KRB5CCNAME); } -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated - 4feafd7c7be947bb38856dee79f057b2671151f3
The branch, master has been updated via 4feafd7c7be947bb38856dee79f057b2671151f3 (commit) via 535311d1875a4302a1c42d92046d2cdc8d3ef4ef (commit) via a83b327f1bec10f18ebe59c2fde7fe74228149f2 (commit) from aa79f76b0cfcf402bdf955cdf8356d619ace0b68 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 4feafd7c7be947bb38856dee79f057b2671151f3 Author: Stefan Metzmacher me...@samba.org Date: Tue Dec 16 21:14:36 2008 +0100 s3:idmap_tdb: convert to the dbwrap api metze commit 535311d1875a4302a1c42d92046d2cdc8d3ef4ef Author: Stefan Metzmacher me...@samba.org Date: Wed Dec 17 08:53:31 2008 +0100 s3:dbwrap: add dbwrap_delete(), dbwrap_store() and dbwrap_fetch() The _bystring function are now just tiny wrappers. metze commit a83b327f1bec10f18ebe59c2fde7fe74228149f2 Author: Stefan Metzmacher me...@samba.org Date: Wed Dec 17 08:35:35 2008 +0100 s3:dbwrap: add get_flags() hook to db_context metze --- Summary of changes: source3/include/dbwrap.h |6 + source3/lib/dbwrap.c | 34 +++- source3/lib/dbwrap_ctdb.c|8 + source3/lib/dbwrap_tdb.c |9 + source3/winbindd/idmap_tdb.c | 467 -- 5 files changed, 272 insertions(+), 252 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/include/dbwrap.h b/source3/include/dbwrap.h index 46833fa..aad4ccd 100644 --- a/source3/include/dbwrap.h +++ b/source3/include/dbwrap.h @@ -42,6 +42,7 @@ struct db_context { void *private_data), void *private_data); int (*get_seqnum)(struct db_context *db); + int (*get_flags)(struct db_context *db); int (*transaction_start)(struct db_context *db); int (*transaction_commit)(struct db_context *db); int (*transaction_cancel)(struct db_context *db); @@ -82,6 +83,11 @@ struct db_context *db_open_file(TALLOC_CTX *mem_ctx, int open_flags, mode_t mode); +NTSTATUS dbwrap_delete(struct db_context *db, TDB_DATA key); +NTSTATUS dbwrap_store(struct db_context *db, TDB_DATA key, + TDB_DATA data, int flags); +TDB_DATA dbwrap_fetch(struct db_context *db, TALLOC_CTX *mem_ctx, + TDB_DATA key); NTSTATUS dbwrap_delete_bystring(struct db_context *db, const char *key); NTSTATUS dbwrap_store_bystring(struct db_context *db, const char *key, TDB_DATA data, int flags); diff --git a/source3/lib/dbwrap.c b/source3/lib/dbwrap.c index 73c2761..a57b7c9 100644 --- a/source3/lib/dbwrap.c +++ b/source3/lib/dbwrap.c @@ -105,12 +105,12 @@ struct db_context *db_open(TALLOC_CTX *mem_ctx, return result; } -NTSTATUS dbwrap_delete_bystring(struct db_context *db, const char *key) +NTSTATUS dbwrap_delete(struct db_context *db, TDB_DATA key) { struct db_record *rec; NTSTATUS status; - rec = db-fetch_locked(db, talloc_tos(), string_term_tdb_data(key)); + rec = db-fetch_locked(db, talloc_tos(), key); if (rec == NULL) { return NT_STATUS_NO_MEMORY; } @@ -119,13 +119,13 @@ NTSTATUS dbwrap_delete_bystring(struct db_context *db, const char *key) return status; } -NTSTATUS dbwrap_store_bystring(struct db_context *db, const char *key, - TDB_DATA data, int flags) +NTSTATUS dbwrap_store(struct db_context *db, TDB_DATA key, + TDB_DATA data, int flags) { struct db_record *rec; NTSTATUS status; - rec = db-fetch_locked(db, talloc_tos(), string_term_tdb_data(key)); + rec = db-fetch_locked(db, talloc_tos(), key); if (rec == NULL) { return NT_STATUS_NO_MEMORY; } @@ -135,14 +135,32 @@ NTSTATUS dbwrap_store_bystring(struct db_context *db, const char *key, return status; } -TDB_DATA dbwrap_fetch_bystring(struct db_context *db, TALLOC_CTX *mem_ctx, - const char *key) +TDB_DATA dbwrap_fetch(struct db_context *db, TALLOC_CTX *mem_ctx, + TDB_DATA key) { TDB_DATA result; - if (db-fetch(db, mem_ctx, string_term_tdb_data(key), result) == -1) { + if (db-fetch(db, mem_ctx, key, result) == -1) { return make_tdb_data(NULL, 0); } return result; } + +NTSTATUS dbwrap_delete_bystring(struct db_context *db, const char *key) +{ + return dbwrap_delete(db, string_term_tdb_data(key)); +} + +NTSTATUS dbwrap_store_bystring(struct db_context *db, const char *key, + TDB_DATA data, int flags) +{ + return dbwrap_store(db, string_term_tdb_data(key), data, flags); +} + +TDB_DATA dbwrap_fetch_bystring(struct db_context *db, TALLOC_CTX *mem_ctx,
Re: [SCM] Samba Shared Repository - branch master updated - afd405dd90561b6aa99b4c9e5b62644659b96768
On Jan 18, 2009, at 10:09 PM, Stefan Metzmacher wrote: The branch, master has been updated via bae593bb118459c1b0d12d02e58ba6c89400aa97 (commit) from d6e801b7d9a666d40f109df20dff0faaa2b46e70 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master commit bae593bb118459c1b0d12d02e58ba6c89400aa97 Author: Stefan Metzmacher me...@samba.org Date: Sat Jan 17 18:13:31 2009 +0100 ndr_print: fix the output ndr debug messages only add header line once metze (from samba4wins tree e99531aae325e4443fcb917a75dfe4a86b892583) Is it necessary to add these zero length DEBUGs? Could they be replaced with something else to achieve the same effect (I'm not sure what a zero-length DEBUG actually does)? They produce the following warning: Compiling ../librpc/ndr/ndr.c ../librpc/ndr/ndr.c: In function ‘ndr_print_debug’: ../librpc/ndr/ndr.c:214: warning: zero-length printf format string ../librpc/ndr/ndr.c: In function ‘ndr_print_union_debug’: ../librpc/ndr/ndr.c:232: warning: zero-length printf format string ../librpc/ndr/ndr.c: In function ‘ndr_print_function_debug’: ../librpc/ndr/ndr.c:251: warning: zero-length printf format string --- diff --git a/librpc/ndr/ndr.c b/librpc/ndr/ndr.c index c382abb..9f7aab3 100644 --- a/librpc/ndr/ndr.c +++ b/librpc/ndr/ndr.c @@ -211,6 +211,8 @@ _PUBLIC_ void ndr_print_debug(ndr_print_fn_t fn, const char *name, void *ptr) { struct ndr_print *ndr; + DEBUG(0,()); + ndr = talloc_zero(NULL, struct ndr_print); if (!ndr) return; ndr-print = ndr_print_debug_helper; @@ -227,6 +229,8 @@ _PUBLIC_ void ndr_print_union_debug(ndr_print_fn_t fn, const char *name, uint32_ { struct ndr_print *ndr; + DEBUG(0,()); + ndr = talloc_zero(NULL, struct ndr_print); if (!ndr) return; ndr-print = ndr_print_debug_helper; @@ -244,6 +248,8 @@ _PUBLIC_ void ndr_print_function_debug(ndr_print_function_t fn, const char *name { struct ndr_print *ndr; + DEBUG(0,()); + ndr = talloc_zero(NULL, struct ndr_print); if (!ndr) return; ndr-print = ndr_print_debug_helper;
[SCM] Samba Shared Repository - branch master updated - 2254efbf5d34cffbb8b21e8ef3cec06786081a06
The branch, master has been updated via 2254efbf5d34cffbb8b21e8ef3cec06786081a06 (commit) via 288ce60748576a64efd5d3a3897fae1110379565 (commit) via c570d6396f238cbe39af3a5de98157a2c608ec9b (commit) from 4feafd7c7be947bb38856dee79f057b2671151f3 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 2254efbf5d34cffbb8b21e8ef3cec06786081a06 Merge: c570d6396f238cbe39af3a5de98157a2c608ec9b 288ce60748576a64efd5d3a3897fae1110379565 Author: Jelmer Vernooij jel...@samba.org Date: Mon Jan 19 20:17:23 2009 +0100 Merge branch 'v4-0-stable' commit 288ce60748576a64efd5d3a3897fae1110379565 Author: Jelmer Vernooij jel...@samba.org Date: Mon Jan 19 19:24:54 2009 +0100 Add some more entries to WHATSNEW, by no means complete. commit c570d6396f238cbe39af3a5de98157a2c608ec9b Author: Jelmer Vernooij jel...@samba.org Date: Mon Jan 19 18:15:45 2009 +0100 Remove mention of external heimdal - its not yet supported. --- Summary of changes: WHATSNEW4.txt | 13 ++--- 1 files changed, 10 insertions(+), 3 deletions(-) Changeset truncated at 500 lines: diff --git a/WHATSNEW4.txt b/WHATSNEW4.txt index ee08378..03cd72c 100644 --- a/WHATSNEW4.txt +++ b/WHATSNEW4.txt @@ -112,9 +112,6 @@ continued to evolve, but you may particularly notice these areas A simple script for setting the expiration of a user was added. - It is now possible to use the system-installed Heimdal using the - experimental --enable-external-heimdal option to configure. - The LDB library is now completely asynchronous internally. Various unknowns and correctness issues in the drsblobs and drsuapi RPC @@ -132,6 +129,16 @@ continued to evolve, but you may particularly notice these areas Auxiliary classes in LDAP schema conversion are now collapsed. + Several tests have been added to the SMB testsuite. + + Object GUIDs in DCE/RPC connections are now dealt with properly. + + The correctness of the LSA and NETLOGON implementations has been + improved. + + Multi Master Replication configuration can now be generated + for OpenLDAP. + These are just some of the highlights of the work done in the past few months. More details can be found in our GIT history. -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated - b876478219b4935013a798962b95596cc45d7c9b
The branch, master has been updated via b876478219b4935013a798962b95596cc45d7c9b (commit) from 2254efbf5d34cffbb8b21e8ef3cec06786081a06 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit b876478219b4935013a798962b95596cc45d7c9b Author: Jelmer Vernooij jel...@samba.org Date: Mon Jan 19 21:14:37 2009 +0100 Make sure server_role gets initialized in backend provisioning code - fixes test. --- Summary of changes: source4/scripting/python/samba/provision.py | 18 +- source4/setup/provision |2 +- source4/setup/provision-backend |2 +- 3 files changed, 19 insertions(+), 3 deletions(-) Changeset truncated at 500 lines: diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py index 2da54ef..91cc074 100644 --- a/source4/scripting/python/samba/provision.py +++ b/source4/scripting/python/samba/provision.py @@ -1195,6 +1195,9 @@ def provision_backend(setup_dir=None, message=None, lp = param.LoadParm() lp.load(smbconf) +if serverrole is None: +serverrole = lp.get(server role) + names = guess_names(lp=lp, hostname=hostname, domain=domain, dnsdomain=realm, serverrole=serverrole, rootdn=rootdn, domaindn=domaindn, configdn=configdn, @@ -1405,7 +1408,20 @@ def provision_backend(setup_dir=None, message=None, message(LDAP admin password: %s % adminpass) message(slapdcommand) -message(Run provision with: --ldap-backend=ldapi --ldap-backend-type= + ldap_backend_type + --password= + adminpass + + ldapuser + --realm= + names.dnsdomain + --domain= + names.domain + --server-role=' + serverrole + ') +assert isinstance(ldap_backend_type, str) +assert isinstance(ldapuser, str) +assert isinstance(adminpass, str) +assert isinstance(names.dnsdomain, str) +assert isinstance(names.domain, str) +assert isinstance(serverrole, str) +args = [--ldap-backend=ldapi, +--ldap-backend-type= + ldap_backend_type, +--password= + adminpass, +ldapuser, +--realm= + names.dnsdomain, +--domain= + names.domain, +--server-role=' + serverrole + '] +message(Run provision with: + .join(args)) def create_phpldapadmin_config(path, setup_path, ldapi_uri): Create a PHP LDAP admin configuration file. diff --git a/source4/setup/provision b/source4/setup/provision index 55535cf..d097eb9 100755 --- a/source4/setup/provision +++ b/source4/setup/provision @@ -160,7 +160,7 @@ if opts.server_role == dc: elif opts.server_role == member: server_role = member server else: -server_role = opts.server_role + server_role = opts.server_role creds = credopts.get_credentials(lp) diff --git a/source4/setup/provision-backend b/source4/setup/provision-backend index aad7de4..756870d 100755 --- a/source4/setup/provision-backend +++ b/source4/setup/provision-backend @@ -90,7 +90,7 @@ if opts.server_role == dc: elif opts.server_role == member: server_role = member server else: -server_role = opts.server_role + server_role = opts.server_role setup_dir = opts.setupdir if setup_dir is None: -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated - 0118b2301b29af0f22845c7e3ebb5df74ba13aeb
The branch, master has been updated via 0118b2301b29af0f22845c7e3ebb5df74ba13aeb (commit) from b876478219b4935013a798962b95596cc45d7c9b (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 0118b2301b29af0f22845c7e3ebb5df74ba13aeb Author: Jelmer Vernooij jel...@samba.org Date: Mon Jan 19 22:52:26 2009 +0100 Don't use TMPDIR as variable, it's already used for other purposes. Don't include GIT revision in release version strings. --- Summary of changes: source4/script/mkrelease.sh | 13 - 1 files changed, 8 insertions(+), 5 deletions(-) Changeset truncated at 500 lines: diff --git a/source4/script/mkrelease.sh b/source4/script/mkrelease.sh index 94bd9d2..303dfe6 100755 --- a/source4/script/mkrelease.sh +++ b/source4/script/mkrelease.sh @@ -6,12 +6,14 @@ if [ ! -d .git -o `dirname $0` != ./source4/script ]; then exit 1 fi -TMPDIR=`mktemp -d samba-X` -(git archive --format=tar HEAD | (cd $TMPDIR/ tar xf -)) +OUTDIR=`mktemp -d samba-X` +(git archive --format=tar HEAD | (cd $OUTDIR/ tar xf -)) + +echo SAMBA_VERSION_IS_GIT_SNAPSHOT=no $OUTDIR/source4/VERSION #Prepare the tarball for a Samba4 release, with some generated files, #but without Samba3 stuff (to avoid confusion) -( cd $TMPDIR/ || exit 1 +( cd $OUTDIR/ || exit 1 rm -rf README Manifest Read-Manifest-Now Roadmap source3 packaging docs-xml examples swat WHATSNEW.txt MAINTAINERS || exit 1 cd source4 || exit 1 ./autogen.sh || exit 1 @@ -19,14 +21,15 @@ TMPDIR=`mktemp -d samba-X` make dist || exit 1 ) || exit 1 -VERSION_FILE=$TMPDIR/source4/version.h +VERSION_FILE=$OUTDIR/source4/version.h if [ ! -f $VERSION_FILE ]; then echo Cannot find version.h at $VERSION_FILE exit 1; fi VERSION=`sed -n 's/^SAMBA_VERSION_STRING=//p' $VERSION_FILE` -mv $TMPDIR samba-$VERSION || exit 1 +echo Version: $VERSION +mv $OUTDIR samba-$VERSION || exit 1 tar -cf samba-$VERSION.tar samba-$VERSION || (rm -rf samba-$VERSION; exit 1) rm -rf samba-$VERSION || exit 1 echo Now run: -- Samba Shared Repository
[SCM] SAMBA-CTDB repository - branch v3-2-ctdb updated - build_3.2.7_ctdb.54-29-g0a648c5
The branch, v3-2-ctdb has been updated via 0a648c520756fdd6f25b60c69b1e19a1a58dd03a (commit) via 5db09d4dd27e10c926c3413bcd3088e72a4af487 (commit) via f89c3db4ae0bcf1680c2532833ee115005b8ed70 (commit) via 0900b10f64fbb9f2e55591d1b11be9bb29526744 (commit) via 652151fe7b0a48b5ae6272a088ce80ad428f1928 (commit) via 3c56cd9f701254dec33aa60b6f6b3fa90a28557a (commit) via 174b595bb171c32be9079f9f691b415ac0fdc635 (commit) via ded86426c222b11b9c2e8d8e4cae5ed0eff19edd (commit) via 91d30b8a3406d01b5fca97a96ad5964703813f0e (commit) via ac4baafeb8d74bf1db7f2ce84b2bc3abdef90337 (commit) via d9f66f3e3d9af9c3323029207e62391f382632e9 (commit) via 3504910d91fa6d174861815255062efefb0c46aa (commit) via 2cca28b3e999a8886539b9a5dde267bb8a3a1db7 (commit) via 078c4fbab8a5be2e23acda1978fd6d6071898dd9 (commit) via ac7c18d642bef231730927347e7b0296b1c9d82b (commit) via b13f7e296a70e1280baae9f2f3156043c48bafa9 (commit) via a2944e99825943f91d0260c218de06817acfcf51 (commit) via 76555085fd9bb40a4c0e2c18b5bf965dcf636cb1 (commit) via 7c0b99baafc4a0bc04251c9a456bf2cc104058c4 (commit) via 25e035815681136e69b9d49d548b7d7b908011c5 (commit) via e443cfaa25c26a7761113bdde9b7453a97f8e5d5 (commit) via 3ac7289b4d7fef830b05a8cb351476480681b28a (commit) via e1af2b4bc824450615454adec460e6698a83cefc (commit) via 61c5589d1fa4d6fe7ce7293a6f6ceab96d4ee193 (commit) via b4dc70f3bd79505de0e66283bf6d312dd3b53b27 (commit) via 62d547e1b853b6c5c871f1f9cb265d3cdd40a21d (commit) via e2b4e25b433a43960bb37258c0f24d9b77598056 (commit) from 23827a5f547a4bcfada8677648e8611170537a38 (commit) http://gitweb.samba.org/?p=obnox/samba-ctdb.git;a=shortlog;h=v3-2-ctdb - Log - commit 0a648c520756fdd6f25b60c69b1e19a1a58dd03a Merge: 23827a5f547a4bcfada8677648e8611170537a38 5db09d4dd27e10c926c3413bcd3088e72a4af487 Author: Michael Adam ob...@samba.org Date: Mon Jan 19 23:10:24 2009 +0100 Merge commit 'origin/v3-2-test' into v3-2-ctdb commit 5db09d4dd27e10c926c3413bcd3088e72a4af487 Author: Andreas Schneider anschnei...@suse.de Date: Mon Jan 19 16:26:07 2009 +0100 Avoid flooding of syslog with failing pam_putenv messages. Signed-off-by: Andreas Schneider anschnei...@suse.de Signed-off-by: Günther Deschner g...@samba.org commit f89c3db4ae0bcf1680c2532833ee115005b8ed70 Author: Karolin Seeger ksee...@samba.org Date: Mon Jan 19 10:22:46 2009 +0100 S3-ByExample: Use 'winbindd -D' instead of 'winbindd -B'. The option '-B' does not exist at all. Thanks to Jason Ellison for reporting! Karolin (cherry picked from commit 4b26c7bbf4fe93f5ffb92d3f04012be290be25be) (cherry picked from commit 05c7d97e6cf25c05ba6a661c0a31c88946ffd5cd) commit 0900b10f64fbb9f2e55591d1b11be9bb29526744 Author: Karolin Seeger ksee...@samba.org Date: Mon Jan 19 08:55:30 2009 +0100 S3-HowTo: Change 'winbindd -B' to 'winbindd -D'. There is no option '-B' at all. Thanks to Jason Ellison for reporting! Karolin (cherry picked from commit 7c1e08518bfbe054db270e72476c642d5db93c0a) (cherry picked from commit 3b5d2fd4cc5f7cbe22be1dfc593ca4ba29197b66) commit 652151fe7b0a48b5ae6272a088ce80ad428f1928 Author: Stefan Metzmacher me...@samba.org Date: Wed Jan 14 11:52:01 2009 +0100 s3:docs: vfs_fileid manpage metze (cherry picked from commit 6a94b7b9270f3d69595b93e2632051c9842645c9) (cherry picked from commit 8e13be1db5c51002ae72c42c505a79406b2f4f63) commit 3c56cd9f701254dec33aa60b6f6b3fa90a28557a Author: Stefan Metzmacher me...@samba.org Date: Wed Jan 14 13:59:09 2009 +0100 s3:vfs_fileid: readd fileid:algorithm as option. fileid:mapping is still supported as fallback. metze (cherry picked from commit 554a89df0cf6d9832778e2913f9fe50b78baeedc) (cherry picked from commit fe9ad21b8cb5286845350fe2280da2cbe2647bb7) commit 174b595bb171c32be9079f9f691b415ac0fdc635 Author: Andrew Tridgell tri...@samba.org Date: Mon Apr 21 18:40:45 2008 +0200 keep compatibility with v3-0-ctdb name for fileid:mapping option (cherry picked from commit 2856d2e4a43fbcc6c8f8ac7b1613828170362861) commit ded86426c222b11b9c2e8d8e4cae5ed0eff19edd Author: Derrell Lipman derrell.lip...@unwireduniverse.com Date: Sat Jan 17 13:35:12 2009 -0500 Determine case sensitivity based on file system attributes. - Most of the time, we can determine from the file system we're connecting to whether it supports case sensitivity. In those cases, we now set the internal case sensitivity flag automatically. For those cases where the request to retrieve file system attributes fails, we'll use the user-specified option value. Derrell commit
[SCM] SAMBA-CTDB repository - branch v3-2-ctdb updated - build_3.2.7_ctdb.54-31-gfa7a49f
The branch, v3-2-ctdb has been updated via fa7a49f9298c0044419947d2863aedb64e398811 (commit) via 67c6def39fe0d3fa7dc4dba690e6ab94e01fe114 (commit) from 0a648c520756fdd6f25b60c69b1e19a1a58dd03a (commit) http://gitweb.samba.org/?p=obnox/samba-ctdb.git;a=shortlog;h=v3-2-ctdb - Log - commit fa7a49f9298c0044419947d2863aedb64e398811 Author: Stefan Metzmacher me...@samba.org Date: Wed Jan 14 12:09:46 2009 +0100 s3:cluster: fix ctdb ipv6 support We need to use CTDB_CONTROL_TCP_CLIENT instead of CTDB_CONTROL_TCP_ADD. CTDB_CONTROL_TCP_CLIENT has support for 2 modes in newer ctdb versions: - with struct ctdb_control_tcp it only supports ipv4. - with struct ctdb_control_tcp_addr it supports ipv4 and ipv6. You need new header files which defines struct ctdb_control_tcp_addr, but at runtime it should be fine to work against older ctdb versions (= 1.0.68). metze (cherry picked from commit dc6edf1ab4ae8e3fb3ef40b93135ff0ef5407e12) (cherry picked from commit c07bcd6efd3383fc3a46fce35fd34df85ab221c9) (cherry picked from commit 9a5aee97cf6ec1514225e3060b0a083e9afdab32) Signed-off-by: Michael Adam ob...@samba.org commit 67c6def39fe0d3fa7dc4dba690e6ab94e01fe114 Author: Stefan Metzmacher me...@samba.org Date: Thu Jan 15 12:49:06 2009 +0100 s3:cluster: register the client connection via CTDB_CONTROL_TCP_ADD This means we correctly pass IPv6 addresses too. (CTDB_CONTROL_TCP_CLIENT was IPv4 only) metze (cherry picked from commit 465176b7e2fc1370dded850a80a8fe8519e79db8) (cherry picked from commit 6d5b415c5a0d7e0b7aae2f20ee7989ca58ec2f81) (cherry picked from commit 0d9563329967838b3c91728a7ed8e88872d5047b) Signed-off-by: Michael Adam ob...@samba.org --- Summary of changes: source/include/ctdbd_conn.h |4 ++-- source/lib/ctdbd_conn.c | 40 +++- source/smbd/server.c|5 +++-- 3 files changed, 36 insertions(+), 13 deletions(-) Changeset truncated at 500 lines: diff --git a/source/include/ctdbd_conn.h b/source/include/ctdbd_conn.h index 39f50c2..d721235 100644 --- a/source/include/ctdbd_conn.h +++ b/source/include/ctdbd_conn.h @@ -57,8 +57,8 @@ NTSTATUS ctdbd_traverse(uint32 db_id, void *private_data); NTSTATUS ctdbd_register_ips(struct ctdbd_connection *conn, - const struct sockaddr_in *server, - const struct sockaddr_in *client, + const struct sockaddr_storage *server, + const struct sockaddr_storage *client, void (*release_ip_handler)(const char *ip_addr, void *private_data), void *private_data); diff --git a/source/lib/ctdbd_conn.c b/source/lib/ctdbd_conn.c index 1ae23bc..3c602c8 100644 --- a/source/lib/ctdbd_conn.c +++ b/source/lib/ctdbd_conn.c @@ -1175,13 +1175,22 @@ NTSTATUS ctdbd_traverse(uint32 db_id, */ NTSTATUS ctdbd_register_ips(struct ctdbd_connection *conn, - const struct sockaddr_in *server, - const struct sockaddr_in *client, + const struct sockaddr_storage *server, + const struct sockaddr_storage *client, void (*release_ip_handler)(const char *ip_addr, void *private_data), void *private_data) { - struct ctdb_control_tcp p; + struct sockaddr *sock = (struct sockaddr *)client; + /* +* we still use ctdb_control_tcp for ipv4 +* because we want to work against older ctdb +* versions at runtime +*/ + struct ctdb_control_tcp p4; +#ifdef HAVE_IPV6 + struct ctdb_control_tcp_addr p; +#endif TDB_DATA data; NTSTATUS status; @@ -1190,6 +1199,25 @@ NTSTATUS ctdbd_register_ips(struct ctdbd_connection *conn, */ SMB_ASSERT(conn-release_ip_handler == NULL); + switch (sock-sa_family) { + case AF_INET: + p4.dest = *(struct sockaddr_in *)server; + p4.src = *(struct sockaddr_in *)client; + data.dptr = (uint8_t *)p4; + data.dsize = sizeof(p4); + break; +#ifdef HAVE_IPV6 + case AF_INET6: + p.dest.ip6 = *(struct sockaddr_in6 *)server; + p.src.ip6 = *(struct sockaddr_in6 *)client; + data.dptr = (uint8_t *)p; + data.dsize = sizeof(p); + break; +#endif + default: + return NT_STATUS_INTERNAL_ERROR; + } + conn-release_ip_handler = release_ip_handler;
[SCM] Samba Shared Repository - branch v4-0-stable updated - release-4-0-0alpha6
The branch, v4-0-stable has been updated via 0118b2301b29af0f22845c7e3ebb5df74ba13aeb (commit) via b876478219b4935013a798962b95596cc45d7c9b (commit) via 2254efbf5d34cffbb8b21e8ef3cec06786081a06 (commit) via 288ce60748576a64efd5d3a3897fae1110379565 (commit) via c570d6396f238cbe39af3a5de98157a2c608ec9b (commit) from 4feafd7c7be947bb38856dee79f057b2671151f3 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-stable - Log - commit 0118b2301b29af0f22845c7e3ebb5df74ba13aeb Author: Jelmer Vernooij jel...@samba.org Date: Mon Jan 19 22:52:26 2009 +0100 Don't use TMPDIR as variable, it's already used for other purposes. Don't include GIT revision in release version strings. commit b876478219b4935013a798962b95596cc45d7c9b Author: Jelmer Vernooij jel...@samba.org Date: Mon Jan 19 21:14:37 2009 +0100 Make sure server_role gets initialized in backend provisioning code - fixes test. commit 2254efbf5d34cffbb8b21e8ef3cec06786081a06 Merge: c570d6396f238cbe39af3a5de98157a2c608ec9b 288ce60748576a64efd5d3a3897fae1110379565 Author: Jelmer Vernooij jel...@samba.org Date: Mon Jan 19 20:17:23 2009 +0100 Merge branch 'v4-0-stable' commit 288ce60748576a64efd5d3a3897fae1110379565 Author: Jelmer Vernooij jel...@samba.org Date: Mon Jan 19 19:24:54 2009 +0100 Add some more entries to WHATSNEW, by no means complete. commit c570d6396f238cbe39af3a5de98157a2c608ec9b Author: Jelmer Vernooij jel...@samba.org Date: Mon Jan 19 18:15:45 2009 +0100 Remove mention of external heimdal - its not yet supported. --- Summary of changes: WHATSNEW4.txt | 13 ++--- source4/script/mkrelease.sh | 13 - source4/scripting/python/samba/provision.py | 18 +- source4/setup/provision |2 +- source4/setup/provision-backend |2 +- 5 files changed, 37 insertions(+), 11 deletions(-) Changeset truncated at 500 lines: diff --git a/WHATSNEW4.txt b/WHATSNEW4.txt index ee08378..03cd72c 100644 --- a/WHATSNEW4.txt +++ b/WHATSNEW4.txt @@ -112,9 +112,6 @@ continued to evolve, but you may particularly notice these areas A simple script for setting the expiration of a user was added. - It is now possible to use the system-installed Heimdal using the - experimental --enable-external-heimdal option to configure. - The LDB library is now completely asynchronous internally. Various unknowns and correctness issues in the drsblobs and drsuapi RPC @@ -132,6 +129,16 @@ continued to evolve, but you may particularly notice these areas Auxiliary classes in LDAP schema conversion are now collapsed. + Several tests have been added to the SMB testsuite. + + Object GUIDs in DCE/RPC connections are now dealt with properly. + + The correctness of the LSA and NETLOGON implementations has been + improved. + + Multi Master Replication configuration can now be generated + for OpenLDAP. + These are just some of the highlights of the work done in the past few months. More details can be found in our GIT history. diff --git a/source4/script/mkrelease.sh b/source4/script/mkrelease.sh index 94bd9d2..303dfe6 100755 --- a/source4/script/mkrelease.sh +++ b/source4/script/mkrelease.sh @@ -6,12 +6,14 @@ if [ ! -d .git -o `dirname $0` != ./source4/script ]; then exit 1 fi -TMPDIR=`mktemp -d samba-X` -(git archive --format=tar HEAD | (cd $TMPDIR/ tar xf -)) +OUTDIR=`mktemp -d samba-X` +(git archive --format=tar HEAD | (cd $OUTDIR/ tar xf -)) + +echo SAMBA_VERSION_IS_GIT_SNAPSHOT=no $OUTDIR/source4/VERSION #Prepare the tarball for a Samba4 release, with some generated files, #but without Samba3 stuff (to avoid confusion) -( cd $TMPDIR/ || exit 1 +( cd $OUTDIR/ || exit 1 rm -rf README Manifest Read-Manifest-Now Roadmap source3 packaging docs-xml examples swat WHATSNEW.txt MAINTAINERS || exit 1 cd source4 || exit 1 ./autogen.sh || exit 1 @@ -19,14 +21,15 @@ TMPDIR=`mktemp -d samba-X` make dist || exit 1 ) || exit 1 -VERSION_FILE=$TMPDIR/source4/version.h +VERSION_FILE=$OUTDIR/source4/version.h if [ ! -f $VERSION_FILE ]; then echo Cannot find version.h at $VERSION_FILE exit 1; fi VERSION=`sed -n 's/^SAMBA_VERSION_STRING=//p' $VERSION_FILE` -mv $TMPDIR samba-$VERSION || exit 1 +echo Version: $VERSION +mv $OUTDIR samba-$VERSION || exit 1 tar -cf samba-$VERSION.tar samba-$VERSION || (rm -rf samba-$VERSION; exit 1) rm -rf samba-$VERSION || exit 1 echo Now run: diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py index 2da54ef..91cc074 100644 --- a/source4/scripting/python/samba/provision.py +++ b/source4/scripting/python/samba/provision.py @@ -1195,6 +1195,9 @@ def provision_backend(setup_dir=None,
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha6
The branch, v4-0-test has been updated via 0118b2301b29af0f22845c7e3ebb5df74ba13aeb (commit) via b876478219b4935013a798962b95596cc45d7c9b (commit) via 2254efbf5d34cffbb8b21e8ef3cec06786081a06 (commit) via 288ce60748576a64efd5d3a3897fae1110379565 (commit) via c570d6396f238cbe39af3a5de98157a2c608ec9b (commit) via 4feafd7c7be947bb38856dee79f057b2671151f3 (commit) via 535311d1875a4302a1c42d92046d2cdc8d3ef4ef (commit) via a83b327f1bec10f18ebe59c2fde7fe74228149f2 (commit) via aa79f76b0cfcf402bdf955cdf8356d619ace0b68 (commit) via e58a8c169cd075ca900a2a144d7b5387460bbf05 (commit) via b0c92548d8a0ec628e61364da04ea239cf297fc7 (commit) via 4b26c7bbf4fe93f5ffb92d3f04012be290be25be (commit) via 7c1e08518bfbe054db270e72476c642d5db93c0a (commit) via afd405dd90561b6aa99b4c9e5b62644659b96768 (commit) via 2973af51110ebefda71b01a7292aa27cdf58aaf9 (commit) via 2dcac3c5e6ab19d0d274c09eb47c4fddf82b7a2c (commit) via 6bcd2cbd27cc62e5cfc5a4707b7a991ab691f3c8 (commit) via d5b7240ac510fc3d1a7033b22a3a59b1450103aa (commit) via 7c7bdf3669f55b7bd3e2ff138af8f57bcc6596ee (commit) via e1c968afd85c229490f1e6c13da94a6ef824b122 (commit) via fb64b12be5c347645976f8000a79f2d31c9a5c79 (commit) via 81a2a43a5a3c13d08ed458d861d47f63a15ceac9 (commit) via bbe4785f342d6513fd001fdde94a945b2f2b654a (commit) via c4402e3fde823a1984cc10f390d09c0ef9c8af0d (commit) via 780bc13736f264435ba9af6dda84235ea217d526 (commit) via cd5e43b32761daea36187f28a72795f7696ea546 (commit) via a5b3975cf71f0bf114832c958ba855646c69832c (commit) via ebab6d6ce40ec4d64126964c0223aa2bdef99094 (commit) via 26c48098e6c387cc76b123a78d50f23518d734cf (commit) via c97df0d892d71462dfd631cf5e93f04641afaab3 (commit) via 65f096c8cda9efd6cffb29b52cac610664bbfbc2 (commit) via 9598d775a5c1c26b502171737d00084f074e16f8 (commit) via 6d107fff13ad42828085ce368dc6e02e24f87713 (commit) via bbd74f2f760184b88341f35f2769b91480e8eb9d (commit) via 4a878115a70851ba77bc984c4313e95a608c5764 (commit) via 1ffcebbf0f912f4ccbff76f05280f7ed98d5e5ea (commit) via 462e4d0cef822d90d982cfb0b38dd60015929bcc (commit) via 384b9f709a16085e48469484a564ce0a7128af13 (commit) via ee8f481d9422dff239a871d363da879a5776f7d9 (commit) via bae593bb118459c1b0d12d02e58ba6c89400aa97 (commit) via 996790719066d92f563bf53fe4222d2b5e3863a5 (commit) via 9d4f766ae35176b0597dd359d692e4166c2314fc (commit) via 3b91640fbb16b5ab248d2fa4d2832f61dac29944 (commit) via d6e801b7d9a666d40f109df20dff0faaa2b46e70 (commit) via 9fa6fb3d9fb2e4cee81ad34d6fd0cbe6f5265171 (commit) via b4551bba07017c852d64524e3324223b9b0f05c9 (commit) via b7cafb98429f45e2aad10e683618da4626da5c84 (commit) via fe9dd8710d577478b324d1d507de0ecd77df2ea5 (commit) via eaec86514896762aff23f30aca2b944ce07bf7c9 (commit) via a9542ddcb77f0296cb835d0ae337dc54418c1bf4 (commit) via 6ffe233f9442792a0e8e52167a01b76eabd83be9 (commit) via 0dbd3968626445b4dcb00307e45206b37dd0e8ad (commit) via bfbb0fb17f4eedb8f22d0694c5d4a3b82dfe189b (commit) via c45b6ec29a5b3a39b83209e970b645e5ed0a411c (commit) via a158ebbe49d431259f002ae8272c39e5792adf4f (commit) via 28c35b4c0456ce62bf1a492ad9c1b223e2f31816 (commit) via ecb5184ce57259c709d728ed5f7be1bdf666bbcc (commit) via 3f9f188877de8a4c0b2883e2360f2834c41b66c1 (commit) via 396ed3b36359367e1efd49395cd9e6dc6f7c98fc (commit) via 8a1c6c2c994b2eac05e8cbc3c692d7367b687d32 (commit) via c655f19e1fa3a1443fd16927d37035a4f4cf46aa (commit) via f96335afc0602e5874e11c505a4087e32873060e (commit) via f6740aa7ad1b553410ffbc9fb54916d6a385a753 (commit) via 761d164420dc4d16e8a0a937146e359130979df9 (commit) via 5e6f3eaae9435b1ab7b36726e7b898d4994fcebf (commit) via 5987c8269779ca2a7207c37a94b0e841a380d7d1 (commit) via 6d47418bc1f3de56e8ed78f2e908eb634230fee9 (commit) via 173d6c84a68691f8bc00749509b8e3665bc159ee (commit) via 5d71fe8043799abf098131fd924c35b49111bf54 (commit) via 30413f12b97149cde7aacfc8e7f2d9b63fa9da5c (commit) via 8b618d0ba997a9b2254ae2ea530a80dd14631d59 (commit) via 44ae09b82e509db390ad4e884ae3310a3508cf46 (commit) via 4a40857836ef2678d2e55c2b1cc9745b88812c4e (commit) via 142b2a61f8a77b3065ce4c78b459ab714d6d190a (commit) via 6d300399b52e0921ce205ef2f053b722b21edeeb (commit) via 9b3c38f4afe2b15159c8659b5916740493f7b60c (commit) via c6b4f3526a262b22d5a97a3152f378778a497a26 (commit) via 1c77c7f3d5b6cb29fac4606299c237c0e299f836 (commit) via 5cf9989a70a23e5b955b7229fa95d3e604b1883d (commit) via 3fe974c4feed33187294a0cb922c20f7dbfeaf43 (commit)
[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha6-6-gbd576b9
The branch, master has been updated via bd576b93bd8a136e1da8cbac154aa87ab1873c1c (commit) via 930b3c15da0bb24672d95ed388957b542cb24f89 (commit) via 26e863e6dd864d6466165adebce716f79bec73b6 (commit) via 8d203d3cabdea6b3b8903432bcbc889ad6358011 (commit) via fcf9f72e042ca97ede28a3d39c3ce406a3808b18 (commit) via 3347ed7e6e416b0534777a73663a353c12cfece7 (commit) from 0118b2301b29af0f22845c7e3ebb5df74ba13aeb (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit bd576b93bd8a136e1da8cbac154aa87ab1873c1c Author: Stefan Metzmacher me...@samba.org Date: Tue Jan 20 00:37:57 2009 +0100 socket_wrapper: fix PCAP support broken by aaea68791cfea45c6fa69abc93ad6d0e832d0283 We should note close the fd after writing the first packet. metze commit 930b3c15da0bb24672d95ed388957b542cb24f89 Author: Stefan Metzmacher me...@samba.org Date: Wed Jan 14 12:25:31 2009 +0100 s3:messaging: also recreate the local messaging backend in messaging_reinit() This prepares the change to use signal events in the tdb backend. metze commit 26e863e6dd864d6466165adebce716f79bec73b6 Author: Stefan Metzmacher me...@samba.org Date: Wed Jan 14 12:21:43 2009 +0100 s3: reinit_after_fork() should reinit the event context before the messaging context Because messaging_reinit() may add events to the event context, which will removed by event_context_reinit(). metze commit 8d203d3cabdea6b3b8903432bcbc889ad6358011 Author: Stefan Metzmacher me...@samba.org Date: Mon Jan 12 18:11:40 2009 +0100 s3:events: add support for signal events metze commit fcf9f72e042ca97ede28a3d39c3ce406a3808b18 Author: Stefan Metzmacher me...@samba.org Date: Sun Jan 18 23:01:59 2009 +0100 s3:smbd: call message_dispatch() before processing incoming PDUs This is a hack to fix races which happen with the RAW-RENAME and RAW-OPLOCK tests. We should try to remove it later. metze commit 3347ed7e6e416b0534777a73663a353c12cfece7 Author: Stefan Metzmacher me...@samba.org Date: Wed Jan 14 12:07:45 2009 +0100 tevent: rename signal handler functions to start with tevent_common_ This makes debugging with gdb easier. metze --- Summary of changes: lib/socket_wrapper/socket_wrapper.c |4 +--- lib/tevent/tevent_signal.c | 11 ++- source3/lib/events.c|6 ++ source3/lib/messages.c | 14 +++--- source3/lib/util.c |8 source3/smbd/process.c |6 ++ 6 files changed, 34 insertions(+), 15 deletions(-) Changeset truncated at 500 lines: diff --git a/lib/socket_wrapper/socket_wrapper.c b/lib/socket_wrapper/socket_wrapper.c index dc0124b..1e39277 100644 --- a/lib/socket_wrapper/socket_wrapper.c +++ b/lib/socket_wrapper/socket_wrapper.c @@ -901,7 +901,7 @@ static int swrap_get_pcap_fd(const char *fname) if (write(fd, file_hdr, sizeof(file_hdr)) != sizeof(file_hdr)) { close(fd); - return -1; + fd = -1; } return fd; } @@ -1194,11 +1194,9 @@ static void swrap_dump_packet(struct socket_info *si, fd = swrap_get_pcap_fd(file_name); if (fd != -1) { if (write(fd, packet, packet_len) != packet_len) { - close(fd); free(packet); return; } - close(fd); } free(packet); diff --git a/lib/tevent/tevent_signal.c b/lib/tevent/tevent_signal.c index f4a56cd..c21ba20 100644 --- a/lib/tevent/tevent_signal.c +++ b/lib/tevent/tevent_signal.c @@ -75,7 +75,7 @@ static uint32_t sig_count(struct sigcounter s) /* signal handler - redirects to registered signals */ -static void signal_handler(int signum) +static void tevent_common_signal_handler(int signum) { char c = 0; SIG_INCREMENT(sig_state-signal_count[signum]); @@ -88,12 +88,13 @@ static void signal_handler(int signum) /* signal handler with SA_SIGINFO - redirects to registered signals */ -static void signal_handler_info(int signum, siginfo_t *info, void *uctx) +static void tevent_common_signal_handler_info(int signum, siginfo_t *info, + void *uctx) { uint32_t count = sig_count(sig_state-signal_count[signum]); sig_state-sig_info[signum][count] = *info; - signal_handler(signum); + tevent_common_signal_handler(signum); /* handle SA_SIGINFO */ if (count+1 == SA_INFO_QUEUE_COUNT) { @@ -215,12 +216,12 @@ struct tevent_signal *tevent_common_add_signal(struct tevent_context *ev, if
Build status as of Tue Jan 20 00:00:01 2009
URL: http://build.samba.org/ --- /home/build/master/cache/broken_results.txt.old 2009-01-19 00:00:12.0 + +++ /home/build/master/cache/broken_results.txt 2009-01-20 00:00:07.0 + @@ -1,4 +1,4 @@ -Build status as of Mon Jan 19 00:00:02 2009 +Build status as of Tue Jan 20 00:00:01 2009 Build counts: Tree Total Broken Panic @@ -6,18 +6,18 @@ ccache 27 6 0 ctdb 0 0 0 distcc 1 0 0 -ldb 28 28 0 -libreplace 27 10 0 -lorikeet-heimdal 25 17 0 -pidl 17 2 0 -ppp 11 0 0 -rsync28 9 0 +ldb 27 27 0 +libreplace 26 9 0 +lorikeet-heimdal 24 16 0 +pidl 16 2 0 +ppp 10 0 0 +rsync26 9 0 samba-docs 0 0 0 -samba-gtk5 5 0 -samba_3_X_devel 26 23 0 -samba_3_X_test 26 21 0 -samba_4_0_test 28 25 1 -smb-build26 5 0 -talloc 28 28 0 -tdb 26 10 0 +samba-gtk4 4 0 +samba_3_X_devel 25 23 1 +samba_3_X_test 25 20 0 +samba_4_0_test 27 26 1 +smb-build25 5 0 +talloc 27 27 0 +tdb 25 9 0
[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4838-g56af611
The branch, v3-3-test has been updated via 56af6112d67aa9dd3757297fbe29ce1a3eabf00d (commit) from acb1debf257c6c3df325267b2a4c8e2d40c1f850 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log - commit 56af6112d67aa9dd3757297fbe29ce1a3eabf00d Author: Stefan Metzmacher me...@samba.org Date: Mon Jan 19 16:26:00 2009 -0800 s3: reinit_after_fork() should reinit the event context before the messaging context Because messaging_reinit() may add events to the event context, which will removed by event_context_reinit(). metze --- Summary of changes: source/lib/util.c |8 1 files changed, 4 insertions(+), 4 deletions(-) Changeset truncated at 500 lines: diff --git a/source/lib/util.c b/source/lib/util.c index 5ec6f26..0ea7bf6 100644 --- a/source/lib/util.c +++ b/source/lib/util.c @@ -1055,6 +1055,10 @@ bool reinit_after_fork(struct messaging_context *msg_ctx, return false; } + if (ev_ctx) { + event_context_reinit(ev_ctx); + } + if (msg_ctx) { /* * For clustering, we need to re-init our ctdbd connection after the @@ -1068,10 +1072,6 @@ bool reinit_after_fork(struct messaging_context *msg_ctx, } } - if (ev_ctx) { - event_context_reinit(ev_ctx); - } - return true; } -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4839-g53e8f92
The branch, v3-3-test has been updated via 53e8f92678428a0c3cbeefa83219609661d28831 (commit) from 56af6112d67aa9dd3757297fbe29ce1a3eabf00d (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log - commit 53e8f92678428a0c3cbeefa83219609661d28831 Author: Stefan Metzmacher me...@samba.org Date: Mon Jan 19 16:37:53 2009 -0800 socket_wrapper: fix PCAP support broken by aaea68791cfea45c6fa69abc93ad6d0e832d0283 We should not close the fd after writing the first packet. metze --- Summary of changes: source/lib/socket_wrapper/socket_wrapper.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) Changeset truncated at 500 lines: diff --git a/source/lib/socket_wrapper/socket_wrapper.c b/source/lib/socket_wrapper/socket_wrapper.c index cee43c0..7b73061 100644 --- a/source/lib/socket_wrapper/socket_wrapper.c +++ b/source/lib/socket_wrapper/socket_wrapper.c @@ -901,7 +901,7 @@ static int swrap_get_pcap_fd(const char *fname) if (write(fd, file_hdr, sizeof(file_hdr)) != sizeof(file_hdr)) { close(fd); - return -1; + fd = -1; } return fd; } @@ -1194,11 +1194,9 @@ static void swrap_dump_packet(struct socket_info *si, fd = swrap_get_pcap_fd(file_name); if (fd != -1) { if (write(fd, packet, packet_len) != packet_len) { - close(fd); free(packet); return; } - close(fd); } free(packet); -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-3379-g067d4a8
The branch, v3-2-test has been updated via 067d4a889a218c79cc2e343e542d9c2f0af459d6 (commit) via e9de9cd33a3260c0b1b019208db9c3f96d9d5f3a (commit) from 5db09d4dd27e10c926c3413bcd3088e72a4af487 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit 067d4a889a218c79cc2e343e542d9c2f0af459d6 Merge: e9de9cd33a3260c0b1b019208db9c3f96d9d5f3a 5db09d4dd27e10c926c3413bcd3088e72a4af487 Author: Jeremy Allison j...@samba.org Date: Mon Jan 19 18:11:33 2009 -0800 Merge branch 'v3-2-test' of ssh://j...@git.samba.org/data/git/samba into v3-2-test commit e9de9cd33a3260c0b1b019208db9c3f96d9d5f3a Author: Richard Sharpe realrichardsha...@gmail.com Date: Mon Jan 19 18:11:04 2009 -0800 Fix mistake in DEBUG message --- Summary of changes: source/smbd/reply.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source/smbd/reply.c b/source/smbd/reply.c index 92ef0b6..159c6f4 100644 --- a/source/smbd/reply.c +++ b/source/smbd/reply.c @@ -2362,7 +2362,7 @@ static NTSTATUS do_unlink(connection_struct *conn, sbuf);/* psbuf */ if (!NT_STATUS_IS_OK(status)) { - DEBUG(10, (open_file_ntcreate failed: %s\n, + DEBUG(10, (create_file_unixpath failed: %s\n, nt_errstr(status))); return status; } -- Samba Shared Repository
[SCM] Samba Shared Repository - annotated tag release-3-0-34 created - release-3-0-34
The annotated tag, release-3-0-34 has been created at 46dbef89b8f766e76280e82e06a9cff01d90997f (tag) tagging 9398128966537cc1977ea59ef54fbfd66bf8d0e5 (commit) replaces release-3-0-33 tagged by Karolin Seeger on Tue Jan 20 08:39:59 2009 +0100 - Log - tag release-3-0-34 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (GNU/Linux) iD8DBQBJdX/tbzORW2Vot+oRAn2bAJ9VITRgsa9eQjSgnW8yi1I0lEBFLwCeMLbf gbAk8qwe3krOk27rr3mEHHg= =iBPm -END PGP SIGNATURE- Andreas Schneider (3): Delete the krb5 ccname variable from the PAM environment if set. Fix the build of pam_winbind. Fix circular dependency error with autoconf 2.6.3. Andrew Tridgell (3): Avoid a race condition in glibc between AIO and setresuid(). EINVAL is also a valid error return, meaning this filesystem become root for AIO operations Bo Yang (3): Don't set child-requests to NULL in parent after fork Backport of the clean event context after fork and Fix null pointer refrence in event context in backport from v3-3-test Carsten Dumke (1): net: Fix documentation of net rap printq info (bug #5892) David Leonard (1): Fix bug 4516, no IPv6 on Solaris 2.6. Dina Fine (1): Fix bug #5908 - Samba 3.0.32 - internal change notify on share directory fails Gerald (Jerry) Carter (1): Set version to 3.0.33-GIT Günther Deschner (6): netlogon: define NET_SRVPWSET2 call. netlogon: re-run make idl - implement netr_ServerPasswordSet2 client. Backport bugfix for bug #5710. net: net should just use machine account creds when changing passwords. fix net_io_q_srv_pwset2. auth: Fix build warning. Igor Mammedov (3): * Adds support for cifs.spnego helper into configure and Makefile.in * helper source for handling cifs kernel module upcall for kerberos Adds support for cifs.resolver upcall. Jeff Layton (14): cifs.upcall: enable building by default on linux cifs.upcall: move default install location to EPREFIX/sbin cifs.upcall: negatively instantiate keys on error cifs.upcall: handle MSKRB5 OID properly cifs.upcall: fix build warning cifs.upcall: bump SPNEGO msg version number and don't reject old versions Introduce const DATA_BLOB data_blob_null = { NULL, 0, NULL }; mount.cifs: fix several problems when mounting subdirectories of shares (try 2) mount.cifs: don't prompt for password on krb5 mounts cifs.upcall: make most functions static and silence compiler warnings mount.cifs: make local versions of strlcat and strlcpy static mount.cifs: have uppercase_string return success on NULL pointer mount.cifs: make return codes match the return codes for /bin/mount (try #3) mount.cifs: use lock/unlock_mtab scheme from util-linux-ng mount prog Jeremy Allison (22): Fix bug #5729. Explicitly allow -valid. Remove unecessary msync. Fix bug #5052 - not work cancel inheritance on share. We were Here's the fix for bug #5750. Note this bug does *NOT* affect Backport of bugfix for #5751, smbclient: cannot show ACLs on DFS, done by This patchset comprises a number of cleanups for the cifs upcall Fix winbindd crash in an unusual failure mode. Bug #5737. Based on original patch from sharga...@novell.com Fix for bug #5790 - samba returns STATUS_OBJECT_NAME_NOT_FOUND on set file disposition call. Ensure we emit the notify message before renaming the open files. Fix use of DLIST_REMOVE as spotted by Constantine Vetoshev gepar...@gmail.com. Fix bug #5814 - Winbindd dumping core in a strange manner while doing rescan_trusted_domain. Cope with bad trans2mkdir requests from System i QNTC IBM SMB client. Add reference to bug #4308 to remind me to add regression test to smbtorture. Fix memory leak in error path, spotted by Martin Zielinski m...@seh.de. Fix bug #5873 - ACL inheritance cannot be broken. This regresses #4308, but that will have to Fix bug #5914 - Build failure: redefinition of struct name_list Fix bug #1254 - write list not working under share-level security Fix bug #5937 - filenames with * char hide other files Fix race condition in alarm lock processing noticed by Richard Sharpe realrichardsha...@gmail.com. Fix logic bug introduce in backport of ccache_regain_all_now, sync with Fix bug #6019 File corruption in Clustered SMB/NFS environment managed via CTDB Fix bug #6035 - Possible race between fcntl F_SETLKW and alarm delivery. Kai Blin (2): winbindd: Reformat the WBFLAGS defines to prepare for adding a new flag. ntlm_auth: Put huge NTLMv2 blobs into extra_data on CRAP auth Karolin Seeger (30): docs: Add default value for writeable to man smb.conf. Samba3-HOWTO: Fix usage of 'net idmap restore'. docs: Add