[Samba] the story of 2 samba, 1 ldap as passdb, and home sharing issue...quite urgent ^^

Andrew Bartlett abartlet at samba.org
Thu Aug 16 02:52:16 GMT 2007


On Tue, 2007-08-14 at 16:59 +0200, GreeG wrote:
> Hi there,
> 
> I have 2 samba servers on with different users logged on...
> I Have 1 ldap with all users account, each samba's server having 
> personal "ou" (You know: user A from site 1 is know on samba from site 1 
> in ou=1, user B from site 2 is know on samba from site 2 in ou=2, user C 
> from site 1 is know on samba from site 1 in ou=1 etc.
> And last, on each samba's server a "home" sharing like this:
> [homes]
>    comment = Your personal HomeFolder dude!
>    path = /home/%U

Why are you setting path=?  

>    writeable = yes
>    create mode = 0640
>    directory mode = 0750
>    browseable = yes
> 
> My issue is when user frome site 2 try to connect to share on site 1... 
> He is seeing is "home" on samba server from site 1, buth this one have 
> no existence on site 1 !!!!
> 
> Is there a solution that could make that when user from site 1 connect 
> on site 1, he could see his Home, but when user from site 2 connect on 
> site 1, he may not have to see a folderHome with his name?

For this, perhaps ensure users connect to the correct server.  Perhaps
setting the user's home path in LDAP to the right server?

Andrew Bartlett

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20070816/5062d223/attachment.bin


More information about the samba mailing list