Displaying 3 results from an estimated 3 matches for "myldif_file".
2016 Aug 05
2
How to modify user fields with a command line ?
...fairly easy to create a
> bash script using ldb-tools to do this.
>
> Rowland
>
>
Thanks for your help Rowland.
I had a look at the LDB Tools wiki page.
As far as I understand, I have to generate a LDIF file containing all the
changes I want to add to the database, something like :
myLDIF_file :
dn: CN=user1,OU=myOU,DC=mydom,DC=foo,DC=fr
changetype: modify
add: mail
mail: user1 at foo.fr
dn: CN=user2,OU=myOU,DC=mydom,DC=foo,DC=fr
changetype: modify
add: mail
mail: user2 at foo.fr
etc ...
and use $ ldbmodify -H samba_home/private/sam.ldb myLDIF_file to modify the
Samba AD database.
Am I...
2016 Aug 05
0
How to modify user fields with a command line ?
...s to do this.
> >
> > Rowland
> >
> >
> Thanks for your help Rowland.
>
> I had a look at the LDB Tools wiki page.
> As far as I understand, I have to generate a LDIF file containing all
> the changes I want to add to the database, something like :
>
> myLDIF_file :
> dn: CN=user1,OU=myOU,DC=mydom,DC=foo,DC=fr
> changetype: modify
> add: mail
> mail: user1 at foo.fr
>
> dn: CN=user2,OU=myOU,DC=mydom,DC=foo,DC=fr
> changetype: modify
> add: mail
> mail: user2 at foo.fr
> etc ...
>
> and use $ ldbmodify -H samba_home/priva...
2016 Aug 04
2
How to modify user fields with a command line ?
Hi,
On RSAT , we can see that there are some extra fields for users account
like description, office, phone number or email address.
I already have hundreds of user accounts in Samba AD but these extra fields
have not been fed. I would like to import in particular the email address
for each existing users, however I don't find a way to do that with a samba
command line.
Is there a way to