Mark Foley
2015-Aug-19 05:14 UTC
[Samba] Samba4 DC/AD documents created in redirected folders with bogus UID
My up-front apologies if this topic has been covered. This is my first time using this list and I don't know how to search for existing topics yet ... I installed Samba4 on Linux Slackware 64 version 14.1 about 6 months ago. I set up redirected folders for the Windows 7 Workstation users. All worked fine until recently. Now, when several of the users create documents and folders on their "Desktop" (redirected to the DC) they are being created with UID 3000000, which is not a configured UID. For example: $ ls -ltrn "/redirectedFolders/Users/matkeson/My Documents" -rwxrwx---+ 1 3000045 100 27648 2015-07-30 07:17 Accounts\ 7-1-2015.docx* drwxrwx---+ 2 3000045 100 4096 2015-08-11 09:27 Correspondence/ -rwxrwx---+ 1 3000000 100 11423 2015-08-18 11:04 testMark.docx* This user's actual UID is 3000045, as created months ago via Windows RSAT. Confirmed by: $ wbinfo -i matkeson HPRS\matkeson:*:3000045:100:Mark Atkeson:/home/HPRS/matkeson:/bin/false I did recently upgrade Samba from the originally installed 4.1.0 to 4.1.17 a couple of weeks ago, but I can't really confirm that is when the problem started showing up. I find files with this 3000000 UID on backups before the upgrade (I think). This does not affect all users. I find 3 for sure it happens to and 3 for sure it does not happen to. I do have "idmap_ldb:use rfc2307 = yes" set in smb.conf THX
Mark Foley
2015-Aug-19 16:58 UTC
[Samba] Samba4 DC/AD documents created in redirected folders with bogus UID
More information, It appears I've had this issue since installing Samba 4.1.0 about 6 months ago. When I add a domain user, the DC resisdent redirected folder gets synchronized with the user's desktop with the correct UID. For some users, but not all, new "My Documents" get created with UID 3000000 on the DC, not the user's correct ID as shown by wbinfo. I haven't been able to see a configuration difference between users who are able to create the files with the correct UID and those not. I need to figure this out soon. Otherwise, the users get error messages like "Protected View. This file came from the Internet ..." when trying to open files originally sync'd with the correct UID. --Mark -----Original Message-----> From: Mark Foley <mfoley at novatec-inc.com> > Date: Wed, 19 Aug 2015 01:14:03 -0400 > To: samba at lists.samba.org > > My up-front apologies if this topic has been covered. This is my first time > using this list and I don't know how to search for existing topics yet ... > > I installed Samba4 on Linux Slackware 64 version 14.1 about 6 months ago. I set > up redirected folders for the Windows 7 Workstation users. All worked fine until > recently. Now, when several of the users create documents and folders on their > "Desktop" (redirected to the DC) they are being created with UID 3000000, which > is not a configured UID. For example: > > $ ls -ltrn "/redirectedFolders/Users/matkeson/My Documents" > -rwxrwx---+ 1 3000045 100 27648 2015-07-30 07:17 Accounts\ 7-1-2015.docx* > drwxrwx---+ 2 3000045 100 4096 2015-08-11 09:27 Correspondence/ > -rwxrwx---+ 1 3000000 100 11423 2015-08-18 11:04 testMark.docx* > > This user's actual UID is 3000045, as created months ago via Windows RSAT. > Confirmed by: > > $ wbinfo -i matkeson > HPRS\matkeson:*:3000045:100:Mark Atkeson:/home/HPRS/matkeson:/bin/false > > I did recently upgrade Samba from the originally installed 4.1.0 to 4.1.17 a > couple of weeks ago, but I can't really confirm that is when the problem started > showing up. I find files with this 3000000 UID on backups before the upgrade (I > think). > > This does not affect all users. I find 3 for sure it happens to and 3 for sure > it does not happen to. > > I do have "idmap_ldb:use rfc2307 = yes" set in smb.conf > > THX > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
Guilherme Boing
2015-Aug-19 17:31 UTC
[Samba] Samba4 DC/AD documents created in redirected folders with bogus UID
I just noticed that my fresh install of Samba 4.2.3 has the same behaviour. I have a share (\\samba\it_share)) and some users when creating files have the UID as 3000000 and some have their correct UIDs. Share permissons are being controlled by Windows ACLs. On Wed, Aug 19, 2015 at 1:58 PM, Mark Foley <mfoley at novatec-inc.com> wrote:> More information, > > It appears I've had this issue since installing Samba 4.1.0 about 6 months > ago. > When I add a domain user, the DC resisdent redirected folder gets > synchronized > with the user's desktop with the correct UID. > > For some users, but not all, new "My Documents" get created with UID > 3000000 on > the DC, not the user's correct ID as shown by wbinfo. I haven't been able > to > see a configuration difference between users who are able to create the > files > with the correct UID and those not. > > I need to figure this out soon. Otherwise, the users get error messages > like > "Protected View. This file came from the Internet ..." when trying to open > files > originally sync'd with the correct UID. > > --Mark > > -----Original Message----- > > From: Mark Foley <mfoley at novatec-inc.com> > > Date: Wed, 19 Aug 2015 01:14:03 -0400 > > To: samba at lists.samba.org > > > > My up-front apologies if this topic has been covered. This is my first > time > > using this list and I don't know how to search for existing topics yet > ... > > > > I installed Samba4 on Linux Slackware 64 version 14.1 about 6 months > ago. I set > > up redirected folders for the Windows 7 Workstation users. All worked > fine until > > recently. Now, when several of the users create documents and folders on > their > > "Desktop" (redirected to the DC) they are being created with UID > 3000000, which > > is not a configured UID. For example: > > > > $ ls -ltrn "/redirectedFolders/Users/matkeson/My Documents" > > -rwxrwx---+ 1 3000045 100 27648 2015-07-30 07:17 Accounts\ > 7-1-2015.docx* > > drwxrwx---+ 2 3000045 100 4096 2015-08-11 09:27 Correspondence/ > > -rwxrwx---+ 1 3000000 100 11423 2015-08-18 11:04 testMark.docx* > > > > This user's actual UID is 3000045, as created months ago via Windows > RSAT. > > Confirmed by: > > > > $ wbinfo -i matkeson > > HPRS\matkeson:*:3000045:100:Mark Atkeson:/home/HPRS/matkeson:/bin/false > > > > I did recently upgrade Samba from the originally installed 4.1.0 to > 4.1.17 a > > couple of weeks ago, but I can't really confirm that is when the problem > started > > showing up. I find files with this 3000000 UID on backups before the > upgrade (I > > think). > > > > This does not affect all users. I find 3 for sure it happens to and 3 > for sure > > it does not happen to. > > > > I do have "idmap_ldb:use rfc2307 = yes" set in smb.conf > > > > THX > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: https://lists.samba.org/mailman/options/samba > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
Seemingly Similar Threads
- Samba4 DC/AD documents created in redirected folders with bogus UID
- Samba4 DC/AD documents created in redirected folders with bogus UID
- Samba4 DC/AD documents created in redirected folders with bogus UID
- Samba4 DC/AD documents created in redirected folders with bogus UID
- Samba4 DC/AD documents created in redirected folders with bogus UID