[Samba] Adding users with ldif file
tanyadegurechaff at disroot.org
Sat Jul 18 12:52:58 UTC 2020
Fri, 17 Jul 2020 19:44:37 +0100 Rowland penny via samba <samba at lists.samba.org>:
> On 17/07/2020 19:31, RhineDevil via samba wrote:
> > And by that I mean, where are the dbs, what should I rm -rf?
> On Debian just remove /var/lib/samba and /var/cache/samba
> > By the way how do I obtain current machine netbios name?
> Depends on which netbios name, if you are referring to the one that is
> in smb.conf 'netbios name = ?????', that is just the short hostname in
> uppercase. If you are referring to the netbios domain name (aka
> workgroup) then you can find this with wbinfo:
> wbinfo --own-domain
I tried to add ypServ30 using ldapi socket "ldapi://%2Fvar%2Flib%2Fsamba%2Fprivate%2Fldap_priv%2Fldapi, it said
`ERR: insufficient access rights : "LDAP error 50 LDAP_INSUFFICIENT_ACCESS_RIGHTS <acl: unable to get access to CN=ypServ30,CN=RpcServices,CN=System,DC=mydomain,DC=mytld> <>" on DN CN=ypServ30,CN=RpcServices,CN=System,DC=mydomain,DC=mytld at block before line 5`
Shouldn't give me access by default if I'm using the private system socket?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 833 bytes
Desc: Firma digitale OpenPGP
More information about the samba