Displaying 14 results from an estimated 14 matches for "adduserscript".
2002 Feb 19
1
Doco conflict (smb.conf(5) vs. HOWTO-Collection)
...ave Samba automatically
create the UNIX user accounts for machine trust accounts. (Samba
automatically creates the smbpasswd machine trust account, although I
can't find this behaviour documented anywhere)
Anyway, the smb.conf(5) man page:-
http://ie.samba.org/samba/docs/man/smb.conf.5.html#ADDUSERSCRIPT
says that 'add user script' only works in 'domain' or 'server' security
mode.
So which is it? Does 'add user script' work in 'security = user'?
Mac
Assistant Systems Adminstrator @nibsc.ac.uk...
2006 Aug 18
3
share write access
...addgroupscript = /usr/sbin/groupadd -p "%g"
deletesharecommand = /root/samba_iiosb/testing/util/modify_samba_config.pl
include = /etc/samba/dhcp.conf
deleteuserfromgroupscript = /usr/sbin/groupmod -x "%u" "%g"
adduserscript = /usr/sbin/useradd -m "%u"
deleteprintercommand = /root/samba_iiosb/testing/util/modify_samba_config.pl
maptoguest = Bad User
addprintercommand = /root/samba_iiosb/testing/util/modify_samba_config.pl
setprimarygroupscript...
2009 May 09
2
question "add user script"
Hello all,
I have never had the need to use the "add user script" functionality but now I do. However, it does not seem to be working. My
smb.conf entry is like so:
add user script = /remote/configure_scripts/addusers.sh
where addusers.sh is a bash script that reads in a text file of usernames, groups, and passwords and adds the users to /etc/passwd,
/etc/group/ and
2003 Oct 30
1
Stupid Little Doubt
I'm reading the samba-howto-collection and just got a doubt.
Even using mysql or ldap I still have to have one user for each
username I insert in pdbedit (smbpasswd/ldap/mysql/etc) ?
There's no way to automatize it just like the add user command to
add machines in the passwd?
regards
thiago lima.
2006 Jul 20
1
guest ok
...cript = /usr/sbin/groupadd -p "%g"
deletesharecommand =
/usr/local/autobench/sources/samba/util/modify_samba_config.pl
include = /etc/samba/dhcp.conf
deleteuserfromgroupscript = /usr/sbin/groupmod -x "%u" "%g"
adduserscript = /usr/sbin/useradd -m "%u"
deleteprintercommand =
/usr/local/autobench/sources/samba/util/modify_samba_config.pl
maptoguest = Bad User
addprintercommand =
/usr/local/autobench/sources/samba/util/modify_samba_config.pl
setpri...
2004 Jan 12
0
smbd hangs when printing.
...DELAY IPTOS_LOWDELAY SO_SNDBUF
invalidusers = bin deamon sys man mail ftp
adminusers = root
idmapuid = 15000-20000
logon path = \\%L\profiles\%U
passwdprogram = /usr/bin/passwd %u
adduserscript = /usr/sbin/useradd -m -g users %u
preferredmaster = Yes
logonscript = script\logon.bat
deletesharecommand =
/etc/samba/scripts/modify_samba_config.pl
# addmachinescript = /usr/sbin/useradd -d /dev/null -g
machines -s...
2003 Oct 24
1
Samba PDC+Domain Admin Group
hi all. recectly i made the migration from samba 2.2.8
to 3.0. everything is working fine, except that i
dont know how to grant administrator privileges in win
2000 clients. with 2.2.8, i used DOMAIN ADMIN GROUP
parameter ( domain admin group = @adm) but its been
removed in samba 3.0, and i dont know what to do. any
help will be apreciated
thanks in advance
sebastian
------------
Internet GRATIS
2002 Nov 01
0
Re: Samba PDC and Kerberos(MIT or SEAM in Uinx, without microsoft ADS)
...the client level.. say expire the users password? And what happens if they change there password using kpassword.. that has the potential to unsyncronize the passwords..
Also.. what about the adding machines trusts to the samba domain?.. I've seen where people use the:
add user script = /some/adduserscript -n -g machines -c Machine -d /dev/null -s /bin/false $m$
is there any way to change the LDAP suffix before adding a machine to the LDAP tree?.. In my current setup I have all users in an ou=people area.. and so my LDAP suffix = "ou=people, dc=domain".. but I don't want to add machine...
2019 Jul 14
2
Build error due to Waf task dependency cycle in run_after
Dear all,
trying to build some Heimdal-based packages for Samba AD DC under
openSUSE I am facing some difficulties with the build system:
During the installation which is triggered by "make install" waf complains
about some task dependency cycle after leaving folder bin/default.
Full log including config options can be seen unter https://build.opensuse.org/
2002 Nov 01
0
Re: Samba PDC and Kerberos(MIT or SEAM in Uinx,without microsoft ADS)
...change the passwords, or a webpage. The
CGI script will take care of changing passwords in Kerberos and Samba
(via smbldap utilities, for example) realms.
>
> Also.. what about the adding machines trusts to the samba domain?.. I've seen where people use the:
> add user script = /some/adduserscript -n -g machines -c Machine -d /dev/null -s /bin/false $m$
>
> is there any way to change the LDAP suffix before adding a machine to the LDAP tree?.. >In my current setup I have all users in an ou=people area.. and so my LDAP suffix = >"ou=people, dc=domain".. but I don't w...
2019 Aug 01
0
Build error due to Waf task dependency cycle in run_after
...:
{task 139970785159432: smbdotconf/parameters.all.xml
abortshutdownscript.xml,accessbasedshareenum.xml,aclallowexecutealways.xml,aclcheckpermissions.xml,aclgroupcontrol.xml,aclmapfullcontrol.xml,addgroupscript.xml,addmachinescript.xml,addportcommand.xml,addprintercommand.xml,addsharecommand.xml,adduserscript.xml,addusertogroupscript.xml,administrative_share.xml,adminusers.xml,afsshare.xml,afstokenlifetime.xml,afsusernamemap.xml,aiomaxthreads.xml,aioreadsize.xml,aiowritebehind.xml,aiowritesize.xml,algorithmicridbase.xml,allocationroundupsize.xml,allowdcerpcauthlevelconnect.xml,allowdnsupdates.xml,allowi...
2003 Nov 16
2
Can not add users to samba 3.0
Hello, I can not seem to get smbpsswd to add any users to samba. No
matter if I use the CLI, the Webmin module or SWAT I always get this
response when trying to add any user
[root@matrix1 samba]# smbpasswd -m -a gerard
Failed initialise SAM_ACCOUNT for user gerard$.
Failed to modify password entry for user gerard$
I take it this has somehting to do with PAM & or shadow passwords, & I
2019 Mar 20
2
build problem with 4.10.0
... {task 140636697103496: smbdotconf/parameters.all.xml
abortshutdownscript.xml,accessbasedshareenum.xml,aclallowexecutealways.xml,aclcheckpermissions.xml,aclgroupcontrol.xml,aclmapfullcontrol.xml,addgroupscript.xml,addmachinescript.xml,addportcommand.xml,addprintercommand.xml,addsharecommand.xml,adduserscript.xml,addusertogroupscript.xml,administrative_share.xml,adminusers.xml,afsshare.xml,afstokenlifetime.xml,afsusernamemap.xml,aiomaxthreads.xml,aioreadsize.xml,aiowritebehind.xml,aiowritesize.xml,algorithmicridbase.xml,allocationroundupsize.xml,allowdcerpcauthlevelconnect.xml,allowdnsupdates.xml,allowi...
2005 Oct 20
4
usrmgr: group not found.
...Marvel
useclientdriver = no
security = user
smbpasswdfile = /etc/samba/private/smbpasswd
domainmaster = yes
addgroupscript = /usr/sbin/groupadd %g && getent group '%g'|awk -F: '{print
$3}'
deleteuserfromgroupscript = /usr/bin/gpasswd -d '%u' '%g'
loglevel = 5
adduserscript = /usr/sbin/useradd -m -s /bin/false '%u'
dnsproxy = no
hidedotfiles = yes
setprimarygroupscript = /usr/sbin/usermod -g '%g' '%u'
deletegroupscript = /usr/sbin/groupdel '%g'
loadprinters = yes
cupsoptions = "raw"
nullpasswords = no
logonpath = \\%L\Profiles...