[Samba] SID Calculation

2003-08-22 Thread Jarabe
If I am adding accounts manually to my ldap directory, and was curious
if there is any magic in the sambaSID attibutes?  Can i assign then
incrementally?  What abou the sambaPrimaryGroupSID what does that need
to be??

Thanks,
Spencer

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


Re: [Samba] SID Calculation

2003-08-22 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 22 Aug 2003, Jarabe wrote:

 If I am adding accounts manually to my ldap directory, and was curious
 if there is any magic in the sambaSID attibutes?  Can i assign then
 incrementally?  What abou the sambaPrimaryGroupSID what does that need
 to be??

3 things:

  * if you do this, set 'enable rid algorithm = no' in smb.conf
However, things may break at this point.
  * also see the code in sam/idmap_ldap.c that handles RID 
allocation.
  * make sure all the users you care about are stored in your 
passdb backend (ldapsam) and that all group mappings are 
setup correctly.



cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 You can never go home again, Oatman, but I guess you can shop there.  
--John Cusack - Grosse Point Blank (1997)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE/RlI1IR7qMdg1EfYRAsePAJ9KS+wSV9HK8xKala0NGe/r42vdcwCdHaA0
OozrNDCY2wCh1WYemtUbN64=
=4oVX
-END PGP SIGNATURE-

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