Re: [Samba] Samba PDC

2011-01-13 Thread Daniel Müller
For some reasons and tried it many times. I did not have any problems joining windows 7 with samba 3.2.15 and up with: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanWorkstation\Para meters] "DomainCompatibilityMode"=dword:0001 "DNSNameResolutionRequired"=dword: [HKEY_

[Samba] Reloading smb.conf smdb only

2011-01-13 Thread Ciani Andrea
Anyone could help me? :( -- Andrea Ciani cianiand...@me.com Inizio messaggio inoltrato: > Da: Andrea Ciani > Data: 12 gennaio 2011 20.09.32 GMT+01.00 > A: Samba List > Oggetto: Reloading smb.conf smdb only > > Hi everyone, > > I'm new in this list a

Re: [Samba] IIS Change Notifications

2011-01-13 Thread Gareth Evans
As per previous message, I thought it might be the size of the path or something, so I just set up another fresh 10.10 ubuntu, built 3.5.6 from source and tested with changenotify exe using a short path (\\smbtest\tmp ) This is on a different win7 box to the one I was using last time, which elimina

Re: [Samba] Cannot list shares on a host

2011-01-13 Thread tms3
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, linux 2.6.34.7-0.7-desktop x86_64 smbclient 3.5.4-5.1.2-2426-SUSE-SL11.3 I issue this command: smbclient -L SMA-STN14L -U jmoe I get: Connection to SMA-STN14L failed (Error NT_STATUS_BAD_NETWORK_NAME) is that name in DNS? H

[Samba] upgrade from 3.4.3 to 3.5.4 disables access for Windows CE 3.0 client

2011-01-13 Thread Michael Hanscho
Hi all! After upgrading samba from 3.4.3 to 3.5.4 (during upgrade opensuse 11.2 to 11.3) wince3.0 client does not see any files/dirs in the user share; The config is the same as worked with 3.4.3. Connecting with smblclient or windows from different machine still works as expected. Disabling

Re: [Samba] Error compiling Samba 3.5.5 on HP-UX 11.11

2011-01-13 Thread Stan.Pietkiewicz
I managed to track down a bunch of missing include files, and made sure they were visible via symbolic links in /usr/include. That only generated a different set of errors One thing I noticed, is that the makefile generated when I ran configure is "Makefile-noincludes". Is that significant?

Re: [Samba] Cannot list shares on a host

2011-01-13 Thread Felix Miata
On 2011/01/13 14:13 (GMT-0700) James Moe composed: linux 2.6.34.7-0.7-desktop x86_64 smbclient 3.5.4-5.1.2-2426-SUSE-SL11.3 I issue this command: smbclient -L SMA-STN14L -U jmoe I get: Connection to SMA-STN14L failed (Error NT_STATUS_BAD_NETWORK_NAME) In [globals] sectio

[Samba] Cannot list shares on a host

2011-01-13 Thread James Moe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, linux 2.6.34.7-0.7-desktop x86_64 smbclient 3.5.4-5.1.2-2426-SUSE-SL11.3 I issue this command: smbclient -L SMA-STN14L -U jmoe I get: Connection to SMA-STN14L failed (Error NT_STATUS_BAD_NETWORK_NAME) In [globals] section: workgrou

Re: [Samba] IIS Change Notifications

2011-01-13 Thread Gareth Evans
sorry, accidentally hit reply instead of reply all On Fri, Jan 14, 2011 at 10:05 AM, Gareth Evans wrote: > Okay I guess the recursive thing makes sense, I hope IIS establishes > watches on the specific directories it's interested in. > The tree could indeed be very deep. > I guess the only way

Re: [Samba] Error compiling Samba 3.5.5 on HP-UX 11.11

2011-01-13 Thread Volker Lendecke
On Thu, Jan 13, 2011 at 02:36:58PM -0500, stan.pietkiew...@statcan.gc.ca wrote: > I've run into an error when trying to compile libnet/libnet_join.c: > > cc: "libnet/libnet_join.c", line 111: error 1588: "LDAP_NO_MEMORY" > undefined. > cc: "libnet/libnet_join.c", line 111: warning 563: Argument #2

Re: [Samba] IIS Change Notifications

2011-01-13 Thread Volker Lendecke
On Mon, Jan 10, 2011 at 08:26:13AM +1300, Gareth Evans wrote: > 1) Create a guest only share > 1a) Make sure the windows box can access the share just using explorer > 2) Start ChangeNotifyTestingConsole.exe \\path\to\share -r > 2a ChangeNotifyTestingConsole will connect to the share and register f

[Samba] Error compiling Samba 3.5.5 on HP-UX 11.11

2011-01-13 Thread Stan.Pietkiewicz
I've run into an error when trying to compile libnet/libnet_join.c: cc: "libnet/libnet_join.c", line 111: error 1588: "LDAP_NO_MEMORY" undefined. cc: "libnet/libnet_join.c", line 111: warning 563: Argument #2 is not the correct type. The source below is what triggers it (line 111 is marked): st

Re: [Samba] help with configuring PAM

2011-01-13 Thread Dale Schroeder
Brandon, I used this as my template in Debian: http://www.enterprisenetworkingplanet.com/netos/article.php/10951_3502441_2 From my limited experience with Ubuntu, I seem to remember that they put most of their directives in the common-* files, so you may have to adjust locations. Dale On 01

[Samba] another question about account locking

2011-01-13 Thread Kevin Taylor
Ok. I'm still not able to lock out the account, but now that I've got the pam restrictions line in the smb.conf, I'm seeing messages appear in /var/log/secure related to samba:account and samba:session So, that means that the login session is doing SOMETHING with pam, but I'm not abl

Re: [Samba] MS Access

2011-01-13 Thread Dale Schroeder
I use the following with Office XP/Office 2003, and it works very well. Access in 2000 compatibility mode is the front end to MySQL server. kernel oplocks = No veto oplock files = /*.doc/*.xls/*.mdb/*.ldb/*.DOC/*.XLS/*.MDB/*.LDB/ Dale On 01/13/2011 8:39 AM, compdoc wrote: What version of Acce

Re: [Samba] can connect to 2 samba servers by name but to one by IPonly

2011-01-13 Thread Gaiseric Vandal
nslookup on windows machines does require the FQDN name- i.e. "pdc1.mydomain.com." ping does not (windows will appropriately add the domain name.) I have not tried "net use \\pdc1.mydomain.com" from a VPN connection. I know that "nslookup" and "ping" in Windows have separate name resolution

Re: [Samba] creds_server_check: credentials check failed on Win7-32bit and samba-3.0.28a on ubuntu-8.04.4

2011-01-13 Thread TAKAHASHI Motonobu
2011/1/13 Bob Tanner : > Windows 7 Professional 32-bit > HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion: 7600 > > Ubuntu-8.04.4 LTS > samba-3.0.28a-1ubuntu4.13 > > I applied the Registry settings as documented at > http://wiki.samba.org/index.php/Windows7 Windows 7 can join to Sam

Re: [Samba] Samba/Winbind Question

2011-01-13 Thread TAKAHASHI Motonobu
2011/1/11 Dan Burkland : >I have everything > working however I have noticed when I boot a RHEL client or restart the > Samba & Winbind services (in that order) I get a bunch of log entries in > /var/log/messages like the following: > > Jan 11 08:04:27 mn4s34052 winbindd[10980]:   ERROR: Initializa

Re: [Samba] another question about account locking

2011-01-13 Thread TAKAHASHI Motonobu
2011/1/14 Kevin Taylor : > I did give it a try with no luck. However, I'm not sure that the way the pam > rules I have set out would cause that to trip anyway. > > On most of our linux machines, we'd have the system-auth looking like this > (what is the default generated by system-config-authent

Re: [Samba] Problem: how to make users use unique passwords

2011-01-13 Thread TAKAHASHI Motonobu
2011/1/13 Konstantin Boyandin : (snip) >It all works well, but the task it to force users to use > unique password every time they have to change it. Use user rights. Perhaps "pdbedit -P 'password history' -C 999" will help you. // "999" is an example of very big number. In source, that value is

Re: [Samba] another question about account locking

2011-01-13 Thread Kevin Taylor
I did give it a try with no luck. However, I'm not sure that the way the pam rules I have set out would cause that to trip anyway. On most of our linux machines, we'd have the system-auth looking like this (what is the default generated by system-config-authentication) authrequired

Re: [Samba] another question about account locking

2011-01-13 Thread TAKAHASHI Motonobu
2011/1/14 Kevin Taylor : > Unfortunately, that doesn't work. Since we're using an LDAP backend, we had > to turn on 'encrypt > passwords=yes' which bypasses the pam checking. Have you actually tried it? To set "obey pam restrictions = yes", Samba obeys PAM's restriction. For example, try: ---

Re: [Samba] Strange problem - print_job_start: job start denied by time check

2011-01-13 Thread Jeremy Allison
On Wed, Jan 12, 2011 at 02:07:12AM +, Jules wrote: > Hi, > > Having a very odd problem with a printer that I've had up and > running for over a year now with no previous issues. There have > been no software or hardware updates recently that should have > affected it. The printer is managed

Re: [Samba] another question about account locking

2011-01-13 Thread Kevin Taylor
Unfortunately, that doesn't work. Since we're using an LDAP backend, we had to turn on 'encrypt passwords=yes' which bypasses the pam checking. > Date: Fri, 14 Jan 2011 02:51:58 +0900 > Subject: Re: [Samba] another question about account locking > From: mo...@monyo.com > To: groucho.64...@hot

Re: [Samba] another question about account locking

2011-01-13 Thread Bruce Richardson
On Fri, Jan 14, 2011 at 02:51:58AM +0900, TAKAHASHI Motonobu wrote: > 2011/1/13 Kevin Taylor : > > > > Is there a way that we can increment the samba bad password count, when a > > user fails a password on a linux system? I'm looking for ways to get both > > Windows and Linux to simultaneously lo

Re: [Samba] another question about account locking

2011-01-13 Thread TAKAHASHI Motonobu
2011/1/13 Kevin Taylor : > > Is there a way that we can increment the samba bad password count, when a > user fails a password on a linux system? I'm looking for ways to get both > Windows and Linux to simultaneously lock out accounts if they fail so many > times. We're using an LDAP backend. H

Re: [Samba] can connect to 2 samba servers by name but to one by IPonly

2011-01-13 Thread TAKAHASHI Motonobu
2011/1/13 Gaiseric Vandal : > Adding pdc1 to the hosts file (c:\windows\system32\drivers\etc\hosts) did > not make a difference. After adding pdc1 to lmhosts, "net use \\pdc1" did > work. So in the case of pdc1 one, the name is being resolved as a netbios > name (i.e. via lmhosts) not a tcp/ip t

Re: [Samba] MS Access

2011-01-13 Thread Gaiseric Vandal
I mentioned zfs , not because linux uses zfs specifically, but some of the issues you might run into using a "unix" file system that supports ACL's. Sometimes a file may be created that then can't get deleted, or a file may be created and then MS Office CHANGES the perms on the file so that y

Re: [Samba] Samba PDC

2011-01-13 Thread tms3
2011/1/14 TAKAHASHI Motonobu : 2011/1/13 Robert Fitzpatrick : If your Samba's version is 3.3.2 - 3.3.4, then the additional settings below are needed: HKLM\System\CCS\Services\Netlogon\Parameters DWORD RequireSignOrSeal = 0 DWORD RequireStrongKey = 0 I am

Re: [Samba] Samba PDC

2011-01-13 Thread TAKAHASHI Motonobu
2011/1/14 TAKAHASHI Motonobu : > 2011/1/13 Robert Fitzpatrick : >>> If your Samba's version is 3.3.2 - 3.3.4, then the additional settings >>> below are needed: >>> >>>        HKLM\System\CCS\Services\Netlogon\Parameters >>>            DWORD  RequireSignOrSeal = 0 >>>            DWORD  RequireStron

[Samba] help with configuring PAM

2011-01-13 Thread Brandon Coale
Hello, My company has a Windows file server that I attempting to setup a Samba server as an Active Directory domain member to replace. I have migrated one of the shares to the Samba server but am having some problems. I installed Ubuntu Server 10.04.1 LTS on a new server for the sole purpose of re

Re: [Samba] Samba PDC

2011-01-13 Thread TAKAHASHI Motonobu
2011/1/13 Robert Fitzpatrick : >> If your Samba's version is 3.3.2 - 3.3.4, then the additional settings >> below are needed: >> >>        HKLM\System\CCS\Services\Netlogon\Parameters >>            DWORD  RequireSignOrSeal = 0 >>            DWORD  RequireStrongKey = 0 >> > > I am using Samba 3.5.6

Re: [Samba] ubuntu doesn't daemonize smbd

2011-01-13 Thread Chris Smith
On Thu, Jan 13, 2011 at 1:34 AM, Christian PERRIER wrote: > I just forwarded your mail to Steve and I think he'll make sure this > reaches the right folks in Ubuntu server team. Thank you. Would be nice to see these startup scripts work properly. I'll be happy to provide any additional informatio

Re: [Samba] ubuntu doesn't daemonize smbd

2011-01-13 Thread Chris Smith
On Thu, Jan 13, 2011 at 1:38 AM, Christian PERRIER wrote: >> And I have seen reported instances of Samba issues on Ubuntu being >> resolved by avoiding the distro packages and compiling from source. > > Hmmm, could be interesting to learn about which ones. The reports I allude to I've read on thi

Re: [Samba] Samba PDC

2011-01-13 Thread Robert Fitzpatrick
On 1/13/2011 6:42 AM, TAKAHASHI Motonobu wrote: Read at: http://wiki.samba.org/index.php/Windows7 And remember Samba 3 PDC is compatible with Windows NT Server, not with Active Directory. Thanks, I was able to join the domain, but when trying to logon, I get another error... the trust relati

Re: [Samba] MS Access

2011-01-13 Thread compdoc
>> What version of Access? I find that, in general Office 2003 plays a little nicer with Samba than Office 2007 (Office likes to change file perms on files.) Office 2000 - ack! >> Does Microsoft even supply security patches for Windows 2000 anymore? No new patches. But you can patch daylight sa

Re: [Samba] MS Access

2011-01-13 Thread tms3
I need to have a server built and ready to install by this weekend, and I'm trying to decide whether to use the customer's copy of Windows 2000 Server, Seriously? http://blogs.technet.com/b/windowsserver/archive/2010/01/14/windows-2000-server-approaching-end-of-life.aspx or Ubuntu or

Re: [Samba] MS Access

2011-01-13 Thread Gaiseric Vandal
PS I should clarify that I have not especially noticed problems with MS Access 2003/2007 on Samba but we don't use it heavily. I WOULD expect that you will need to spend a little time tweeking file permissions. I use Samba 3.4.x and 3.0.x with Solaris 10 and ZFS file system. ZFS supports f

Re: [Samba] MS Access

2011-01-13 Thread Gaiseric Vandal
What version of Access? I find that, in general Office 2003 plays a little nicer with Samba than Office 2007 (Office likes to change file perms on files.) Does Microsoft even supply security patches for Windows 2000 anymore? (For me, when MS did not provide patches for extended daylight sa

[Samba] another question about account locking

2011-01-13 Thread Kevin Taylor
Is there a way that we can increment the samba bad password count, when a user fails a password on a linux system? I'm looking for ways to get both Windows and Linux to simultaneously lock out accounts if they fail so many times. We're using an LDAP backend.

[Samba] Client Disconnect periodically

2011-01-13 Thread Francesco Alfano
I've updated samba from Samba version 3.0.24 ( config file in testparm-oldsrv1.txt) to Samba version 3.0.33-3.29.el5_5.1 ( config file in testparm-newsrv1b.txt) I've used samba to share a directory which is used to windows 2000 serve as mapped drive. All works fine with samba 3.0.24, but i've

Re: [Samba] MS Access

2011-01-13 Thread Daniel Müller
In my case the performance was still bad. But use a normal windows client as domain member with a share where the access database is on. With 20 User there should be no problem. And this should be much faster than an old W2000. --- EDV Daniel Müller Lei

[Samba] MS Access

2011-01-13 Thread compdoc
I need to have a server built and ready to install by this weekend, and I'm trying to decide whether to use the customer's copy of Windows 2000 Server, or Ubuntu or Centos. I think Ubuntu would have a newer version of samba. The problem is, for this one server, about 20 users hammer MS Access data

Re: [Samba] Samba PDC

2011-01-13 Thread TAKAHASHI Motonobu
>> Read at: >> http://wiki.samba.org/index.php/Windows7 >> >> And remember Samba 3 PDC is compatible with Windows NT Server, not with >> Active Directory. > > Thanks, I was able to join the domain, but when trying to logon, I get > another error... > >> the trust relationship between this workstati

[Samba] Client Disconnect periodically

2011-01-13 Thread Francesco Alfano
I've updated samba from Samba version 3.0.24 ( config file in testparm-oldsrv1.txt) to Samba version 3.0.33-3.29.el5_5.1 ( config file in testparm-newsrv1b.txt) I've used samba to share a directory which is used to windows 2000 serve as mapped drive. All works fine with samba 3.0.24, but i've

Re: [Samba] creds_server_check: credentials check failed on Win7-32bit and samba-3.0.28a on ubuntu-8.04.4

2011-01-13 Thread Bob Tanner
I also tried changing the Local Policies - Security Options as documented at http://www.tomshardware.com/forum/75-63-windows-samba-issue Control Panel - Administrative Tools - Local Security Policy Local Policies - Security Options Network security: LAN Manager authentication level Send LM &

[Samba] creds_server_check: credentials check failed on Win7-32bit and samba-3.0.28a on ubuntu-8.04.4

2011-01-13 Thread Bob Tanner
Windows 7 Professional 32-bit HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion: 7600 Ubuntu-8.04.4 LTS samba-3.0.28a-1ubuntu4.13 I applied the Registry settings as documented at http://wiki.samba.org/index.php/Windows7 HKLM\System\CCS\Services\LanmanWorkstation\Parameters

Re: [Samba] Samba migration to a new server

2011-01-13 Thread Helmut Hullen
Hallo, Henri, Du meintest am 13.01.11: >>> What is the best way to proceed to make this migration as seamless >> as >>> possible for all users (more than 200 user accounts with more than >>> 200 PC in the domain) ? >> My usual way: >> >> - copy/overwrite "/etc/samba" to the new machine >> -

Re: [Samba] Problem: how to make users use unique passwords

2011-01-13 Thread Helmut Hullen
Hallo, Konstantin, Du meintest am 13.01.11: > I have also added a call to cracklib to check password strength prior > to applying it. It all works well, but the task it to force users to > use unique password every time they have to change it. A typical > scenario I must prevent is this: user cha

Re: [Samba] ubuntu doesn't daemonize smbd

2011-01-13 Thread Christian PERRIER
Quoting Chris Smith (smb...@chrissmith.org): > OK, not exactly a samba issue but maybe the Ubuntu maintainer reads > this list and can provide some input. There is not exactly such thing as "the Ubuntu maintainer". As far as I can tell (with my Debian package maintainer hat), samba packages in Ub

Re: [Samba] ubuntu doesn't daemonize smbd

2011-01-13 Thread Christian PERRIER
Quoting Chris Smith (smb...@chrissmith.org): > And I have seen reported instances of Samba issues on Ubuntu being > resolved by avoiding the distro packages and compiling from source. Hmmm, could be interesting to learn about which ones. Since 2-3 years, we made great efforts in Debian to avoid