Ldb-tools: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 5: | Zeile 5: | ||
=list the entry with the name: xinux= | =list the entry with the name: xinux= | ||
*ldbsearch -H /var/lib/samba/private/sam.ldb '(name=xinux)' | *ldbsearch -H /var/lib/samba/private/sam.ldb '(name=xinux)' | ||
| + | =change entry with name xinux= | ||
| + | *ldbedit -e vim -H /var/lib/samba/private/sam.ldb '(name=xinux)' | ||
Version vom 23. Juni 2014, 15:45 Uhr
installation
- apt-get install ldb-tools
list all persons
- ldbsearch -H /var/lib/samba/private/sam.ldb '(objectclass=person)'
list the entry with the name: xinux
- ldbsearch -H /var/lib/samba/private/sam.ldb '(name=xinux)'
change entry with name xinux
- ldbedit -e vim -H /var/lib/samba/private/sam.ldb '(name=xinux)'