Re: [Samba] 3.6.0 winbind issues
Hi Chris, can you please post your complete (global) samba configuration here? And then please follow the instructions for narrowing it down, which I posted to https://bugzilla.samba.org/show_bug.cgi?id=8371#c5 Cheers, Michael Chris Smith wrote: On Fri, Aug 12, 2011 at 10:25 AM, Chris Smith smb...@chrissmith.org wrote: With the standard: idmap config * : backend = tdb no results are returned by getent, and wbinfo does not always work, also no winbind_idmap.tdb file is ever created. by changing to: idmap config * : backend = rid or idmap config * : backend = hash results are obtained but are the same regardless of range (or base_rid). Turns out that sometimes (during various restarts) results will be obtained with: idmap config * : backend = tdb However, as previously noted, no winbind_idmap.tdb file is created and the results are always the same. Basically the idmap config settings seem to have no effect, regardless of type (tdb, rid, hash) or range the result for 'getent passwd' (when I get one) is always: TESTDOMAIN\root:*:322438120:322437633:root:/home/TESTDOMAIN/root:/bin/false TESTDOMAIN\me:*:322438122:322437633::/home/TESTDOMAIN/me:/bin/false TESTDOMAIN\you:*:322438123:322437633::/home/TESTDOMAIN/you:/bin/false TESTDOMAIN\test:*:322438126:322437633::/home/TESTDOMAIN/test:/bin/false Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba pgp85EvvyDrbO.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 3.6.0: unable to list Active Directoy users
Hi David, David Touzeau wrote: Le vendredi 12 août 2011 à 12:25 +0200, Michael Wood a écrit : Hi On 12 August 2011 10:23, David Touzeau da...@touzeau.eu wrote: Dear all I have upgraded my Samba from 3.5.x to a newest 3.6.0 version. My Samba is connected to an Active Directory 2008 R2 the getent passwd did not display any ActiveDirectoy Domains users. ... I think there is a misconfiguration in my setup but did not find any solution: Where i'm wrong ? [global] ... idmap config TOUZEAU:backend = ad idmap config TOUZEAU:readonly = yes idmap config TOUZEAU:schema_mode = rfc2307 idmap config * : range = 16777216-33554431 The way idmap works was changed with 3.6.0. I don't know if the above is wrong, but perhaps it is something to consider. e.g. I don't know if readonly is supported. I've seen mention of read only, but not in the idmap_ad code. But maybe I missed it. Also, the idmap_ad documentation implies that you need something like this: idmap config * : backend = tdb idmap config * : range = 100-199 idmap config TOUZEAU : backend = ad idmap config TOUZEAU : range = 1000-99 idmap config TOUZEAU : schema_mode = rfc2307 I am not sure if the above is relevant to you :) but I hope it helps. Many thanks Michael i have changed values but it has no effect and the issue still alive... But the remarks by Michael were correct. You need to give the configuration for the ad backend (domain TOUZEAU) a range, otherwise it won't work. The readonly parameter will be ignored for the ad backend. (And for those backends that support it, the correct spelling is read only.) With the above config changes, you should narrow the source of problems down as detailed here: https://bugzilla.samba.org/show_bug.cgi?id=8371#c5 You should then post the level 10 logs of the most specific failing command here, so we can debug further. Cheers - Michael For anybody here it is some relevant winbindd debug informations Adding 0 DC's from auto lookup [2011/08/12 10:39:31.945022, 5] libads/sitename_cache.c:105(sitename_fetch) sitename_fetch: Returning sitename for TOUZEAU.HOME: Default-First-Site-Name [2011/08/12 10:39:31.945047, 10] libsmb/namequery.c:1975(internal_resolve_name) internal_resolve_name: looking up WIN-RSF60G6AS1L.touzeau.home#20 (sitename Default-First-Site-Name) [2011/08/12 10:39:31.945076, 5] libsmb/namecache.c:165(namecache_fetch) name WIN-RSF60G6AS1L.touzeau.home#20 found. [2011/08/12 10:39:31.945124, 9] libsmb/conncache.c:150(check_negative_conn_cache) check_negative_conn_cache returning result 0 for domain touzeau.home server 192.168.1.150 [2011/08/12 10:39:31.945151, 10] libsmb/namequery.c:1079(remove_duplicate_addrs2) remove_duplicate_addrs2: looking for duplicate address/port pairs [2011/08/12 10:39:31.945172, 4] libsmb/namequery.c:2601(get_dc_list) get_dc_list: returning 1 ip addresses in an ordered list [2011/08/12 10:39:31.945193, 4] libsmb/namequery.c:2602(get_dc_list) get_dc_list: 192.168.1.150:389 [2011/08/12 10:39:31.945216, 10] libads/kerberos.c:825(get_kdc_ip_string) get_kdc_ip_string: Returningkdc = 192.168.1.150 [2011/08/12 10:39:31.945304, 5] libads/kerberos.c:948(create_local_private_krb5_conf_for_domain) create_local_private_krb5_conf_for_domain: wrote file /var/lib/samba/smb_krb5/krb5.conf.TOUZEAU with realm TOUZEAU.HOME KDC list =kdc = 192.168.1.150 [2011/08/12 10:39:31.945347, 4] libsmb/namequery_dc.c:148(ads_dc_name) ads_dc_name: using server='WIN-RSF60G6AS1L.TOUZEAU.HOME' IP=192.168.1.150 [2011/08/12 10:39:31.945376, 5] libads/sitename_cache.c:105(sitename_fetch) sitename_fetch: Returning sitename for touzeau.home: Default-First-Site-Name [2011/08/12 10:39:31.945398, 8] libsmb/namequery.c:2652(get_sorted_dc_list) get_sorted_dc_list: attempting lookup for name touzeau.home (sitename Default-First-Site-Name) using [ads] [2011/08/12 10:39:31.945432, 5] libsmb/namequery.c:194(saf_fetch) saf_fetch: Returning WIN-RSF60G6AS1L.touzeau.home for touzeau.home domain [2011/08/12 10:39:31.945458, 3] libsmb/namequery.c:2461(get_dc_list) get_dc_list: preferred server list: WIN-RSF60G6AS1L.touzeau.home, * [2011/08/12 10:39:31.945481, 10] libsmb/namequery.c:1975(internal_resolve_name) internal_resolve_name: looking up touzeau.home#1c (sitename Default-First-Site-Name) [2011/08/12 10:39:31.945507, 5] libsmb/namecache.c:160(namecache_fetch) no entry for touzeau.home#1C found. [2011/08/12 10:39:31.945531, 5] libsmb/namequery.c:1869(resolve_ads) resolve_ads: Attempting to resolve DCs for touzeau.home using DNS [2011/08/12 10:39:31.945890, 3] libads/dns.c:345(dns_send_req) ads_dns_lookup_srv: Failed to resolve _ldap._tcp.Default-First-Site-Name._sites.dc._msdcs.touzeau.home (Succès) [2011/08/12
Re: [Samba] Samba 3.6.0: unable to list Active Directoy users WBC_ERR_DOMAIN_NOT_FOUND
Le lundi 15 août 2011 à 15:11 +0200, Michael Adam a écrit : Hi David, David Touzeau wrote: Le vendredi 12 août 2011 à 12:25 +0200, Michael Wood a écrit : Hi On 12 August 2011 10:23, David Touzeau da...@touzeau.eu wrote: Dear all I have upgraded my Samba from 3.5.x to a newest 3.6.0 version. My Samba is connected to an Active Directory 2008 R2 the getent passwd did not display any ActiveDirectoy Domains users. ... I think there is a misconfiguration in my setup but did not find any solution: Where i'm wrong ? [global] ... idmap config TOUZEAU:backend = ad idmap config TOUZEAU:readonly = yes idmap config TOUZEAU:schema_mode = rfc2307 idmap config * : range = 16777216-33554431 The way idmap works was changed with 3.6.0. I don't know if the above is wrong, but perhaps it is something to consider. e.g. I don't know if readonly is supported. I've seen mention of read only, but not in the idmap_ad code. But maybe I missed it. Also, the idmap_ad documentation implies that you need something like this: idmap config * : backend = tdb idmap config * : range = 100-199 idmap config TOUZEAU : backend = ad idmap config TOUZEAU : range = 1000-99 idmap config TOUZEAU : schema_mode = rfc2307 I am not sure if the above is relevant to you :) but I hope it helps. Many thanks Michael i have changed values but it has no effect and the issue still alive... But the remarks by Michael were correct. You need to give the configuration for the ad backend (domain TOUZEAU) a range, otherwise it won't work. The readonly parameter will be ignored for the ad backend. (And for those backends that support it, the correct spelling is read only.) With the above config changes, you should narrow the source of problems down as detailed here: https://bugzilla.samba.org/show_bug.cgi?id=8371#c5 You should then post the level 10 logs of the most specific failing command here, so we can debug further. Cheers - Michael For anybody here it is some relevant winbindd debug informations Adding 0 DC's from auto lookup [2011/08/12 10:39:31.945022, 5] libads/sitename_cache.c:105(sitename_fetch) sitename_fetch: Returning sitename for TOUZEAU.HOME: Default-First-Site-Name [2011/08/12 10:39:31.945047, 10] libsmb/namequery.c:1975(internal_resolve_name) internal_resolve_name: looking up WIN-RSF60G6AS1L.touzeau.home#20 (sitename Default-First-Site-Name) [2011/08/12 10:39:31.945076, 5] libsmb/namecache.c:165(namecache_fetch) name WIN-RSF60G6AS1L.touzeau.home#20 found. [2011/08/12 10:39:31.945124, 9] libsmb/conncache.c:150(check_negative_conn_cache) check_negative_conn_cache returning result 0 for domain touzeau.home server 192.168.1.150 [2011/08/12 10:39:31.945151, 10] libsmb/namequery.c:1079(remove_duplicate_addrs2) remove_duplicate_addrs2: looking for duplicate address/port pairs [2011/08/12 10:39:31.945172, 4] libsmb/namequery.c:2601(get_dc_list) get_dc_list: returning 1 ip addresses in an ordered list [2011/08/12 10:39:31.945193, 4] libsmb/namequery.c:2602(get_dc_list) get_dc_list: 192.168.1.150:389 [2011/08/12 10:39:31.945216, 10] libads/kerberos.c:825(get_kdc_ip_string) get_kdc_ip_string: Returning kdc = 192.168.1.150 [2011/08/12 10:39:31.945304, 5] libads/kerberos.c:948(create_local_private_krb5_conf_for_domain) create_local_private_krb5_conf_for_domain: wrote file /var/lib/samba/smb_krb5/krb5.conf.TOUZEAU with realm TOUZEAU.HOME KDC list = kdc = 192.168.1.150 [2011/08/12 10:39:31.945347, 4] libsmb/namequery_dc.c:148(ads_dc_name) ads_dc_name: using server='WIN-RSF60G6AS1L.TOUZEAU.HOME' IP=192.168.1.150 [2011/08/12 10:39:31.945376, 5] libads/sitename_cache.c:105(sitename_fetch) sitename_fetch: Returning sitename for touzeau.home: Default-First-Site-Name [2011/08/12 10:39:31.945398, 8] libsmb/namequery.c:2652(get_sorted_dc_list) get_sorted_dc_list: attempting lookup for name touzeau.home (sitename Default-First-Site-Name) using [ads] [2011/08/12 10:39:31.945432, 5] libsmb/namequery.c:194(saf_fetch) saf_fetch: Returning WIN-RSF60G6AS1L.touzeau.home for touzeau.home domain [2011/08/12 10:39:31.945458, 3] libsmb/namequery.c:2461(get_dc_list) get_dc_list: preferred server list: WIN-RSF60G6AS1L.touzeau.home, * [2011/08/12 10:39:31.945481, 10] libsmb/namequery.c:1975(internal_resolve_name) internal_resolve_name: looking up touzeau.home#1c (sitename Default-First-Site-Name) [2011/08/12 10:39:31.945507, 5] libsmb/namecache.c:160(namecache_fetch) no entry for touzeau.home#1C found. [2011/08/12 10:39:31.945531, 5] libsmb/namequery.c:1869(resolve_ads) resolve_ads: Attempting to resolve DCs for touzeau.home using DNS
Re: [Samba] Samba 3.6.0: unable to list Active Directoy users WBC_ERR_DOMAIN_NOT_FOUND
Le lundi 15 août 2011 à 15:11 +0200, Michael Adam a écrit : Hi David, David Touzeau wrote: Le vendredi 12 août 2011 à 12:25 +0200, Michael Wood a écrit : Hi On 12 August 2011 10:23, David Touzeau da...@touzeau.eu wrote: Dear all I have upgraded my Samba from 3.5.x to a newest 3.6.0 version. My Samba is connected to an Active Directory 2008 R2 the getent passwd did not display any ActiveDirectoy Domains users. ... I think there is a misconfiguration in my setup but did not find any solution: Where i'm wrong ? [global] ... idmap config TOUZEAU:backend = ad idmap config TOUZEAU:readonly = yes idmap config TOUZEAU:schema_mode = rfc2307 idmap config * : range = 16777216-33554431 The way idmap works was changed with 3.6.0. I don't know if the above is wrong, but perhaps it is something to consider. e.g. I don't know if readonly is supported. I've seen mention of read only, but not in the idmap_ad code. But maybe I missed it. Also, the idmap_ad documentation implies that you need something like this: idmap config * : backend = tdb idmap config * : range = 100-199 idmap config TOUZEAU : backend = ad idmap config TOUZEAU : range = 1000-99 idmap config TOUZEAU : schema_mode = rfc2307 I am not sure if the above is relevant to you :) but I hope it helps. Many thanks Michael i have changed values but it has no effect and the issue still alive... But the remarks by Michael were correct. You need to give the configuration for the ad backend (domain TOUZEAU) a range, otherwise it won't work. The readonly parameter will be ignored for the ad backend. (And for those backends that support it, the correct spelling is read only.) With the above config changes, you should narrow the source of problems down as detailed here: https://bugzilla.samba.org/show_bug.cgi?id=8371#c5 You should then post the level 10 logs of the most specific failing command here, so we can debug further. Cheers - Michael For anybody here it is some relevant winbindd debug informations Adding 0 DC's from auto lookup [2011/08/12 10:39:31.945022, 5] libads/sitename_cache.c:105(sitename_fetch) sitename_fetch: Returning sitename for TOUZEAU.HOME: Default-First-Site-Name [2011/08/12 10:39:31.945047, 10] libsmb/namequery.c:1975(internal_resolve_name) internal_resolve_name: looking up WIN-RSF60G6AS1L.touzeau.home#20 (sitename Default-First-Site-Name) [2011/08/12 10:39:31.945076, 5] libsmb/namecache.c:165(namecache_fetch) name WIN-RSF60G6AS1L.touzeau.home#20 found. [2011/08/12 10:39:31.945124, 9] libsmb/conncache.c:150(check_negative_conn_cache) check_negative_conn_cache returning result 0 for domain touzeau.home server 192.168.1.150 [2011/08/12 10:39:31.945151, 10] libsmb/namequery.c:1079(remove_duplicate_addrs2) remove_duplicate_addrs2: looking for duplicate address/port pairs [2011/08/12 10:39:31.945172, 4] libsmb/namequery.c:2601(get_dc_list) get_dc_list: returning 1 ip addresses in an ordered list [2011/08/12 10:39:31.945193, 4] libsmb/namequery.c:2602(get_dc_list) get_dc_list: 192.168.1.150:389 [2011/08/12 10:39:31.945216, 10] libads/kerberos.c:825(get_kdc_ip_string) get_kdc_ip_string: Returning kdc = 192.168.1.150 [2011/08/12 10:39:31.945304, 5] libads/kerberos.c:948(create_local_private_krb5_conf_for_domain) create_local_private_krb5_conf_for_domain: wrote file /var/lib/samba/smb_krb5/krb5.conf.TOUZEAU with realm TOUZEAU.HOME KDC list = kdc = 192.168.1.150 [2011/08/12 10:39:31.945347, 4] libsmb/namequery_dc.c:148(ads_dc_name) ads_dc_name: using server='WIN-RSF60G6AS1L.TOUZEAU.HOME' IP=192.168.1.150 [2011/08/12 10:39:31.945376, 5] libads/sitename_cache.c:105(sitename_fetch) sitename_fetch: Returning sitename for touzeau.home: Default-First-Site-Name [2011/08/12 10:39:31.945398, 8] libsmb/namequery.c:2652(get_sorted_dc_list) get_sorted_dc_list: attempting lookup for name touzeau.home (sitename Default-First-Site-Name) using [ads] [2011/08/12 10:39:31.945432, 5] libsmb/namequery.c:194(saf_fetch) saf_fetch: Returning WIN-RSF60G6AS1L.touzeau.home for touzeau.home domain [2011/08/12 10:39:31.945458, 3] libsmb/namequery.c:2461(get_dc_list) get_dc_list: preferred server list: WIN-RSF60G6AS1L.touzeau.home, * [2011/08/12 10:39:31.945481, 10] libsmb/namequery.c:1975(internal_resolve_name) internal_resolve_name: looking up touzeau.home#1c (sitename Default-First-Site-Name) [2011/08/12 10:39:31.945507, 5] libsmb/namecache.c:160(namecache_fetch) no entry for touzeau.home#1C found. [2011/08/12 10:39:31.945531, 5] libsmb/namequery.c:1869(resolve_ads) resolve_ads: Attempting to resolve DCs for touzeau.home using DNS
Re: [Samba] Samba 3.6.0: unable to list Active Directoy users WBC_ERR_DOMAIN_NOT_FOUND
I am also experiencing the same problems. I am running 3.6 on AIX 6.1. I do have a 3.5.8 installation running without problem (I understand some major changes have happened.) I took the smb.conf from my 3.5.8 install and changed appropriately for 3.6 (At least as far as I catell). I followed the steps Michael posted on the bug report. /usr/local/samba/bin/wbinfo -t checking the trust secret for domain MYDOMAIN via RPC calls succeeded /usr/local/samba/bin/wbinfo -n MYDOMAIN+peacocjo S-1-5-21-4260745004-1716061493-1944009462-4325 SID_USER (1) /usr/local/samba/bin/wbinfo -s S-1-5-21-4260745004-1716061493-1944009462-4325 MYDOMAIN+peacocjo 1 /usr/local/samba/bin/wbinfo -S S-1-5-21-4260745004-1716061493-1944009462-4325 failed to call wbcSidToUid: WBC_ERR_WINBIND_NOT_AVAILABLE Could not convert sid S-1-5-21-4260745004-1716061493-1944009462-4325 to uid I have the logs if you would like me to attach them to a the same bug report or open a new one? SMB.CONF [global] workgroup = MYDOMAIN server string = %h server (Samba) dns proxy = no Debugging/Accounting loglevel = 10 log file = /var/log/samba/log.%m max log size = 1000 # syslog only = yes # We want Samba to log a minimum amount of information to syslog. Everything # should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log # through syslog you should set the following parameter to something higher. # syslog = 10 ### Authentication ###
[Samba] [META] suggestions for managing users desktops
Hi, Sorry if this is slightly OT. I have just moved from a WindowNT domain to a Samba3x PDC. What I'd really like now is some tools to help me manage users. Some of the things on my wish list are to be able to edit a remote registry (the user's profiles are local) and Remote desktop access so I do not have to run over their desks every time there is a message they don't understand. Does anyone have any suggestion on how to make user management a little simpler in my environment? Thanks, Dermot. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Cluster mit High Performance
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hallo SambaML, in the next weeks I want to setup a high perormance Cluster(2-Nodes) with Samba on Linux. Now I have to decide which Clusterfilesystem is the best one for this project, gfs2, ocfs, glusterfs. If someone has experience with this, pleas give me an answer. At the second: is it the best way to setup a active-active Cluster with ctdb ? Best regards M. Wandel m-wan...@versanet.de -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJOSVArAAoJEL/EwdcvY5PEBGMH/j9TY3ySzyRnz1yb25NUUA3S O0NVa1jRJ/rH3zCL/KcQoCgnjj7IfIdYY2HNdhaOvEaRjL9eExuAnIjVXMc++ph/ haGWrwexcsHgPrpVd+YMaQtDzG23DW2UPjHQAR+WnxGctf6enayRPXLuBWKwpYcB pqytcs3eLVWfj45rJo7zWJUVWLwlX0N/zUMxEwy1LhmE+ZhvziT2zFr/6EIEtOYU 2mWzg4LqaXYLm5fSiqp5xO43xiv/oT6UiR+jsiQ9oUsWnLlCn3CnFxnTdGB84N1x uY/pKhUyBgmj4nj9sHsfCik7BLhF2En0ryfe1JHDLKX55dxJho0/wHbXxckvZuA= =ej+z -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] XP is unable to write to samba shares - Valid users?
I have a client with a linux server with samba installed and I've created users using the smbpasswd command (user1,user2,user3...) but when I go to the XP machines they can see the different shares but are unable to write to the folders or create additional folders based on their user1 and password. I want them to validate themselves to the linux server so that if their domain goes down they can still access their files on the samba file server but currently they cannot write to the folder based on the config so far. Load smb config files from /etc/samba/smb.conf rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) Processing section [DATA] Processing section [USER] Processing section [ADMIN] Processing section [printers] Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions [global] workgroup = Office1 server string = Samba Server log file = /var/log/samba/log.%m max log size = 50 unix extensions = No logon path = \\%25N\%25U\profile logon home = \\%25N\%25U domain master = No cups options = raw [SACA_DATA] path = /mnt/DATA valid users = user1, user2, user3, user4, user5, root admin users = user1 read only = No create mask = 0666 directory mask = 0777 guest ok = Yes [SACA_USER] path = /mnt/USER valid users = user1, user2, user3, user4, user5, root read only = No create mask = 0666 directory mask = 0777 guest ok = Yes [SACA_ADMIN] path = /mnt/ADMIN valid users = root, user4, user5, user1 admin users = user1 read only = No create mask = 0666 directory mask = 0777 guest ok = Yes [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No Thank you, Jefferson -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] XP is unable to write to samba shares - Valid users?
Does user1 have a local account on the unix box? Dp. On 15 August 2011 20:51, Jefferson Allen j.al...@mercuryfilmworks.com wrote: I have a client with a linux server with samba installed and I've created users using the smbpasswd command (user1,user2,user3...) but when I go to the XP machines they can see the different shares but are unable to write to the folders or create additional folders based on their user1 and password. I want them to validate themselves to the linux server so that if their domain goes down they can still access their files on the samba file server but currently they cannot write to the folder based on the config so far. Load smb config files from /etc/samba/smb.conf rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) Processing section [DATA] Processing section [USER] Processing section [ADMIN] Processing section [printers] Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions [global] workgroup = Office1 server string = Samba Server log file = /var/log/samba/log.%m max log size = 50 unix extensions = No logon path = \\%25N\%25U\profile logon home = \\%25N\%25U domain master = No cups options = raw [SACA_DATA] path = /mnt/DATA valid users = user1, user2, user3, user4, user5, root admin users = user1 read only = No create mask = 0666 directory mask = 0777 guest ok = Yes [SACA_USER] path = /mnt/USER valid users = user1, user2, user3, user4, user5, root read only = No create mask = 0666 directory mask = 0777 guest ok = Yes [SACA_ADMIN] path = /mnt/ADMIN valid users = root, user4, user5, user1 admin users = user1 read only = No create mask = 0666 directory mask = 0777 guest ok = Yes [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No Thank you, Jefferson -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 3.6.0: unable to list Active Directoy users WBC_ERR_DOMAIN_NOT_FOUND
` Peacock,Josh wrote: I am also experiencing the same problems. I am running 3.6 on AIX 6.1. I do have a 3.5.8 installation running without problem (I understand some major changes have happened.) I took the smb.conf from my 3.5.8 install and changed appropriately for 3.6 (At least as far as I catell). Yeah, I still have this error even after downgrading to 3.5.10 -- I think 3.6 corrupted my userdb or changed the format... I suppose I need to allocate a new one and start from scratch to fix it... But lots of problems related to looking up the domain, the PDC and some users. I did try to report it, but since I wasn't certain what was going on and just had a bunch of random symptoms, I got ignored. But I did warn them that other users would likely have problems and should be warned... That was ignored too.. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] XP is unable to write to samba shares - Valid users?
Yes. User1 has been created on the linux box and I used the same password for creating the user1 and when doing the smbpasswd for user1. Thank you, Jefferson -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Dermot Sent: August-15-11 4:40 PM To: samba@lists.samba.org Subject: Re: [Samba] XP is unable to write to samba shares - Valid users? Does user1 have a local account on the unix box? Dp. On 15 August 2011 20:51, Jefferson Allen j.al...@mercuryfilmworks.com wrote: I have a client with a linux server with samba installed and I've created users using the smbpasswd command (user1,user2,user3...) but when I go to the XP machines they can see the different shares but are unable to write to the folders or create additional folders based on their user1 and password. I want them to validate themselves to the linux server so that if their domain goes down they can still access their files on the samba file server but currently they cannot write to the folder based on the config so far. Load smb config files from /etc/samba/smb.conf rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) Processing section [DATA] Processing section [USER] Processing section [ADMIN] Processing section [printers] Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions [global] workgroup = Office1 server string = Samba Server log file = /var/log/samba/log.%m max log size = 50 unix extensions = No logon path = \\%25N\%25U\profile logon home = \\%25N\%25U domain master = No cups options = raw [SACA_DATA] path = /mnt/DATA valid users = user1, user2, user3, user4, user5, root admin users = user1 read only = No create mask = 0666 directory mask = 0777 guest ok = Yes [SACA_USER] path = /mnt/USER valid users = user1, user2, user3, user4, user5, root read only = No create mask = 0666 directory mask = 0777 guest ok = Yes [SACA_ADMIN] path = /mnt/ADMIN valid users = root, user4, user5, user1 admin users = user1 read only = No create mask = 0666 directory mask = 0777 guest ok = Yes [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No Thank you, Jefferson -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] 3.6.0 winbind issues
` Chris Smith wrote: Testing 3.6.0 on a member server of a 3.5.8 domain shows some strange problems. With the standard: idmap config * : backend = tdb no results are returned by getent, and wbinfo does not always work, also no winbind_idmap.tdb file is ever created. by changing to: idmap config * : backend = rid or idmap config * : backend = hash results are obtained but are the same regardless of range (or base_rid). Yeah...reported this a month ago... as well as other TDB/SID backend probs: http://lists.samba.org/archive/samba-technical/2011-July/078663.html http://lists.samba.org/archive/samba-technical/2011-July/078826.html --- I wasn't sure if it was a 3.6 problem or some type of cockpit error, but both emails were ignored. -- so the problem was known about nearly a month ago, but my input wasn't considered valid without knowing what the problem was... Had one case that I found that gave corrupted packets that I could show in a trace. That one got fixed... But w/out hard details, they are busy folk... -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] XP is unable to write to samba shares - Valid users?
and the permissions on the directory? Dp. On 15 August 2011 22:14, Jefferson Allen j.al...@mercuryfilmworks.com wrote: Yes. User1 has been created on the linux box and I used the same password for creating the user1 and when doing the smbpasswd for user1. Thank you, Jefferson -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] windows 7 cannot connect
From my build docs for RHEL. YMMV and caveat emptor ;-) # cd /etc/yum.repos.d # wget http://ftp.sernet.de/pub/samba/major version/rhel/5/sernet-samba.repo where major version is something like 3.5 # yum install samba3.x86_64 samba3-*64* increase maximum number of open files and processes for large rsync and copy operations: add the following line to /etc/security/limits.conf * softnofile 16384 * hardnofile 10 (NOTE: 10 should be `cat /proc/sys/fs/file-max` or one rogue process can lock the entire box! LEAVE SOME ROOM!) # vi ~/.bashrc add the following lines to the end of the script ulimit -u hard 1 PS1='[\t \u@\h \W]\$ ' to allow domain logins to the local box add the following to /etc/pam.d/system-auth **NOTE NOT NEEDED FOR NORMAL FILE SERVERS**USE WITH CAUTION** authsufficient pam_winbind.so REBOOT # yum update -y copy smb.conf to /etc/samba from working server, or backup location, modify as needed for new host (i.e. share locations) copy krb5.conf to /etc from working server (note: arcfour-hmac-md5 is the only encryption type that seems to work with server 2008SP2 DCs and samba 3.5+) test samba configuration for basic typos, etc. # testparm modify /etc/nsswitch.conf to add winbind lookups passwd: files winbind group: files winbind make a machine account in the domain # net ads join -U Administrator (note: if it complains about a DNS update, that is OK as you already specified a static IP in DNS) enter the DOMAIN administrator password, note: this creates /etc/samba/secrets.tdb - secure this file, as well as /var/lib/samba/gencache_notrans.tdb, gencache.tdb, group_mapping.ldb # nmbd -D # smbd -D # winbindd ensure auto-startup. Edit /etc/rc.d/rc.local and add 5 lines /usr/sbin/nmbd -D /usr/sbin/smbd -D /usr/sbin/winbindd /usr/bin/wbinfo -u /usr/bin/wbinfo -g check setup wbinfo -u (returns a list of domain users) wbinfo -g (returns a list of domain groups) wbinfo -t (tests shared secret with domain) nslookup hostname (make sure DNS is configured properly) set up backups as appropriate... DONE Hopefully that helps. -=Andrew -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Marc Fromm Sent: Wednesday, August 10, 2011 4:38 PM To: Chris Weiss Cc: samba@lists.samba.org Subject: Re: [Samba] windows 7 cannot connect The server currently has 3.0.33 on it, but it needs at least 3.4 to work with windows 7 computers. Red hat will not be upgrading samba beyond 3.0.33 for their 32bit RH5 users. Thus I am stuck and cannot use yum and the red hat repos to do the upgrade. On site directed me to this page to download the rpms, but I am not experienced enough with manually updating a package. http://ftp.sernet.de/pub/samba/ . I downloaded all the files listed under the 3.6/rhel/5/i386 directory. Thus I was hoping to find to step by step on how to do the upgrade. -Original Message- From: Chris Weiss [mailto:cwe...@gmail.com] Sent: Wednesday, August 10, 2011 2:17 PM To: Marc Fromm Cc: John Drescher; samba@lists.samba.org Subject: Re: [Samba] windows 7 cannot connect On Wed, Aug 10, 2011 at 3:13 PM, Marc Fromm marc.fr...@wwu.edu wrote: My googling seems to point at upgrading samba to 3.4. Currently installed on my RHEL 5.2 32 bit server is as listed below for smb and samba. If I was running RHEL 64 bit I would be supported by red hat and updating the OS to the latest 5.x would provide this for me. For some reason red hat feels they do not need to support their 32 bit users, which my server is running, and updating the OS does not update certain packages like samba and php. Even though I have paid support with red hat they will not provide support to update the needed packages. Thus, is there a detailed set of procedures on how to manually upgrade samba on a RHEL 5.2 server? I do not want to try this by trial and error and cripple the server. I think RH 5 has a samba 3.x package, or was that only Centos? I don't recall what version it was intro'd -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] SMB2 weird behavior with samba 3.6 PDC
` Mark Reidenbach wrote: I tried enabling SMB2 on our network after upgrading to samba 3.6 and experienced the following problems. Commenting out Max Protocol = SMB2 makes the windows7 and vista clients happy. - [homes] Trying to open a html file in notepad fails on Windows7 Pro SP1. Opening it in Firefox (default browser) or Open Office works ok. - [homes] Mozilla Thunderbird insists on downloading all the IMAP headers each time it is launched on Vista Pro SP2. What is it supposed to do? My client checks for new headers and downloads them all on each launch. Of course what's really fun is when you get to TB3 or above and it copies all of your IMAP folders into your local roaming profile by default (and it isn't easy to disable unless you already know how to do it). Great design...down load all IMAP messages from local server, and then entire mail store gets sent back up to the server in logon (as profile is stored)... and must be synced on login... The Tbird people, apparently didn't (and still refuse to understand that IMAP is a remote file-system that's not designed to have all of it downloaded to each client you login to. Whereas pop, usually when you d/led it, it was off the server (though that later changed -- but it still doesn't keep status the way IMAP does, nor does it have the search functions of IMAP. You can have IMAP create a searchable DB of your email so larger searches are lightning fast...instead, they copied my entire 4.5G mail folder onto each local machine and account i used mozilla on. computer or a USB key to samba works ok, but Firefox and Chrome are unable to save files to the samba shares. They download files ok (e.g. file.part) but seem to be unable to rename the file when the download is complete. --- Yeah that was another problem I tried reporting and to get info on over a month ago, but never got a response. Part of my problem (maybe all of it), is they changed the idmap backend -- I was using static UID/GID mappins for the most part, when I went to 3.6, all of my GID's changed and my pwdb got very hosed. Still haven't recovered (most things work, but winbind refuses to return any info on my GUID, even though locally it knows what UID it maps to. But log is filled with GUID lookup errors for mine and random ones -- alot of S-0-0. The problem on the 'that'file is that apparently smb2 opens the file you want to save in, first, but doesn't close it -- then downloads to a .tmp file, and then does a rename over the first (or a copy, not sure which). Anyway server refuses to allow it -- as it thinks the first file is still open. If you have server 'recycle bin' turned on (the samba module), (and use savetree), you'll find the completed files in your recycle bin named with some p.xxx tmp name. Just rename the file from the server and copy it over the first. - [public] Installing programs from samba seems to partially work. Installing Itunes 10.4 for 64 bit windows 7 seemed to work but the Apple Software Update program was not installed (uninstalling, copying iTunes64Setup.exe to the desktop, and running the setup program worked). Odd, I've had a similar prob w/nvidia's sw-update prog -- but I wouldn't have though it to be samba related... Good luck --- I'm back at 3.10 -- and still have figured out how to repair my DB. Apparently the DB format got changed, and isn't backward compat (or something!) -- i.e. when looking up my domain, it tries to look for '*' first, which it then expecs to hve return the domain. I have no '*' entry in my tdb file. Top level entry that everything is under is the Domain name. So many types of lookups don't work. Had lots of performance problems with MSWin swamping my network connection really bad -- so that I couldn't play AV hosted on the server. Tried every downward tuning option available (my net was optimized for SMB1 -- 125MB writes/ 119-121MB/s reads over a 1Gbit net...(max speed, not average!) But I think that the new SMB2 code is much 'tighter in windows, so it executes more quickly so it is difficult for other traffic to get a chance. Unfortunately MS designed their file-serving protocol to be undifferentiable for setting QOS on...(i.e. it establishs 1 connection in the name of 'system', and all I/O to/from server goes through the 1 server. So no way for a user to prioritize I/O (can prioritize by port, but as all file i/o is done through 1 port, doesn't help, and by process, except that system does the I/o for file processes -- all glummed together. It's just peachy! -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Directly replace smb.
Hi,all, I have a redhat linux of 2.6.24 kernel(x86_64), which smb is 3.0, I want to upgrade it, but the system doesn't have gcc development and no rpm, that means I can't upgrade the smb on this machine.So I compile the new samba on other machine and copy necessary files and replace them on my target machine and checked: smbd -V nmbd -V winbind -V are all the right version, but I can't start the service: service smb start and etc. are all failed. what's wrong with my method? My smb configure as below: SBINDIR: /usr/sbin BINDIR: /usr/bin SWATDIR: /etc/swat CONFIGFILE: /etc/samba/smb.conf LOGFILEBASE: /var/samba LMHOSTSFILE: /etc/samba/lmhosts LIBDIR: /usr/lib MODULESDIR: /usr/lib SHLIBEXT: so LOCKDIR: /usr/var/locks STATEDIR: /usr/var/locks CACHEDIR: /usr/var/locks PIDDIR: /usr/var/locks SMB_PASSWD_FILE: /usr/private/smbpasswd PRIVATE_DIR: /usr/private -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] SMB2 weird behavior with samba 3.6 PDC
On Mon, Aug 15, 2011 at 5:28 PM, Linda Walsh sa...@tlinx.org wrote: ` Mark Reidenbach wrote: I tried enabling SMB2 on our network after upgrading to samba 3.6 and experienced the following problems. Commenting out Max Protocol = SMB2 makes the windows7 and vista clients happy. - [homes] Trying to open a html file in notepad fails on Windows7 Pro SP1. Opening it in Firefox (default browser) or Open Office works ok. - [homes] Mozilla Thunderbird insists on downloading all the IMAP headers each time it is launched on Vista Pro SP2. What is it supposed to do? My client checks for new headers and downloads them all on each launch. Of course what's really fun is when you get to TB3 or above and it copies all of your IMAP folders into your local roaming profile by default (and it isn't easy to disable unless you already know how to do it). Great design...down load all IMAP messages from local server, and then entire mail store gets sent back up to the server in logon (as profile is stored)... and must be synced on login... The Tbird people, apparently didn't (and still refuse to understand that IMAP is a remote file-system that's not designed to have all of it downloaded to each client you login to. Whereas pop, usually when you d/led it, it was off the server (though that later changed -- but it still doesn't keep status the way IMAP does, nor does it have the search functions of IMAP. You can have IMAP create a searchable DB of your email so larger searches are lightning fast...instead, they copied my entire 4.5G mail folder onto each local machine and account i used mozilla on. What I meant to say is that Thunderbird downloads every message every time it is launched when I have max protocol = smb2 enabled. Without that line it checks the headers and is done. Even if it's not efficient I don't mind it downloading and caching the message once, but having to do so on every launch takes a lot of time and a lot of bandwidth. computer or a USB key to samba works ok, but Firefox and Chrome are unable to save files to the samba shares. They download files ok (e.g. file.part) but seem to be unable to rename the file when the download is complete. --- Yeah that was another problem I tried reporting and to get info on over a month ago, but never got a response. Part of my problem (maybe all of it), is they changed the idmap backend -- I was using static UID/GID mappins for the most part, when I went to 3.6, all of my GID's changed and my pwdb got very hosed. Still haven't recovered (most things work, but winbind refuses to return any info on my GUID, even though locally it knows what UID it maps to. But log is filled with GUID lookup errors for mine and random ones -- alot of S-0-0. The problem on the 'that'file is that apparently smb2 opens the file you want to save in, first, but doesn't close it -- then downloads to a .tmp file, and then does a rename over the first (or a copy, not sure which). Anyway server refuses to allow it -- as it thinks the first file is still open. If you have server 'recycle bin' turned on (the samba module), (and use savetree), you'll find the completed files in your recycle bin named with some p.xxx tmp name. Just rename the file from the server and copy it over the first. I don't have a windows server to test against, but surely this isn't acceptable behavior from a windows server. Hopefully one of the samba team members could help debug why all common browsers are unable to download files to a samba share. - [public] Installing programs from samba seems to partially work. Installing Itunes 10.4 for 64 bit windows 7 seemed to work but the Apple Software Update program was not installed (uninstalling, copying iTunes64Setup.exe to the desktop, and running the setup program worked). Odd, I've had a similar prob w/nvidia's sw-update prog -- but I wouldn't have though it to be samba related... Good luck --- I'm back at 3.10 -- and still have figured out how to repair my DB. Apparently the DB format got changed, and isn't backward compat (or something!) -- i.e. when looking up my domain, it tries to look for '*' first, which it then expecs to hve return the domain. I have no '*' entry in my tdb file. Top level entry that everything is under is the Domain name. So many types of lookups don't work. Had lots of performance problems with MSWin swamping my network connection really bad -- so that I couldn't play AV hosted on the server. Tried every downward tuning option available (my net was optimized for SMB1 -- 125MB writes/ 119-121MB/s reads over a 1Gbit net...(max speed, not average!) But I think that the new SMB2 code is much 'tighter in windows, so it executes more quickly so it is difficult for other traffic to get a chance. Unfortunately MS designed their file-serving protocol to be undifferentiable for
Re: [Samba] Directly replace smb. [Scanned]
- Original Message - From: y...@eisoo.com Sent: Tue, 8/16/2011 12:06pm To: samba@lists.samba.org Subject: [Samba] Directly replace smb. [Scanned] Hi,all, I have a redhat Linux of 2.6.24 kernel(x86_64), which smb is 3.0, I want to upgrade it, but the system doesn't have gcc development and no rpm, that means I can't upgrade the smb on this machine.So I compile the new samba on other machine and copy necessary files and replace them on my target machine and checked: smbd -V nmbd -V winbind -V are all the right version, but I can't start the service: service smb start and etc. are all failed. what's wrong with my method? My smb configure as below: SBINDIR: /usr/sbin BINDIR: /usr/bin SWATDIR: /etc/swat CONFIGFILE: /etc/samba/smb.conf LOGFILEBASE: /var/samba LMHOSTSFILE: /etc/samba/lmhosts LIBDIR: /usr/lib MODULESDIR: /usr/lib SHLIBEXT: so LOCKDIR: /usr/var/locks STATEDIR: /usr/var/locks CACHEDIR: /usr/var/locks PIDDIR: /usr/var/locks SMB_PASSWD_FILE: /usr/private/smbpasswd PRIVATE_DIR: /usr/private -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. What was wrong with using yum to install gcc and the other software you require before compiling the tar ball directly on the system you want to install on? Cheers, Chris -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Directly replace smb. [Scanned]
Actually, the target machine run on a DOM(Disk On Module), and its capacity is limited, so unnecessary module are all stripped, so I can't use the yum and rpm and etc. 于 2011-8-16 10:41, Christopher M. Bailey 写道: - Original Message - From: y...@eisoo.com Sent: Tue, 8/16/2011 12:06pm To: samba@lists.samba.org Subject: [Samba] Directly replace smb. [Scanned] Hi,all, I have a redhat Linux of 2.6.24 kernel(x86_64), which smb is 3.0, I want to upgrade it, but the system doesn't have gcc development and no rpm, that means I can't upgrade the smb on this machine.So I compile the new samba on other machine and copy necessary files and replace them on my target machine and checked: smbd -V nmbd -V winbind -V are all the right version, but I can't start the service: service smb start and etc. are all failed. what's wrong with my method? My smb configure as below: SBINDIR: /usr/sbin BINDIR: /usr/bin SWATDIR: /etc/swat CONFIGFILE: /etc/samba/smb.conf LOGFILEBASE: /var/samba LMHOSTSFILE: /etc/samba/lmhosts LIBDIR: /usr/lib MODULESDIR: /usr/lib SHLIBEXT: so LOCKDIR: /usr/var/locks STATEDIR: /usr/var/locks CACHEDIR: /usr/var/locks PIDDIR: /usr/var/locks SMB_PASSWD_FILE: /usr/private/smbpasswd PRIVATE_DIR: /usr/private -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. What was wrong with using yum to install gcc and the other software you require before compiling the tar ball directly on the system you want to install on? Cheers, Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Directly replace smb. [Scanned]
Hi, the problem seems to be solved by creating /usr/var and /var/samba, that need more tests. Thanks for replying guys. 于 2011-8-16 11:12, y...@eisoo.com 写道: Actually, the target machine run on a DOM(Disk On Module), and its capacity is limited, so unnecessary module are all stripped, so I can't use the yum and rpm and etc. 于 2011-8-16 10:41, Christopher M. Bailey 写道: - Original Message - From: y...@eisoo.com Sent: Tue, 8/16/2011 12:06pm To: samba@lists.samba.org Subject: [Samba] Directly replace smb. [Scanned] Hi,all, I have a redhat Linux of 2.6.24 kernel(x86_64), which smb is 3.0, I want to upgrade it, but the system doesn't have gcc development and no rpm, that means I can't upgrade the smb on this machine.So I compile the new samba on other machine and copy necessary files and replace them on my target machine and checked: smbd -V nmbd -V winbind -V are all the right version, but I can't start the service: service smb start and etc. are all failed. what's wrong with my method? My smb configure as below: SBINDIR: /usr/sbin BINDIR: /usr/bin SWATDIR: /etc/swat CONFIGFILE: /etc/samba/smb.conf LOGFILEBASE: /var/samba LMHOSTSFILE: /etc/samba/lmhosts LIBDIR: /usr/lib MODULESDIR: /usr/lib SHLIBEXT: so LOCKDIR: /usr/var/locks STATEDIR: /usr/var/locks CACHEDIR: /usr/var/locks PIDDIR: /usr/var/locks SMB_PASSWD_FILE: /usr/private/smbpasswd PRIVATE_DIR: /usr/private -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. What was wrong with using yum to install gcc and the other software you require before compiling the tar ball directly on the system you want to install on? Cheers, Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] SMB2 weird behavior with samba 3.6 PDC
` Mark Reidenbach wrote: What I meant to say is that Thunderbird downloads every message every time it is launched when I have max protocol = smb2 enabled.� Without that line it checks the headers and is done.� Even if it's not efficient I don't mind it downloading and caching the message once, but having to do so on every launch takes a lot of time and a lot of bandwidth. --- But SMB2 wouldn't affect the IMAP protocol. Is your local Thunderbird dir stored on a network share? If that's the case, then it's probably the same problem that others are experience about UID's not being resolved consistently (if at all)...that would cause possible file read/write problems and it might think it needs to d/l again. I don't have a windows server to test against, but surely this isn't acceptable behavior from a windows server.� Hopefully one of the samba team members could help debug why all common browsers are unable to download files to a samba share. --- I'ts not just browsers. I was saving a large file (maybe that's the key -- a file that takes a long time to write -- was saving a 2GB image from from photoshop -- couldn't save it AT all.. Had to pull it out of the vfs_recycle to put it in place. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 043c521 build: link pys3param against pytalloc-util not pytalloc via 3df9e62 s3-passdb Use supplied pdb_methods in default passdb search handlers from 2e5fc83 s3-prefork: Do not use mmap/mremap/munmap directly http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 043c5219328cfdac0c227fb7ee70dc185277f186 Author: Andrew Bartlett abart...@samba.org Date: Mon Aug 15 16:20:35 2011 +1000 build: link pys3param against pytalloc-util not pytalloc pytalloc is the python module, pytalloc-util is the library that we can depend on Andrew Bartlett Autobuild-User: Andrew Bartlett abart...@samba.org Autobuild-Date: Mon Aug 15 09:54:02 CEST 2011 on sn-devel-104 commit 3df9e62c97f3d90cd3f3ab72738bb6f6f7521590 Author: Andrew Bartlett abart...@samba.org Date: Mon Aug 15 11:47:36 2011 +1000 s3-passdb Use supplied pdb_methods in default passdb search handlers --- Summary of changes: source3/passdb/pdb_interface.c | 12 +++- source3/wscript_build |2 +- 2 files changed, 8 insertions(+), 6 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c index 44e7421..738b12f 100644 --- a/source3/passdb/pdb_interface.c +++ b/source3/passdb/pdb_interface.c @@ -1900,7 +1900,8 @@ static void search_end_groups(struct pdb_search *search) SAFE_FREE(state-groups); } -static bool pdb_search_grouptype(struct pdb_search *search, +static bool pdb_search_grouptype(struct pdb_methods *methods, +struct pdb_search *search, const struct dom_sid *sid, enum lsa_SidType type) { struct group_search *state; @@ -1911,8 +1912,9 @@ static bool pdb_search_grouptype(struct pdb_search *search, return False; } - if (!pdb_enum_group_mapping(sid, type, state-groups, state-num_groups, - True)) { + if (!NT_STATUS_IS_OK(methods-enum_group_mapping(methods, sid, type, +state-groups, state-num_groups, +True))) { DEBUG(0, (Could not enum groups\n)); return False; } @@ -1927,7 +1929,7 @@ static bool pdb_search_grouptype(struct pdb_search *search, static bool pdb_default_search_groups(struct pdb_methods *methods, struct pdb_search *search) { - return pdb_search_grouptype(search, get_global_sam_sid(), SID_NAME_DOM_GRP); + return pdb_search_grouptype(methods, search, get_global_sam_sid(), SID_NAME_DOM_GRP); } static bool pdb_default_search_aliases(struct pdb_methods *methods, @@ -1935,7 +1937,7 @@ static bool pdb_default_search_aliases(struct pdb_methods *methods, const struct dom_sid *sid) { - return pdb_search_grouptype(search, sid, SID_NAME_ALIAS); + return pdb_search_grouptype(methods, search, sid, SID_NAME_ALIAS); } static struct samr_displayentry *pdb_search_getentry(struct pdb_search *search, diff --git a/source3/wscript_build b/source3/wscript_build index b5d3f1e..3cc8471 100755 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -757,7 +757,7 @@ if bld.env.toplevel_build: bld.SAMBA3_PYTHON('pys3param', source='param/pyparam.c', deps='param', - public_deps='samba-hostconfig pytalloc talloc', + public_deps='samba-hostconfig pytalloc-util talloc', realname='samba/samba3/param.so') bld.SAMBA3_SUBSYSTEM('param_service', -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 689f42a s3:registry: enhance debugging of deletekey_recursive via 7eeb168 s3:dbwrap_ctdb: improve transaction start/commit/cancel debugging via 0aa85ec s3:lib: fix a comment in tdb_unpack() via 32b7411 s3:registry: fix regdb_key_exists: the record has to contain at least the 4-byte subkey counter via 8a36e72 s3: avoid reading past the end of buffer in tdb_unpack 'f' if zero termination is missing via 39f9c85 s3: avoid reading past the end of buffer in tdb_unpack 'P' if zero termination is missing from 043c521 build: link pys3param against pytalloc-util not pytalloc http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 689f42af29572d1d9e135c0d20e07fb690a6d2d4 Author: Michael Adam ob...@samba.org Date: Sun Aug 14 23:48:41 2011 +0200 s3:registry: enhance debugging of deletekey_recursive Autobuild-User: Michael Adam ob...@samba.org Autobuild-Date: Mon Aug 15 19:34:44 CEST 2011 on sn-devel-104 commit 7eeb1685237da3867f58504c694d55dcf582b55b Author: Michael Adam ob...@samba.org Date: Sun Aug 14 23:47:47 2011 +0200 s3:dbwrap_ctdb: improve transaction start/commit/cancel debugging * also log nesting transaction start/commit/cancel * unify transaction log messages slightly commit 0aa85ec43a7973836681b5b79b3778bb64cdec00 Author: Michael Adam ob...@samba.org Date: Mon Aug 15 13:34:42 2011 +0200 s3:lib: fix a comment in tdb_unpack() commit 32b74111040f503cf033cdca8d1fbd621543004b Author: Michael Adam ob...@samba.org Date: Mon Aug 15 01:30:32 2011 +0200 s3:registry: fix regdb_key_exists: the record has to contain at least the 4-byte subkey counter More precisley, we return false if the record does not match the required structure of a leading 4-byte subkey counter followed by the corresponding number zero-terminated strings. commit 8a36e721407dd8eb3b1df71fbbbc7a6e3c804e48 Author: Gregor Beck gb...@sernet.de Date: Tue Jul 5 11:55:34 2011 +0200 s3: avoid reading past the end of buffer in tdb_unpack 'f' if zero termination is missing Signed-off-by: Michael Adam ob...@samba.org commit 39f9c854ae258424deea7fcc004077404149dfe5 Author: Gregor Beck gb...@sernet.de Date: Tue Jul 5 11:54:58 2011 +0200 s3: avoid reading past the end of buffer in tdb_unpack 'P' if zero termination is missing Signed-off-by: Michael Adam ob...@samba.org --- Summary of changes: source3/lib/dbwrap/dbwrap_ctdb.c | 10 - source3/lib/util_tdb.c|8 +++-- source3/registry/reg_api.c| 14 +++ source3/registry/reg_backend_db.c | 73 - 4 files changed, 99 insertions(+), 6 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c index 454a283..ada5cfc 100644 --- a/source3/lib/dbwrap/dbwrap_ctdb.c +++ b/source3/lib/dbwrap/dbwrap_ctdb.c @@ -335,6 +335,8 @@ static int db_ctdb_transaction_start(struct db_context *db) if (ctx-transaction) { ctx-transaction-nesting++; + DEBUG(5, (__location__ transaction start on db 0x%08x: nesting %d - %d\n, + ctx-db_id, ctx-transaction-nesting - 1, ctx-transaction-nesting)); return 0; } @@ -369,7 +371,7 @@ static int db_ctdb_transaction_start(struct db_context *db) ctx-transaction = h; - DEBUG(5,(__location__ Started transaction on db 0x%08x\n, ctx-db_id)); + DEBUG(5,(__location__ transaction started on db 0x%08x\n, ctx-db_id)); return 0; } @@ -786,6 +788,8 @@ static int db_ctdb_transaction_commit(struct db_context *db) if (h-nesting != 0) { h-nesting--; + DEBUG(5, (__location__ transaction commit on db 0x%08x: nesting %d - %d\n, + ctx-db_id, ctx-transaction-nesting + 1, ctx-transaction-nesting)); return 0; } @@ -798,7 +802,7 @@ static int db_ctdb_transaction_commit(struct db_context *db) goto done; } - DEBUG(5,(__location__ Commit transaction on db 0x%08x\n, ctx-db_id)); + DEBUG(5,(__location__ transaction commit on db 0x%08x\n, ctx-db_id)); /* * As the last db action before committing, bump the database sequence @@ -891,6 +895,8 @@ static int db_ctdb_transaction_cancel(struct db_context *db) if (h-nesting != 0) { h-nesting--; h-nested_cancel = true; + DEBUG(5, (__location__ transaction cancel on db 0x%08x: nesting %d - %d\n, + ctx-db_id, ctx-transaction-nesting + 1, ctx-transaction-nesting)); return 0; } diff --git
[SCM] Samba Website Repository - branch master updated
The branch, master has been updated via 2ea7790 Replace jht by webedi...@samba.org from b0785dc Remove align=center as suggested by Andreas http://gitweb.samba.org/?p=samba-web.git;a=shortlog;h=master - Log - commit 2ea7790501395f370d14aaf3668c42d28eb64c15 Author: Lars Müller l...@samba.org Date: Mon Aug 15 19:40:55 2011 +0200 Replace jht by webedi...@samba.org Acked-By: John From: John H Terpstra j...@samba.org To: Lars Müller l...@samba.org Date: Thu, 11 Aug 2011 06:43:50 -0500 Subject: Re: support page status --- Summary of changes: support/index.html |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) Changeset truncated at 500 lines: diff --git a/support/index.html b/support/index.html index b85447e..2346eb1 100644 --- a/support/index.html +++ b/support/index.html @@ -13,7 +13,10 @@ There are a number of areas for you to look when searching for Samba support: h2Commercial Support/h2 -pCompany and individual listings claiming to provide Commercial Samba support are listed separately by country. If any company listed is found no longer to be contactable please notify a href=mailto:j...@samba.org;John H Terpstra/a so that the listing can be removed. Thank you./p +pCompany and individual listings claiming to provide Commercial Samba support +are listed separately by country. If any company listed is found no longer to +be contactable please notify a href=mailto:webedi...@samba.org;the +webeditor/a so that the listing can be removed. Thank you./p pUp to date information will help those who have particular support needs to rapidly find the most appropriate support provider in their @@ -21,7 +24,9 @@ geographic area. Therefore we need your input!/p h3Notice/h3 -pIf you, or your company provides commercial support for Samba, and want to be listed on the commercial support pages of the Samba.Org web site, please email a href=mailto:j...@samba.org;John H Terpstra/a asking to be listed./p +pIf you, or your company provides commercial support for Samba, and want to +be listed on the commercial support pages of the Samba web site, please email +a href=mailto:webedi...@samba.org;the webeditor/a asking to be listed./p p class=disclaimerThe Samba Team does not, and can not, provide any assurances about the companies that provide commercial support for Samba. This list is not an endorsement of any company or individual./p -- Samba Website Repository
[SCM] Samba Website Repository - branch master updated
The branch, master has been updated via 9cb3bd4 Make Notice h2 too from 2ea7790 Replace jht by webedi...@samba.org http://gitweb.samba.org/?p=samba-web.git;a=shortlog;h=master - Log - commit 9cb3bd4e0b3a758583e20c4d8c595443d386236f Author: Lars Müller l...@samba.org Date: Mon Aug 15 20:25:37 2011 +0200 Make Notice h2 too --- Summary of changes: support/index.html |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/support/index.html b/support/index.html index 2346eb1..b918552 100644 --- a/support/index.html +++ b/support/index.html @@ -22,7 +22,7 @@ webeditor/a so that the listing can be removed. Thank you./p needs to rapidly find the most appropriate support provider in their geographic area. Therefore we need your input!/p -h3Notice/h3 +h2Notice/h2 pIf you, or your company provides commercial support for Samba, and want to be listed on the commercial support pages of the Samba web site, please email -- Samba Website Repository