Displaying 20 results from an estimated 20 matches for "server_role".
2016 Apr 02
2
Upgrading Samba 3 to Samba 4 - Domain Controller unreachable
On 02/04/16 20:59, Sonic wrote:
> On Sat, Apr 2, 2016 at 2:34 PM, Rowland penny <rpenny at samba.org> wrote:
>> On debian there is a script called samba in /etc/init.d , it starts smbd &
>> nmbd *or* samba, if it doesn't find 'server role = active directory domain
>> controller' in smb.conf , it doesn't try to start the samba deamon.
> Odd that
2016 Apr 02
0
Upgrading Samba 3 to Samba 4 - Domain Controller unreachable
...t;$1"
/etc/init.d/smbd "$1"
/etc/init.d/samba-ad-dc "$1"
;;
status)
status=0
NMBD_DISABLED=`testparm -s --parameter-name='disable
netbios' 2>/dev/null || true`
SERVER_ROLE=`samba-tool testparm
--parameter-name="server role" 2>/dev/null | tail -1 || true`
if [ "$SERVER_ROLE" != "active directory domain
controller" ]; then
if [ "$NMBD_DISABLED" != "Yes" ]; then...
2017 May 17
1
Upgraded > Samba no longer listening on 192.168.0.x
...t;$1"
/etc/init.d/smbd "$1"
/etc/init.d/samba-ad-dc "$1"
;;
status)
status=0
NMBD_DISABLED=`testparm -s --parameter-name='disable
netbios' 2>/dev/null || true`
SERVER_ROLE=`samba-tool testparm --parameter-name="server
role" 2>/dev/null | tail -1 || true`
if [ "$SERVER_ROLE" != "active directory domain controller"
]; then
if [ "$NMBD_DISABLED" != "Yes" ]; then...
2013 Oct 15
6
hiera_array, structured data and multiple levels of hierarchy
...for sudo that will write multiple files
with separate data for each file, all dependent on the hiera hierarchy.
Here''s the relevant portion of my hiera.yaml:
> :hierarchy:
>
> - "datacenter/app/role/node/%{::clientcert}"
>
> - "datacenter/app/role/%{::server_role}"
>
> - "datacenter/app/%{::app_name}"
>
> - "datacenter/%{::datacenter}"
>
> - common
>
>
Basically, a node can have different files in /etc/sudoers.d/ depending on
the structure above. I want each sudoers definition to be in it''s o...
2012 Aug 17
5
Hiera, Hashes, and Create_resources
...- common
:yaml:
:datadir: /usr/local/etc/puppet/hieradata
# cat Inuit.pp
class user {
$sshd_hash = hiera(servers)
create_resources(''sshd_lookup'', $sshd_hash)
}
define sshd_lookup ( $sshd_auth, $ClientAliveInterval, $ClientAliveCountMax,
$server_role, $location ) {
$data = hiera_hash(''servers'')
$sshd_type = $data[$hostname][''sshd_auth'']
notice ("setting sshd_type: $sshd_type" )
}
Thanks,
Regards,
-dkw
--
You received this message because you are subscribed to the...
2015 Oct 05
3
Question Wiki Setup a Samba Active Directory Domain Controller
...t;$1"
/etc/init.d/smbd "$1"
/etc/init.d/samba-ad-dc "$1"
;;
status)
status=0
NMBD_DISABLED=`testparm -s --parameter-name='disable
netbios' 2>/dev/null || true`
SERVER_ROLE=`samba-tool testparm --parameter-name="server
role" 2>/dev/null | tail -1 || true`
if [ "$SERVER_ROLE" != "active directory domain
controller" ]; then
if [ "$NMBD_DISABLED" != "Yes" ]; then...
2010 Jun 14
2
stack level too deep
...ng catalog
debug: Calling puppetmaster.getconfig
err: Could not retrieve catalog: stack level too deep on node app09.fr.xxx.com
warning: Not using cache on failed catalog
... I started to cut my node manifest down to it''s barest essentials.
This is what I currently have:
---
classes:
- server_role::baseNode
environment: production
parameters:
and the server_role::baseNode class has this:
class server_role::baseNode {
}
In a word... What the hell? This was previously working and I''m at a
loss as to why including ONE class in my external node manifest is
yielding a stack too deep e...
2017 Jun 18
4
[4.2.14-Debian] Smbd not listening on 192.168.0.x on cold start
On Sun, 18 Jun 2017 02:55:22 -0700 (PDT)
Winfried via samba <samba at lists.samba.org> wrote:
> Forgot to give the smb.conf:
>
OK, it looks like you are trying to set up a standalone server with
guest access, I suggest you read this wiki page:
https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Standalone_Server
You do not need most of the parameters you have added to smb.conf,
2017 Jun 23
3
Upgrading samba from jessie (4.2) to stretch (4.5) in AD mode...
Hai,
The "scripts" are not the problem, i'll explain more.
A failty configured smb.conf is the problem, or a smb.conf which contained "removed" settings.
Which exist in a lots of setups.
You need to setup you smb.conf to match 4.5.x settings "before" you upgrade, then you dont have any problems upgradeing.
If we can think of a way to this before the
2017 Jun 19
0
[4.2.14-Debian] Smbd not listening on 192.168.0.x on cold start
...t;$1"
/etc/init.d/smbd "$1"
/etc/init.d/samba-ad-dc "$1"
;;
status)
status=0
NMBD_DISABLED=`testparm -s --parameter-name='disable
netbios' 2>/dev/null || true`
SERVER_ROLE=`samba-tool testparm --parameter-name="server
role" 2>/dev/null | tail -1 || true`
if [ "$SERVER_ROLE" != "active directory domain controller"
]; then
if [ "$NMBD_DISABLED" != "Yes" ]; then...
2017 Jun 23
0
Upgrading samba from jessie (4.2) to stretch (4.5) in AD mode...
...agment above gets run and it
> makes the 'winbind'
> init script run at boot and then tries to start winbind.
> Surely it should be something like this:
>
>
> if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
> SERVER_ROLE=$(samba-tool testparm
> --parameter-name="server role" 2>/dev/null | tail -1 || true)
> if [ "$SERVER_ROLE" != "active directory domain
> controller" ]; then
> if [ -x "/etc/init.d/winbind" ]; then
> update-rc.d winbind def...
2019 Oct 13
0
After upgrading samba 4.5.10 to 4.9.13
...return 0
> ??????? fi
> }
> reload() {
> ??????? ${my_service_PRE}
> ??????? signal_do reload
> }
>
>
All of the above is guess work and could be way off the mark, but I did
some googling and came up with this:
#!/sbin/openrc-run
extra_started_commands="reload"
SERVER_ROLE=`samba-tool testparm --parameter-name="server role"
2>/dev/null | tail -1`
if [ "$SERVER_ROLE" != "active directory domain controller" ]; then
??? exit 1
fi
depend() {
??????? need net
??????? after firewall
}
start() {
??????? ebegin "Starting samba&quo...
2015 Oct 04
4
Question Wiki Setup a Samba Active Directory Domain Controller
Hi again,
I refer to
https://wiki.samba.org/index.php/Setup_a_Samba_Active_Directory_Domain_Controller#Testing_your_Samba_Domain_Controller
Thank you for this great wiki! I run all the tests and everything looks
perfect!
I encounter just a little difference here. Actually I thought that there
should be no Master and Workgroup for a AD DC. (as given in the wiki and
in Stefan Kania's book
2017 Jun 19
0
[4.2.14-Debian] Smbd not listening on 192.168.0.x on cold start
....d/smbd "$1"
> /etc/init.d/samba-ad-dc "$1"
> ;;
> status)
> status=0
> NMBD_DISABLED=`testparm -s
> --parameter-name='disable netbios' 2>/dev/null || true`
> SERVER_ROLE=`samba-tool testparm
> --parameter-name="server role" 2>/dev/null | tail -1 || true`
> if [ "$SERVER_ROLE" != "active directory
> domain controller"
> ]; then
> if [ "$NMBD_DISABLED" != "Yes&qu...
2017 May 17
4
Upgraded > Samba no longer listening on 192.168.0.x
Hello
Since I last ran "apt-get upgrade" on a Debian host which upgraded Debian to
8.8 and Samba to 4.2.14, Samba is no longer listening on the 192.168.0.x
network after waking up from suspend mode. As a result, it's not listed in
Windows' Network Neighborhood and, thus, not reachable from a Windows host
where a backup job is running that uses the Debian host as a file server.
2003 Nov 14
4
Setting up Samba
...access file between the two OS'S. I downloaded
the latest samba binaries 3.0.2 and edit the
smb.conf.How do i know if my linux will act as a samba
server? Should i select "everything" when i load
redhat again or should i just continue what i have
now?
When i ran testparm it tells me
Server_Role:StandAlone.
I appreciate the help.
gerald
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
2017 May 17
2
Upgraded > Samba no longer listening on 192.168.0.x
....d/smbd "$1"
> /etc/init.d/samba-ad-dc "$1"
> ;;
> status)
> status=0
> NMBD_DISABLED=`testparm -s
> --parameter-name='disable netbios' 2>/dev/null || true`
> SERVER_ROLE=`samba-tool testparm
> --parameter-name="server role" 2>/dev/null | tail -1 || true`
> if [ "$SERVER_ROLE" != "active directory
> domain controller"
> ]; then
> if [ "$NMBD_DISABLED" != "Yes&qu...
2019 Oct 13
4
After upgrading samba 4.5.10 to 4.9.13
Good time!
After upgrading samba 4.5.10 to 4.9.13, name resolution in AD hangs.
# /etc/init.d/samba status
?* status: crashed
But the domain itself works, but hangs when resolving user names.
What can be done?
[2019/10/13 12:24:52.896473, 10, pid=17379, effective(0, 0), real(0, 0),
class=ldb] ../lib/ldb-samba/ldb_wrap.c:77(ldb_wrap_debug)
? ldb: Added timed event
2014 Aug 16
1
CTDB: Failed to connect client socket to daemon.
...INIT INFO
PIDDIR=/usr/local/samba/var/run
SMBDPID=$PIDDIR/smbd.pid
# clear conflicting settings from the environment
unset TMPDIR
# See if the daemons are there
test -x /usr/local/samba/sbin/smbd || exit 0
. /lib/lsb/init-functions
case $1 in
start)
if init_is_upstart; then
exit 1
fi
SERVER_ROLE=`samba-tool testparm --parameter-name="server role"
2>/dev/null | tail -1`
if [ "$SERVER_ROLE" = "active directory domain controller" ]; then
exit 0
fi
log_daemon_msg "Starting SMB/CIFS daemon" smbd
# Make sure we have our PIDDIR, even if it...
2006 Dec 15
1
Can't get user list in Win98se
...28 seq_num : 4581aa02
[2006/12/14 17:46:10, 5] rpc_parse/parse_prs.c:prs_uint32(642)
002c seq_num : 00000000
[2006/12/14 17:46:10, 5] rpc_parse/parse_prs.c:prs_uint32(642)
0030 unknown_4 : 00000001
[2006/12/14 17:46:10, 5] rpc_parse/parse_prs.c:prs_uint32(642)
0034 server_role : 00000003
[2006/12/14 17:46:10, 5] rpc_parse/parse_prs.c:prs_uint32(642)
0038 unknown_6 : 00000001
[2006/12/14 17:46:10, 5] rpc_parse/parse_prs.c:prs_uint32(642)
003c num_domain_usrs : 000004eb
[2006/12/14 17:46:10, 5] rpc_parse/parse_prs.c:prs_uint32(642)
0040 num_do...