similar to: how to use root preexec on user share with %U not as root user

Displaying 20 results from an estimated 20000 matches similar to: "how to use root preexec on user share with %U not as root user"

2020 Apr 30
2
how to use root preexec on user share with %U not as root user
On 2020-04-30 10:12, Rowland penny via samba wrote: > On 30/04/2020 00:25, Jelle de Jong via samba wrote: >> Hello everybody, >> >> I am trying to get samba 4 to make a user dir without the use of ADUC >> to set the homeDirectory, but with samba-tool user create only. >> >> I created a root preexec but the %U is filled with root and not the >>
2020 Apr 30
1
how to use root preexec on user share with %U not as root user
On 2020-04-30 23:14, Rowland penny via samba wrote: > On 30/04/2020 21:40, Jelle de Jong via samba wrote: >> >> First logon is I use samba-tool to add the user then I go to an >> Windows 10 Pro domain member system and logon to the machine. The >> \\SAMBA01\users\lgaga folder will not be there..... > It will not be there, samba-tool doesn't have the code to
2020 Apr 30
3
steps to get automatic home folder created at user logon windows 10 with samba 4.9.5-Debian
On 2020-04-30 22:57, Rowland penny via samba wrote: > On 30/04/2020 20:57, Jelle de Jong via samba wrote: >> >> I never was able to get the backend = ad working >> >> I only need my user to be able to login to Windows 10 systems from a >> domain joined machine. >> >> This is how I add my users: >> >> samba-tool user create lgaga passwd
2020 Apr 29
7
steps to get automatic home folder created at user logon windows 10 with samba 4.9.5-Debian
Hello everybody, I been at this for more then a week and went through the archives and wiki but can not get it to work. I been trying to follow these steps: https://wiki.samba.org/index.php/User_Home_Folders wanted behavior: samba-tool user create jdoe pass01 --login-shell /bin/bash --given-name "John Doe" --home-drive=H --home-directory="\\\SAMBA01\users\jdoe
2020 May 02
4
default backend = rid not showing full group information for users
On 02/05/2020 15:07, Jelle de Jong via samba wrote: > Am I wrong to expect that id user and getent group should list me the > groups the user is part of. > > For example wbinfo --group-info=office shows me that user jdoe and > lgaga are part of the group, but then when doing id jdoe or id lgaga > the office group is not shown, neither in getent group. > > What should I
2020 May 02
2
default backend = rid not showing full group information for users
On 02/05/2020 18:59, Jelle de Jong via samba wrote: > On 2020-05-02 16:42, Rowland penny via samba wrote: >> On 02/05/2020 15:07, Jelle de Jong via samba wrote: >>> Am I wrong to expect that id user and getent group should list me >>> the groups the user is part of. >>> >>> For example wbinfo --group-info=office shows me that user jdoe and
2020 May 04
2
default backend = rid not showing full group information for users
On 04/05/2020 12:59, Jelle de Jong via samba wrote: > > root at samba01:~# cat /etc/nsswitch.conf? | grep winbind > passwd:???????? files systemd winbind > group:????????? files systemd winbind OK, the only computer I have that runs systemd, is my Rpi4 running Raspbian, which is basically Buster compiled for ARM. I have in /etc/nsswitch.conf: passwd:???????? files winbind
2020 Apr 30
2
steps to get automatic home folder created at user logon windows 10 with samba 4.9.5-Debian
On 2020-04-30 09:49, Rowland penny via samba wrote: > On 29/04/2020 22:07, Jelle de Jong via samba wrote: >> Hello everybody, >> >> I been at this for more then a week and went through the archives and >> wiki but can not get it to work. >> >> >> root at samba01:~# cat /etc/samba/smb.conf >> [global] >> >> ?? #username map =
2020 May 01
5
default backend = rid not showing full group information for users
Hello everybody, I am trying to use the backend = rid but it is not showing me group information of the users after adding the user to the domain groups... What should I do to have the full group info for the users available? https://wiki.samba.org/index.php/Idmap_config_rid # All domain's user accounts and groups are automatically available on the domain member. root at s4ad01:~#
2020 May 02
2
default backend = rid not showing full group information for users
On 02/05/2020 19:28, Jelle de Jong via samba wrote: > root at s4ad01:~# samba-tool user show jdoe There is no apparent reason why the groups do not work with chgrp, the only reason I can think of is that the group was created and when you tried to 'chgrp' the file, winbind read from its cache and it wasn't in the cache. Try running 'net cache flush' and then try
2020 Apr 30
0
how to use root preexec on user share with %U not as root user
On 30/04/2020 00:25, Jelle de Jong via samba wrote: > Hello everybody, > > I am trying to get samba 4 to make a user dir without the use of ADUC > to set the homeDirectory, but with samba-tool user create only. > > I created a root preexec but the %U is filled with root and not the > username of the user. > > I need to user [users] and not the old [homes] because I got
2020 Apr 30
0
how to use root preexec on user share with %U not as root user
On 30/04/2020 21:40, Jelle de Jong via samba wrote: > > First logon is I use samba-tool to add the user then I go to an > Windows 10 Pro domain member system and logon to the machine. The > \\SAMBA01\users\lgaga folder will not be there..... It will not be there, samba-tool doesn't have the code to create the users folder, but when created on Windows, Windows does. > >
2020 May 03
4
default backend = rid not showing full group information for users
Which Debian version do you use? Because in either version (0 oer 10) in nsswitch.conf is wirtten "files winbind" in Debian 9 it's "compat winbind" and in 10 it's "files systemd winbind" so you removed (I think) systemd maybe you should put it back in Am 01.05.20 um 02:12 schrieb miguel medalha via samba: >> I am trying to use the backend = rid but it
2017 Jul 10
3
pxechain.com loops back with WDSNBP started using DHCP Referral
Thank you Gene! On 10/07/17 17:54, Gene Cumm wrote: > On Mon, Jul 10, 2017 at 11:25 AM, Jelle de Jong via Syslinux > <syslinux at zytor.com> wrote: >> Windows 2012 WDS server: 10.87.0.202 >> Windows DHCP server: 10.87.0.152 >> 066 (Boot Server Host Name): 10.87.3.19 >> 067 (Bootfile Name): pxelinux.0 >> >> PXELinux CentOS 7 server : 10.87.3.19
2015 Oct 22
3
Can't get 'root preexec' to run
The next interesting question for me is: If I put '\\server\%username%' into ADUC Windows part (or \\server\username explicitly, for that matter), Samba on 'Ok/Apply' registers the attempt to access a non-existing share and applies the [homes] section (executes 'root preexec'). I tested that. However, the user doing this is the domain admin. So Samba would look that
2015 Oct 22
3
Can't get 'root preexec' to run
On 10/21/2015 02:52 PM, Rowland Penny wrote: > I am now beginning to believe the above is not true. Before a user can > connect to their homeshare it must exist, it is the link to this, that > Samba creates i.e. it changes '[homes]' to the username and connects to > that. This is working for me on a Debian 4.1.17 DC just as it has always > done on a member server, I just
2015 Oct 21
3
Can't get 'root preexec' to run
Rowland, thanks for your effort, I highly appreciate it! From what I had read before... [home] would be an arbitrarily named share and its preexec command would execute whenever a domain user connects to it [homes] is a special purpose section in the smb.conf that comes into play whenever a domain user connects to his or her home dir defined on the DC What MJ is telling seems to confirm
2015 Oct 21
4
Can't get 'root preexec' to run
Hi, On 10/21/2015 01:21 PM, Rowland Penny wrote: > I am now beginning to think it doesn't work at all, if samba4 is > involved in any way. I knew that it wouldn't work on a DC (probably > because the user is DOMAIN\username and not just username), but from my > experiment (see my earlier post) it doesn't seem to work at all, try > your setup with '[home]' and a
2015 Oct 22
2
Can't get 'root preexec' to run
On 10/22/2015 11:37 AM, Rowland Penny wrote: >> However, I wouldn't want to use \\server\%username% as home dir >> location, was well. >> >> > > I wouldn't either, mostly because it wouldn't work. > > Rowland Well it has been working here for *many* years, pretty much already since samba 2.2.8 days. The only problem is that nowadays (when using
2015 Oct 21
2
Can't get 'root preexec' to run
Hi Ole, On 10/21/2015 02:38 PM, Ole Traupe wrote: > MJ, thanks a lot! Just to make sure I get you right: > > This section is in the smb.conf. > a) on the DC acting as file sever as well, or > b) on a separate file server running Samba 4.1.17? on a separate fileserver. DC's are 4.2.4, fileserver 4.1.17. > The user log-on happens on a third machine, that is neither DC nor