<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-62</id>
	<title>Nabble - Samba - General</title>
	<updated>2008-10-07T20:37:39Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/Samba---General-f62.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Samba---General-f62.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-19871818</id>
	<title>Samba 3.x reports &quot;not implemented&quot; when Server 2008 SMB client requests FSCTL_GET_OBJECT_ID</title>
	<published>2008-10-07T20:37:39Z</published>
	<updated>2008-10-07T20:37:39Z</updated>
	<author>
		<name>kaneda san</name>
	</author>
	<content type="html">Hi Samba list,
&lt;br&gt;&lt;br&gt;I ran across this really bizarre issue and was hoping somebody would
&lt;br&gt;be able to shed some further light on the issue.
&lt;br&gt;&lt;br&gt;If this is better directed to the samba technical list, please let me
&lt;br&gt;know and I will post there instead.
&lt;br&gt;&lt;br&gt;Background
&lt;br&gt;=========
&lt;br&gt;&lt;br&gt;I'm using CommVault Galaxy 7.0 SP4 for backup and decided to share
&lt;br&gt;it's &amp;quot;IndexCache&amp;quot;, which is a collection of files &amp; folders, on a UNC
&lt;br&gt;share from our SuSE Linux server.
&lt;br&gt;&lt;br&gt;However, during file I/O a call to Samba to request the
&lt;br&gt;FSCTL_GET_OBJECT_ID fails which causes CV to fail. &amp;nbsp; &amp;nbsp;We are pursuing
&lt;br&gt;things on the CommVault side but wanted to know if there could be done
&lt;br&gt;from Samba side, so I investigated a bit further via Google, mailing
&lt;br&gt;lists and trying different security settings (security = user .vs.
&lt;br&gt;domain, oplocks on off, etc.), here's what I found:
&lt;br&gt;&lt;br&gt;SMB Server logs (Samba) (smbd.log)
&lt;br&gt;===================
&lt;br&gt;&lt;br&gt;&amp;nbsp;MA2 (1.2.3.4) connect to service galaxy initially as user
&lt;br&gt;administrator (uid=xxxx, gid=xxx) (pid 5022)
&lt;br&gt;[2008/10/08 10:15:13, 0] smbd/nttrans.c:call_nt_transact_ioctl(2463)
&lt;br&gt;&amp;nbsp;call_nt_transact_ioctl(0x940cf): Currently not implemented.
&lt;br&gt;[2008/10/08 10:15:49, 1] smbd/service.c:close_cnum(1230)
&lt;br&gt;&amp;nbsp;MA2 (1.2.3.4) closed connection to service galaxy
&lt;br&gt;&lt;br&gt;&lt;br&gt;SMB Client logs (Process Explorer, Server 2008 SP1 server)
&lt;br&gt;============================================
&lt;br&gt;(of interest is the NOT SUPPORTED lines)
&lt;br&gt;&lt;br&gt;226 &amp;nbsp; &amp;nbsp; 10:15:17.4357270
&lt;br&gt;AM &amp;nbsp; &amp;nbsp; &amp;nbsp;archiveIndex.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6064 &amp;nbsp; &amp;nbsp;QueryEAFile
&lt;br&gt;\\unix\galaxy\IndexCache\CV_Index\2\180\1223420221\tree.dat
&lt;br&gt;0xC0000052
&lt;br&gt;227 &amp;nbsp; &amp;nbsp; 10:15:17.4360329
&lt;br&gt;AM &amp;nbsp; &amp;nbsp; &amp;nbsp;archiveIndex.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6064 &amp;nbsp; &amp;nbsp;QueryStreamInformationFile
&lt;br&gt;&amp;nbsp;\\brbackup1\galaxy\IndexCache\CV_Index\2\180\1223420221\tree.dat
&lt;br&gt;&amp;nbsp; SUCCESS 0:
&lt;br&gt;::$DATA
&lt;br&gt;228 &amp;nbsp; &amp;nbsp; 10:15:17.4362604
&lt;br&gt;AM &amp;nbsp; &amp;nbsp; &amp;nbsp;archiveIndex.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6064 &amp;nbsp; &amp;nbsp;FileSystemControl
&lt;br&gt;\\unix\galaxy\IndexCache\CV_Index\2\180\1223420221\tree.dat &amp;nbsp; &amp;nbsp; NOT
&lt;br&gt;SUPPORTED &amp;nbsp; &amp;nbsp; &amp;nbsp; Control: FSCTL_GET_OBJECT_ID
&lt;br&gt;229 &amp;nbsp; &amp;nbsp; 10:15:17.4364787
&lt;br&gt;AM &amp;nbsp; &amp;nbsp; &amp;nbsp;archiveIndex.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6064 &amp;nbsp; &amp;nbsp;FileSystemControl
&lt;br&gt;\\unix\galaxy\IndexCache\CV_Index\2\180\1223420221\tree.dat &amp;nbsp; &amp;nbsp; NOT
&lt;br&gt;SUPPORTED &amp;nbsp; &amp;nbsp; &amp;nbsp; Control: 0x94160 (Device:0x9 Function:88 Method: 0)
&lt;br&gt;230 &amp;nbsp; &amp;nbsp; 10:15:17.4388151
&lt;br&gt;AM &amp;nbsp; &amp;nbsp; &amp;nbsp;archiveIndex.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6064 &amp;nbsp; &amp;nbsp;CloseFile
&lt;br&gt;\\unix\galaxy\IndexCache\CV_Index\collects\66789.txt &amp;nbsp; &amp;nbsp;SUCCESS
&lt;br&gt;231 &amp;nbsp; &amp;nbsp; 10:15:23.3183477
&lt;br&gt;AM &amp;nbsp; &amp;nbsp; &amp;nbsp;archiveIndex.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6064 &amp;nbsp; &amp;nbsp;CloseFile
&lt;br&gt;\\unix\galaxy\IndexCache\CV_Index\2\180\1223420221\tree.dat
&lt;br&gt;SUCCESS
&lt;br&gt;&lt;br&gt;&lt;br&gt;Further information on FSCTL_GET_OBJECT_ID from the MSDN pages
&lt;br&gt;(&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/aa364570(VS.85).aspx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://msdn.microsoft.com/en-us/library/aa364570(VS.85).aspx&lt;/a&gt;) shows
&lt;br&gt;that it's about getting the &amp;quot;object identifier&amp;quot; for the specified
&lt;br&gt;file.
&lt;br&gt;&lt;br&gt;If anyone would be able to add some comments or provide some technical
&lt;br&gt;direction, that would be much appreciated.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Luke
&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Samba-3.x-reports-%22not-implemented%22-when-Server-2008-SMB-client-requests-FSCTL_GET_OBJECT_ID-tp19871818p19871818.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19871458</id>
	<title>Re: Re: smbclient kerberos issue</title>
	<published>2008-10-07T19:57:47Z</published>
	<updated>2008-10-07T19:57:47Z</updated>
	<author>
		<name>Ryan Bair</name>
	</author>
	<content type="html">Nope, it's got a real .com to it. The behavior was the hostname
&lt;br&gt;returned the hostname and hostname -f also returned just the
&lt;br&gt;shortname. If it had returned an error instead of just the hostname, I
&lt;br&gt;think it would have been ok from my quick view of the Samba source.
&lt;br&gt;&lt;br&gt;On Tue, Oct 7, 2008 at 2:51 PM, James Zuelow
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19871458&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;James_Zuelow@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; This is just a guess:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Does your domain end in .local?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If so, avahi would hijack DNS lookups for anything like
&lt;br&gt;&amp;gt; domain_controller.company.local -- and since your DC probably doesn't
&lt;br&gt;&amp;gt; have Bonjour installed on it, it gets no answer and reports back with a
&lt;br&gt;&amp;gt; host not found. &amp;nbsp;Unfortunately that's a valid DNS response, so your
&lt;br&gt;&amp;gt; system does not then fall back to regular DNS.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; James Zuelow....................CBJ MIS (907)586-0236
&lt;br&gt;&amp;gt; Network Specialist...Registered Linux User No. 186591
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt;&amp;gt; From:
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19871458&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba-bounces+james_zuelow=ci.juneau.ak.us@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19871458&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba-bounces+james_zuelow=ci.juneau.ak.us@...&lt;/a&gt;
&lt;br&gt;&amp;gt; .org] On Behalf Of Ryan Bair
&lt;br&gt;&amp;gt;&amp;gt; Sent: Sunday, 05 October, 2008 10:44
&lt;br&gt;&amp;gt;&amp;gt; To: Gerald (Jerry) Carter
&lt;br&gt;&amp;gt;&amp;gt; Cc: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19871458&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; Subject: Re: [Samba] Re: smbclient kerberos issue
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; It seems like it was a problem avahi which mistakenly made its way
&lt;br&gt;&amp;gt;&amp;gt; into my nsswitch.conf. After removing mdns4_minimal and mdns4, I
&lt;br&gt;&amp;gt;&amp;gt; rejoined to the domain and everything works great. I'm a bit confused
&lt;br&gt;&amp;gt;&amp;gt; as to how this caused the problem, but I'm very happy to have it
&lt;br&gt;&amp;gt;&amp;gt; fixed!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;
&lt;/div&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/smbclient-kerberos-issue-tp19813248p19871458.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19869368</id>
	<title>opensuse 11 samba 3.2.4 ldap add machine</title>
	<published>2008-10-07T16:08:02Z</published>
	<updated>2008-10-07T16:08:02Z</updated>
	<author>
		<name>Robert Schetterer</name>
	</author>
	<content type="html">Hi @ll,
&lt;br&gt;i didnt worked on samba for a while now had setup a new domain contoller
&lt;br&gt;on opensuse 11
&lt;br&gt;i used the repositories from download.opensuse.org samba 3.2.4
&lt;br&gt;i mostly copied stuff from working suse 10 samba ldap pdc
&lt;br&gt;and configured /etc/nsswitch.conf smb.conf
&lt;br&gt;in equal ways , testparm shows no bugs
&lt;br&gt;as well as getent passwd etc does not,
&lt;br&gt;populating ldap worked fine
&lt;br&gt;fixing dbus boot stuff in /etc/ldap.conf by boot_policy soft etc
&lt;br&gt;but i didnt got managed joinig the domain by the root user
&lt;br&gt;with a new installed winxp serv pack3 german client
&lt;br&gt;bug message means &amp;quot;no such user&amp;quot;
&lt;br&gt;&lt;br&gt;it looks like it haves problems finding the root user
&lt;br&gt;adding another user and putting him in the domain admin with the latest
&lt;br&gt;smbldaptools script group doesnt helped either.
&lt;br&gt;samba client logs doesnt report root not to be not found
&lt;br&gt;&lt;br&gt;I just googeld around and found likly problems with opensuse 11
&lt;br&gt;mostly telling to upgrade openldap and samba, but now i am on the latest
&lt;br&gt;upgrade level, so before i just loosing more time , just wanna ask if there
&lt;br&gt;are known problems with samba ldap on opensuse 11?
&lt;br&gt;And if ther are known one ,how were &amp;nbsp;they fixed
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Best Regards
&lt;br&gt;&lt;br&gt;MfG Robert Schetterer
&lt;br&gt;&lt;br&gt;Germany/Munich/Bavaria
&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/opensuse-11-samba-3.2.4-ldap-add-machine-tp19869368p19869368.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19867065</id>
	<title>samba in wxp environment</title>
	<published>2008-10-07T13:44:34Z</published>
	<updated>2008-10-07T13:44:34Z</updated>
	<author>
		<name>Paul Manuel Dumitrescu-2</name>
	</author>
	<content type="html">&amp;nbsp; hello,
&lt;br&gt;&lt;br&gt;&amp;nbsp; i have a linux machine running samba with these settings:
&lt;br&gt;&lt;br&gt;&amp;nbsp;workgroup = ...
&lt;br&gt;&amp;nbsp;netbios name = ...
&lt;br&gt;&amp;nbsp;interfaces = lo eth1
&lt;br&gt;&amp;nbsp;bind interfaces only = yes
&lt;br&gt;&amp;nbsp;hosts allow = ....
&lt;br&gt;&amp;nbsp;smb ports = 139
&lt;br&gt;&lt;br&gt;&amp;nbsp;local master = no
&lt;br&gt;&amp;nbsp;os level = 35
&lt;br&gt;&amp;nbsp;domain master = yes
&lt;br&gt;&amp;nbsp;preferred master = yes
&lt;br&gt;&amp;nbsp;wins support = yes
&lt;br&gt;&amp;nbsp;dns proxy = no
&lt;br&gt;&amp;nbsp;browseable = yes
&lt;br&gt;&amp;nbsp; ....
&lt;br&gt;&lt;br&gt;&amp;nbsp;the wxp computers have dhcp enable, the dhcp server has these settings:
&lt;br&gt;&lt;br&gt;&amp;nbsp; option subnet-mask ...
&lt;br&gt;&amp;nbsp; option broadcast-address ...
&lt;br&gt;&amp;nbsp; option routers ...;
&lt;br&gt;&amp;nbsp; option domain-name-servers ....
&lt;br&gt;&amp;nbsp; option netbios-name-servers eth1_ip
&lt;br&gt;&amp;nbsp; ....
&lt;br&gt;&lt;br&gt;&amp;nbsp;After I start the samba server, everything (in terms of network 
&lt;br&gt;browsing) works fine for about 30 minutes, then
&lt;br&gt;in my netowrk places there is only one computer, the linux server. 
&lt;br&gt;Nothing in the logs. I found a similar problem
&lt;br&gt;here: &lt;a href=&quot;http://lists.samba.org/archive/samba/2004-October/094102.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.samba.org/archive/samba/2004-October/094102.html&lt;/a&gt;&amp;nbsp;but 
&lt;br&gt;no answer.
&lt;br&gt;&amp;nbsp;My wxp machines were part of a windows NT domain, I dont know if that 
&lt;br&gt;matters.
&lt;br&gt;&lt;br&gt;&amp;nbsp;any ideas?
&lt;br&gt;&lt;br&gt;&amp;nbsp;TIA
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/samba-in-wxp-environment-tp19867065p19867065.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19864166</id>
	<title>Gotten getent to work but uid off by 1</title>
	<published>2008-10-07T11:15:56Z</published>
	<updated>2008-10-07T11:15:56Z</updated>
	<author>
		<name>Clark Johnston</name>
	</author>
	<content type="html">I have gotten getent to work, but now the uid for &amp;nbsp;files are off by one and
&lt;br&gt;some of the gid are off by 4 to 24. So if I copy from one system to another
&lt;br&gt;the file ownerships get changed all up.
&lt;br&gt;Any work around for this?
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; idmap uid = 10000-20000
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; idmap gid = 10000-20000
&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Gotten-getent-to-work-but-uid-off-by-1-tp19864166p19864166.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19864047</id>
	<title>Re: Another getent problem</title>
	<published>2008-10-07T10:49:12Z</published>
	<updated>2008-10-07T10:49:12Z</updated>
	<author>
		<name>Clark Johnston</name>
	</author>
	<content type="html">Thanks that solved the problem.
&lt;br&gt;I wonder when this got changed. &amp;nbsp;The original smb.conf was copied from
&lt;br&gt;another system and modified for the new server.
&lt;br&gt;So somewhere between
&lt;br&gt;3.0.10
&lt;br&gt;and
&lt;br&gt;3.0.28
&lt;br&gt;The change was made. &amp;nbsp;I never saw this in the latest HOW-TO either.
&lt;br&gt;Thanks maybe later today or tomorrow I would have thrown the kitchen sink at
&lt;br&gt;this and finally found the problem, so thanks for saving me a bunch of time.
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Tue, Oct 7, 2008 at 12:02 PM, Gerald (Jerry) Carter &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19864047&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jerry@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----BEGIN PGP SIGNED MESSAGE-----
&lt;br&gt;&amp;gt; Hash: SHA1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Clark Johnston wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;I have set up a system to be a member server and installed the samba
&lt;br&gt;&amp;gt; &amp;gt; rpms. &amp;nbsp;I then copied over the samba config file and changed it to
&lt;br&gt;&amp;gt; &amp;gt; reflect the new shares and name change. &amp;nbsp;I ran 'net rpc join -
&lt;br&gt;&amp;gt; &amp;gt; UAdministrator%'secret' and I was able to join the domain.
&lt;br&gt;&amp;gt; &amp;gt; Started up smb and then winbind
&lt;br&gt;&amp;gt; &amp;gt; wbinfo -u
&lt;br&gt;&amp;gt; &amp;gt; and I can see the users in the domain
&lt;br&gt;&amp;gt; &amp;gt; getent passwd
&lt;br&gt;&amp;gt; &amp;gt; shows nothing but the users in /etc/passwd
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;quot;By default, &amp;quot;winbind enum users&amp;quot; and &amp;quot;winbind enum groups&amp;quot;
&lt;br&gt;&amp;gt; are both disabled. &amp;nbsp;See the smb.conf (5) man page for details.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; cheers, jerry
&lt;br&gt;&amp;gt; -----BEGIN PGP SIGNATURE-----
&lt;br&gt;&amp;gt; Version: GnuPG v1.4.6 (GNU/Linux)
&lt;br&gt;&amp;gt; Comment: Using GnuPG with Mozilla - &lt;a href=&quot;http://enigmail.mozdev.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enigmail.mozdev.org&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; iD8DBQFI65YdIR7qMdg1EfYRApzXAJ91TZwLOdYDymgBSwlA1LmSKe3nqwCgqVST
&lt;br&gt;&amp;gt; QeGBhOk1090EWWs4HSVL0ns=
&lt;br&gt;&amp;gt; =R/kW
&lt;br&gt;&amp;gt; -----END PGP SIGNATURE-----
&lt;br&gt;&amp;gt;
&lt;/div&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Another-getent-problem-tp19862633p19864047.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19862862</id>
	<title>Re: Another getent problem</title>
	<published>2008-10-07T10:02:21Z</published>
	<updated>2008-10-07T10:02:21Z</updated>
	<author>
		<name>Gerald (Jerry) Carter</name>
	</author>
	<content type="html">-----BEGIN PGP SIGNED MESSAGE-----
&lt;br&gt;Hash: SHA1
&lt;br&gt;&lt;br&gt;Clark Johnston wrote:
&lt;br&gt;&amp;gt; &amp;nbsp;I have set up a system to be a member server and installed the samba
&lt;br&gt;&amp;gt; rpms. &amp;nbsp;I then copied over the samba config file and changed it to
&lt;br&gt;&amp;gt; reflect the new shares and name change. &amp;nbsp;I ran 'net rpc join -
&lt;br&gt;&amp;gt; UAdministrator%'secret' and I was able to join the domain.
&lt;br&gt;&amp;gt; Started up smb and then winbind
&lt;br&gt;&amp;gt; wbinfo -u
&lt;br&gt;&amp;gt; and I can see the users in the domain
&lt;br&gt;&amp;gt; getent passwd
&lt;br&gt;&amp;gt; shows nothing but the users in /etc/passwd
&lt;br&gt;&lt;br&gt;&amp;quot;By default, &amp;quot;winbind enum users&amp;quot; and &amp;quot;winbind enum groups&amp;quot;
&lt;br&gt;are both disabled. &amp;nbsp;See the smb.conf (5) man page for details.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;cheers, jerry
&lt;br&gt;-----BEGIN PGP SIGNATURE-----
&lt;br&gt;Version: GnuPG v1.4.6 (GNU/Linux)
&lt;br&gt;Comment: Using GnuPG with Mozilla - &lt;a href=&quot;http://enigmail.mozdev.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enigmail.mozdev.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;iD8DBQFI65YdIR7qMdg1EfYRApzXAJ91TZwLOdYDymgBSwlA1LmSKe3nqwCgqVST
&lt;br&gt;QeGBhOk1090EWWs4HSVL0ns=
&lt;br&gt;=R/kW
&lt;br&gt;-----END PGP SIGNATURE-----
&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Another-getent-problem-tp19862633p19862862.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19862633</id>
	<title>Another getent problem</title>
	<published>2008-10-07T09:58:06Z</published>
	<updated>2008-10-07T09:58:06Z</updated>
	<author>
		<name>Clark Johnston</name>
	</author>
	<content type="html">&amp;nbsp;I have set up a system to be a member server and installed the samba
&lt;br&gt;rpms. &amp;nbsp;I then copied over the samba config file and changed it to
&lt;br&gt;reflect the new shares and name change. &amp;nbsp;I ran 'net rpc join -
&lt;br&gt;UAdministrator%'secret' and I was able to join the domain.
&lt;br&gt;Started up smb and then winbind
&lt;br&gt;wbinfo -u
&lt;br&gt;and I can see the users in the domain
&lt;br&gt;getent passwd
&lt;br&gt;shows nothing but the users in /etc/passwd
&lt;br&gt;checked nsswitch.conf and the following lines are there
&lt;br&gt;passwd: &amp;nbsp; &amp;nbsp; files winbind
&lt;br&gt;shadow: &amp;nbsp; &amp;nbsp; files
&lt;br&gt;group: &amp;nbsp; &amp;nbsp; &amp;nbsp;files winbind
&lt;br&gt;&lt;br&gt;&lt;br&gt;I have the following links
&lt;br&gt;/lib/libnss_winbind.so
&lt;br&gt;/lib/libnss_winbind.so.2
&lt;br&gt;/lib64/libnss_winbind.so
&lt;br&gt;/lib64/libnss_winbind.so.2
&lt;br&gt;/usr/lib/libnss_winbind.so
&lt;br&gt;/usr/lib/libnss_winbind.so.2
&lt;br&gt;/usr/lib64/libnss_winbind.so
&lt;br&gt;/usr/lib64/libnss_winbind.so.2
&lt;br&gt;/usr/lib64/nss/libnss_winbind.so
&lt;br&gt;/usr/lib64/nss/libnss_winbind.so.2
&lt;br&gt;&lt;br&gt;when running ldconfig
&lt;br&gt;/lib64/libnss_winbind.so.2
&lt;br&gt;is pulled.
&lt;br&gt;&lt;br&gt;Tried deleting the cache files
&lt;br&gt;winbindd_cache.tdb
&lt;br&gt;winbindd_idmap.tdb
&lt;br&gt;and restarting smb and winbind
&lt;br&gt;&lt;br&gt;The only error I'm finding is
&lt;br&gt;Oct &amp;nbsp;6 18:04:45 localhost winbindd[3914]:
&lt;br&gt;cli_rpc_pipe_open_ntlmssp_internal: cli_rpc_pipe_bind failed with error
&lt;br&gt;NT_STATUS_NETWORK_ACCESS_DENIED
&lt;br&gt;&lt;br&gt;samba-common-3.0.28-0.el5.8
&lt;br&gt;samba-3.0.28-0.el5.8
&lt;br&gt;samba-client-3.0.28-0.el5.8
&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Another-getent-problem-tp19862633p19862633.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19855324</id>
	<title>Many strange errors in logs</title>
	<published>2008-10-07T03:19:50Z</published>
	<updated>2008-10-07T03:19:50Z</updated>
	<author>
		<name>Proskurin Kirill-3</name>
	</author>
	<content type="html">Hello all.
&lt;br&gt;&lt;br&gt;What we have:
&lt;br&gt;samba-3.0.32_1
&lt;br&gt;FreeBSD-6.3
&lt;br&gt;&lt;br&gt;PDC + BDC + LDAP.
&lt;br&gt;&lt;br&gt;All seems work mostly fine, but today I can`t add computer to domain. 
&lt;br&gt;Error says what domain not exist or cant be reached (im don`t know how 
&lt;br&gt;it says in english windows - im translate from russian)
&lt;br&gt;&lt;br&gt;Im start to read logs and found many errors in differrent logs:
&lt;br&gt;&lt;br&gt;tdb_chainlock_with_timeout_internal: alarm (10) timed out for key DC in 
&lt;br&gt;tdb /usr/local/etc/samba/secrets.tdb
&lt;br&gt;&lt;br&gt;log.172.16.1.2: &amp;nbsp;domain_client_validate: unable to validate password for 
&lt;br&gt;user ilyin-vy in domain HQ to Domain controller DC. Error was 
&lt;br&gt;NT_STATUS_IO_TIMEOUT.
&lt;br&gt;log.172.16.1.2: &amp;nbsp;cli_rpc_pipe_close: cli_close failed on pipe \NETLOGON, 
&lt;br&gt;fnum 0x7485 to machine DC. &amp;nbsp;Error was Call timed out: server did not 
&lt;br&gt;respond after 10000 milliseconds
&lt;br&gt;&lt;br&gt;repeated million times..
&lt;br&gt;&lt;br&gt;What does it mean?
&lt;br&gt;&lt;br&gt;&lt;br&gt;testparm on PDC:
&lt;br&gt;&lt;br&gt;%testparm
&lt;br&gt;Load smb config files from /usr/local/etc/smb.conf
&lt;br&gt;Processing section &amp;quot;[homes]&amp;quot;
&lt;br&gt;Processing section &amp;quot;[netlogon]&amp;quot;
&lt;br&gt;Processing section &amp;quot;[mail]&amp;quot;
&lt;br&gt;Loaded services file OK.
&lt;br&gt;'winbind separator = +' might cause problems with group membership.
&lt;br&gt;Server role: ROLE_DOMAIN_MEMBER
&lt;br&gt;Press enter to see a dump of your service definitions
&lt;br&gt;&lt;br&gt;[global]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dos charset = cp866
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;unix charset = koi8-r
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;display charset = koi8-r
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;workgroup = HQ
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;server string = DC Server
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;security = DOMAIN
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;passdb backend = ldapsam:ldap://localhost/
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;log file = /var/log/samba/log.%m
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;max log size = 500
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;time server = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;add user script = /usr/local/sbin/ldapadduser '%u' users
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;rename user script = /usr/local/sbin/ldaprenameuser '%uold' '%unew'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;delete user script = /usr/local/sbin/ldapdeleteuser '%u'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;add group script = /usr/local/sbin/ldapaddgroup '%g'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;delete group script = /usr/local/sbin/ldapdeletegroup '%g'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;add user to group script = /usr/local/sbin/ldapaddusertogroup 
&lt;br&gt;'%u' '%g'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;delete user from group script = 
&lt;br&gt;/usr/local/sbin/ldapdeleteuserfromgroup '%u' '%g'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;set primary group script = /usr/local/sbin/ldapsetprimarygroup 
&lt;br&gt;'%u' '%g'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;add machine script = /usr/local/sbin/ldapaddmachine '%u' computers
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;logon path =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;os level = 64
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;preferred master = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;domain master = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dns proxy = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;wins support = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ldap admin dn = &amp;quot;cn=root,dc=fxclub,dc=org&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ldap group suffix = ou=Groups
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ldap machine suffix = ou=Computers
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ldap suffix = ou=Samba,dc=fxclub,dc=org
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ldap ssl = no
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ldap user suffix = ou=Users
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;winbind separator = +
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;winbind use default domain = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;admin users = admin
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;inherit acls = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;hosts allow = 172.16.1., 192.168.1., 127.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;map acl inherit = Yes
&lt;br&gt;&lt;br&gt;[homes]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;comment = Home Directories
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;valid users = %S
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;read only = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;browseable = No
&lt;br&gt;&lt;br&gt;[netlogon]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;comment = Network Logon Service
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;path = /var/db/samba/netlogon
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;guest ok = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;browseable = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;share modes = No
&lt;br&gt;&lt;br&gt;[mail]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;comment = temp
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;path = /tmp/mail
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;read only = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;create mask = 0777
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;guest ok = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;browseable = No
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Best regards,
&lt;br&gt;Proskurin Kirill
&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Many-strange-errors-in-logs-tp19855324p19855324.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19854325</id>
	<title>Re: samba accounts management API</title>
	<published>2008-10-07T02:15:21Z</published>
	<updated>2008-10-07T02:15:21Z</updated>
	<author>
		<name>Guenther Deschner-2</name>
	</author>
	<content type="html">-----BEGIN PGP SIGNED MESSAGE-----
&lt;br&gt;Hash: SHA1
&lt;br&gt;&lt;br&gt;Русаков Денис wrote:
&lt;br&gt;&amp;gt; Hello, all
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; I'd like to create, remove, change samba accounts, groups etc. from my own C program.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; How can I do this, without using samba tools, but some samba API (headers and shared objects).
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Does samba provide some API (headers and shared objects) for accounts creating etc.?
&lt;br&gt;&amp;gt; Thank you
&lt;br&gt;&lt;br&gt;Starting with Samba 3.2 we added a new shared library called libnetapi.
&lt;br&gt;This library is designed very closely to the Windows NetApi equivalent,
&lt;br&gt;and provides functions for all these tasks you are looking for.
&lt;br&gt;&lt;br&gt;For the upcoming Samba 3.3 release, this library provides around 50
&lt;br&gt;calls and includes example code for at least all account management
&lt;br&gt;functions.
&lt;br&gt;&lt;br&gt;You may want to have a look at:
&lt;br&gt;NetUserAdd,
&lt;br&gt;NetUserDel,
&lt;br&gt;NetUserSetInfo,
&lt;br&gt;and the the NetGroup* functions.
&lt;br&gt;&lt;br&gt;The header file is located under: $SRC/lib/netapi/netapi.h
&lt;br&gt;Example code can found under: $SRC/lib/netapi/examples
&lt;br&gt;&lt;br&gt;Let us know where we can help further.
&lt;br&gt;&lt;br&gt;Hope this helps,
&lt;br&gt;Guenther
&lt;br&gt;&lt;br&gt;&lt;br&gt;- --
&lt;br&gt;Günther Deschner &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GPG-ID: 8EE11688
&lt;br&gt;Red Hat &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19854325&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gdeschner@...&lt;/a&gt;
&lt;br&gt;Samba Team &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19854325&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gd@...&lt;/a&gt;
&lt;br&gt;-----BEGIN PGP SIGNATURE-----
&lt;br&gt;Version: GnuPG v1.4.9 (GNU/Linux)
&lt;br&gt;Comment: Using GnuPG with Fedora - &lt;a href=&quot;http://enigmail.mozdev.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enigmail.mozdev.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;iEYEARECAAYFAkjrKKkACgkQSOk3aI7hFojZNgCeLrPgVUfGQE/pzHgFpksAKzes
&lt;br&gt;B54An0NQzodllYBnVnSMV8Ww5Jw1aLPj
&lt;br&gt;=85Zy
&lt;br&gt;-----END PGP SIGNATURE-----
&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/samba-accounts-management-API-tp19836002p19854325.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19851971</id>
	<title>failed to lookup DC info for domain 'xxx.com' over rpc</title>
	<published>2008-10-06T23:42:09Z</published>
	<updated>2008-10-06T23:42:09Z</updated>
	<author>
		<name>francis thaon</name>
	</author>
	<content type="html">all
&lt;br&gt;&lt;br&gt;Any idea why we get such error message when trying to net ads join ?
&lt;br&gt;&lt;br&gt;kinit is working just fine but net ads join is failing
&lt;br&gt;&lt;br&gt;&lt;br&gt;thanks
&lt;br&gt;best regards
&lt;br&gt;Francis
&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/failed-to-lookup-DC-info-for-domain-%27xxx.com%27-over-rpc-tp19851971p19851971.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19850887</id>
	<title>user samba</title>
	<published>2008-10-06T21:33:00Z</published>
	<updated>2008-10-06T21:33:00Z</updated>
	<author>
		<name>joxzank</name>
	</author>
	<content type="html">how to make user samba can reset their own password like nt
&lt;br&gt;i try to use smb2www but i can't do it (reset password)
&lt;br&gt;thanx
&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/user-samba-tp19850887p19850887.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19848932</id>
	<title>RE: Nmbd is using the wrong ip address as source</title>
	<published>2008-10-06T17:28:44Z</published>
	<updated>2008-10-06T17:28:44Z</updated>
	<author>
		<name>Frank Gruman</name>
	</author>
	<content type="html">On Mon, 2008-10-06 at 09:05 +0300, Teodor Iacob wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Sorry for seeming impatient, I just had some rough night hours because
&lt;br&gt;&amp;gt; of this problem :)
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; tcpdump shows:
&lt;br&gt;&amp;gt; 08:21:22.920832 IP X.X.X.X.netbios-dgm &amp;gt; 10.10.10.255.netbios-dgm: NBT
&lt;br&gt;&amp;gt; UDP PACKET(138)
&lt;br&gt;&amp;gt; 08:21:22.920986 IP X.X.X.X.netbios-dgm &amp;gt; 10.10.10.255.netbios-dgm: NBT
&lt;br&gt;&amp;gt; UDP PACKET(138)
&lt;br&gt;&amp;gt; 08:21:23.072063 IP X.X.X.X.netbios-ns &amp;gt; 10.10.10.255.netbios-ns: NBT
&lt;br&gt;&amp;gt; UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST
&lt;br&gt;&amp;gt; 08:21:23.072069 IP X.X.X.X.netbios-ns &amp;gt; 10.10.10.255.netbios-ns: NBT
&lt;br&gt;&amp;gt; UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST
&lt;br&gt;&amp;gt; 08:21:23.072073 IP X.X.X.X.netbios-ns &amp;gt; 10.10.10.255.netbios-ns: NBT
&lt;br&gt;&amp;gt; UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST
&lt;br&gt;&amp;gt; 08:21:23.072076 IP X.X.X.X.netbios-ns &amp;gt; 10.10.10.255.netbios-ns: NBT
&lt;br&gt;&amp;gt; UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST
&lt;br&gt;&amp;gt; 08:21:23.072079 IP X.X.X.X.netbios-ns &amp;gt; 10.10.10.255.netbios-ns: NBT
&lt;br&gt;&amp;gt; UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST
&lt;br&gt;&amp;gt; 08:21:24.072491 IP X.X.X.X.netbios-dgm &amp;gt; 10.10.10.255.netbios-dgm: NBT
&lt;br&gt;&amp;gt; UDP PACKET(138)
&lt;br&gt;&amp;gt; 08:21:24.072497 IP X.X.X.X.netbios-dgm &amp;gt; 10.10.10.255.netbios-dgm: NBT
&lt;br&gt;&amp;gt; UDP PACKET(138)
&lt;br&gt;&amp;gt; 08:21:24.072656 IP X.X.X.X.netbios-ns &amp;gt; 10.10.10.255.netbios-ns: NBT
&lt;br&gt;&amp;gt; UDP PACKET(137): QUERY; REQUEST; BROADCAST
&lt;br&gt;&amp;gt; 08:21:25.073432 IP X.X.X.X.netbios-ns &amp;gt; 10.10.10.255.netbios-ns: NBT
&lt;br&gt;&amp;gt; UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST
&lt;br&gt;&amp;gt; 08:21:25.073438 IP X.X.X.X.netbios-ns &amp;gt; 10.10.10.255.netbios-ns: NBT
&lt;br&gt;&amp;gt; UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST
&lt;br&gt;&amp;gt; 08:21:25.073441 IP X.X.X.X.netbios-ns &amp;gt; 10.10.10.255.netbios-ns: NBT
&lt;br&gt;&amp;gt; UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ( where X.X.X.X is the public ip address of the linux server from
&lt;br&gt;&amp;gt; eth0 ), this tcpdump was taken from another linux machine with the
&lt;br&gt;&amp;gt; ip: 10.10.10.2
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; The requested netstat output:
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; [root@ns ~]# netstat -nap |grep [sn]mbd
&lt;br&gt;&amp;gt; tcp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 10.10.10.1:139 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0.0.0:*
&lt;br&gt;&amp;gt; LISTEN &amp;nbsp; &amp;nbsp; &amp;nbsp;18538/smbd
&lt;br&gt;&amp;gt; tcp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 10.10.10.1:445 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0.0.0:*
&lt;br&gt;&amp;gt; LISTEN &amp;nbsp; &amp;nbsp; &amp;nbsp;18538/smbd
&lt;br&gt;&amp;gt; udp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 10.10.10.1:137 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0.0.0:*
&lt;br&gt;&amp;gt; 18542/nmbd
&lt;br&gt;&amp;gt; udp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 10.10.10.255:137 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0.0.0:*
&lt;br&gt;&amp;gt; 18542/nmbd
&lt;br&gt;&amp;gt; udp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 10.10.10.1:138 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0.0.0:*
&lt;br&gt;&amp;gt; 18542/nmbd
&lt;br&gt;&amp;gt; udp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 10.10.10.255:138 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0.0.0:*
&lt;br&gt;&amp;gt; 18542/nmbd
&lt;br&gt;&amp;gt; unix &amp;nbsp;2 &amp;nbsp; &amp;nbsp; &amp;nbsp;[ ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DGRAM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;194986 18542/nmbd
&lt;br&gt;&amp;gt; unix &amp;nbsp;2 &amp;nbsp; &amp;nbsp; &amp;nbsp;[ ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DGRAM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;194960 18538/smbd
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; nmblookup from both machines returns this:
&lt;br&gt;&amp;gt; querying server on 10.10.10.255
&lt;br&gt;&amp;gt; name_query failed to find name server
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Right now there are no PCs open in the network, but friday when I was
&lt;br&gt;&amp;gt; testing various configurations,
&lt;br&gt;&amp;gt; I was able to see that one of the XP machines reported back as master
&lt;br&gt;&amp;gt; browser ( I could see the share list
&lt;br&gt;&amp;gt; with _MSBROWSE_ as well. )
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; However if I do a unicast request to 10.10.10.1 ( basically it acts as
&lt;br&gt;&amp;gt; a wins server ): 
&lt;br&gt;&amp;gt; querying HDV on 10.10.10.1
&lt;br&gt;&amp;gt; 10.10.10.1 HDV&amp;lt;00&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; In the nmbd.log I have:
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; [2008/10/06 08:52:50, 0] nmbd/nmbd.c:main(698)
&lt;br&gt;&amp;gt; &amp;nbsp; Netbios nameserver version 3.0.28-1.el5_2.1 started.
&lt;br&gt;&amp;gt; &amp;nbsp; Copyright Andrew Tridgell and the Samba Team 1992-2007
&lt;br&gt;&amp;gt; [2008/10/06 08:52:51, 0]
&lt;br&gt;&amp;gt; nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(290)
&lt;br&gt;&amp;gt; &amp;nbsp; become_domain_master_browser_bcast:
&lt;br&gt;&amp;gt; &amp;nbsp; Attempting to become domain master browser on workgroup HOSTNAME on
&lt;br&gt;&amp;gt; subnet 10.10.10.1
&lt;br&gt;&amp;gt; [2008/10/06 08:52:51, 0]
&lt;br&gt;&amp;gt; nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(303)
&lt;br&gt;&amp;gt; &amp;nbsp; become_domain_master_browser_bcast: querying subnet 10.10.10.1 for
&lt;br&gt;&amp;gt; domain master browser on workgroup HOSTNAME
&lt;br&gt;&amp;gt; [2008/10/06 08:53:01, 0]
&lt;br&gt;&amp;gt; nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
&lt;br&gt;&amp;gt; &amp;nbsp; *****
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; Samba server HNS is now a domain master browser for workgroup
&lt;br&gt;&amp;gt; HOSTNAME on subnet 10.10.10.1
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; *****
&lt;br&gt;&amp;gt; [2008/10/06 08:53:15, 0]
&lt;br&gt;&amp;gt; nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
&lt;br&gt;&amp;gt; &amp;nbsp; *****
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; Samba name server HNS is now a local master browser for workgroup
&lt;br&gt;&amp;gt; HOSTNAME on subnet 10.10.10.1
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; *****
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thank you for your time!
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Teodor
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ______________________________________________________________________
&lt;br&gt;&amp;gt; From: Frank Gruman [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19848932&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fgatwork@...&lt;/a&gt;] 
&lt;br&gt;&amp;gt; Sent: Sunday, October 05, 2008 10:28 PM
&lt;br&gt;&amp;gt; To: Teodor Iacob
&lt;br&gt;&amp;gt; Cc: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19848932&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: RE: [Samba] Nmbd is using the wrong ip address as source
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Sun, 2008-10-05 at 18:35 +0300, Teodor Iacob wrote: 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Does anybody have a suggestion for another list or forum to address
&lt;br&gt;&amp;gt; &amp;gt; this issue?
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; From: Teodor Iacob 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Sent: 4 octombrie 2008 09:14
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19848932&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba@...&lt;/a&gt;; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19848932&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Subject: RE: [Samba] Nmbd is using the wrong ip address as source
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19848932&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba-bounces+theo=macsys.eu@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19848932&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba-bounces+theo=macsys.eu@...&lt;/a&gt;] On Behalf Of 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19848932&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Sent: Saturday, October 04, 2008 4:41 AM
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19848932&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Subject: Re: [Samba] Nmbd is using the wrong ip address as source
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Teodor Iacob wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Hello,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; I have a linux box with the following S/W versions:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; CentOS release 5.2 (Final)
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Linux ns.hostname.ro 2.6.18-92.1.13.el5 #1 SMP Wed Sep 24
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; 19:32:05 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Version 3.0.28-1.el5_2.1
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; My server has 2 IP interfaces, eth0: with the public ip
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; address and br0: for the private subnet.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Br0 being a bridge ip interface between eth1 and tap0 ( for
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; openvpn ).
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Now my problem is that the nmbd is doing the netbios
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; broadcasts using the eth0 ip address instead
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; of the br0 one. I'm only interested in enabling samba on
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; the local network (br0). I have checked
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; this by using tcpdump on another linux machine in the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; network and saw the broadcasts with the source
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; address the eth0 ip. Nmbd claims to win the master browsing
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; election, but in reality the windows machines
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; ignore the election packets and another machine becomes
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; master and the browsing list is messed up..
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; The smbd works just fine, connecting to the shares manually
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; works correctly.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; How can I make nmbd to use the correct ip address? ( btw, I
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; removed the bridge config just for testing
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; and only enabled ip on the eth1 and the same problem.. ). I
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; saw that in the previous version there was
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; a parameter &amp;quot;-I&amp;quot; to force the source address..
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; For reference this is my smb.conf:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; [global]
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; workgroup = HOSTNAME
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; netbios name = HNS
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; interfaces = 10.10.10.1 127.0.0.1
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; ... why not just say &amp;quot;interfaces = br0&amp;quot; so that it binds to your 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; private interface (which I presume owns 10.10.10.1)? &amp;nbsp;You 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; don't need 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; to have Samba listen on the loopback address if you can 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; talk to it on 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; another local address.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I mentioned also br0 in my quest of trying all possibilities 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I could think of.. No change.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; But bind is only for listening, my problem is when nmbd it 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; sends packets by itself to make the election. I told you smbd 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; works fine and I can see from netstat -an at the LISTEN part 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; that it was only bound to the 10.10.10.1:139 and 10.10.10.1:445
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; hosts allow = 127.0.0., 10.10.10.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bind interfaces only = yes
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; [snip]
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; remote announce = 10.10.10.255/HOSTNAME
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; socket address = 10.10.10.1
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Don
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; First of all, thank you for your patience on volunteer attempts to
&lt;br&gt;&amp;gt; help you resolve your issue (considering it is still the weekend in
&lt;br&gt;&amp;gt; much of the world).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Now, can you include a portion of the tcpdump you viewed from the
&lt;br&gt;&amp;gt; other machine (particularly the part where the wrong address is
&lt;br&gt;&amp;gt; appearing). &amp;nbsp;Also, I am assuming you have restarted both smbd and nmbd
&lt;br&gt;&amp;gt; after each configuration change.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; To verify that your samba settings are being read properly, try to run
&lt;br&gt;&amp;gt; &amp;quot;netstat -nap |grep [sn]mbd&amp;quot; to see which ports are open on your local
&lt;br&gt;&amp;gt; machine. &amp;nbsp;Also, try running &amp;quot;nmblookup -B 10.10.10.255 server&amp;quot; to
&lt;br&gt;&amp;gt; ensure that nmbd is responding to name server queries on the broadcast
&lt;br&gt;&amp;gt; address.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I Googled a moment, and came up with much of the above from her -
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://samba.org/~tpot/articles/multiple-interfaces.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://samba.org/~tpot/articles/multiple-interfaces.html&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Let us know how it goes.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Frank 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;Thanks for the output. &amp;nbsp;
&lt;br&gt;&lt;br&gt;I can honestly say that I don't know why your public IP would be coming
&lt;br&gt;back in the tcpdump. &amp;nbsp;I will have to leave that one to greater minds
&lt;br&gt;than mine. &amp;nbsp;The other outputs look good except for the nmblookup
&lt;br&gt;failure. &amp;nbsp;I think I didn't provide enough information for you - the
&lt;br&gt;&amp;quot;server&amp;quot; attribute should be the name of a machine on your network (a
&lt;br&gt;node). &amp;nbsp;That should fix the success of that query.
&lt;br&gt;&lt;br&gt;Also, try to add the &amp;quot;-d 8&amp;quot; parameter to add additional debug output to
&lt;br&gt;this command. &amp;nbsp;It should give you a lot more information about how it is
&lt;br&gt;performing lookups. &amp;nbsp;If you even want to test a step further, rather
&lt;br&gt;than setting the &amp;quot;interfaces = &amp;lt;ip_address&amp;gt;&amp;quot; parameter in smb.conf, try
&lt;br&gt;to set it back to the interface name ﻿&amp;quot;interfaces = &amp;lt;ifc name, e.g.
&lt;br&gt;eth1&amp;gt;&amp;quot;. &amp;nbsp;I recall a posting a long time ago that made references to
&lt;br&gt;this, so all of mine use ifc names rather than IP addresses.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Frank
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Nmbd-is-using-the-wrong-ip-address-as-source-tp19805544p19848932.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19848555</id>
	<title>Re: processes not closing</title>
	<published>2008-10-06T16:49:52Z</published>
	<updated>2008-10-06T16:49:52Z</updated>
	<author>
		<name>Jeremy Allison</name>
	</author>
	<content type="html">On Fri, Oct 03, 2008 at 01:55:59PM -0500, Doug Tucker wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Fri, 2008-10-03 at 19:37 +0200, Helmut Hullen wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hallo, Doug,
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Du (tuckerd) meintest am 03.10.08:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Umm..ok. &amp;nbsp;I can just state the facts, I'm not pretending to
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; understand them. &amp;nbsp;To make sure I'm communicating properly, If I do:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; /etc/init.d/smb restart
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; the old processes and locked files are gone
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Sure?
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ps aux | grep [sn]mbd
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; is more reliable. Ok - it only shows processes, no locked file.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Viele Gruesse!
&lt;br&gt;&amp;gt; &amp;gt; Helmut
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Oh, you know what, I have provided some bad info, please forgive me.
&lt;br&gt;&amp;gt; I'm thinking one thing and you can't see what I'm doing. &amp;nbsp;At the OS
&lt;br&gt;&amp;gt; level, the process *IS* gone. &amp;nbsp;However, smbstatus still shows the
&lt;br&gt;&amp;gt; process alive, and the user cannot access the file until it no longer
&lt;br&gt;&amp;gt; shows up in smbstatus (such as on a samba restart). &amp;nbsp;Oddly, it even
&lt;br&gt;&amp;gt; shows up with the same pid as what you just killed.
&lt;/div&gt;&lt;br&gt;Ok, if you're killing smbd with a kill -9 then it doesnt'
&lt;br&gt;get chance to clean up its share mode records and so you
&lt;br&gt;will see this. However, as subsequent smbd's notice this
&lt;br&gt;pid no longer exists they should self-clean out the dead
&lt;br&gt;open mode records (Samba is designed to be self-repairing
&lt;br&gt;this way).
&lt;br&gt;&lt;br&gt;Jeremy.
&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/processes-not-closing-tp19798880p19848555.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19848531</id>
	<title>Re: Problems with Share Modes &quot;fill_share_mode_lock failed&quot;</title>
	<published>2008-10-06T16:48:10Z</published>
	<updated>2008-10-06T16:48:10Z</updated>
	<author>
		<name>Jeremy Allison</name>
	</author>
	<content type="html">On Fri, Oct 03, 2008 at 08:05:05AM -0300, Ricardo Santos wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi, my details:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Server: 3.2.3
&lt;br&gt;&amp;gt; Client: win2k8
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When I try list contents of a shared directory through an ASP script
&lt;br&gt;&amp;gt; (win2k8 is the client), it's take much time and on samba I saw many
&lt;br&gt;&amp;gt; times (4 times for each file) the same error: &amp;quot;fill_share_mode_lock
&lt;br&gt;&amp;gt; failed&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I tried &amp;quot;shares mode = No&amp;quot; but no success
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It's the log:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ...:49, &amp;nbsp;3] locking/locking.c:fetch_share_mode_unlocked(857)
&lt;br&gt;&amp;gt; &amp;nbsp; fill_share_mode_lock failed
&lt;br&gt;&amp;gt; ...:49, &amp;nbsp;3] smbd/process.c:process_smb(1549)
&lt;br&gt;&amp;gt; &amp;nbsp; Transaction 50769 of length 142 (0 toread)
&lt;br&gt;&amp;gt; ...:49, &amp;nbsp;3] smbd/process.c:switch_message(1361)
&lt;br&gt;&amp;gt; &amp;nbsp; switch message SMBtrans2 (pid 22032) conn 0xb846b478
&lt;br&gt;&amp;gt; ...:49, &amp;nbsp;3] smbd/trans2.c:call_trans2qfilepathinfo(3932)
&lt;br&gt;&amp;gt; &amp;nbsp; call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
&lt;br&gt;&amp;gt; ...:49, &amp;nbsp;3] smbd/vfs.c:check_reduced_name(854)
&lt;br&gt;&amp;gt; &amp;nbsp; reduce_name [web/xml/myfile.xml] [/web_virtual/domain]
&lt;br&gt;&amp;gt; ...:49, &amp;nbsp;3] smbd/vfs.c:check_reduced_name(963)
&lt;br&gt;&amp;gt; &amp;nbsp; reduce_name: web/xml/myfile.xml reduced to &amp;nbsp;
&lt;br&gt;&amp;gt; /web_virtual/domain/web/xml/myfile.xml
&lt;br&gt;&amp;gt; ...:49, &amp;nbsp;3] locking/locking.c:fetch_share_mode_unlocked(857)
&lt;br&gt;&amp;gt; &amp;nbsp; fill_share_mode_lock failed
&lt;br&gt;&amp;gt; ...:49, &amp;nbsp;3] smbd/trans2.c:call_trans2qfilepathinfo(4006)
&lt;br&gt;&amp;gt; &amp;nbsp; call_trans2qfilepathinfo web/xml/myfile.xml (fnum = -1) level=1004 &amp;nbsp;
&lt;br&gt;&amp;gt; call=5 total_data=0
&lt;br&gt;&amp;gt; ...:49, &amp;nbsp;3] smbd/process.c:process_smb(1549)
&lt;br&gt;&amp;gt; &amp;nbsp; Transaction 50770 of length 142 (0 toread)
&lt;br&gt;&amp;gt; ...:49, &amp;nbsp;3] smbd/process.c:switch_message(1361)
&lt;br&gt;&amp;gt; &amp;nbsp; switch message SMBtrans2 (pid 22032) conn 0xb846b478
&lt;br&gt;&amp;gt; ...:49, &amp;nbsp;3] smbd/trans2.c:call_trans2qfilepathinfo(3932)
&lt;br&gt;&amp;gt; &amp;nbsp; call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
&lt;br&gt;&amp;gt; ...:49, &amp;nbsp;3] smbd/vfs.c:check_reduced_name(854)
&lt;br&gt;&amp;gt; &amp;nbsp; reduce_name [web/xml/myfile.xml] [/web_virtual/domain]
&lt;br&gt;&amp;gt; ...:49, &amp;nbsp;3] smbd/vfs.c:check_reduced_name(963)
&lt;br&gt;&amp;gt; &amp;nbsp; reduce_name: web/xml/myfile.xml reduced to &amp;nbsp;
&lt;br&gt;&amp;gt; /web_virtual/domain/web/xml/myfile.xml
&lt;br&gt;&amp;gt; ...:49, &amp;nbsp;3] locking/locking.c:fetch_share_mode_unlocked(857)
&lt;br&gt;&amp;gt; &amp;nbsp; fill_share_mode_lock failed
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Anyone could help me ?
&lt;/div&gt;&lt;br&gt;That shouldn't happen. Please post your smb.conf and
&lt;br&gt;also a debug level 10 log.
&lt;br&gt;&lt;br&gt;Jeremy.
&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Problems-with-Share-Modes-%22fill_share_mode_lock-failed%22-tp19795837p19848531.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19847506</id>
	<title>Re: Cannot get shares to show up</title>
	<published>2008-10-06T15:19:26Z</published>
	<updated>2008-10-06T15:19:26Z</updated>
	<author>
		<name>tanstaafl_bh</name>
	</author>
	<content type="html">On 10/6/2008, Jesse Stone (&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847506&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jstone1999@...&lt;/a&gt;) wrote:
&lt;br&gt;&amp;gt; My &amp;quot;Home&amp;quot; directory comes up as a share in Network Neighborhood but it also
&lt;br&gt;&amp;gt; has browsable=no which is confusing:
&lt;br&gt;&lt;br&gt;You might like the 'hide unreadable' option - it can really make
&lt;br&gt;navigating shares with lots of subfolders much easier, if you only have
&lt;br&gt;access to a few of them...
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;&lt;br&gt;Charles
&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Cannot-get-shares-to-show-up-tp19829898p19847506.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19847495</id>
	<title>Broken links in online docs</title>
	<published>2008-10-06T15:19:13Z</published>
	<updated>2008-10-06T15:19:13Z</updated>
	<author>
		<name>tanstaafl_bh</name>
	</author>
	<content type="html">All of the links on this page appear to be broken. Of course, I didn't
&lt;br&gt;click on every one, but after discovering thet the link to 'hide
&lt;br&gt;unreadable' was broken, I clicked on a few more, and they all resulted
&lt;br&gt;in Not Found errors...
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/AccessControls.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/AccessControls.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Scroll down abou halfway to where 'hide unreadable' is found, and start
&lt;br&gt;clicking on links...
&lt;br&gt;&lt;br&gt;Not Found
&lt;br&gt;The requested URL /samba/docs/man/Samba-HOWTO-Collection/smb.conf.5.html
&lt;br&gt;was not found on this server.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;&lt;br&gt;Charles
&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Broken-links-in-online-docs-tp19847495p19847495.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19847310</id>
	<title>Re: Password server is not connected - &quot;cli not initilised&quot; issue</title>
	<published>2008-10-06T15:02:50Z</published>
	<updated>2008-10-06T15:02:50Z</updated>
	<author>
		<name>Jeremy Allison</name>
	</author>
	<content type="html">On Sat, Oct 04, 2008 at 10:30:28PM +1000, Jake Carroll wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; We are currently upgrading some core infrastructure and authentication &amp;nbsp;
&lt;br&gt;&amp;gt; hosts (Mac OS X 10.4.11 Open Directory/OpenLDAP/KDC --&amp;gt; 10.5.5). We've &amp;nbsp;
&lt;br&gt;&amp;gt; run into an interesting snag however.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The Sun host that we use for sharing out files over Samba 3.0.28a (Sun's 
&lt;br&gt;&amp;gt; currently shipped, supported version of Samba) worked perfectly with the 
&lt;br&gt;&amp;gt; directory master running Mac OS X 10.4.11. When upgraded to 10.5.5 Server 
&lt;br&gt;&amp;gt; however, we are given the following errors on the samba/Sun side of 
&lt;br&gt;&amp;gt; things:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [2008/10/04 17:40:59, 1, pid=2237] auth/auth_server.c:(247)
&lt;br&gt;&amp;gt; &amp;nbsp; password server is not connected (cli not initilised)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have done a bit of searching and can't actually find out what this &amp;nbsp;
&lt;br&gt;&amp;gt; *really* means.
&lt;/div&gt;&lt;br&gt;We need to see a debug log level 10 to see what is going on here.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Jeremy.
&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Password-server-is-not-connected---%22cli-not-initilised%22-issue-tp19811839p19847310.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19846098</id>
	<title>Re: CIFS Mounting Issues</title>
	<published>2008-10-06T13:45:49Z</published>
	<updated>2008-10-06T13:45:49Z</updated>
	<author>
		<name>Squeezer99</name>
	</author>
	<content type="html">usually you get that error because of a bad username/password. &amp;nbsp;instead 
&lt;br&gt;of using credentials, try -o username=sgerteisen,password=abc123
&lt;br&gt;&lt;br&gt;Steve Gerteisen wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Attempting to mount a share from a NetApp FAS using Win2K domain
&lt;br&gt;&amp;gt; authentication. &amp;nbsp;Using a credentials file. &amp;nbsp;For testing purposes,
&lt;br&gt;&amp;gt; actions have been performed as root. &amp;nbsp;System info...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; OS: Debian 4.0r4a, kernel 2.6.18-6-amd64.
&lt;br&gt;&amp;gt; mount.cifs version: 1.10-3.0.24
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Authentication appears to be occurring, however I am still receiving a
&lt;br&gt;&amp;gt; mount error. &amp;nbsp;Command output below, strace output attached...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any help would be appreciated.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --begin output--
&lt;br&gt;&amp;gt; workstation1:~# mount -t cifs //192.168.0.25/mysqldb /mnt/fas/ -o
&lt;br&gt;&amp;gt; credentials=/root/.creds
&lt;br&gt;&amp;gt; mount error 13 = Permission denied
&lt;br&gt;&amp;gt; Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
&lt;br&gt;&amp;gt; workstation1:~# echo $?
&lt;br&gt;&amp;gt; 255
&lt;br&gt;&amp;gt; --end output--
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; V/R,
&lt;br&gt;&amp;gt; Steve
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/CIFS-Mounting-Issues-tp19845891p19846098.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19845891</id>
	<title>CIFS Mounting Issues</title>
	<published>2008-10-06T13:34:30Z</published>
	<updated>2008-10-06T13:34:30Z</updated>
	<author>
		<name>Steve Gerteisen</name>
	</author>
	<content type="html">Attempting to mount a share from a NetApp FAS using Win2K domain
&lt;br&gt;authentication. &amp;nbsp;Using a credentials file. &amp;nbsp;For testing purposes,
&lt;br&gt;actions have been performed as root. &amp;nbsp;System info...
&lt;br&gt;&lt;br&gt;OS: Debian 4.0r4a, kernel 2.6.18-6-amd64.
&lt;br&gt;mount.cifs version: 1.10-3.0.24
&lt;br&gt;&lt;br&gt;Authentication appears to be occurring, however I am still receiving a
&lt;br&gt;mount error. &amp;nbsp;Command output below, strace output attached...
&lt;br&gt;&lt;br&gt;Any help would be appreciated.
&lt;br&gt;&lt;br&gt;--begin output--
&lt;br&gt;workstation1:~# mount -t cifs //192.168.0.25/mysqldb /mnt/fas/ -o
&lt;br&gt;credentials=/root/.creds
&lt;br&gt;mount error 13 = Permission denied
&lt;br&gt;Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
&lt;br&gt;workstation1:~# echo $?
&lt;br&gt;255
&lt;br&gt;--end output--
&lt;br&gt;&lt;br&gt;V/R,
&lt;br&gt;Steve
&lt;br&gt;&lt;br /&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/CIFS-Mounting-Issues-tp19845891p19845891.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19843584</id>
	<title>setgid bit disappears</title>
	<published>2008-10-06T11:30:17Z</published>
	<updated>2008-10-06T11:30:17Z</updated>
	<author>
		<name>Vicente Martinez de Cestafe Ochoa de Eribe</name>
	</author>
	<content type="html">I have a samba server (without acls for better performance in ext3) with
&lt;br&gt;shares where users create new directories and put their files.
&lt;br&gt;&lt;br&gt;I need the setgid bit to force the new directories and files to belong to a
&lt;br&gt;shared group of users (not the primary group of the user that creates it).
&lt;br&gt;When users create new directories the setgid bit is inherited and works
&lt;br&gt;fine.
&lt;br&gt;&lt;br&gt;Users can set permissions for their new directories through the Windows
&lt;br&gt;interface. But unfortunately then the setgid bit disappears.
&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/setgid-bit-disappears-tp19843584p19843584.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19842262</id>
	<title>Re: Cannot get shares to show up</title>
	<published>2008-10-06T09:46:09Z</published>
	<updated>2008-10-06T09:46:09Z</updated>
	<author>
		<name>Jesse Stone-2</name>
	</author>
	<content type="html">Thanks Ryan,
&lt;br&gt;&lt;br&gt;NOTE: &amp;nbsp;Question at bottom. &amp;nbsp;:)
&lt;br&gt;&lt;br&gt;I guess I need to review the Samba documentation better. &amp;nbsp;I was using the
&lt;br&gt;examples provided in smb.conf and thought that &amp;quot;Browsible&amp;quot; meant that people
&lt;br&gt;other than &amp;quot;Valid Users&amp;quot; could see the stuff inside a share.
&lt;br&gt;&lt;br&gt;For example,
&lt;br&gt;&lt;br&gt;My &amp;quot;Home&amp;quot; directory comes up as a share in Network Neighborhood but it also
&lt;br&gt;has browsable=no which is confusing:
&lt;br&gt;&lt;br&gt;[homes]
&lt;br&gt;comment = Home
&lt;br&gt;valid users = %S
&lt;br&gt;read only = no
&lt;br&gt;browsable = no
&lt;br&gt;&lt;br&gt;I'm not disagreeing with you, just pointing out how I was confused. &amp;nbsp;I will
&lt;br&gt;read through the documentation again on shares to ensure I am setting them
&lt;br&gt;up correctly.
&lt;br&gt;&lt;br&gt;QUESTION: &amp;nbsp;Simply using preexec to mount a drive prior to showing the
&lt;br&gt;contents doesn't sound like it'll be a robust enough solution when you have
&lt;br&gt;multiple people hitting the same share. &amp;nbsp;Is it common practice to point pre
&lt;br&gt;and postexec to a script that determines whether a mount has already been
&lt;br&gt;mounted? &amp;nbsp;Does anyone have any examples of a script that does this?
&lt;br&gt;&lt;br&gt;I am learning Python and have no problems attempting to write this myself as
&lt;br&gt;it seems fairly straight forward. &amp;nbsp;I guess my question is more &amp;quot;Is this the
&lt;br&gt;best approach?&amp;quot;
&lt;br&gt;&lt;br&gt;-Jesse
&lt;br&gt;&lt;br&gt;On Sun, Oct 5, 2008 at 7:23 PM, Ryan Bair &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19842262&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ryandbair@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Sorry, meant to reply all on that.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Sun, Oct 5, 2008 at 10:22 PM, Ryan Bair &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19842262&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ryandbair@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; By showing up I assume you mean showing up in the listing of shares
&lt;br&gt;&amp;gt; &amp;gt; for the computer?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; The &amp;quot;browsable = no&amp;quot; would be your problem. It makes the share not
&lt;br&gt;&amp;gt; &amp;gt; browsable. :-)
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; --Ryan
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On Sun, Oct 5, 2008 at 6:50 PM, Jesse Stone &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19842262&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jstone1999@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I apologize if this is a really silly question but I've been messing
&lt;br&gt;&amp;gt; with
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; this for awhile now and cannot see any typos that would prevent these
&lt;br&gt;&amp;gt; shares
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; from showing up.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I'm trying two things I've never done before so I want to make sure to
&lt;br&gt;&amp;gt; point
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; them out:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; 1) &amp;nbsp;I am using groups in the &amp;quot;valid users&amp;quot; section
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; 2) &amp;nbsp;I am using preexec and postexec on each share
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Example:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; [Media]
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; comment = Media(Non-kid)!
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; path = /mnt/media1
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; read only = yes
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; browsable = no
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; valid users = @mediausers
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; preexec = /bin/mount /mnt/media1
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; postexec = /bin/umount /mnt/media1
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I've done nothing with the /mnt/media1 folder so I expect my next issue
&lt;br&gt;&amp;gt; will
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; be permissiones related but I would expect the shares to at least show
&lt;br&gt;&amp;gt; up
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; for all users within the @mediausers group.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I'm using preexec ect from the cd-rom example contained within the
&lt;br&gt;&amp;gt; default
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; smb.conf file.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; -Jesse
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; To unsubscribe from this list go to the following URL and read the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Cannot-get-shares-to-show-up-tp19829898p19842262.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19839836</id>
	<title>Re: Performance tweaking from Ubuntu to a Macbook vs. Windows through DLink DIR-655</title>
	<published>2008-10-06T08:10:49Z</published>
	<updated>2008-10-06T08:10:49Z</updated>
	<author>
		<name>Roy Abou Assaly</name>
	</author>
	<content type="html">&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Volker Lendecke wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;On Sun, Oct 05, 2008 at 12:32:27PM -0700, Roy Abou Assaly wrote:
&lt;br&gt;&amp;gt; socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY SO_RCVBUF=65536
&lt;br&gt;&amp;gt; SO_SNDBUF=65536
&lt;br&gt;&lt;br&gt;On modern Linux systems (i.e. from the last 5 years or so),
&lt;br&gt;just dump the buffer parms completely. The Linux kernel is
&lt;br&gt;fine figuring out the buffer sizes itself.&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
Many thanks Volker. &amp;nbsp;I will be doing just that!
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Performance-tweaking-from-Ubuntu-to-a-Macbook-vs.-Windows-through-DLink-DIR-655-tp19826605p19839836.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19838361</id>
	<title>make test fails on Solaris 10 for 3.2.4</title>
	<published>2008-10-06T06:51:54Z</published>
	<updated>2008-10-06T06:51:54Z</updated>
	<author>
		<name>John Center</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I'm trying to check the result of my build of 3.2.4 on Solaris 10, but 
&lt;br&gt;smbd dies shortly after starting:
&lt;br&gt;&lt;br&gt;Running Test suite
&lt;br&gt;LD_LIBRARY_PATH=/opt/ws/dists/samba-3.2.4/source/bin
&lt;br&gt;CREATE TEST ENVIRONMENT IN './st'...DONE
&lt;br&gt;STARTING NMBD...DONE
&lt;br&gt;STARTING WINBINDD...DONE
&lt;br&gt;STARTING SMBD...DONE
&lt;br&gt;delaying for nbt name registration
&lt;br&gt;smbd failed with status 1!
&lt;br&gt;&lt;br&gt;&lt;br&gt;I looked at the smbd_test.log &amp; I see:
&lt;br&gt;&lt;br&gt;smbd version 3.2.4 started.
&lt;br&gt;Copyright Andrew Tridgell and the Samba Team 1992-2008
&lt;br&gt;standard input is not a socket, assuming -D option
&lt;br&gt;gdb_backtrace: ERROR: No debugger found.
&lt;br&gt;smbd failed with status 1!
&lt;br&gt;&lt;br&gt;Now, I can't tell if smbd is dying because gdb can't be found, or smbd 
&lt;br&gt;has died &amp; the test script then tries to run gdb to determine why it 
&lt;br&gt;died &amp; can't find it. &amp;nbsp;If I install samba &amp; load smbd by hand, it starts 
&lt;br&gt;up without a problem. &amp;nbsp;I haven't found anyone else reporting &amp; a fix, so 
&lt;br&gt;I'm hoping someone here could help me.
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -John
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;John Center
&lt;br&gt;Villanova University
&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/make-test-fails-on-Solaris-10-for-3.2.4-tp19838361p19838361.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19836002</id>
	<title>samba accounts management API</title>
	<published>2008-10-06T04:10:37Z</published>
	<updated>2008-10-06T04:10:37Z</updated>
	<author>
		<name>Русаков Денис</name>
	</author>
	<content type="html">Hello, all
&lt;br&gt;&amp;nbsp; &amp;nbsp; I'd like to create, remove, change samba accounts, groups etc. from my own C program.
&lt;br&gt;&amp;nbsp; &amp;nbsp; How can I do this, without using samba tools, but some samba API (headers and shared objects).
&lt;br&gt;&amp;nbsp; &amp;nbsp; Does samba provide some API (headers and shared objects) for accounts creating etc.?
&lt;br&gt;Thank you
&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/samba-accounts-management-API-tp19836002p19836002.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19832925</id>
	<title>Re: Performance tweaking from Ubuntu to a Macbook vs. Windows through DLink DIR-655</title>
	<published>2008-10-06T00:05:35Z</published>
	<updated>2008-10-06T00:05:35Z</updated>
	<author>
		<name>Volker Lendecke</name>
	</author>
	<content type="html">On Sun, Oct 05, 2008 at 12:32:27PM -0700, Roy Abou Assaly wrote:
&lt;br&gt;&amp;gt; socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY SO_RCVBUF=65536
&lt;br&gt;&amp;gt; SO_SNDBUF=65536
&lt;br&gt;&lt;br&gt;On modern Linux systems (i.e. from the last 5 years or so),
&lt;br&gt;just dump the buffer parms completely. The Linux kernel is
&lt;br&gt;fine figuring out the buffer sizes itself.
&lt;br&gt;&lt;br&gt;Volker
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://www.nabble.com/attachment/19832925/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Performance-tweaking-from-Ubuntu-to-a-Macbook-vs.-Windows-through-DLink-DIR-655-tp19826605p19832925.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19832945</id>
	<title>Re: [ANNOUNCE] Samba 3.3.0pre2 Available for Download</title>
	<published>2008-10-06T00:04:32Z</published>
	<updated>2008-10-06T00:04:32Z</updated>
	<author>
		<name>Volker Lendecke</name>
	</author>
	<content type="html">On Thu, Oct 02, 2008 at 07:08:17PM -0400, &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19832945&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt; Regarding &amp;quot;extended cluster support&amp;quot;, does that mean CTDB stuff is now
&lt;br&gt;&amp;gt; integrated into this version of Samba? 
&lt;br&gt;&lt;br&gt;ctdb as such is still a separate project, but the Samba
&lt;br&gt;integration is all upstream.
&lt;br&gt;&lt;br&gt;Volker
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://www.nabble.com/attachment/19832945/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-ANNOUNCE--Samba-3.3.0pre2-Available-for-Download-tp19778929p19832945.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19832423</id>
	<title>RE: Nmbd is using the wrong ip address as source</title>
	<published>2008-10-05T23:05:04Z</published>
	<updated>2008-10-05T23:05:04Z</updated>
	<author>
		<name>Teodor Iacob</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Sorry for seeming impatient, I just had some rough night hours because of this problem :)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;tcpdump shows:
&lt;br&gt;08:21:22.920832 IP X.X.X.X.netbios-dgm &amp;gt; 10.10.10.255.netbios-dgm: NBT UDP PACKET(138)
&lt;br&gt;08:21:22.920986 IP X.X.X.X.netbios-dgm &amp;gt; 10.10.10.255.netbios-dgm: NBT UDP PACKET(138)
&lt;br&gt;08:21:23.072063 IP X.X.X.X.netbios-ns &amp;gt; 10.10.10.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST
&lt;br&gt;08:21:23.072069 IP X.X.X.X.netbios-ns &amp;gt; 10.10.10.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST
&lt;br&gt;08:21:23.072073 IP X.X.X.X.netbios-ns &amp;gt; 10.10.10.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST
&lt;br&gt;08:21:23.072076 IP X.X.X.X.netbios-ns &amp;gt; 10.10.10.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST
&lt;br&gt;08:21:23.072079 IP X.X.X.X.netbios-ns &amp;gt; 10.10.10.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST
&lt;br&gt;08:21:24.072491 IP X.X.X.X.netbios-dgm &amp;gt; 10.10.10.255.netbios-dgm: NBT UDP PACKET(138)
&lt;br&gt;08:21:24.072497 IP X.X.X.X.netbios-dgm &amp;gt; 10.10.10.255.netbios-dgm: NBT UDP PACKET(138)
&lt;br&gt;08:21:24.072656 IP X.X.X.X.netbios-ns &amp;gt; 10.10.10.255.netbios-ns: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST
&lt;br&gt;08:21:25.073432 IP X.X.X.X.netbios-ns &amp;gt; 10.10.10.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST
&lt;br&gt;08:21:25.073438 IP X.X.X.X.netbios-ns &amp;gt; 10.10.10.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST
&lt;br&gt;08:21:25.073441 IP X.X.X.X.netbios-ns &amp;gt; 10.10.10.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST
&lt;br&gt;&lt;br&gt;( where X.X.X.X is the public ip address of the linux server from eth0 ), this tcpdump was taken from another linux machine with the
&lt;br&gt;ip: 10.10.10.2
&lt;br&gt;&amp;nbsp;
&lt;br&gt;The requested netstat output:
&lt;br&gt;&amp;nbsp;
&lt;br&gt;[root@ns ~]# netstat -nap |grep [sn]mbd
&lt;br&gt;tcp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 10.10.10.1:139 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0.0.0:* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LISTEN &amp;nbsp; &amp;nbsp; &amp;nbsp;18538/smbd
&lt;br&gt;tcp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 10.10.10.1:445 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0.0.0:* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LISTEN &amp;nbsp; &amp;nbsp; &amp;nbsp;18538/smbd
&lt;br&gt;udp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 10.10.10.1:137 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0.0.0:* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 18542/nmbd
&lt;br&gt;udp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 10.10.10.255:137 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0.0.0:* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 18542/nmbd
&lt;br&gt;udp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 10.10.10.1:138 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0.0.0:* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 18542/nmbd
&lt;br&gt;udp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 10.10.10.255:138 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0.0.0:* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 18542/nmbd
&lt;br&gt;unix &amp;nbsp;2 &amp;nbsp; &amp;nbsp; &amp;nbsp;[ ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DGRAM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;194986 18542/nmbd
&lt;br&gt;unix &amp;nbsp;2 &amp;nbsp; &amp;nbsp; &amp;nbsp;[ ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DGRAM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;194960 18538/smbd
&lt;br&gt;&lt;br&gt;nmblookup from both machines returns this:
&lt;br&gt;querying server on 10.10.10.255
&lt;br&gt;name_query failed to find name server
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Right now there are no PCs open in the network, but friday when I was testing various configurations,
&lt;br&gt;I was able to see that one of the XP machines reported back as master browser ( I could see the share list
&lt;br&gt;with _MSBROWSE_ as well. )
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;However if I do a unicast request to 10.10.10.1 ( basically it acts as a wins server ): 
&lt;br&gt;querying HDV on 10.10.10.1
&lt;br&gt;10.10.10.1 HDV&amp;lt;00&amp;gt;
&lt;br&gt;&lt;br&gt;In the nmbd.log I have:
&lt;br&gt;&amp;nbsp;
&lt;br&gt;[2008/10/06 08:52:50, 0] nmbd/nmbd.c:main(698)
&lt;br&gt;&amp;nbsp; Netbios nameserver version 3.0.28-1.el5_2.1 started.
&lt;br&gt;&amp;nbsp; Copyright Andrew Tridgell and the Samba Team 1992-2007
&lt;br&gt;[2008/10/06 08:52:51, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(290)
&lt;br&gt;&amp;nbsp; become_domain_master_browser_bcast:
&lt;br&gt;&amp;nbsp; Attempting to become domain master browser on workgroup HOSTNAME on subnet 10.10.10.1
&lt;br&gt;[2008/10/06 08:52:51, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(303)
&lt;br&gt;&amp;nbsp; become_domain_master_browser_bcast: querying subnet 10.10.10.1 for domain master browser on workgroup HOSTNAME
&lt;br&gt;[2008/10/06 08:53:01, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
&lt;br&gt;&amp;nbsp; *****
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; Samba server HNS is now a domain master browser for workgroup HOSTNAME on subnet 10.10.10.1
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; *****
&lt;br&gt;[2008/10/06 08:53:15, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
&lt;br&gt;&amp;nbsp; *****
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; Samba name server HNS is now a local master browser for workgroup HOSTNAME on subnet 10.10.10.1
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; *****
&lt;br&gt;&lt;br&gt;Thank you for your time!
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Teodor
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp; _____ &amp;nbsp;
&lt;br&gt;&lt;br&gt;From: Frank Gruman [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19832423&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fgatwork@...&lt;/a&gt;] 
&lt;br&gt;Sent: Sunday, October 05, 2008 10:28 PM
&lt;br&gt;To: Teodor Iacob
&lt;br&gt;Cc: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19832423&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba@...&lt;/a&gt;
&lt;br&gt;Subject: RE: [Samba] Nmbd is using the wrong ip address as source
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Sun, 2008-10-05 at 18:35 +0300, Teodor Iacob wrote: 
&lt;br&gt;&lt;br&gt;Does anybody have a suggestion for another list or forum to address
&lt;br&gt;&lt;br&gt;this issue?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&lt;br&gt;&amp;gt; From: Teodor Iacob 
&lt;br&gt;&lt;br&gt;&amp;gt; Sent: 4 octombrie 2008 09:14
&lt;br&gt;&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19832423&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba@...&lt;/a&gt;; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19832423&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&amp;gt; Subject: RE: [Samba] Nmbd is using the wrong ip address as source
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; -----Original Message-----
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19832423&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba-bounces+theo=macsys.eu@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19832423&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba-bounces+theo=macsys.eu@...&lt;/a&gt;] On Behalf Of 
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19832423&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; Sent: Saturday, October 04, 2008 4:41 AM
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19832423&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; Subject: Re: [Samba] Nmbd is using the wrong ip address as source
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; Teodor Iacob wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Hello,
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I have a linux box with the following S/W versions:
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; CentOS release 5.2 (Final)
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Linux ns.hostname.ro 2.6.18-92.1.13.el5 #1 SMP Wed Sep 24
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; 19:32:05 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Version 3.0.28-1.el5_2.1
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; My server has 2 IP interfaces, eth0: with the public ip
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; address and br0: for the private subnet.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Br0 being a bridge ip interface between eth1 and tap0 ( for
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; openvpn ).
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Now my problem is that the nmbd is doing the netbios
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; broadcasts using the eth0 ip address instead
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; of the br0 one. I'm only interested in enabling samba on
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; the local network (br0). I have checked
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; this by using tcpdump on another linux machine in the
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; network and saw the broadcasts with the source
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; address the eth0 ip. Nmbd claims to win the master browsing
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; election, but in reality the windows machines
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; ignore the election packets and another machine becomes
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; master and the browsing list is messed up..
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; The smbd works just fine, connecting to the shares manually
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; works correctly.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; How can I make nmbd to use the correct ip address? ( btw, I
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; removed the bridge config just for testing
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; and only enabled ip on the eth1 and the same problem.. ). I
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; saw that in the previous version there was
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; a parameter &amp;quot;-I&amp;quot; to force the source address..
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; For reference this is my smb.conf:
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; [global]
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; workgroup = HOSTNAME
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; netbios name = HNS
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; interfaces = 10.10.10.1 127.0.0.1
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; ... why not just say &amp;quot;interfaces = br0&amp;quot; so that it binds to your 
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; private interface (which I presume owns 10.10.10.1)? &amp;nbsp;You 
&lt;br&gt;&lt;br&gt;&amp;gt; don't need 
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; to have Samba listen on the loopback address if you can 
&lt;br&gt;&lt;br&gt;&amp;gt; talk to it on 
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; another local address.
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt; I mentioned also br0 in my quest of trying all possibilities 
&lt;br&gt;&lt;br&gt;&amp;gt; I could think of.. No change.
&lt;br&gt;&lt;br&gt;&amp;gt; But bind is only for listening, my problem is when nmbd it 
&lt;br&gt;&lt;br&gt;&amp;gt; sends packets by itself to make the election. I told you smbd 
&lt;br&gt;&lt;br&gt;&amp;gt; works fine and I can see from netstat -an at the LISTEN part 
&lt;br&gt;&lt;br&gt;&amp;gt; that it was only bound to the 10.10.10.1:139 and 10.10.10.1:445
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; hosts allow = 127.0.0., 10.10.10.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bind interfaces only = yes
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; [snip]
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; remote announce = 10.10.10.255/HOSTNAME
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; socket address = 10.10.10.1
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; Don
&lt;br&gt;&lt;br&gt;&lt;br&gt;First of all, thank you for your patience on volunteer attempts to help you resolve your issue (considering it is still the weekend
&lt;br&gt;in much of the world).
&lt;br&gt;&lt;br&gt;Now, can you include a portion of the tcpdump you viewed from the other machine (particularly the part where the wrong address is
&lt;br&gt;appearing). &amp;nbsp;Also, I am assuming you have restarted both smbd and nmbd after each configuration change.
&lt;br&gt;&lt;br&gt;To verify that your samba settings are being read properly, try to run &amp;quot;netstat -nap |grep [sn]mbd&amp;quot; to see which ports are open on
&lt;br&gt;your local machine. &amp;nbsp;Also, try running &amp;quot;nmblookup -B 10.10.10.255 server&amp;quot; to ensure that nmbd is responding to name server queries
&lt;br&gt;on the broadcast address.
&lt;br&gt;&lt;br&gt;I Googled a moment, and came up with much of the above from her - &lt;a href=&quot;http://samba.org/~tpot/articles/multiple-interfaces.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://samba.org/~tpot/articles/multiple-interfaces.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Let us know how it goes.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Frank 
&lt;br&gt;&lt;br&gt;__________ Information from ESET NOD32 Antivirus, version of virus signature database 3492 (20081003) __________
&lt;br&gt;&lt;br&gt;The message was checked by ESET NOD32 Antivirus.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.eset.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Nmbd-is-using-the-wrong-ip-address-as-source-tp19805544p19832423.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19831209</id>
	<title>Re: Cannot get shares to show up</title>
	<published>2008-10-05T19:23:31Z</published>
	<updated>2008-10-05T19:23:31Z</updated>
	<author>
		<name>Ryan Bair</name>
	</author>
	<content type="html">Sorry, meant to reply all on that.
&lt;br&gt;&lt;br&gt;On Sun, Oct 5, 2008 at 10:22 PM, Ryan Bair &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19831209&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ryandbair@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; By showing up I assume you mean showing up in the listing of shares
&lt;br&gt;&amp;gt; for the computer?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The &amp;quot;browsable = no&amp;quot; would be your problem. It makes the share not
&lt;br&gt;&amp;gt; browsable. :-)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --Ryan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Sun, Oct 5, 2008 at 6:50 PM, Jesse Stone &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19831209&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jstone1999@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; I apologize if this is a really silly question but I've been messing with
&lt;br&gt;&amp;gt;&amp;gt; this for awhile now and cannot see any typos that would prevent these shares
&lt;br&gt;&amp;gt;&amp;gt; from showing up.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm trying two things I've never done before so I want to make sure to point
&lt;br&gt;&amp;gt;&amp;gt; them out:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 1) &amp;nbsp;I am using groups in the &amp;quot;valid users&amp;quot; section
&lt;br&gt;&amp;gt;&amp;gt; 2) &amp;nbsp;I am using preexec and postexec on each share
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Example:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; [Media]
&lt;br&gt;&amp;gt;&amp;gt; comment = Media(Non-kid)!
&lt;br&gt;&amp;gt;&amp;gt; path = /mnt/media1
&lt;br&gt;&amp;gt;&amp;gt; read only = yes
&lt;br&gt;&amp;gt;&amp;gt; browsable = no
&lt;br&gt;&amp;gt;&amp;gt; valid users = @mediausers
&lt;br&gt;&amp;gt;&amp;gt; preexec = /bin/mount /mnt/media1
&lt;br&gt;&amp;gt;&amp;gt; postexec = /bin/umount /mnt/media1
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I've done nothing with the /mnt/media1 folder so I expect my next issue will
&lt;br&gt;&amp;gt;&amp;gt; be permissiones related but I would expect the shares to at least show up
&lt;br&gt;&amp;gt;&amp;gt; for all users within the @mediausers group.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm using preexec ect from the cd-rom example contained within the default
&lt;br&gt;&amp;gt;&amp;gt; smb.conf file.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -Jesse
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe from this list go to the following URL and read the
&lt;br&gt;&amp;gt;&amp;gt; instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Cannot-get-shares-to-show-up-tp19829898p19831209.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19829898</id>
	<title>Cannot get shares to show up</title>
	<published>2008-10-05T15:50:12Z</published>
	<updated>2008-10-05T15:50:12Z</updated>
	<author>
		<name>Jesse Stone-2</name>
	</author>
	<content type="html">I apologize if this is a really silly question but I've been messing with
&lt;br&gt;this for awhile now and cannot see any typos that would prevent these shares
&lt;br&gt;from showing up.
&lt;br&gt;&lt;br&gt;I'm trying two things I've never done before so I want to make sure to point
&lt;br&gt;them out:
&lt;br&gt;&lt;br&gt;1) &amp;nbsp;I am using groups in the &amp;quot;valid users&amp;quot; section
&lt;br&gt;2) &amp;nbsp;I am using preexec and postexec on each share
&lt;br&gt;&lt;br&gt;Example:
&lt;br&gt;&lt;br&gt;[Media]
&lt;br&gt;comment = Media(Non-kid)!
&lt;br&gt;path = /mnt/media1
&lt;br&gt;read only = yes
&lt;br&gt;browsable = no
&lt;br&gt;valid users = @mediausers
&lt;br&gt;preexec = /bin/mount /mnt/media1
&lt;br&gt;postexec = /bin/umount /mnt/media1
&lt;br&gt;&lt;br&gt;I've done nothing with the /mnt/media1 folder so I expect my next issue will
&lt;br&gt;be permissiones related but I would expect the shares to at least show up
&lt;br&gt;for all users within the @mediausers group.
&lt;br&gt;&lt;br&gt;I'm using preexec ect from the cd-rom example contained within the default
&lt;br&gt;smb.conf file.
&lt;br&gt;&lt;br&gt;-Jesse
&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Cannot-get-shares-to-show-up-tp19829898p19829898.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19829868</id>
	<title>Re: Lost most data on Windows XP machine switching to domain</title>
	<published>2008-10-05T15:44:11Z</published>
	<updated>2008-10-05T15:44:11Z</updated>
	<author>
		<name>Jesse Stone-2</name>
	</author>
	<content type="html">Thank you for all the responses. &amp;nbsp;Thinking back on how I did it, I bet it
&lt;br&gt;was a permissions issue which prevented the files from migrating to the
&lt;br&gt;Samba server but that still shouldn't have caused them to be deleted. &amp;nbsp;The
&lt;br&gt;files were complete gone. &amp;nbsp;I checked both the old non-domain directory and
&lt;br&gt;the newly created domain directory. &amp;nbsp;I was able to recover 98% of the data
&lt;br&gt;using a special recovery program my IT department provided me.
&lt;br&gt;&lt;br&gt;The option I had to use to find the files using the recovery software was
&lt;br&gt;not &amp;quot;Accidently Deleted&amp;quot; but &amp;quot;Disk was formatted&amp;quot; which makes me think
&lt;br&gt;whatever process distroyed the files did it in a way where they did not go
&lt;br&gt;into the recycle bin but completely distroyed.
&lt;br&gt;&lt;br&gt;-Jesse
&lt;br&gt;&lt;br&gt;On Sat, Oct 4, 2008 at 6:02 PM, Scott Lovenberg
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19829868&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;scott.lovenberg@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp;Jesse Stone wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm wondering if anyone has run across that and MUCH more importantly, if
&lt;br&gt;&amp;gt;&amp;gt; the data can be recovered somehow.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'll put as much details as I can at the bottom but here's the gist of the
&lt;br&gt;&amp;gt;&amp;gt; problem:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I added my wives computer (which contains 8 years worth of pictures) to
&lt;br&gt;&amp;gt;&amp;gt; the
&lt;br&gt;&amp;gt;&amp;gt; domain. &amp;nbsp;When I logged into the new domain account it was empty and my
&lt;br&gt;&amp;gt;&amp;gt; wives
&lt;br&gt;&amp;gt;&amp;gt; domain users had no access so I did the following:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 1) Logged out of the domain account and back into the machine account
&lt;br&gt;&amp;gt;&amp;gt; 2) Added the domain user to the administrative group
&lt;br&gt;&amp;gt;&amp;gt; 3) MOVED (yes, I'm an idiot) everything from my wive's standard profile to
&lt;br&gt;&amp;gt;&amp;gt; the domain profile
&lt;br&gt;&amp;gt;&amp;gt; 4) Logged back in with the domain account
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Here's what happens:
&lt;br&gt;&amp;gt;&amp;gt; a few random things where in the new domain. &amp;nbsp;For example, 1 bookmark (out
&lt;br&gt;&amp;gt;&amp;gt; of about 50) was in my wive's favorites folder. &amp;nbsp;The &amp;quot;My Pictures&amp;quot; folder
&lt;br&gt;&amp;gt;&amp;gt; contained &amp;quot;Sample Pictures&amp;quot; only.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; My guess is that 1 of 2 things happened:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 1) Samba didn't expect there to be data yet so started out with a fresh
&lt;br&gt;&amp;gt;&amp;gt; new
&lt;br&gt;&amp;gt;&amp;gt; profile. &amp;nbsp;This doesn't explain how some (less than 1% of her data) is
&lt;br&gt;&amp;gt;&amp;gt; available
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 2) &amp;nbsp;My wive is connecting to the domain via wireless. &amp;nbsp;Somehow, mid-copy
&lt;br&gt;&amp;gt;&amp;gt; the
&lt;br&gt;&amp;gt;&amp;gt; wireless shut off and the data never made it to the roaming profile.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Please someone give me good news like &amp;quot;just do this and the data will be
&lt;br&gt;&amp;gt;&amp;gt; recovered!&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; OK, here's the details (which will show my lack of understanding):
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I followed the following article when setting up Samba:
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.howtoforge.com/samba_setup_ubuntu_5.10_p4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.howtoforge.com/samba_setup_ubuntu_5.10_p4&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The only changes I made are that I commented out the following lines
&lt;br&gt;&amp;gt;&amp;gt; (believing this would STOP roaming profiles. &amp;nbsp;I did not actually want
&lt;br&gt;&amp;gt;&amp;gt; roaming profiles and was only planning on setting the &amp;quot;My Documents&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; folder
&lt;br&gt;&amp;gt;&amp;gt; to use server storage.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; #logon drive = H: &amp;nbsp; &amp;nbsp;&amp;lt;-- &amp;nbsp;May use later for roaming profiles
&lt;br&gt;&amp;gt;&amp;gt; #logon path = \\%N\profile\%U &amp;nbsp; &amp;nbsp;&amp;lt;-- &amp;nbsp;May use later for roaming profiles
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; (Note, the only thing this did is stop the drive letter from being set.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;The
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;profile&amp;quot; directly was still created, only under the /home/%user%/
&lt;br&gt;&amp;gt;&amp;gt; directory
&lt;br&gt;&amp;gt;&amp;gt; instead of /home/samba/profiles/)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Here's the entire smb.conf I am using:
&lt;br&gt;&amp;gt;&amp;gt; [global]
&lt;br&gt;&amp;gt;&amp;gt; workgroup = domaintest
&lt;br&gt;&amp;gt;&amp;gt; netbios name = server3200
&lt;br&gt;&amp;gt;&amp;gt; server string = File Server
&lt;br&gt;&amp;gt;&amp;gt; passdb backend = tdbsam
&lt;br&gt;&amp;gt;&amp;gt; security = user
&lt;br&gt;&amp;gt;&amp;gt; username map = /etc/samba/smbusers
&lt;br&gt;&amp;gt;&amp;gt; name resolve order = wins bcast hosts
&lt;br&gt;&amp;gt;&amp;gt; domain logons = yes
&lt;br&gt;&amp;gt;&amp;gt; preferred master = yes
&lt;br&gt;&amp;gt;&amp;gt; wins support = yes
&lt;br&gt;&amp;gt;&amp;gt; # Set CUPS for printing
&lt;br&gt;&amp;gt;&amp;gt; printcap name = CUPS
&lt;br&gt;&amp;gt;&amp;gt; printing = CUPS
&lt;br&gt;&amp;gt;&amp;gt; # Default logon
&lt;br&gt;&amp;gt;&amp;gt; #logon drive = H:
&lt;br&gt;&amp;gt;&amp;gt; #logon script = scripts/logon.bat
&lt;br&gt;&amp;gt;&amp;gt; #logon path = \\%N\profile\%U
&lt;br&gt;&amp;gt;&amp;gt; # Useradd scripts
&lt;br&gt;&amp;gt;&amp;gt; add user script = /usr/sbin/useradd -m %u
&lt;br&gt;&amp;gt;&amp;gt; delete user script = /usr/sbin/userdel -r %u
&lt;br&gt;&amp;gt;&amp;gt; add group script = /usr/sbin/groupadd %g
&lt;br&gt;&amp;gt;&amp;gt; delete group script = /usr/sbin/groupdel %g
&lt;br&gt;&amp;gt;&amp;gt; add user to group script = /usr/sbin/usermod -G %g %u
&lt;br&gt;&amp;gt;&amp;gt; add machine script = /usr/sbin/useradd -s /bin/false/ -d /var/lib/nobody
&lt;br&gt;&amp;gt;&amp;gt; %u
&lt;br&gt;&amp;gt;&amp;gt; idmap uid = 15000-20000
&lt;br&gt;&amp;gt;&amp;gt; idmap gid = 15000-20000
&lt;br&gt;&amp;gt;&amp;gt; # sync smb passwords with linux passwords
&lt;br&gt;&amp;gt;&amp;gt; passwd program = /usr/bin/passwd %u
&lt;br&gt;&amp;gt;&amp;gt; passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
&lt;br&gt;&amp;gt;&amp;gt; *Retype\snew\sUNIX\spassword:* %n\n .
&lt;br&gt;&amp;gt;&amp;gt; passwd chat debug = yes
&lt;br&gt;&amp;gt;&amp;gt; unix password sync = yes
&lt;br&gt;&amp;gt;&amp;gt; # set the loglevel
&lt;br&gt;&amp;gt;&amp;gt; log level = 3
&lt;br&gt;&amp;gt;&amp;gt; [homes]
&lt;br&gt;&amp;gt;&amp;gt; comment = Home
&lt;br&gt;&amp;gt;&amp;gt; valid users = %S
&lt;br&gt;&amp;gt;&amp;gt; read only = no
&lt;br&gt;&amp;gt;&amp;gt; browsable = no
&lt;br&gt;&amp;gt;&amp;gt; [printers]
&lt;br&gt;&amp;gt;&amp;gt; comment = All Printers
&lt;br&gt;&amp;gt;&amp;gt; path = /var/spool/samba
&lt;br&gt;&amp;gt;&amp;gt; printable = yes
&lt;br&gt;&amp;gt;&amp;gt; guest ok = yes
&lt;br&gt;&amp;gt;&amp;gt; browsable = no
&lt;br&gt;&amp;gt;&amp;gt; [netlogon]
&lt;br&gt;&amp;gt;&amp;gt; comment = Network Logon Service
&lt;br&gt;&amp;gt;&amp;gt; path = /home/samba/netlogon
&lt;br&gt;&amp;gt;&amp;gt; admin users = Administrator
&lt;br&gt;&amp;gt;&amp;gt; valid users = %U
&lt;br&gt;&amp;gt;&amp;gt; read only = no
&lt;br&gt;&amp;gt;&amp;gt; [profile]
&lt;br&gt;&amp;gt;&amp;gt; comment = User profiles
&lt;br&gt;&amp;gt;&amp;gt; path = /home/samba/profiles
&lt;br&gt;&amp;gt;&amp;gt; valid users = %U
&lt;br&gt;&amp;gt;&amp;gt; create mode = 0600
&lt;br&gt;&amp;gt;&amp;gt; directory mode = 0700
&lt;br&gt;&amp;gt;&amp;gt; writable = yes
&lt;br&gt;&amp;gt;&amp;gt; browsable = no
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Please understand that my wife may well divorce me if I can't recover this
&lt;br&gt;&amp;gt;&amp;gt; stuff.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -Jesse
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm a little mixed up about about the steps that you took... Am I
&lt;br&gt;&amp;gt; interpreting this correctly:
&lt;br&gt;&amp;gt; 1.) &amp;nbsp;You signed on with your wifes domain account, then logged out
&lt;br&gt;&amp;gt; 2.) &amp;nbsp;You then logged in as a local admin and added her domain account to
&lt;br&gt;&amp;gt; the Domain Administrators group
&lt;br&gt;&amp;gt; 3.) &amp;nbsp;Before logging out of the local admin account, you moved all of her
&lt;br&gt;&amp;gt; files to the default domain profile (in the netlogon share) (with
&lt;br&gt;&amp;gt; permissions 0600 as per your profile share configuration)
&lt;br&gt;&amp;gt; 4.) &amp;nbsp;You then logged out of your local admin account and logged back in
&lt;br&gt;&amp;gt; with your wifes domain account
&lt;br&gt;&amp;gt; 5.) &amp;nbsp;Everything is missing at this point.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm fairly sure that Windows handles dropped connections during a sign
&lt;br&gt;&amp;gt; on/off with a file that contains successfully transferred files. &amp;nbsp;The fact
&lt;br&gt;&amp;gt; that you have some of her files makes me wonder if you've got a permissions
&lt;br&gt;&amp;gt; issue going on. &amp;nbsp;Are you sure that the files aren't on the domain controller
&lt;br&gt;&amp;gt; with permissions that keep her account from seeing them?
&lt;br&gt;&amp;gt; If I were you, I'd remount that drive read only 60 seconds ago and make a
&lt;br&gt;&amp;gt; copy of it right away. &amp;nbsp;Even if you deleted the files, you can probably get
&lt;br&gt;&amp;gt; a dd_rescue image before you actually blow them away. &amp;nbsp;I've had success with
&lt;br&gt;&amp;gt; that before after fat-fingering an effective &amp;quot;rm -rf /.&amp;quot; while logged in as
&lt;br&gt;&amp;gt; root. &amp;nbsp;The Samba team will be happy to know that the Samba server limped
&lt;br&gt;&amp;gt; along while the Windows clients dropped like a lead zeppelin (apologies to
&lt;br&gt;&amp;gt; Keith Moon). :D
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I was able to get ~98% of the data back even with a 3ware RAID card,
&lt;br&gt;&amp;gt; reiserfs, and LVM complicating the matter. &amp;nbsp;You've probably got a good shot
&lt;br&gt;&amp;gt; at recovering that data (if it really did go MIA) if you don't write
&lt;br&gt;&amp;gt; anything else to the disk. &amp;nbsp;YMMV, of course.
&lt;br&gt;&amp;gt;
&lt;/div&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/samba&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Lost-most-data-on-Windows-XP-machine-switching-to-domain-tp19815169p19829868.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19828328</id>
	<title>Re: Revisiting Samba's interaction with LDAP's ppolicy overlay</title>
	<published>2008-10-05T12:33:55Z</published>
	<updated>2008-10-05T12:33:55Z</updated>
	<author>
		<name>Ryan Steele-3</name>
	</author>
	<content type="html">Alexandre Biancalana wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 10/2/08, Ryan Steele &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19828328&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ryans@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Volker Lendecke wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On Mon, Sep 29, 2008 at 10:14:01AM -0400, Adam Tauno Williams wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; This is, AFAIK, the only solution currently. &amp;nbsp;We do the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; same thing. &amp;nbsp;It stinks.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; As I said in the former mail thread: Patches are welcome. If
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; you really want it done quickly, some companies on
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://samba.org/samba/support&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://samba.org/samba/support&lt;/a&gt;&amp;nbsp;also offer development
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; services.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Volker
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;Unfortunately, I suspect that many of the folks who probably want this done
&lt;br&gt;&amp;gt;&amp;gt; are system administrators, not software developers. &amp;nbsp;As a systems
&lt;br&gt;&amp;gt;&amp;gt; administrator, I do have the ability to write code, but all I really use in
&lt;br&gt;&amp;gt;&amp;gt; my day-to-day life is Perl and Bash, maybe dabbling in some Python or Ruby.
&lt;br&gt;&amp;gt;&amp;gt; As Samba is written primarily in C, I probably wouldn't write very good
&lt;br&gt;&amp;gt;&amp;gt; patches for it - I find that my proficiency lies in the languages I actually
&lt;br&gt;&amp;gt;&amp;gt; use now, not the ones I used during undergrad in college. &amp;nbsp;And while I'd
&lt;br&gt;&amp;gt;&amp;gt; love just dump money in to the project (or have an employer do it), that's
&lt;br&gt;&amp;gt;&amp;gt; just not always a reality (especially not the amounts needed to fund
&lt;br&gt;&amp;gt;&amp;gt; development efforts).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;All that being said, I'd be curious to know where this lies in the current
&lt;br&gt;&amp;gt;&amp;gt; development pipeline (if at all). &amp;nbsp;Again, I (and I believe the community)
&lt;br&gt;&amp;gt;&amp;gt; think this would be very beneficial to Samba as a use and marketing tool,
&lt;br&gt;&amp;gt;&amp;gt; and deserves some consideration. &amp;nbsp;I'm happy to do what I can - testing,
&lt;br&gt;&amp;gt;&amp;gt; tracking down bugs (even if I can't submit working patches), and money when
&lt;br&gt;&amp;gt;&amp;gt; I have it. &amp;nbsp;But mostly I rely on good developers to develop, so that I can
&lt;br&gt;&amp;gt;&amp;gt; focus on my role in the chain - testing it and implementing it in real-world
&lt;br&gt;&amp;gt;&amp;gt; situations, and promoting it by installing it in all applicable
&lt;br&gt;&amp;gt;&amp;gt; environments.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;However, it can't be overstated how much I appreciate the work that has
&lt;br&gt;&amp;gt;&amp;gt; been done up to this point on Samba - it's a fantastic piece of software.
&lt;br&gt;&amp;gt;&amp;gt; Keep up the good work!
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Do we have any paper explaining the work that have to be done ? Or
&lt;br&gt;&amp;gt; early patches (proof of concept) that could be used as starting point
&lt;br&gt;&amp;gt; for this ?
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;I don't think there are either of those (officially). &amp;nbsp;The thread I
&lt;br&gt;started back in April (which starts here:
&lt;br&gt;&lt;a href=&quot;http://lists.samba.org/archive/samba/2008-April/139711.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.samba.org/archive/samba/2008-April/139711.html&lt;/a&gt;) has all the
&lt;br&gt;technical details on exactly what happens currently, and suggestions
&lt;br&gt;about how it could be fixed. &amp;nbsp;But, I can try and sum up the general idea
&lt;br&gt;of what's wrong (as best I can remember, forgive me if I'm a little off
&lt;br&gt;in some aspects - it's been several months since I've dealt with it),
&lt;br&gt;and how it could be fixed.
&lt;br&gt;&lt;br&gt;Take the case where a Windows user has logged in to the Samba domain,
&lt;br&gt;and attempts to change their password by hitting ctrl+alt+delete. &amp;nbsp;The
&lt;br&gt;user provides their old password, and the new password, and sends both
&lt;br&gt;to Samba. &amp;nbsp;Samba then checks to see what it's passdb backend is, which
&lt;br&gt;in this case would be ldapsam:ldap://server, and as a result sends the
&lt;br&gt;old and new password to LDAP. &amp;nbsp;If LDAP is using the ppolicy overlay, it
&lt;br&gt;checks to see if the new password meets all the criteria defined in the
&lt;br&gt;ppolicy. &amp;nbsp;Take the ppolicy entry I described in that thread:
&lt;br&gt;&lt;br&gt;56 cn=Password Policy,ou=Policies,dc=example,dc=com
&lt;br&gt;cn: Password Policy
&lt;br&gt;pwdAttribute: userPassword
&lt;br&gt;pwdMaxAge: 3888000
&lt;br&gt;pwdMinAge: 3468000
&lt;br&gt;pwdMinLength: 6
&lt;br&gt;pwdExpireWarning: 432000
&lt;br&gt;pwdFailureCountInterval: 0
&lt;br&gt;pwdMustChange: FALSE
&lt;br&gt;pwdAllowUserChange: TRUE
&lt;br&gt;pwdLockout: TRUE
&lt;br&gt;pwdCheckQuality: 1
&lt;br&gt;pwdGraceAuthNLimit: 0
&lt;br&gt;pwdInHistory: 6
&lt;br&gt;pwdMaxFailure: 2
&lt;br&gt;pwdLockoutDuration: 60
&lt;br&gt;objectClass: device
&lt;br&gt;objectClass: pwdPolicy
&lt;br&gt;objectClass: pwdPolicyChecker
&lt;br&gt;objectClass: top
&lt;br&gt;pwdCheckModule: check_password.so
&lt;br&gt;pwdSafeModify: FALSE
&lt;br&gt;&lt;br&gt;&lt;br&gt;This is an entry that is visible to ANYBODY who queries LDAP. &amp;nbsp;It uses
&lt;br&gt;the above attributes to check if the password is sufficient - e.g.:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Is it long enough (pwdMinLength - minimum six characters)?
&lt;br&gt;&amp;nbsp; &amp;nbsp;Is it one of the last 6 passwords (pwdInHistory)?
&lt;br&gt;&amp;nbsp; &amp;nbsp;Is it strong enough (pwdCheckModule - it uses check_password.so to
&lt;br&gt;check the strength.... the check_password.so was a shared object created
&lt;br&gt;by compiling a small C program I wrote that checked to see if the
&lt;br&gt;password had at least 3 out of 4 of the following: one uppercase letter,
&lt;br&gt;one lowercase letter, a number, and a punctuation mark. &amp;nbsp;The
&lt;br&gt;pwdCheckModule has to be of the form described here:
&lt;br&gt;&lt;a href=&quot;http://linux.die.net/man/5/slapo-ppolicy&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://linux.die.net/man/5/slapo-ppolicy&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;If the user provided a password that only had numbers in it, it would
&lt;br&gt;fail the pwdCheckModule check because it only met 1 of those 4 strength
&lt;br&gt;criteria, and LDAP returns 0x13 (NT_STATUS_PASSWORD_RESTRICTION) and the
&lt;br&gt;following message to Samba:
&lt;br&gt;&lt;br&gt;[2008/04/08 05:35:26, 10] lib/smbldap.c:smbldap_extended_operation(1472)
&lt;br&gt;&amp;nbsp; Extended operatio