[Samba] samba & unix group permissions problems

2009-11-03 Thread Mariano Absatz
Hi, I'm having permissions problems connecting to a share when the gid of the directory shared is not the primary group of the user connecting to it. Maybe I faced it the wrong way, but I did read (and at least thought I understood) the 'File, directory and share access controls' section of the h

Re: [Samba] Accessing Windows file-system from Linux samba server

2009-11-03 Thread Adam Nielsen
> [...@helen samba]$ sudo mount -t cifs harriet:C /mnt/win Since you're not specifying a username or password, you're connecting as a Guest user. > [...@helen Documents and Settings]$ ls tim > ls: reading directory tim: Permission denied Obviously Guest isn't Tim :-) > [...@helen Documents and

Re: [Samba] AD authentication for local users

2009-11-03 Thread Adam Nielsen
> It looks like the problem is AD UID to UNIX UID mapping. The default > TDB backend will create 'virtual' UNIX accounts on demand but I don't > want this -- I want user 'foo' to map to the local user 'foo'. If I > add idmap uid and idmap gid lines the users authenticate okay but the > TDB idmap ba

[Samba] Thousands of TIME_WAIT connections with CUPS?

2009-11-03 Thread Adam Nielsen
Hi all, For some reason I'm getting thousands of hanging TCP connections on our server which appear to be caused by Samba sending print jobs to CUPS (or I assume so as nothing else on the machine uses CUPS.) These connections are starting to cause problems (programs monitoring connections start b

Re: [Samba] samba & libiconv

2009-11-03 Thread Jeremy Allison
On Tue, Nov 03, 2009 at 11:01:24PM +0100, Volker Lendecke wrote: > On Tue, Nov 03, 2009 at 01:43:42PM -0800, Jeremy Allison wrote: > > No. Samba needs libiconv to do the utf8 <--> UCS2 translations for > > clients. > > Hmm. I thought we do *that* one ourselves. I thought we need > libiconv just fo

Re: [Samba] samba & libiconv

2009-11-03 Thread theHog
- Oorspronkelijk bericht - From: Jeremy Allison > On Tue, Nov 03, 2009 at 11:01:24PM +0100, Volker Lendecke wrote: > > On Tue, Nov 03, 2009 at 01:43:42PM -0800, Jeremy Allison wrote: > > > No. Samba needs libiconv to do the utf8 <--> UCS2 translations for > > > clients. > > > > Hmm. I tho

Re: [Samba] samba & libiconv

2009-11-03 Thread Volker Lendecke
On Tue, Nov 03, 2009 at 01:43:42PM -0800, Jeremy Allison wrote: > No. Samba needs libiconv to do the utf8 <--> UCS2 translations for > clients. Hmm. I thought we do *that* one ourselves. I thought we need libiconv just for the other charsets. Volker pgpiJ0eI4MzPp.pgp Description: PGP signature

Re: [Samba] samba & libiconv

2009-11-03 Thread Jeremy Allison
On Mon, Nov 02, 2009 at 09:45:37PM +0100, theHog wrote: > Hi, > > I am building a NAS that only has a couple of SATA disks attached (no USB, no > CD/DVD, no NFS, no ...). Since the available space for the rootfs is limited > (only 8 MB), I'd like to omit libiconv because this library takes 875 Kby

Re: [Samba] Desktop.ini in Startmenue

2009-11-03 Thread Miguel Medalha
the desktop.ini issue can't be solved by samba. That's because the contents of the "Start Menu" are located in different places, like within your Windows profile (roaming) and the "All Users" profile (local). Because the latter is located on your PC, there's no way for samba to interfere.

[Samba] Change password in java

2009-11-03 Thread Volker Jordan
Hi, can I change the samba passwords with a java application or it is practicable to change the two password hashes directly throug LDAP commands? Regards Volker Jordan -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/option

[Samba] Ideas for distributed Samba servers

2009-11-03 Thread Robert LeBlanc
I'm trying to think about how to setup a Samba system and would like to pick the brains of some experts. We are looking up put a large amount of storage ~75TB in a central data center. We have some remote (ok, not remote, but across slower links, ok if you consider several hundred clients over 1Gb

Re: [Samba] samba & libiconv

2009-11-03 Thread Jeremy Allison
On Tue, Nov 03, 2009 at 09:49:02PM +0100, theHog wrote: > - Oorspronkelijk bericht - > From: Jeremy Allison > > On Tue, Nov 03, 2009 at 11:01:24PM +0100, Volker Lendecke wrote: > > > On Tue, Nov 03, 2009 at 01:43:42PM -0800, Jeremy Allison wrote: > > > > No. Samba needs libiconv to do the

Re: [Samba] Status Davenport webdav gateway?

2009-11-03 Thread Steve Rippl
On Tue, 2009-11-03 at 10:34 +0200, Paul te Bokkel wrote: > Any alternatives? :D > We use smbwebclient.php (sourceforge project, http://sourceforge.net/projects/smbwebclient/ ), very simple and it works very well. For smbclient >= 3.2 we had to make a couple of small changes as the options for sm

[Samba] Join Windows7 to a Samba 3.2.15 Domain!?

2009-11-03 Thread Daniel Müller
Dear all Is ist possible to join a windows7 pc to a samba 3.2.15 domain? I tried the registry hack: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanWorkstation\Para meters] "DomainCompatibilityMode"=dword:0001 "DNSNameResolutionRequired"=dword: And I got succesfull j

Re: [Samba] ldap passwd sync old password

2009-11-03 Thread Gaiseric Vandal
I had the same situation (Solaris 10, Sun Dir Server, Samba 3.0.33.) I wrote an external script to change the password. Make sure the script is owned by root and with perms 600 or 700 since it needs the LDAP super user's password. #vi smb.conf ... unix password sync = yes passwd program =

Re: [Samba] machine 127.0.0.1 rejected the tconX on the IPC$ share. Error was : NT_STATUS_ACCESS_DENIED --SMBPASSWD ERROR

2009-11-03 Thread pcinformace pcinformace
thank you for comment, but still same problem in smb.conf interfaces = 192.168.1.201/24 bind interfaces only = Yes obey pam restrictions = Yes passdb backend = ldapsam:ldap://192.168.1.201 pam password change = Yes passwd program = /usr/bin/passwd %u

Re: [Samba] Windows clients connecting to Samba with OpenLDAP password backend

2009-11-03 Thread Jonathan Adams
I was wrong ... the issue in this case was caused 100% by the line "profile acls = Yes" in the global section rather than the profiles section, it had nothing to do with our OpenLDAP setup (thankfully), and nothing to do with the ZFS partitions/NFS partitions ... moving the "profile acl" line fro

Re: [Samba] Problem with pam_winbind

2009-11-03 Thread Alex Samad
On Mon, Nov 02, 2009 at 10:47:29PM +0200, Michael Wood wrote: > 2009/11/2 Alex Samad : > > On Mon, Nov 02, 2009 at 09:14:26AM -0600, Robert LeBlanc wrote: > >> Ok, it was a shot in the dark since there was no smb.conf included. > > > > okay, forgot about that, I have attached now, I have bzip2 it >

Re: [Samba] machine 127.0.0.1 rejected the tconX on the IPC$ share. Error was : NT_STATUS_ACCESS_DENIED --SMBPASSWD ERROR

2009-11-03 Thread Paul te Bokkel
smbpassword defaults to localhost. Add it to your interfaces or use smbpasswd -r Paul -- ir Paul te Bokkel Ingenieursbureau Te Bokkel e p...@tebokkel.com / i http://www.tebokkel.com On Tue, Nov 3, 2009 at 11:02 AM, pcinformace pcinformace < pcinform...@gmail.com> wrote: > Ok, I resolved part

Re: [Samba] machine 127.0.0.1 rejected the tconX on the IPC$ share. Error was : NT_STATUS_ACCESS_DENIED --SMBPASSWD ERROR

2009-11-03 Thread pcinformace pcinformace
Ok, I resolved part smbpasswd Old SMB password: New SMB password: Retype new SMB password: machine 127.0.0.1 rejected the tconX on the IPC$ share. Error was : NT_STATUS_ACCESS_DENIED. Failed to change password for test1 by adding interfaces = 192.168.1.201/24, eth2 bind interfaces only = Yes

[Samba] ldap passwd sync old password

2009-11-03 Thread Volker Jordan
Hi, I want, that the unix password ( stored on LDAP ) gets changed when a user changes his samba password ( stored on LDAP ). So I set ldap passwd sync = yes, but the unix password does not get changed. The samba password is updated. Smbpasswd shows this error machine 127.0.0.1 rejected the (ano

[Samba] Status Davenport webdav gateway?

2009-11-03 Thread Paul te Bokkel
Hi, Can anyone confirm that Davenport, the jCIFS-based webdav gateway is current? In other words, if I update the jCIFS jar, will Davenport be current? Is it still 'supported' without any known errors or is it abandoned? Any current users? Any alternatives? :D Paul -- ir Paul te Bokkel Ingenieur