Re: [Samba] sambaprimaryGroupSid

2009-08-14 Thread David Wells

David Wells escribió:

Dear Vishesh,

   Thank you very much for your reply. Please allow me to clarify. I 
have created a root user in my LDAP directory wich has 0 as it's UID 
and as it's GID. Additionally it has a sambaPrimaryGroupSid of 
S-1-5-21-XX-XX-X-512 so it should be 
equivalent to the windows Domain Administrator account. However when 
I query samba to see this users information I get that it's Primary 
Group SID is S-1-5-21-XX-XX-X-513 even though 
it's correctly setup in LDAP.


   Thank you again.
   Best regards,
   David Wells.



Just in case anybody encounters this issue I found that if the root 
user is named anything diferent from Administrator or has 0 as its GID 
samba will set it's Primary Group SID to 513, regardless of what the 
user has stored in LDAP. Renaming the user to Administrator and 
setting its GID to anything but 0 solved the problem.



Thank you very much
Best regards,
David Wells.

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


Re: [Samba] sambaprimaryGroupSid

2009-08-14 Thread vishesh kumar
thanks for solution.


On Fri, Aug 14, 2009 at 5:45 PM, David Wells david_wells...@yahoo.com.arwrote:

 David Wells escribió:

 Dear Vishesh,

   Thank you very much for your reply. Please allow me to clarify. I have
 created a root user in my LDAP directory wich has 0 as it's UID and as it's
 GID. Additionally it has a sambaPrimaryGroupSid of
 S-1-5-21-XX-XX-X-512 so it should be equivalent to
 the windows Domain Administrator account. However when I query samba to
 see this users information I get that it's Primary Group SID is
 S-1-5-21-XX-XX-X-513 even though it's correctly
 setup in LDAP.

   Thank you again.
   Best regards,
   David Wells.


 Just in case anybody encounters this issue I found that if the root user
 is named anything diferent from Administrator or has 0 as its GID samba
 will set it's Primary Group SID to 513, regardless of what the user has
 stored in LDAP. Renaming the user to Administrator and setting its GID to
 anything but 0 solved the problem.



 Thank you very much
 Best regards,
 David Wells.




-- 
http://linuxinterviews.blogspot.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] sambaprimaryGroupSid

2009-08-12 Thread David Wells

Hi all!

   I'm configuring a samba PDC with an LDAP sam. Everything is working 
great except that when I do pdbedit -Lv root (which is my Domain 
Administrator account) I see that it's getting a Primary Group SID 
value of S-1-5-21-XX-XX-X-513 instead of the 
S-1-5-21-XX-XX-X-512 that is stored in my LDAP tree.


   Does someone know why this is happening and how could I get my root 
user to have Domain Administrators as it's primary group?


   Thank you very much!
   Best regards, David Wells.

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


Re: [Samba] sambaprimaryGroupSid

2009-08-12 Thread vishesh kumar
Dear david
 Do your root working as domain admin?
I think you have to modify your ldap database for that

Thanks


On Thu, Aug 13, 2009 at 1:22 AM, David Wells david_wells...@yahoo.com.arwrote:

 Hi all!

   I'm configuring a samba PDC with an LDAP sam. Everything is working great
 except that when I do pdbedit -Lv root (which is my Domain Administrator
 account) I see that it's getting a Primary Group SID value of
 S-1-5-21-XX-XX-X-513 instead of the
 S-1-5-21-XX-XX-X-512 that is stored in my LDAP tree.

   Does someone know why this is happening and how could I get my root user
 to have Domain Administrators as it's primary group?

   Thank you very much!
   Best regards, David Wells.

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




-- 
http://linuxinterviews.blogspot.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba