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
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
From: Thomas Stegbauer <mailingliste1 at stegbauer.info> Date: Sun, 20 Mar 2011 22:05:59 +0100> Am 15.03.2011 13:15, schrieb TAKAHASHI Motonobu: > > From: Thomas Stegbauer<mailingliste1 at stegbauer.info> > > Date: Tue, 15 Mar 2011 12:23:21 +0100 > > > >> 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? > > These infos are stored in $lockdir/account_policy.tdb file. > > so this is a per server setting and not per domain?As far as I examine in Samba 3.5.6 or other versions, these settings can be stored only in the account_policy.tdb, though they should be able to set per domain. --- TAKAHASHI Motonobu <monyo at monyo.com>