[Samba] minimize uid usage when doing 'net join' through 'add machine script' ?

Andrew Bartlett abartlet at samba.org
Tue Sep 30 13:50:53 GMT 2003


On Sun, 2003-09-28 at 17:22, gary ng wrote:
> Hi,
> 
> The 'add machine script' and 'add user script' is very
> handy in creating samba user accounts and joining
> machines to domain.
> 
> However, the 'add machine script' needs to first
> create a 'unix account' in order for samba to proceed
> and create the necessary SID entry. This unix account
> is no longer used after this process(at least I have
> deleted it and not seeing any side effect yet). So is
> it possible to bypass the 'uid must exist first'
> requirment ? 

Samba 3.0 may enforce this requirement much more strictly (due to
changes in our sid->uid code), and the uid is still in use - as you
*must not* have two machines with the same SID.  (which is based on the
UID).

You have 2^32 uids on most systems - I'm sure you won't miss them...

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20030930/d823376d/attachment.bin


More information about the samba mailing list