Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

[Samba] User Data / Profiles / Permission / Mappings Loss ..

 
   Soft32 Home -> Linux -> Samba RSS
Next:  [Samba] samba (2.2.8a) driver download fails  
Author Message
Fanying Jen

External


Since: Nov 17, 2003
Posts: 1



(Msg. 1) Posted: Mon Nov 17, 2003 1:10 pm
Post subject: [Samba] User Data / Profiles / Permission / Mappings Loss from Samba to Samba Migration
Archived from groups: linux>samba (more info?)

We have completed a migration from one Samba server to another Samba.
The versions and binaries are exactly the same. The only difference
between the two configs is that the original Samba server used LDAP for
authentication and the new Samba server uses the flat files for
authentication (smbpasswd file).

Here is the problem: On a Windows 2000 file server, we have folder
shares. Users can log on via Samba, but permissions to the shared
folders are all screwed up. When I review the permissions in the
sharing tab on the 2000 server I noticed that none of the user names are
listed, just some sort of serial number (e.g. S-xxxx-xxxx-xxxx-xxxx).
--
Fanying Jen <fanying.jen RemoveThis @lillecorp.com>
Lille Corp

--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
John H Terpstra

External


Since: Apr 10, 2004
Posts: 658



(Msg. 2) Posted: Mon Nov 17, 2003 2:10 pm
Post subject: Re: [Samba] User Data / Profiles / Permission / Mappings Loss from Samba to Samba Migration [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, 17 Nov 2003, Fanying Jen wrote:

> We have completed a migration from one Samba server to another Samba.
> The versions and binaries are exactly the same. The only difference
> between the two configs is that the original Samba server used LDAP for
> authentication and the new Samba server uses the flat files for
> authentication (smbpasswd file).
>
> Here is the problem: On a Windows 2000 file server, we have folder
> shares. Users can log on via Samba, but permissions to the shared
> folders are all screwed up. When I review the permissions in the
> sharing tab on the 2000 server I noticed that none of the user names are
> listed, just some sort of serial number (e.g. S-xxxx-xxxx-xxxx-xxxx).

That number is the SID (security identifier your user has/had). Every
domain / server has it's own SID. Did you updte the new server SID to that
of the old one?

On samba-2.2.x the tool to retrieve the domain SID is:
smbpasswd -S 'Domain_Name'

To write it on samba-2.2.x:
smbpasswd -W S-1-5-...

On samba-3.x to read the SID:
net getlocalsid

To write on samba-3.x:
net setlocalsid S-1-5-....

- John T.
--
John H Terpstra
Email: jht.TakeThisOut@samba.org
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
Fanying Jen

External


Since: Nov 18, 2003
Posts: 1



(Msg. 3) Posted: Mon Nov 17, 2003 7:10 pm
Post subject: Re: [Samba] User Data / Profiles / Permission / Mappings Loss from Samba to Samba Migration [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

We checked the SID on both the old Samba and the new Samba (both of which
are version 2.2.8a) and they identical. We noticed that the SID for the
users no longer map properly and we had to put all of the users back in
manually. Once the users were in, the users were able to launch their
applications. The only difference between the two setup is the old Samba
uses LDAP authentication while the new Samba uses the /etc/samba/smbpasswd
file. Unix system accounts and information are identical on both systems.
It is that SID numbers of calculated differently on an LDAP back end and a
smbpasswd file back end?


On Mon, 17 Nov 2003, John H Terpstra wrote:

> On Mon, 17 Nov 2003, Fanying Jen wrote:
>
> > We have completed a migration from one Samba server to another Samba.
> > The versions and binaries are exactly the same. The only difference
> > between the two configs is that the original Samba server used LDAP for
> > authentication and the new Samba server uses the flat files for
> > authentication (smbpasswd file).
> >
> > Here is the problem: On a Windows 2000 file server, we have folder
> > shares. Users can log on via Samba, but permissions to the shared
> > folders are all screwed up. When I review the permissions in the
> > sharing tab on the 2000 server I noticed that none of the user names are
> > listed, just some sort of serial number (e.g. S-xxxx-xxxx-xxxx-xxxx).
>
> That number is the SID (security identifier your user has/had). Every
> domain / server has it's own SID. Did you updte the new server SID to that
> of the old one?
>
> On samba-2.2.x the tool to retrieve the domain SID is:
> smbpasswd -S 'Domain_Name'
>
> To write it on samba-2.2.x:
> smbpasswd -W S-1-5-...
>
> On samba-3.x to read the SID:
> net getlocalsid
>
> To write on samba-3.x:
> net setlocalsid S-1-5-....
>
> - John T.
>

--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[Samba] migrating local user profiles to roaming domain pr.. - I have a network of 2K and XP clients that I am migrating to a domain using Samba 3 as a PDC. I have the domain workin...

[Samba] Samba 3.0.1pre3/ldap - Strange gid mappings server.. - Good day, I'm running some tests with Samba 3.0.1pre3 with an LDAP sam. LDAP has been, to the best of my abilities,..

[Samba] SID UID mappings - Hello! I've been running a custom hacked samba 3.0rc1 to get winbindd to bind every SID simply to what getpwent return...

[Samba] problems with group mappings with ldap - the weirdness continues net groupmap modify ntgroup="Domain Admins" unixgroup="ntadmin" NT Group ...

[Samba] group mappings pitfalls in samba 3 - I have recently run across this problem and would like to warn people about it. I had an already established domain..

[Samba] Loss of connection when changing smb.conf? - Hello, since upgrading to Samba 3 (3.0.1 on Debian 3.0), I noticed that clients seems to sometimes lose connection to...
       Soft32 Home -> Linux -> Samba All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]