Rebooted server after removing domain from web, but still see /chroot dir and smb.conf created by previous configuration. May I delete them and start new configuration ?
[root@tccpf1 /]# ll total 28 lrwxrwxrwx. 1 root root 7 Sep 8 16:53 bin -> usr/bin dr-xr-xr-x. 5 root root 4096 Sep 14 10:25 boot drwxr-x--- 3 root root 19 Sep 15 15:45 chroots drwxr-xr-x 19 root root 2900 Sep 16 16:16 dev drwxr-xr-x. 94 root root 8192 Sep 16 16:11 etc drwxr-xr-x. 2 root root 6 Apr 11 2018 home lrwxrwxrwx. 1 root root 7 Sep 8 16:53 lib -> usr/lib lrwxrwxrwx. 1 root root 9 Sep 8 16:53 lib64 -> usr/lib64 drwxr-xr-x. 2 root root 6 Apr 11 2018 media drwxr-xr-x. 2 root root 6 Apr 11 2018 mnt drwxr-xr-x. 2 root root 6 Apr 11 2018 opt dr-xr-xr-x 334 root root 0 Sep 16 16:16 proc dr-xr-x---. 5 root root 4096 Sep 16 16:13 root drwxr-xr-x 29 root root 800 Sep 16 16:17 run lrwxrwxrwx. 1 root root 8 Sep 8 16:53 sbin -> usr/sbin drwxr-xr-x. 2 root root 6 Apr 11 2018 srv dr-xr-xr-x 13 root root 0 Sep 16 16:16 sys drwxrwxrwt. 20 root root 4096 Sep 16 16:17 tmp drwxr-xr-x. 13 root root 155 Sep 8 16:53 usr drwxr-xr-x. 21 root root 4096 Sep 14 10:24 var [root@tccpf1 /]# cd /etc/samba/ [root@tccpf1 samba]# ls lmhosts smb.conf smb.conf.example TCCAD.conf [root@tccpf1 samba]# Regards, Jitendra Gondaliya Information Technology Security Co LLC Mob : +968 94583036 From: Jitendra Gondaliya Sent: Wednesday, September 16, 2020 4:05 PM To: Ludovic Zammit <[email protected]> Cc: [email protected] Subject: RE: [PacketFence-users] winbindd is not starting [root@tccpf1 ~]# yum list installed samba Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Installed Packages samba.x86_64 4.10.4-11.el7_8 @CentOS7_local [root@tccpf1 ~]# Regards, Jitendra Gondaliya Information Technology Security Co LLC Mob : +968 94583036 From: Ludovic Zammit <[email protected]<mailto:[email protected]>> Sent: Wednesday, September 16, 2020 4:04 PM To: Jitendra Gondaliya <[email protected]<mailto:[email protected]>> Cc: [email protected]<mailto:[email protected]> Subject: Re: [PacketFence-users] winbindd is not starting Yes, try to remove the domain from the PF web admin and reboot. We use mount point so don’t try to remove it using the CLI. I have never seen that issue. What’s the output for: yum list installed samba Thanks, Ludovic Zammit [email protected]<mailto:[email protected]> :: +1.514.447.4918 (x145) :: www.inverse.ca<http://www.inverse.ca> Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence (http://packetfence.org) On Sep 16, 2020, at 7:58 AM, Jitendra Gondaliya <[email protected]<mailto:[email protected]>> wrote: Hi, We are CentOS, should I delete and try ? Regards, Jitendra Gondaliya Information Technology Security Co LLC Mob : +968 94583036 From: Ludovic Zammit <[email protected]<mailto:[email protected]>> Sent: Wednesday, September 16, 2020 3:56 PM To: [email protected]<mailto:[email protected]> Cc: Jitendra Gondaliya <[email protected]<mailto:[email protected]>> Subject: Re: [PacketFence-users] winbindd is not starting Hello, Are you on debian or CentOS? Have you try to delete your domain, reboot the server and try to re-join it? Thanks, Ludovic Zammit [email protected]<mailto:[email protected]> :: +1.514.447.4918 (x145) :: www.inverse.ca<http://www.inverse.ca/> Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu<http://www.sogo.nu/>) and PacketFence (http://packetfence.org<http://packetfence.org/>) On Sep 16, 2020, at 3:49 AM, Jitendra Gondaliya via PacketFence-users <[email protected]<mailto:[email protected]>> wrote: Hi Team, I am facing issue with service packetfence-winbindd, it is not staring and winbind-wrapper is continuously starting spawn child process. When I try to start it manually with below command we get error and it end abruptly. It works fine with below command if I start without chroot environment, but with chroot it end with an error. [root@tccpf1 ~]# chroot /chroots/TCCAD/ winbindd -d5 -i -S -s /etc/samba/TCCAD.conf --foreground INFO: Current debug levels: all: 5 tdb: 5 printdrivers: 5 lanman: 5 smb: 5 rpc_parse: 5 rpc_srv: 5 rpc_cli: 5 passdb: 5 sam: 5 auth: 5 winbind: 5 vfs: 5 idmap: 5 quota: 5 acls: 5 locking: 5 msdfs: 5 dmapi: 5 registry: 5 scavenger: 5 dns: 5 ldb: 5 tevent: 5 auth_audit: 5 auth_json_audit: 5 kerberos: 5 drs_repl: 5 smb2: 5 smb2_credits: 5 dsdb_audit: 5 dsdb_json_audit: 5 dsdb_password_audit: 5 dsdb_password_json_audit: 5 dsdb_transaction_audit: 5 dsdb_transaction_json_audit: 5 dsdb_group_audit: 5 dsdb_group_json_audit: 5 winbindd version 4.10.4 started. Copyright Andrew Tridgell and the Samba Team 1992-2019 lp_load_ex: refreshing parameters Initialising global parameters rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) INFO: Current debug levels: all: 5 tdb: 5 printdrivers: 5 lanman: 5 smb: 5 rpc_parse: 5 rpc_srv: 5 rpc_cli: 5 passdb: 5 sam: 5 auth: 5 winbind: 5 vfs: 5 idmap: 5 quota: 5 acls: 5 locking: 5 msdfs: 5 dmapi: 5 registry: 5 scavenger: 5 dns: 5 ldb: 5 tevent: 5 auth_audit: 5 auth_json_audit: 5 kerberos: 5 drs_repl: 5 smb2: 5 smb2_credits: 5 dsdb_audit: 5 dsdb_json_audit: 5 dsdb_password_audit: 5 dsdb_password_json_audit: 5 dsdb_transaction_audit: 5 dsdb_transaction_json_audit: 5 dsdb_group_audit: 5 dsdb_group_json_audit: 5 Processing section "[global]" doing parameter workgroup = OMANMOBILE doing parameter realm = OMANMOBILE.CO.OM doing parameter netbios name = tccpf1 doing parameter server string = tccpf1 doing parameter pid directory = /usr/local/pf/var/run/TCCAD doing parameter lock directory = /var/cache/samba doing parameter private dir = /var/cache/samba doing parameter security = ADS doing parameter winbind use default domain = no doing parameter idmap uid = 600-20000 WARNING: The "idmap uid" option is deprecated doing parameter idmap gid = 600-20000 WARNING: The "idmap gid" option is deprecated doing parameter template shell = /bin/bash doing parameter winbind expand groups = 10 doing parameter password server = * doing parameter domain master = no doing parameter local master = no doing parameter preferred master = no doing parameter inherit permissions = yes doing parameter admin users = @OMANMOBILE\"domain admins" doing parameter hide files = /~*/Thumbs.db/desktop.ini/ntuser.ini/NTUSER.*/SMax.*/ doing parameter veto files = /lost+found/ doing parameter allow trusted domains = yes doing parameter show add printer wizard = no doing parameter disable spoolss = yes doing parameter load printers = no doing parameter printing = bsd doing parameter printcap name = /dev/null doing parameter usershare max shares = 0 doing parameter browseable = no doing parameter guest ok = no doing parameter machine password timeout = 0 doing parameter client ipc signing = auto pm_process() returned Yes Registering messaging pointer for type 2 - private_data=(nil) Registering messaging pointer for type 9 - private_data=(nil) Registered MSG_REQ_POOL_USAGE Registering messaging pointer for type 11 - private_data=(nil) Registering messaging pointer for type 12 - private_data=(nil) Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED Registering messaging pointer for type 1 - private_data=(nil) Registering messaging pointer for type 5 - private_data=(nil) Registering messaging pointer for type 51 - private_data=(nil) INFO: Current debug levels: all: 5 tdb: 5 printdrivers: 5 lanman: 5 smb: 5 rpc_parse: 5 rpc_srv: 5 rpc_cli: 5 passdb: 5 sam: 5 auth: 5 winbind: 5 vfs: 5 idmap: 5 quota: 5 acls: 5 locking: 5 msdfs: 5 dmapi: 5 registry: 5 scavenger: 5 dns: 5 ldb: 5 tevent: 5 auth_audit: 5 auth_json_audit: 5 kerberos: 5 drs_repl: 5 smb2: 5 smb2_credits: 5 dsdb_audit: 5 dsdb_json_audit: 5 dsdb_password_audit: 5 dsdb_password_json_audit: 5 dsdb_transaction_audit: 5 dsdb_transaction_json_audit: 5 dsdb_group_audit: 5 dsdb_group_json_audit: 5 lp_load_ex: refreshing parameters Freeing parametrics: Initialising global parameters rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) INFO: Current debug levels: all: 5 tdb: 5 printdrivers: 5 lanman: 5 smb: 5 rpc_parse: 5 rpc_srv: 5 rpc_cli: 5 passdb: 5 sam: 5 auth: 5 winbind: 5 vfs: 5 idmap: 5 quota: 5 acls: 5 locking: 5 msdfs: 5 dmapi: 5 registry: 5 scavenger: 5 dns: 5 ldb: 5 tevent: 5 auth_audit: 5 auth_json_audit: 5 kerberos: 5 drs_repl: 5 smb2: 5 smb2_credits: 5 dsdb_audit: 5 dsdb_json_audit: 5 dsdb_password_audit: 5 dsdb_password_json_audit: 5 dsdb_transaction_audit: 5 dsdb_transaction_json_audit: 5 dsdb_group_audit: 5 dsdb_group_json_audit: 5 Processing section "[global]" doing parameter workgroup = OMANMOBILE doing parameter realm = OMANMOBILE.CO.OM doing parameter netbios name = tccpf1 doing parameter server string = tccpf1 doing parameter pid directory = /usr/local/pf/var/run/TCCAD doing parameter lock directory = /var/cache/samba doing parameter private dir = /var/cache/samba doing parameter security = ADS doing parameter winbind use default domain = no doing parameter idmap uid = 600-20000 WARNING: The "idmap uid" option is deprecated doing parameter idmap gid = 600-20000 WARNING: The "idmap gid" option is deprecated doing parameter template shell = /bin/bash doing parameter winbind expand groups = 10 doing parameter password server = * doing parameter domain master = no doing parameter local master = no doing parameter preferred master = no doing parameter inherit permissions = yes doing parameter admin users = @OMANMOBILE\"domain admins" doing parameter hide files = /~*/Thumbs.db/desktop.ini/ntuser.ini/NTUSER.*/SMax.*/ doing parameter veto files = /lost+found/ doing parameter allow trusted domains = yes doing parameter show add printer wizard = no doing parameter disable spoolss = yes doing parameter load printers = no doing parameter printing = bsd doing parameter printcap name = /dev/null doing parameter usershare max shares = 0 doing parameter browseable = no doing parameter guest ok = no doing parameter machine password timeout = 0 doing parameter client ipc signing = auto pm_process() returned Yes INFO: Current debug levels: all: 5 tdb: 5 printdrivers: 5 lanman: 5 smb: 5 rpc_parse: 5 rpc_srv: 5 rpc_cli: 5 passdb: 5 sam: 5 auth: 5 winbind: 5 vfs: 5 idmap: 5 quota: 5 acls: 5 locking: 5 msdfs: 5 dmapi: 5 registry: 5 scavenger: 5 dns: 5 ldb: 5 tevent: 5 auth_audit: 5 auth_json_audit: 5 kerberos: 5 drs_repl: 5 smb2: 5 smb2_credits: 5 dsdb_audit: 5 dsdb_json_audit: 5 dsdb_password_audit: 5 dsdb_password_json_audit: 5 dsdb_transaction_audit: 5 dsdb_transaction_json_audit: 5 dsdb_group_audit: 5 dsdb_group_json_audit: 5 added interface TCCAD-b ip=169.254.0.2 bcast=169.254.0.3 netmask=255.255.255.252 added interface ens192 ip=192.168.201.251 bcast=192.168.207.255 netmask=255.255.248.0 added interface ens192 ip=192.168.201.254 bcast=192.168.201.254 netmask=255.255.255.255 Netbios name list:- my_netbios_names[0]="TCCPF1" added interface TCCAD-b ip=169.254.0.2 bcast=169.254.0.3 netmask=255.255.255.252 added interface ens192 ip=192.168.201.251 bcast=192.168.207.255 netmask=255.255.248.0 added interface ens192 ip=192.168.201.254 bcast=192.168.201.254 netmask=255.255.255.255 TimeInit: Serverzone is -14400 Attempting to find a passdb backend to match tdbsam (tdbsam) No builtin backend found, trying to load plugin load_module_absolute_path: Probing module '/usr/lib64/samba/pdb/tdbsam.so' load_module_absolute_path: Module '/usr/lib64/samba/pdb/tdbsam.so' loaded Attempting to register passdb backend tdbsam Successfully added passdb backend 'tdbsam' Found pdb backend tdbsam pdb backend tdbsam has a valid init initialize_winbindd_cache: clearing cache and re-creating with version number 2 Registering messaging pointer for type 33 - private_data=(nil) Registering messaging pointer for type 13 - private_data=(nil) Registering messaging pointer for type 1028 - private_data=(nil) Registering messaging pointer for type 1027 - private_data=(nil) Registering messaging pointer for type 1029 - private_data=(nil) Registering messaging pointer for type 1036 - private_data=(nil) Registering messaging pointer for type 1035 - private_data=(nil) Registering messaging pointer for type 1032 - private_data=(nil) Registering messaging pointer for type 1033 - private_data=(nil) Registering messaging pointer for type 1034 - private_data=(nil) Registering messaging pointer for type 1 - private_data=(nil) Overriding messaging pointer for type 1 - private_data=(nil) Registering messaging pointer for type 1038 - private_data=(nil) add_trusted_domain: Added domain [BUILTIN] [(null)] [S-1-5-32] add_trusted_domain: Added domain [TCCPF1] [(null)] [S-1-5-21-1915251540-3295788513-3671371449] Could not fetch our SID - did we join? unable to initialize domain list [root@tccpf1 ~]# Thanks, Jitendra _______________________________________________ PacketFence-users mailing list [email protected]<mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/packetfence-users
_______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
