Re: [Samba] UID/GID mapping consistency across at least two Linux machines

2012-04-11 Thread bakytn
Thanks! But how is this related to my problem? is there any pitfalls when some user is a member of many groups? is their uid idepends on their group membership ? -- View this message in context: http://samba.2283325.n4.nabble.com/UID-GID-mapping-consistency-across-at-least-two-Linux-machines-tp45

Re: [Samba] UID/GID mapping consistency across at least two Linux machines

2012-04-11 Thread steve
On 11/04/12 22:35, bakytn wrote: I have also cleared the /var/run/samba folder and it's now working properly. you helped a lot! Thank you! Hi Just remembered a gotcha with the rfc2307 stuff. Hope you don't mind me including it here for completeness and to save head scratching. If the user

Re: [Samba] UID/GID mapping consistency across at least two Linux machines

2012-04-11 Thread bakytn
I have also cleared the /var/run/samba folder and it's now working properly. you helped a lot! Thank you! -- View this message in context: http://samba.2283325.n4.nabble.com/UID-GID-mapping-consistency-across-at-least-two-Linux-machines-tp4543255p4549992.html Sent from the Samba - General mailin

Re: [Samba] UID/GID mapping consistency across at least two Linux machines

2012-04-11 Thread Chris Smith
On Wed, Apr 11, 2012 at 3:50 PM, bakytn wrote: > I tried the old config and newer. > >   idmap backend = rid:DOMAIN=4000-2 >   idmap uid = 4000-2 >   idmap gid = 4000-2 Doesn't look right - man smb.conf - for the correct syntax. For your version I think it should be more like: idmap

Re: [Samba] UID/GID mapping consistency across at least two Linux machines

2012-04-11 Thread bakytn
something strange is happening. It's not working at all. Just the same ID's as before I tried the old config and newer. idmap backend = rid:DOMAIN=4000-2 idmap uid = 4000-2 idmap gid = 4000-2 (changed from 2000 to 4000) Also tried to use: idmap alloc backend = rid I rem

Re: [Samba] UID/GID mapping consistency across at least two Linux machines

2012-04-11 Thread steve
On 11/04/12 15:00, John Drescher wrote: I also only use ldap the same way without any winbind. For years I used to do that however my domain member servers (not PDCs / BDCs) would not enumerate the users correctly for the windows security tab without using winbind. Does this work for you? Joh

Re: [Samba] UID/GID mapping consistency across at least two Linux machines

2012-04-11 Thread Chris Smith
On Tue, Apr 10, 2012 at 2:27 PM, bakytn wrote: > Would you recommend me to use IDMAP_RID with Winbind? I use it successfully. > idmap backend = idmap_rid:DOMAIN=2000-1 Depending upon your Samba version the syntax may be a bit different. idmap config DOMAIN : backend = rid idmap config

Re: [Samba] UID/GID mapping consistency across at least two Linux machines

2012-04-11 Thread John Drescher
> I also only use ldap the same way without any winbind. > For years I used to do that however my domain member servers (not PDCs / BDCs) would not enumerate the users correctly for the windows security tab without using winbind. Does this work for you? John -- To unsubscribe from this list go t

Re: [Samba] UID/GID mapping consistency across at least two Linux machines

2012-04-11 Thread Ludek Finstrle
Hi, Wed, Apr 11, 2012 at 11:02:09AM +0200, steve napsal(a): > On 11/04/12 09:09, Daniel Müller wrote: > >I also only use ldap the same way without any winbind. > Thanks. I was beginning to wonder if we were the only ones. It seems > such an easy alternative to using winbind. The uid/gid is _exactl

Re: [Samba] UID/GID mapping consistency across at least two Linux machines

2012-04-11 Thread steve
On 11/04/12 09:09, Daniel Müller wrote: I also only use ldap the same way without any winbind. Hi Thanks. I was beginning to wonder if we were the only ones. It seems such an easy alternative to using winbind. The uid/gid is _exactly_ wysiwyg. Always. I think this is the sort of consistency th

Re: [Samba] UID/GID mapping consistency across at least two Linux machines

2012-04-11 Thread Daniel Müller
consistency across at least two Linux machines On 09/04/12 21:00, Gaiseric Vandal wrote: > On 04/09/12 13:11, bakytn wrote: >> I found this: >> http://lists.samba.org/archive/samba/2004-January/078411.html >> >> How to implement "a" scenario? > Are you using win

Re: [Samba] UID/GID mapping consistency across at least two Linux machines

2012-04-10 Thread bakytn
Would you recommend me to use IDMAP_RID with Winbind? I don't have domain trusts (which is required to be "off" when using rid). It's a small domain with about 300 users at the very maximum. Also..if I just add idmap backend = idmap_rid:DOMAIN=2000-1 What would change? Would it mess my

Re: [Samba] UID/GID mapping consistency across at least two Linux machines

2012-04-10 Thread steve
On 10/04/12 18:45, Gaiseric Vandal wrote: On 04/10/12 12:29, steve wrote: On 09/04/12 21:00, Gaiseric Vandal wrote: On 04/09/12 13:11, bakytn wrote: Winbind mapping should not be necessary on domain controllers, except if you have domain trusts. I have ldap backend so my LDAP users have b

Re: [Samba] UID/GID mapping consistency across at least two Linux machines

2012-04-10 Thread Gaiseric Vandal
On 04/10/12 12:29, steve wrote: > On 09/04/12 21:00, Gaiseric Vandal wrote: >> On 04/09/12 13:11, bakytn wrote: >>> I found this: >>> http://lists.samba.org/archive/samba/2004-January/078411.html >>> >>> How to implement "a" scenario? >> Are you using winbind for idmapping? The files you want

Re: [Samba] UID/GID mapping consistency across at least two Linux machines

2012-04-10 Thread steve
On 09/04/12 21:00, Gaiseric Vandal wrote: On 04/09/12 13:11, bakytn wrote: I found this: http://lists.samba.org/archive/samba/2004-January/078411.html How to implement "a" scenario? Are you using winbind for idmapping? The files you want may be /var/samba/locks (check "testparm -v" for the l

Re: [Samba] UID/GID mapping consistency across at least two Linux machines

2012-04-09 Thread Robert Freeman-Day
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/09/2012 04:09 PM, bakytn wrote: > Here ist he global section of my smb.conf: > > I am not sure if I am using Winbind (I guess yes). > > [global] >workgroup = DOMAIN >realm = DOMAIN.LOCAL >preferred master = no > >server string

Re: [Samba] UID/GID mapping consistency across at least two Linux machines

2012-04-09 Thread bakytn
Here ist he global section of my smb.conf: I am not sure if I am using Winbind (I guess yes). [global] workgroup = DOMAIN realm = DOMAIN.LOCAL preferred master = no server string = SAMBA security = ADS encrypt passwords = yes log level = 1 log file = /var/log/samba/log.%m

Re: [Samba] UID/GID mapping consistency across at least two Linux machines

2012-04-09 Thread Gaiseric Vandal
On 04/09/12 13:11, bakytn wrote: > I found this: http://lists.samba.org/archive/samba/2004-January/078411.html > > How to implement "a" scenario? > > but..how about simpler way...like, may be, running rsync to copy necessary > fiels from server 1 to server 2. > > I could do this..but I don't know w

Re: [Samba] UID/GID mapping consistency across at least two Linux machines

2012-04-09 Thread bakytn
I found this: http://lists.samba.org/archive/samba/2004-January/078411.html How to implement "a" scenario? but..how about simpler way...like, may be, running rsync to copy necessary fiels from server 1 to server 2. I could do this..but I don't know which files to replicate? -- View this message

[Samba] UID/GID mapping consistency across at least two Linux machines

2012-04-09 Thread bakytn
I have two SAMBA machines they both successfully joined to the same Active Directory (actually SAMBA 4) I have copied the user files from *server 1* to *server 2* /owner id/ and /group id/s are preserved. on server 1, when is do: *id user1* I get *2001* but on server 2 the same user has differ