[contribteam] [Bug 12357] PDC domain users can't log in after migration

2024-08-27 Thread bugzilla-daemon--- via contribteam
https://bugs.koozali.org/show_bug.cgi?id=12357

Gary Douglas  changed:

   What|Removed |Added

 CC||g...@realm.me.uk

--- Comment #9 from Gary Douglas  ---
as far as testing affa restore, e-smith-backup.noarch 0:2.6.0-30.el7.sme solves
the pre-restore issue. I dont have a windows pc or windows workgroup to check
this aspect.

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 12357] PDC domain users can't log in after migration

2024-08-24 Thread bugzilla-daemon--- via contribteam
https://bugs.koozali.org/show_bug.cgi?id=12357

John Crisp  changed:

   What|Removed |Added

 CC||jcr...@safeandsoundit.co.uk

--- Comment #8 from John Crisp  ---
A quick test.

e-smith-backup.noarch 0:2.6.0-29.el7.sme


Aug 24 15:26:21 smev10a5v1 esmith::event[20867]: Processing event: pre-restore
desktop
Aug 24 15:26:21 smev10a5v1 esmith::event[20867]: Running event handler:
/etc/e-smith/events/pre-restore/S10save-system-files
Aug 24 15:26:21 smev10a5v1 esmith::event[20867]: Couldn't copy
/var/lib/samba/group_mapping.tdb to ./var/lib/samba/group_mapping.tdb
Aug 24 15:26:21 smev10a5v1 esmith::event[20867]: Couldn't copy
/var/lib/samba/account_policy.tdb to ./var/lib/samba/account_policy.tdb
Aug 24 15:26:21 smev10a5v1 esmith::event[20867]: Error saving system files

e-smith-backup.noarch 0:2.6.0-30.el7.sme

Aug 24 18:01:59 smev10a5v1 esmith::event[31420]: Processing event: pre-restore
desktop
Aug 24 18:01:59 smev10a5v1 esmith::event[31420]: Running event handler:
/etc/e-smith/events/pre-restore/S10save-system-files
Aug 24 18:01:59 smev10a5v1 esmith::event[31420]:
S10save-system-files=action|Event|pre-restore|Action|S10save-system-files|Start|1724515319
837198|End|1724515319 943353|Elapsed|0.106155
Aug 24 18:01:59 smev10a5v1 esmith::event[31420]: Running event handler:
/etc/e-smith/events/pre-restore/S25ldap-delete-dumps
Aug 24 18:02:00 smev10a5v1 esmith::event[31420]:
S25ldap-delete-dumps=action|Event|pre-restore|Action|S25ldap-delete-dumps|Start|1724515319
943981|End|1724515320 91835|Elapsed|0.147854
Aug 24 18:02:00 smev10a5v1 esmith::event[31420]: Running event handler:
/etc/e-smith/events/pre-restore/S80delete-index-htm
Aug 24 18:02:00 smev10a5v1 esmith::event[31420]:
S80delete-index-htm=action|Event|pre-restore|Action|S80delete-index-htm|Start|1724515320
92504|End|1724515320 98865|Elapsed|0.006361
Aug 24 18:02:00 smev10a5v1 esmith::event[31420]: Running event handler:
/etc/e-smith/events/actions/adjust-services


ll /var/cache/e-smith/restore/var/lib/samba

total 832
-rw-r--r-- 1 root root 421888 Aug 24 18:01 account_policy.tdb
-rw-r--r-- 1 root root 430080 Aug 24 18:01 group_mapping.tdb


No adverse effects noticed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 12357] PDC domain users can't log in after migration

2024-08-14 Thread bugzilla-daemon--- via contribteam
https://bugs.koozali.org/show_bug.cgi?id=12357

Jean-Philippe Pialasse  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Jean-Philippe Pialasse  ---
/usr/bin/plague-client build e-smith-backup e-smith-backup-2_6_0-30_el7_sme
sme10
Package e-smith-backup enqueued.  Job ID: 4265.

%changelog
* Thu Aug 15 2024 Jean-Philippe Pialasse  2.6.0-30.sme
- fix  failure on pre-restore [SME: 12357]

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 12357] PDC domain users can't log in after migration

2024-08-14 Thread bugzilla-daemon--- via contribteam
https://bugs.koozali.org/show_bug.cgi?id=12357

Jean-Philippe Pialasse  changed:

   What|Removed |Added

 Blocks|12722   |
   See Also||https://bugs.koozali.org/sh
   ||ow_bug.cgi?id=12722


Referenced Bugs:

https://bugs.koozali.org/show_bug.cgi?id=12722
[Bug 12722] can't restore
-- 
You are receiving this mail because:
You are on the CC list for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 12357] PDC domain users can't log in after migration

2024-08-14 Thread bugzilla-daemon--- via contribteam
https://bugs.koozali.org/show_bug.cgi?id=12357

Jean-Philippe Pialasse  changed:

   What|Removed |Added

 Blocks||12722


Referenced Bugs:

https://bugs.koozali.org/show_bug.cgi?id=12722
[Bug 12722] can't restore
-- 
You are receiving this mail because:
You are on the CC list for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 12357] PDC domain users can't log in after migration

2024-08-14 Thread bugzilla-daemon--- via contribteam
https://bugs.koozali.org/show_bug.cgi?id=12357

Jean-Philippe Pialasse  changed:

   What|Removed |Added

 Status|VERIFIED|CONFIRMED
 Resolution|FIXED   |---

--- Comment #6 from Jean-Philippe Pialasse  ---
(In reply to John H. Bennett III from comment #5)
> Hello,
> I had an issue today where I had to restore a system and it was failing the
> pre-restore piece. Specifically
> /etc/e-smith/events/pre-restore/S10save-system-files - which is symlinked to
> => ../actions/save-system-files.  It can't copy
> /var/lib/samba/group_mapping.tdb and /var/lib/samba/account_policy.tdb


ok issue is that e-smith backup needs  
/var/cache/e-smith/restore/var/lib/samba/

back to confirmed

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 12357] PDC domain users can't log in after migration

2024-08-01 Thread bugzilla-daemon--- via contribteam
https://bugs.koozali.org/show_bug.cgi?id=12357

--- Comment #5 from John H. Bennett III  ---
Hello,
I had an issue today where I had to restore a system and it was failing the
pre-restore piece. Specifically
/etc/e-smith/events/pre-restore/S10save-system-files - which is symlinked to =>
../actions/save-system-files.  It can't copy /var/lib/samba/group_mapping.tdb
and /var/lib/samba/account_policy.tdb


In /var/log/messages there are these errors for 2 files.  Partial output

Aug  1 17:16:31 media esmith::event[6416]: Processing event: pre-restore
Aug  1 17:16:31 media esmith::event[6416]: Running event handler:
/etc/e-smith/events/pre-restore/S10save-system-files
Aug  1 17:16:31 media esmith::event[6416]: Couldn't copy
/var/lib/samba/group_mapping.tdb to ./var/lib/samba/group_mapping.tdb
Aug  1 17:16:31 media esmith::event[6416]: Couldn't copy
/var/lib/samba/account_policy.tdb to ./var/lib/samba/account_policy.tdb
Aug  1 17:16:31 media esmith::event[6416]: Error saving system files
Aug  1 17:16:31 media esmith::event[6416]:
S10save-system-files=action|Event|pre-restore|Action|S10save-system-files|Start|1722550591
14534|End|1722550591 231145|Elapsed|0.216611|Status|512
Aug  1 17:16:31 media esmith::event[6416]: Running event handler:
/etc/e-smith/events/pre-restore/S25ldap-delete-dumps
Aug  1 17:16:31 media ldap-finish: 66ac093f bdb_monitor_db_open: monitoring
disabled; configure monitor database to enable
Aug  1 17:16:31 media esmith::event[6416]:
S25ldap-delete-dumps=action|Event|pre-restore|Action|S25ldap-delete-dumps|Start|1722550591
231698|End|1722550591 797372|Elapsed|0.565674
Aug  1 17:16:31 media esmith::event[6416]: Running event handler:
/etc/e-smith/events/pre-restore/S80delete-index-htm
Aug  1 17:16:31 media esmith::event[6416]:
S80delete-index-htm=action|Event|pre-restore|Action|S80delete-index-htm|Start|1722550591
798162|End|1722550591 818652|Elapsed|0.02049



If you run the S10 file manually, you get

[root@bennett-media ~]# cd /etc/e-smith/events/pre-restore/
[root@bennett-media pre-restore]# ./S10save-system-files 
Couldn't copy /var/lib/samba/group_mapping.tdb to
./var/lib/samba/group_mapping.tdb
Couldn't copy /var/lib/samba/account_policy.tdb to
./var/lib/samba/account_policy.tdb
Error saving system files

This makes the restore fail from the GUI.  Removing the 2 lines that were added
in the e-smith-backup-2.6.0-29.el7.sme.noarch update from Backup.pm fixes my
issue and allows me to restore.

I am restoring from tape, so if that makes a difference, so be it.  I don't
have any domain joined PC's, so this workaround works for me and if it's just a
me issue, then I'm fine to handle it.

My new system is up to date and I didn't change the status in the event it is a
me only issue.

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 12357] PDC domain users can't log in after migration

2024-04-28 Thread bugzilla-daemon--- via contribteam
https://bugs.koozali.org/show_bug.cgi?id=12357

--- Comment #4 from Jean-Philippe Pialasse  ---
released

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 12357] PDC domain users can't log in after migration

2024-04-03 Thread bugzilla-daemon--- via contribteam
https://bugs.koozali.org/show_bug.cgi?id=12357

bunkobugsy  changed:

   What|Removed |Added

 Status|RESOLVED|VERIFIED

--- Comment #3 from bunkobugsy  ---
Created backup from server-manager then:

tar -ztvf smeserver.tgz | grep group_mapping.tdb
-rw--- root/root 430080 2024-02-27 22:39
var/lib/samba/group_mapping.tdb

tar -ztvf smeserver.tgz | grep account_policy.tdb
-rw--- root/root 421888 2021-06-29 15:07
var/lib/samba/account_policy.tdb

tar -ztvf smeserver.tgz | grep schannel_store.tdb

ls /etc/samba/schannel_store.tdb
ls: cannot access /etc/samba/schannel_store.tdb: No such file or directory

Marking verified based also on
https://bugs.koozali.org/show_bug.cgi?id=11706#c3

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 12357] PDC domain users can't log in after migration

2023-08-14 Thread bugzilla-daemon--- via contribteam
https://bugs.koozali.org/show_bug.cgi?id=12357

Jean-Philippe Pialasse  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED
Summary|PDC domain users can't log  |PDC domain users can't log
   |in after migration from |in after migration
   |SME9|

--- Comment #2 from Jean-Philippe Pialasse  ---
will not fix SME, but at least SME10 backup and restore to SME10 and
SME11/usr/bin/plague-client build e-smith-backup
e-smith-backup-2_6_0-29_el7_sme sme10
Package e-smith-backup enqueued.  Job ID: 4140.

%changelog
* Mon Aug 14 2023 Jean-Philippe Pialasse  2.6.0-29.sme
- fix missing files for samba in core backup [SME: 12357]

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 12357] PDC domain users can't log in after migration from SME9

2023-08-14 Thread bugzilla-daemon--- via contribteam
https://bugs.koozali.org/show_bug.cgi?id=12357

--- Comment #1 from Jean-Philippe Pialasse  ---
my @backup =  (
'home/e-smith',
'etc/e-smith/templates-custom',
'etc/e-smith/templates-user-custom',
'etc/ssh',
'root',
'etc/sudoers',
'etc/passwd',
'etc/shadow',
'etc/group',
'etc/gshadow',
'etc/samba/secrets.tdb',
'etc/samba/smbpasswd',
'etc/backup-data.d',
);

the following files should also be migrated:
/etc/samba/schannel_store.tdb
/var/lib/samba/group_mapping.tdb
/var/lib/samba/account_policy.tdb

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 12357] PDC domain users can't log in after migration from SME9

2023-05-26 Thread bugzilla-daemon--- via contribteam
https://bugs.koozali.org/show_bug.cgi?id=12357

Jean-Philippe Pialasse  changed:

   What|Removed |Added

Package|--- |e-smith-backup
   Target Milestone|--- |10.2

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 12357] PDC domain users can't log in after migration from SME9

2023-05-26 Thread bugzilla-daemon--- via contribteam
https://bugs.koozali.org/show_bug.cgi?id=12357

Bug ID: 12357
   Summary: PDC domain users can't log in after migration from
SME9
Classification: SME Server
   Product: SME Server 10.X
   Version: 10.1
  Hardware: x86_64
OS: ---
Status: CONFIRMED
  Severity: normal
  Priority: P3
 Component: e-smith-*/smeserver-* packages
  Assignee: bugt...@lists.contribs.org
  Reporter: te...@pialasse.com
QA Contact: bugt...@lists.contribs.org
CC: contribteam@lists.contribs.org,
vasarhelyizs...@hotmail.com
Depends on: 11706
  Target Milestone: ---

+++ This bug was initially created as a clone of Bug #11706 +++

Domain joined Win10 PCs won't allow login of any valid domain/sme user other
then the one currently logged in.
Domain trust relationship doesn't seem to be broken, nothing suggests it in the
logs.
Win10 simply won't recognize password, not even after resetting it through
server-manager.

By default migratehelper only copies /etc/samba/secrets.tdb and
/etc/samba/smbpasswd

As suggested by
https://wiki.samba.org/index.php/Migrating_a_Samba_NT4_Domain_to_Samba_AD_(Classic_Upgrade)#The_classicupgrade_process
the following files should also be migrated:
/etc/samba/schannel_store.tdb
/var/lib/samba/group_mapping.tdb
/var/lib/samba/account_policy.tdb 

For reference https://wiki.samba.org/index.php/TDB_Locations


Referenced Bugs:

https://bugs.koozali.org/show_bug.cgi?id=11706
[Bug 11706] PDC domain users can't log in after migration from SME9
-- 
You are receiving this mail because:
You are on the CC list for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/