Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
does samba logon scripts work with .sh scripts?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mefisto74
n00b
n00b


Joined: 05 May 2022
Posts: 2

PostPosted: Thu May 05, 2022 8:12 am    Post subject: does samba logon scripts work with .sh scripts? Reply with quote

[Moderator note: this post, and only this post, was originally attached to the solved topic [solved] Multiple login.bat script on a Samba PDC from 2007. -Hu]

I have samba as pdc with linux machines clients. i created logond script and modified samba config but when logging on nothing happens please help me
in google there is only examples of logon scripts with .cmd and .bat ...
smb.conf modifications
[general]
logon script = script.sh


[netlogon]
path = /var/calculate/server-data/samba/netlogon
browseable = no
read only = yes
root preexec = /usr/lib/calculate/calculate-server/bin/execserv -s --makedir %U

is this enought?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum