[Samba] Enforcing local profile doesn't let Home Directory mapping

2009-08-18 Thread Avinash Rao
Dear all, I am using Ubuntu 8.04 Server 64-bit edition and I am trying to enforce Local profile for all users and below is my smb.conf file. According to the samba documentation, leaving the logon home and logon path values to empty will enforce local profiles, it worked. But, my main requirement

Re: [Samba] Permission Issues - Email found in subject - Email found in subject

2009-08-18 Thread Shaun Martin
Hi All, Anyone know why I am getting this issue? Thanks, Shaun > From: Shaun Martin > Date: Mon, 17 Aug 2009 09:14:40 -0400 > To: Jeremy Allison > Cc: > Subject: Re: [Samba] Permission Issues - Email found in subject - Email found > in subject > > Hi All, > > Here is the version number. >

Re: [Samba] Crazied NTLM_AUTH on samba 3.4.0

2009-08-18 Thread Alex Crow
> . For example: 1 time > return 0xc0c3 ( NT_STATUS_INVALID_NETWORK_RESPONSE) or 0x1c010002 (???) > and much others. I realized one thing: when the response is "Broken Pipe" > the ntlm responds "OK" on first after try and back to the errors after this > warning... > I am seeing similar proble

Re: [Samba] Permission Issues - Email found in subject - Email found in subject

2009-08-18 Thread Adam Williams
did you notice you still have: security mask = 0755 shouldn't that be 0775? Shaun Martin wrote: Hi All, Anyone know why I am getting this issue? Thanks, Shaun From: Shaun Martin Date: Mon, 17 Aug 2009 09:14:40 -0400 To: Jeremy Allison Cc: Subject: Re: [Samba] Permission Issues - E

Re: [Samba] Enforcing local profile doesn't let Home Directory mapping

2009-08-18 Thread Avinash Rao
Thanks for the reply. My Homes share has this entry, but the global entry is overriding. Basically there three ways in which u can force local profile, one is through smb.conf file, the second one is to edit the registry key on winxp clients and the third one is do it in my computer properties and

Re: [Samba] Permission Issues - Email found in subject - Email found in subject - Email found in subject

2009-08-18 Thread Shaun Martin
Hi, Thank you for noticting that, although it did not fix my issue. My current config is below. And below that is ls ­lah on the new directories I made after I killed and restarted samba. PLEASE HELP :) [shared] delete readonly = yes writeable = yes path = /shared force directory

[Samba] Samba authentication

2009-08-18 Thread Lukas Hejtmanek
Hello, I wonder whether there is a way to authenticate samba against NTLM2 enabled radius server without using encrypt passwords = no. I really have no other option than this. My situation is as follows. I have an organization that runs Microsoft Windows Server 2003 which is used as AD. This AD s

Re: [Samba] Permission Issues - Email found in subject - Email found in subject - Email found in subject

2009-08-18 Thread Adam Williams
i dunno, here's what I have on a share on my server and it works, i'm doing 777 however. [exec] path = /samba/executive force directory mode = 0777 browseable = Yes create mask = 0777 force create mode = 0777 directory mask = 0777 writeable = Yes

Re: [Samba] Enforcing local profile doesn't let Home Directory mapping

2009-08-18 Thread Dale Schroeder
Avinash, You should be able to map the drives by creating a [netlogon] share, then using logon scripts containing "net use" commands. Note: these scripts must be created with a DOS/Windows text editor. See example Dale Avinash Rao

[Samba] ID mapping help LDAP/AD

2009-08-18 Thread Arwin L Tugade
Hey all, I'm having some trouble figuring out ID mapping between AD and LDAP. Basically I've done what is described in this doc: http://wiki.samba.org/index.php/Samba%2C_Active_Directory_%26_LDAP because it comes very close what I need. Only Samba is aware of AD and because uids are kept ali

Re: [Samba] Permission Issues - Email found in subject - Email found in subject - Email found in subject

2009-08-18 Thread Jeremy Allison
On Tue, Aug 18, 2009 at 11:38:21AM -0400, Shaun Martin wrote: > Hi, > > Thank you for noticting that, although it did not fix my issue. My current > config is below. And below that is ls ­lah on the new directories I made > after I killed and restarted samba. PLEASE HELP :) > > [shared] > del

Re: [Samba] Keeping a list of NetBIOS names on a network?

2009-08-18 Thread Matthew Dempsky
On Mon, Aug 17, 2009 at 11:01 AM, John H Terpstra - Samba Team wrote: > Use the "findsmb" utility that ships as part of the Samba tarball. I've been playing with this some, and it doesn't seem to find all NetBIOS names on the network. Presumably because not all hosts respond to the initial broadc

Re: [Samba] Keeping a list of NetBIOS names on a network?

2009-08-18 Thread John H Terpstra - Samba Team
On 08/18/2009 02:22 PM, Matthew Dempsky wrote: > On Mon, Aug 17, 2009 at 11:01 AM, John H Terpstra - Samba > Team wrote: >> Use the "findsmb" utility that ships as part of the Samba tarball. > > I've been playing with this some, and it doesn't seem to find all > NetBIOS names on the network. Pres

Re: [Samba] Can't open shares using netbios names

2009-08-18 Thread Walter Mautner
Am Sonntag, 16. August 2009 03:17:41 schrieb Wayne Stidolph: > I need a pointer to what Fine Manual I should go read to set up my > netbios name resolution, because all my attempts to use netbios names > are being resolved against dns ... > > I have one subnet (192.168.2/24), with several Fedora 11

Re: [Samba] Samba PDC + OpenLDAP (Debian Lenny)

2009-08-18 Thread Mike Eggleston
On Sun, 16 Aug 2009, Henrik Dige Semark might have said: > Hey. > I'm trying to move my existing MS-AD over to SAMBA, the place I'm > working for is changing all servers from MS to Debian, but all the > clients is still a mixed environment for now. > We have MAC, *NIX, and Windows clients, so it

[Samba] Using LDAP authentication

2009-08-18 Thread davefu
Hi guys. I'm trying to make a fresh samba installation authenticate against an already working OpenLDAP installation. I'm wondering if there is a way for Samba to use pam libraries, in the same way my Debian server is actually configured to use the LDAP users in addition to the ones locally create

Re: [Samba] Samba authentication

2009-08-18 Thread Robert Freeman-Day
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Have you tried putting the following line in the [global] section of your smb.conf file? client ntlmv2 auth = yes Lukas Hejtmanek wrote: > Hello, > > I wonder whether there is a way to authenticate samba against NTLM2 enabled > radius server without

Re: [Samba] Samba authentication

2009-08-18 Thread Lukas Hejtmanek
On Tue, Aug 18, 2009 at 04:24:31PM -0400, Robert Freeman-Day wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Have you tried putting the following line in the [global] section of > your smb.conf file? > > client ntlmv2 auth = yes and what should I put there if I want to authenticate

Re: [Samba] 'inherit owner' doesn't play nice with 'force directory mode'

2009-08-18 Thread Jeremy Allison
On Mon, Aug 17, 2009 at 10:48:04PM -0700, jw wrote: > Hello > I am trying to create a 'dropbox' share, using the sticky bit and > 'inherit owner'. > > By themselves they work, but when a directory is created in this > share, its permissions are not quite what I need. > Therefore, I try to use 'for

Re: [Samba] Peculiar difference between two Samba servers

2009-08-18 Thread Leon Roy
Better solution: [global] interfaces = eth1 lo bind interfaces only = yes Source: http://samba.org/~tpot/articles/multiple-interfaces.html - Original Message - From: "leon roy" To: "leon roy" Cc: samba@lists.samba.org Sent: Monday, August 17, 2009 2:39:55 PM GMT +00:00 GMT Brita

[Samba] How to get users from a second AD domain recognized by samba?

2009-08-18 Thread Joel Therrien
I have an issue with getting my students access to the samba shares for our lab's server. I am using authentication through our university's active directory. I followed the directions for getting this set up using winbind. I am using winbind for both samba authentication as well as user logins

Re: [Samba] 'inherit owner' doesn't play nice with 'force directory mode'

2009-08-18 Thread jw
On Tue, Aug 18, 2009 at 3:11 PM, Jeremy Allison wrote: > To allow these to apply to the new directory, set : > > directory mask = 0775 > > The reason you're not getting 775 perms on the new directory > is that the default directory mask is 0755, which masks out > the write permission for the group.

Re: [Samba] Enforcing local profile doesn't let Home Directory mapping

2009-08-18 Thread Avinash Rao
I knew this was an option, I also did try this option and what happens is the home directory is mapped, but the user is not able to create an file, it says access is denied? But he is able to create a folder? the command used in logon.bat file is net use h: \\server\%USERNAME% Also, is there a wa

Re: [Samba] Enforcing local profile doesn't let Home Directory mapping

2009-08-18 Thread Michael Heydon
Avinash Rao wrote: Also, is there a way i can control the file permission on the clients local harddrive from samba. For example, If a user A logs in to the samba domain, he will not have any access to the local hard drive, can we give permission from the samba, probably make that domain user a p