[Samba] Re: With sambaSamAccount,
do I need an add user script and an add machinescript?
nicku at vtc.edu.hk
Tue Aug 19 22:42:10 GMT 2003
Well, I had a look at the idealx scripts. Looks pretty straight forward to update
them. Boy, Jerry, one-person miracle worker, you look like you could use some
extra help! I like your programming style in convertSambaAccount.
But: is the idea that samba should call them? Is the idea that samba would call
(an updated) smbldap-useradd.pl to add a machine? Or would samba do it itself some
other way? I just want to understand the basic idea.
Another way of putting the same question: with ldapsam (using sambaSamAccount) as
backend, should smb.conf contain something like
add machine script = /path/to/updated-or-rewritten-idealix-script
Do I need an
add user script = /path/to/updated-or-rewritten-idealix-script
add user to group script?
delete user script?
I am confused (as noted below and elsewhere) since in man smb.conf, under "add
machine script", it is written:
This option is only required when using sam back-ends tied to
the Unix uid method of RID calculation such as smbpasswd.
So, is ldapsam tied to the Unix method of RID calculation? I'm sorry, I don't
understand what that means.
Nick Urbanik wrote:
> Dear Folks,
> With Samba 3.0.0 RC1, openldap-2.1.22, with samba as PDC and as much as possible
> in LDAP, do I need to write an add user script and an add machine script? Or
> does samba handle this itself? Sorry, I'm rather confused about how to go about
> setting this all up.
Nick Urbanik RHCE nicku(at)vtc.edu.hk
Dept. of Information & Communications Technology
Hong Kong Institute of Vocational Education (Tsing Yi)
Tel: (852) 2436 8576, (852) 2436 8713 Fax: (852) 2436 8526
PGP: 53 B6 6D 73 52 EE 1F EE EC F8 21 98 45 1C 23 7B ID: 7529555D
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24
More information about the samba