[Samba] Unable to set up home share correctly
Rowland Penny
rpenny at samba.org
Mon Oct 17 16:06:01 UTC 2016
See inline comments:
On Mon, 17 Oct 2016 17:14:43 +0200
Udo Willke via samba <samba at lists.samba.org> wrote:
> So, to summarize the discussion:
>
> System accounts should not have rfc2307 IDs, only (unprivileged)
> users should. The Administrator account is the exception. It can be
> mapped to root trough the "username map" directive
Basically yes, you can also give Domain Admins a gidNumber and then
make any users you want to be admins, members of this group.
>
> Today, I followed the wiki page
> <https://wiki.samba.org/index.php/User_home_drives> with all the
> prerequisites. Unfortunately, the automatic home folder creation
> still does not work.
Just followed it myself and it does work against a Samba fileserver.
Where do you expect the home directory to be created ?
Is it on a Samba machine and if so what have you got in smb.conf ?
> So I checked all my logs and I guess I have
> another problem with DDNS and DHCP:
>
> Oct 17 16:15:41 addc01 named[6074]: samba_dlz: starting transaction
> on zone 6.168.192.in-addr.arpa
> Oct 17 16:15:41 addc01 named[6074]: samba_dlz: spnego update failed
> Oct 17 16:15:41 addc01 named[6074]: client 127.0.0.1#59487/key
> rndc-key: updating zone '6.168.192.in-addr.arpa/NONE': update failed:
> rejected by secure update (REFUSED)
> Oct 17 16:15:41 addc01 named[6074]: samba_dlz: cancelling transaction
> on zone 6.168.192.in-addr.arpa
> Oct 17 16:15:41 addc01 dhcpd[6062]: DHCPREQUEST for 192.168.6.56 from
> 00:0c:29:3c:4c:bc (Admin-PC) via ens32
> Oct 17 16:15:41 addc01 dhcpd[6062]: DHCPACK on 192.168.6.56 to
> 00:0c:29:3c:4c:bc (Admin-PC) via ens32
> Oct 17 16:15:41 addc01 dhcpd[6062]: Unable to add reverse map from
> 56.6.168.192.in-addr.arpa. to Admin-PC.mydomain.lan: REFUSED
>
Are you running the dhcp server on the DC along with Bind9 ?
If so, please post your dhcpd.conf
> This translates into missing PTR records of my two virtual PCs in the
> DNS (configured to get their IPs over DHCP). Can this be related to
> my first problem or has this other side effects?
>
Not having reverse records isn't go to help, but I don't think this is
your problem.
Rowland
More information about the samba
mailing list