[Samba] a question about pdbedit
Rowland Penny
rpenny at samba.org
Sun Oct 2 08:12:10 UTC 2016
On Sat, 1 Oct 2016 23:25:10 +0200
Andreas Meyer <a.meyer at nimmini.de> wrote:
> 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.conf
>
> This 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
Are you trying to set up a PDC ?
If so, I suggest adding 'domain logons = Yes'
You will not find a file called 'tdbsam' , this refers to the backend,
there is also one called 'ldapsam'. Your file will most likely be
in /var/lib/samba and will end in '.tdb', sorry, but it has been
quite sometime since I set up a PDC in this way, but I think the file
you are looking for is called 'sam.tdb'
Rowland
More information about the samba
mailing list