Summary: | Добавить bash completion для samba-tool | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Vitaly Lipatov <lav> |
Component: | samba-DC | Assignee: | Evgeny Sinelnikov <sin> |
Status: | NEW --- | QA Contact: | qa-sisyphus |
Severity: | normal | ||
Priority: | P3 | CC: | cas, iv, sin |
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux | ||
URL: | https://gist.github.com/ls42/0dca178759e42c04e685 |
Description
Vitaly Lipatov
2017-08-04 23:37:08 MSK
Этот вариант не выглядит функциональным. Может я неправлиьно устаналиваю? Я скопировал пример samba-tool_completion.bash в файл /usr/share/bash-completion/completions/samba-tool [vagrant@server ~]$ samba-tool dns aclcheck .config/ drs info .mutt/ replicate setpassword update add create dsacl join ntacl rodc show user addmembers dbcheck enable kcc options roothints showrepl vampire .apt_history dcpromo exportkeytab ldapcmp password .rpmmacros sites .xprofile assicupgrade del fetch level passwordsettings samba-tool_completion.bash spn .xsession.d/ .bash_history delete fsmo list preload seize .ssh/ zonecreate .bash_logout dellink get listall processes serverinfo sysvolcheck zonedelete .bash_profile demote getinheritance listcontainers provision set sysvolreset zoneinfo .bashrc disable getlink listmembers query setexpiry testparm zonelist bind dns gpo .local/ remove setinheritance time .cache/ domain group .lpoptions removemembers setlink transfer [vagrant@server ~]$ samba-tool spn aclcheck .config/ drs info .mutt/ replicate setpassword update add create dsacl join ntacl rodc show user addmembers dbcheck enable kcc options roothints showrepl vampire .apt_history dcpromo exportkeytab ldapcmp password .rpmmacros sites .xprofile assicupgrade del fetch level passwordsettings samba-tool_completion.bash spn .xsession.d/ .bash_history delete fsmo list preload seize .ssh/ zonecreate .bash_logout dellink get listall processes serverinfo sysvolcheck zonedelete .bash_profile demote getinheritance listcontainers provision set sysvolreset zoneinfo .bashrc disable getlink listmembers query setexpiry testparm zonelist bind dns gpo .local/ remove setinheritance time .cache/ domain group .lpoptions removemembers setlink transfer [vagrant@server ~]$ samba-tool aclcheck .config/ drs info .mutt/ replicate setpassword update add create dsacl join ntacl rodc show user addmembers dbcheck enable kcc options roothints showrepl vampire .apt_history dcpromo exportkeytab ldapcmp password .rpmmacros sites .xprofile assicupgrade del fetch level passwordsettings samba-tool_completion.bash spn .xsession.d/ .bash_history delete fsmo list preload seize .ssh/ zonecreate .bash_logout dellink get listall processes serverinfo sysvolcheck zonedelete .bash_profile demote getinheritance listcontainers provision set sysvolreset zoneinfo .bashrc disable getlink listmembers query setexpiry testparm zonelist bind dns gpo .local/ remove setinheritance time .cache/ domain group .lpoptions removemembers setlink transfer > Этот вариант не выглядит функциональным.
Почему, он функционален, aclcheck и прочее выдаёт. Просто в нём ещё и бага, он добавляет файлы из текущего каталога в выдачу.
Видимо, причина в опечатке: $deletation\ вместо delegation И лучше устанавливать в /etc/bash_completion.d/samba-tool Исправление delegation сохраняет мусор в выводе, хотя сам delegation теперь отрабатывает. |