Re: [Samba] exported LDAP DB file smbpasswd?

2012-05-25 Thread Collen
Hi, why not export with pdbedit and then import it again ?! no converting needed... (except for smb.conf that is.) cheers. On 25-5-2012 0:01, Gaiseric Vandal wrote: Just what is in the documentation on samba.org. Anything involving plain-text authentication seems to be discouraged. On

[Samba] 3.2.15 sys_get_vfs_quota -- failed for mntpath[ a device ] bdev [ a device ] qtype[4] id[513]: Invalid argument

2012-05-25 Thread lejeczek
or/and ... qtype[2] id[501]: Invalid argument above version of samba does not seem to be able to recognize FS(ext4) quotas, could you gents.ladies shed some light please? very much appreciated. regards -- To unsubscribe from this list go to the following URL and read the instructions:

Re: [Samba] Samba / LDAP : map uid to another field ?

2012-05-25 Thread Sylvain
I found « username map [script] » directive in smb.conf man page. I've tested P1234=jdoe and it's works. Next is to make a one line script to make this dynamic ^^ Another solution was to make a proxy LDAP instead of a replica. Thanks for the help ! If anyone have another idea, i'm open :)

[Samba] Problem joining to a Samba PDC (Probably caused by unix charset)

2012-05-25 Thread Ralf Aumueller
Hello, trying to join a Windows 7 64-Bit PC to a Samba PDC (3.6.5) fails with message Domain not found or no connection possible. After some testing I found that the problem was caused by the Samba-parameter unix charset = ISO8859-1. When I start the nmbd with same config-file just without the

Re: [Samba] multi home dir locations

2012-05-25 Thread Collen
Hmm, i played around with this nss_ldap, also with the rfc2307 from winbind looks all nice, but samba4 does not have posix scheme loaded and filled for users by default. if i make a new user, it will not have the posix attributes. and the attributes are not auto set (no uid, gid) so yeh it can

Re: [Samba] Samba as member of multi domain AD (nss/pam)

2012-05-25 Thread NdK
Il 25/05/2012 09:57, Marcel Ritter ha scritto: our setup looks much like yours: One domain FAUAD containing all our users, and several domains containing computer objects (and maybe local users). To prevent inconsistencies in user/group membership, we'd like to use nss/pam winbind on

[Samba] Enabling winbind idmap_hash module

2012-05-25 Thread Marc Rechté
Hello, I am using samba 3.5 (Red Hat Linux 6) which comes with idmap_hash plugin. I have put the following in smb.conf: workgroup = WORKGROUP password server = * security = domain idmap backend = hash idmap uid = 500-33554431 idmap gid = 500-33554431 winbind nss info = hash

Re: [Samba] Samba4 : Problem setting folder and file permissions from windows box

2012-05-25 Thread François Moyson
Hi, Thanks for pointing me to this bug. I'm not sure whether it's the same thing happening here though. Because at first everything was running fine. The only thing I did was backing up the sytem using rsync, which did not preserve the extended attributes. But as I said, copying those

[Samba] Can't join samba4 as domain controller

2012-05-25 Thread Juan Pablo Lorier
Hi, I'm trying to join samba 4 alpha 20 to my windows 2003 AD domain and I get this error: Adding SPNs to CN=SAMBADC1,OU=Domain Controllers,DC=montecarlotv,DC=com,DC=uy Setting account password for SAMBADC1$ Enabling account Calling bare provision Join failed - cleaning up checking

Re: [Samba] exported LDAP DB file smbpasswd?

2012-05-25 Thread aurfalien
Now thats brilliant, elegant and simple. Thanks Collen, looking forward to trying it. - aurf On May 25, 2012, at 2:31 AM, Collen wrote: Hi, why not export with pdbedit and then import it again ?! no converting needed... (except for smb.conf that is.) cheers. On 25-5-2012 0:01,

Re: [Samba] exported LDAP DB file smbpasswd?

2012-05-25 Thread Gaiseric Vandal
pbdedit will export the Windows password from the SambaNTPassword field (won't it?) My understanding was the pGina was using the unix password in the userPassword field?Or am I wrong? On 05/25/12 09:36, aurfalien wrote: Now thats brilliant, elegant and simple. Thanks Collen, looking

Re: [Samba] exported LDAP DB file smbpasswd?

2012-05-25 Thread aurfalien
I am using pGina for authing, correct. But when I map drive shares, I'll need some kind of authing mechanism. My desire was this; Since I already auth the user during there pGina login to Windows, I did not want to auth again for drive mapping to a Samba server. But... since this SSO doesn't

Re: [Samba] exported LDAP DB file smbpasswd?

2012-05-25 Thread aurfalien
I would also like to add that since Samba and in effect Windows does not behave like Nix with regards to who you are and what you are trying to do, looks like I will have to integrate PDC functionality into my LDAP server :( Man, this easily quadruples my over all LDAP database, gross. But at

Re: [Samba] exported LDAP DB file smbpasswd?

2012-05-25 Thread Gaiseric Vandal
I understand what you are trying to accomplish. However I do not know which LDAP field is used for the pGina password- I believe it is userPassword but I am not sure. If seems to me you have three options 1. Crack the unix passwords so you can create matching windows passwords. 2. Configure

Re: [Samba] Basic questions regarding Samba capabilities

2012-05-25 Thread Jason Voorhees
Hi, thanks for your reply: On Mon, May 21, 2012 at 7:51 AM, Aaron E. ssures...@gmail.com wrote: First, I'm not sure if your speaking of samba4 or just upgrading your s3 domain structure .. my comments are based on samba4 hope it helps .. Actually I was thinking about using a stable version of

Re: [Samba] Basic questions regarding Samba capabilities

2012-05-25 Thread Jason Voorhees
Hi: On Mon, May 21, 2012 at 8:01 AM, Daniel Müller muel...@tropenklinik.de wrote: IN a such great environment like yours I would suggest having several PDCs in replication mode. Is this possible to implement with Samba 3.x? --- EDV Daniel Müller

Re: [Samba] Basic questions regarding Samba capabilities

2012-05-25 Thread Jorell
On 5/25/2012 7:48 AM, Jason Voorhees wrote: Hi, thanks for your reply: On Mon, May 21, 2012 at 7:51 AM, Aaron E.ssures...@gmail.com wrote: First, I'm not sure if your speaking of samba4 or just upgrading your s3 domain structure .. my comments are based on samba4 hope it helps .. Actually

Re: [Samba] Problem joining to a Samba PDC (Probably caused by unix charset)

2012-05-25 Thread Jeremy Allison
On Fri, May 25, 2012 at 12:56:50PM +0200, Ralf Aumueller wrote: Hello, trying to join a Windows 7 64-Bit PC to a Samba PDC (3.6.5) fails with message Domain not found or no connection possible. After some testing I found that the problem was caused by the Samba-parameter unix charset =

Re: [Samba] Basic questions regarding Samba capabilities

2012-05-25 Thread Lukasz Zalewski
Hi Jorell, On 25/05/12 16:57, Jorell wrote: On 5/25/2012 7:48 AM, Jason Voorhees wrote: Hi, thanks for your reply: On Mon, May 21, 2012 at 7:51 AM, Aaron E.ssures...@gmail.com wrote: First, I'm not sure if your speaking of samba4 or just upgrading your s3 domain structure .. my comments are

Re: [Samba] Basic questions regarding Samba capabilities

2012-05-25 Thread Jeremy Allison
On Fri, May 25, 2012 at 09:49:12AM -0500, Jason Voorhees wrote: Hi: On Mon, May 21, 2012 at 8:01 AM, Daniel Müller muel...@tropenklinik.de wrote: IN a such great environment like yours I would suggest having several PDCs in replication mode. Is this possible to implement with Samba

Re: [Samba] Basic questions regarding Samba capabilities

2012-05-25 Thread steve
On 05/25/2012 06:26 PM, Lukasz Zalewski wrote: Hi Jorell, On 25/05/12 16:57, Jorell wrote: On 5/25/2012 7:48 AM, Jason Voorhees wrote: To manage group policies you install Group Policy Management Console (gpmc.msi) on a windows workstation connected to the domain. Hi Is there Group Policy

[Samba] errors during samba 3.6.5 compile

2012-05-25 Thread Derek Lewis
Hello, I am trying to compile Samba 3.6.5 from the official tarball, I am following the how-to from samba.org and run into several errors like the following example when I try to run configure from the source3 directory: configure: failed program was: | /* confdefs.h */ I am running Ubuntu 10.04

[Samba] GPFS on Linux exported via Samba to Windows Clients, locking issue

2012-05-25 Thread Leonard Degollado
I have a 3-node GPFS on Linux Cluster (3.4.0-12) with Samba 3.6.5 The problem is with file locking across the Cluster. Windows Client-1 maps the GPFS directory-1 from GPFS node-1 and initiates a Write of File-1 Windows Client-2 maps the GPFS directory-1 from GPFS node-2 and should only have READ

[Samba] Splitting up directories with Samba variables

2012-05-25 Thread Heather Choi
In my smb.conf file, I currently I have a user share definition as: [userdir] path = /samba/%U writeable = yes The problem is, the user pool is in the tens of thousands, so it is not practical to have that many directories within /samba. I'd like to somehow dynamically configure the

[SCM] Samba Shared Repository - branch master updated

2012-05-25 Thread Stefan Metzmacher
The branch, master has been updated via e17fa58 s3:smbd: move global smbd_msg_state to smbXsrv_connection via 167cccb s3:smbd: move global koplocks to smbd_server_connection via 3a66ee1 s3:smbd: pass smbd_server_connection to should_notify_deferred_opens() via

autobuild: intermittent test failure detected

2012-05-25 Thread autobuild
The autobuild test system has detected an intermittent failing test in the current master tree. The autobuild log of the failure is available here: http://git.samba.org/autobuild.flakey/2012-05-25-1950/flakey.log The samba3 build logs are available here:

[SCM] Samba Shared Repository - branch master updated

2012-05-25 Thread Jeremy Allison
The branch, master has been updated via 0bf6ec8 s3:selftest: run smbtorture3 CLEANUP3 in the s3dc:local environment via 68d03f2 s3: Test whether get_share_mode_lock cleans up stale processes via 58dff07 s3: Do not check the PIDs is parse_share_modes via 50fdb32

[SCM] Samba Shared Repository - branch master updated

2012-05-25 Thread Alexander Bokovoy
The branch, master has been updated via 518484a dns_hosts_file: move to a separate subsystem via 337353b s3-configure.in: when ADS support is disabled, unset HAVE_GSSAPI from 0bf6ec8 s3:selftest: run smbtorture3 CLEANUP3 in the s3dc:local environment

[SCM] Samba Shared Repository - branch master updated

2012-05-25 Thread Jeremy Allison
The branch, master has been updated via e7e6276 s3-utils: Use ads_do_search_retry in net ads search via 0da10c8 s3-libads: Use a reducing page size to try and cope with a slow LDAP server via b9217a8 s3-winbindd: Always map the LDAP error code to an NTSTATUS via