Hello! This is /etc/samba on an openSUSE 13.2: -rw-r--r-- 1 root root 249 8. Jul 15:47 lmhosts -rw-r--r-- 1 root root 1238 8. Jul 15:47 smb.conf -rw-r--r-- 1 root root 379 8. Jul 15:47 smbusers when I do a pdbedit -a -u andreas where is the result stored? # pdbedit -L andreas:1000:Andreas The content of /etc/samba did not change after editing a user. # whereis samba samba: /usr/lib/samba /etc/samba /usr/share/samba /usr/share/man/man7/samba.7.gz I can disable and enable user andreas with smbclient, where are this changes stored? I'm confused. Kind regards Andreas -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: Digitale Signatur von OpenPGP URL: <http://lists.samba.org/pipermail/samba/attachments/20161001/ff4ab253/attachment.sig>
On Sat, 1 Oct 2016 22:19:17 +0200 Andreas Meyer via samba <samba at lists.samba.org> wrote:> Hello! > > This is /etc/samba on an openSUSE 13.2: > > -rw-r--r-- 1 root root 249 8. Jul 15:47 lmhosts > -rw-r--r-- 1 root root 1238 8. Jul 15:47 smb.conf > -rw-r--r-- 1 root root 379 8. Jul 15:47 smbusers > > when I do a pdbedit -a -u andreas where is the result > stored? >In whatever Samba database you have set in smb.conf Rowland
Hello! Rowland Penny via samba <samba at lists.samba.org> schrieb am 01.10.16 um 22:11:22 Uhr:> > when I do a pdbedit -a -u andreas where is the result > > stored? > > > > In whatever Samba database you have set in smb.confThis is the global part of smb.conf, its the standard part of a fresh openSUSE installation: [global] workgroup = WORKGROUP passdb backend = tdbsam printing = cups printcap name = cups printcap cache time = 750 cups options = raw map to guest = Bad User include = /etc/samba/dhcp.conf logon path = \\%L\profiles\.msprofile logon home = \\%L\%U\.9xprofile logon drive = P: usershare allow guests = Yes I cannot find a tdbsam within the system. That's what makes me wonder. Andreas -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: Digitale Signatur von OpenPGP URL: <http://lists.samba.org/pipermail/samba/attachments/20161001/74e6b214/attachment.sig>