[Samba] howto check and setup privileges
Daniel Müller
mueller at tropenklinik.de
Tue Mar 15 05:38:10 MDT 2011
Net rpc rights list user
EX:
[root at ctdb1 ~]# net rpc -S ctdb1 rights grant 'administrator'
SePrintOperatorPrivilege
Enter root's password:
Successfully granted rights.
[root at ctdb1 ~]# net rpc rights list administrator
Enter root's password:
SePrintOperatorPrivilege
-----------------------------------------------
EDV Daniel Müller
Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen
Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de
-----------------------------------------------
-----Ursprüngliche Nachricht-----
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im
Auftrag von Thomas Stegbauer
Gesendet: Dienstag, 15. März 2011 12:23
An: samba at lists.samba.org
Betreff: [Samba] howto check and setup privileges
hi everybody,
when using
enable privileges = yes in smb.conf
where does the permission get saved?
I assume in the passdb backend or is there a tdb server specific file in
/var/lib/samba?
cause when i give a group the permission:
net rpc -S pa-server1 rights grant 'NET\domadmin' SePrintOperatorPrivilege
Enter root's password:
Successfully granted rights.
but when listing the privileges, no one is listed.
net rpc rights list SePrintOperatorPrivilege
Enter root's password:
best regards
thomas
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
More information about the samba
mailing list