Re: [Samba] Samba/winbind UID mismatch.

2013-08-13 Thread Pramod Venugopal
From a google search it looks like that is how it was intended.

http://thr3ads.net/samba/2013/03/2189446-Samba4-File-ownership-for-Domain-Admins-members

Thanks for your help.

- Pramod

On Aug 13, 2013, at 9:18 AM, Pramod Venugopal  wrote:

> Even stranger. 
> 
> This happens only when the user is a member of the domain admins group. When 
> I removed the user from "Domain Admins" , the uid is correct.
> 
> On Aug 13, 2013, at 9:06 AM, Pramod Venugopal  wrote:
> 
>> That did not work. But on the bright side, it looks like it is doing that 
>> only for one user and only via smb. 
>> 
>> Other services which use the same winbind authentication seem to work fine 
>> for that user such ftp and afp. I am going to recreate the user and see if 
>> it resolves the issue.
>> 
>> Thanks for your help.
>> 
>> - Pramod
>> 
>> 
>> On Aug 12, 2013, at 4:52 AM, steve  wrote:
>> 
>>> On 12/08/13 13:04, Pramod Venugopal wrote:
>>>> Hello everyone,
>>>> 
>>>> I am running Samba 4.0.8 on Arch Linux (installed from the Arch Repo)
>>>> 
>>>> I have winbind authentication configured and working. I am able to login 
>>>> via ssh, and at the machine console with my samba credentials. I also have 
>>>> a Windows 8 client and an OS X client which is able to connect to this 
>>>> system via smb.
>>>> 
>>>> However, when I create files or directories via smb I seem to have a UID 
>>>> mismatch compared to when I create files/directories via shell or at the 
>>>> console
>>>> 
>>>> When I type id at the shell, it tells me my uid is 318 . Files created 
>>>> at the shell or console have this as the owner.
>>>> 
>>>> When I copy files via smb the uid is 300.
>>>> 
>>>> In idmap.ldb , my xidNumber is 318.
>>>> 
>>>> Am I missing something ?
>>>> 
>>>> Thanks in advance,
>>>> 
>>>> - Pramod
>>>> 
>>>> 
>>>> 
>>> Hi
>>> A quick fix maybe.
>>> 1. Add the line:
>>> idmap_ldb use:rfc2307 = Yes
>>> to smb.conf
>>> 2. add:
>>> uidNumber: 318
>>> to the DN of the user
>>> 3. Always work on the DC either by ssh or at the console.
>>> 
>>> Then the uidNumber will _always_ be 318.
>>> 
>>> There are many ways to do the same but I don't know Arch so dare not 
>>> suggest.
>>> HTH
>>> Steve
>>> 
>>> -- 
>>> To unsubscribe from this list go to the following URL and read the
>>> instructions:  https://lists.samba.org/mailman/options/samba
>> 
> 



signature.asc
Description: Message signed with OpenPGP using GPGMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] Samba/winbind UID mismatch.

2013-08-13 Thread Pramod Venugopal
Even stranger. 

This happens only when the user is a member of the domain admins group. When I 
removed the user from "Domain Admins" , the uid is correct.

On Aug 13, 2013, at 9:06 AM, Pramod Venugopal  wrote:

> That did not work. But on the bright side, it looks like it is doing that 
> only for one user and only via smb. 
> 
> Other services which use the same winbind authentication seem to work fine 
> for that user such ftp and afp. I am going to recreate the user and see if it 
> resolves the issue.
> 
> Thanks for your help.
> 
> - Pramod
> 
> 
> On Aug 12, 2013, at 4:52 AM, steve  wrote:
> 
>> On 12/08/13 13:04, Pramod Venugopal wrote:
>>> Hello everyone,
>>> 
>>> I am running Samba 4.0.8 on Arch Linux (installed from the Arch Repo)
>>> 
>>> I have winbind authentication configured and working. I am able to login 
>>> via ssh, and at the machine console with my samba credentials. I also have 
>>> a Windows 8 client and an OS X client which is able to connect to this 
>>> system via smb.
>>> 
>>> However, when I create files or directories via smb I seem to have a UID 
>>> mismatch compared to when I create files/directories via shell or at the 
>>> console
>>> 
>>> When I type id at the shell, it tells me my uid is 318 . Files created 
>>> at the shell or console have this as the owner.
>>> 
>>> When I copy files via smb the uid is 300.
>>> 
>>> In idmap.ldb , my xidNumber is 318.
>>> 
>>> Am I missing something ?
>>> 
>>> Thanks in advance,
>>> 
>>> - Pramod
>>> 
>>> 
>>> 
>> Hi
>> A quick fix maybe.
>> 1. Add the line:
>> idmap_ldb use:rfc2307 = Yes
>> to smb.conf
>> 2. add:
>> uidNumber: 318
>> to the DN of the user
>> 3. Always work on the DC either by ssh or at the console.
>> 
>> Then the uidNumber will _always_ be 318.
>> 
>> There are many ways to do the same but I don't know Arch so dare not suggest.
>> HTH
>> Steve
>> 
>> -- 
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba
> 



signature.asc
Description: Message signed with OpenPGP using GPGMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] Samba/winbind UID mismatch.

2013-08-13 Thread Pramod Venugopal
That did not work. But on the bright side, it looks like it is doing that only 
for one user and only via smb. 

Other services which use the same winbind authentication seem to work fine for 
that user such ftp and afp. I am going to recreate the user and see if it 
resolves the issue.

Thanks for your help.

- Pramod


On Aug 12, 2013, at 4:52 AM, steve  wrote:

> On 12/08/13 13:04, Pramod Venugopal wrote:
>> Hello everyone,
>> 
>> I am running Samba 4.0.8 on Arch Linux (installed from the Arch Repo)
>> 
>> I have winbind authentication configured and working. I am able to login via 
>> ssh, and at the machine console with my samba credentials. I also have a 
>> Windows 8 client and an OS X client which is able to connect to this system 
>> via smb.
>> 
>> However, when I create files or directories via smb I seem to have a UID 
>> mismatch compared to when I create files/directories via shell or at the 
>> console
>> 
>> When I type id at the shell, it tells me my uid is 318 . Files created 
>> at the shell or console have this as the owner.
>> 
>> When I copy files via smb the uid is 300.
>> 
>> In idmap.ldb , my xidNumber is 318.
>> 
>> Am I missing something ?
>> 
>> Thanks in advance,
>> 
>> - Pramod
>> 
>> 
>> 
> Hi
> A quick fix maybe.
> 1. Add the line:
> idmap_ldb use:rfc2307 = Yes
> to smb.conf
> 2. add:
> uidNumber: 318
> to the DN of the user
> 3. Always work on the DC either by ssh or at the console.
> 
> Then the uidNumber will _always_ be 318.
> 
> There are many ways to do the same but I don't know Arch so dare not suggest.
> HTH
> Steve
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba



signature.asc
Description: Message signed with OpenPGP using GPGMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

[Samba] Samba/winbind UID mismatch.

2013-08-12 Thread Pramod Venugopal
Hello everyone,

I am running Samba 4.0.8 on Arch Linux (installed from the Arch Repo)

I have winbind authentication configured and working. I am able to login via 
ssh, and at the machine console with my samba credentials. I also have a 
Windows 8 client and an OS X client which is able to connect to this system via 
smb.

However, when I create files or directories via smb I seem to have a UID 
mismatch compared to when I create files/directories via shell or at the console

When I type id at the shell, it tells me my uid is 318 . Files created at 
the shell or console have this as the owner.

When I copy files via smb the uid is 300. 

In idmap.ldb , my xidNumber is 318.

Am I missing something ? 

Thanks in advance,

- Pramod



signature.asc
Description: Message signed with OpenPGP using GPGMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] managing permissions from windows (is it possible?)

2007-06-04 Thread Pramod Venugopal
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Well this is how I have my setup:

I installed Samba/LDAP after following the idealx guide.

My user is a member of Domain Admins and in the smb.conf I have the
following:

admin users = @"Domain Admins"
winbind use default domain = yes
nt acl support = yes

- - Pramod

John Drescher wrote:
>>
>> If you have ACL support for the filesystem, and Samba has been
>> compiled with ACL support then yes. I have Samba 3.0.23c running on
>> Centos, ext3 filesystem mounted with ACL support and I can do this
>> from the Shares Section in the Computer Management MMC.
>>
>>
> I did not know I could do that. Thanks for the info.
>
> I have that problem and a second related problem. With the MMC or the
> properties dialog the groups that are displayed are only Admistrators
> (SERVER\Administrators), Everyone, and Users(SERVER\Administrators)
> for all
> shares even if in Unix the group is set to HonestBrokers which is a
> valid
> windows and unix group. Also like the original poster all the
> permissions
> boxes are unchecked no matter what their real values are. I am using
> a samba
> 3.0.24 PDC with LDAP. Also the windows groups and the linux groups
> are the
> same thing. Will enabling ACL get the groups in these windows
> property boxes
> to be the ones seen in linux? Or do I need to use winbind?
>
> Thanks,
> John

- --
Pramod Venugopal
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGZGPSX5FtsCrAzXYRAgdzAKCr1DiIGcgEzt0VKSD0NV5CZZIAZwCeLvpi
ll8S8FpkaA0sZMIulHMaWvU=
=J2oR
-END PGP SIGNATURE-

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] managing permissions from windows (is it possible?)

2007-06-03 Thread Pramod Venugopal
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Juan,

If you have ACL support for the filesystem, and Samba has been
compiled with ACL support then yes. I have Samba 3.0.23c running on
Centos, ext3 filesystem mounted with ACL support and I can do this
from the Shares Section in the Computer Management MMC.

- - Pramod

Juan Miscaro wrote:
> I have a FreeBSD Samba box running as PDC for a WinXP network.  Is it
> possible for the Windows administrators to modify permissions
> (right-click of folders...) from their own computers?  I have already
> mapped windows groups to unix groups.  When I try to do this I either
> get a lack-of-permissions error or all the little boxes become
> unchecked again after clicking OK).
>
>
>   Get news delivered with the All new Yahoo! Mail.  Enjoy RSS feeds
right on your Mail page. Start today at
http://mrd.mail.yahoo.com/try_beta?.intl=ca

- --
Pramod Venugopal
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGYmfRX5FtsCrAzXYRAsIVAJ4tXGuBH1nWftcT+gQNlvxOGVoiqQCgyVN/
A8EqTwo7se8IcouklUUcrQs=
=pEnx
-END PGP SIGNATURE-

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba