Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SAMBA + Winbind - Easy Question? PLZ HELP
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
adnoh
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2005
Posts: 120

PostPosted: Fri Nov 25, 2005 3:08 pm    Post subject: SAMBA + Winbind - Easy Question? PLZ HELP Reply with quote

Hy @ all.

I've set up a SAMBA-Server with winbind as a Member of a Windows ADS.
That works Ok. But now my question.
I've got a share in my smb.conf where I wanne setup "valid users=" - how do i enter the domain users?
for example my domain is EXAMPLE.DOM
I tried it with:

Code:
[sharename]
valid users= EXAMPLE\username

but that doesn't work.
I tried other variants - but still the same. when i'm trying to connect with my windows client I get a login box where
it asks me for the needed net-credentials.

somebody out there who helps me? :?:
_________________
the german dude with the broken english
Back to top
View user's profile Send private message
tgh
Apprentice
Apprentice


Joined: 05 Oct 2005
Posts: 222

PostPosted: Sat Nov 26, 2005 7:21 am    Post subject: Reply with quote

Off-the-cuff... samba is case-senstive in some places (with regards to domains and user accounts).

Looking at my Samba3 book (The Official Samba-3 HOWTO and Reference Guide), section 20.4.5 says that winbind maps Windows users/groups to unix user/group numbers the first time that someone connects. Chapter 11 also talks about this.

So, I suspect that as long as users have been mapped in, you can just say:

valid users = username

(I'm trying to move away from ADS on my home office network at the moment, so I don't have a working samba box connected to an ADS domain at the moment to test any of this. I'm also still plowing through the book and man pages to understand how samba interacts with Windows.)
Back to top
View user's profile Send private message
adnoh
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2005
Posts: 120

PostPosted: Sat Nov 26, 2005 7:58 pm    Post subject: Reply with quote

no, doesn't work.
in my case I have the login 123 in the domain EXAMPLE.LOCAL
if I am accessing a public share and createing a file it says in the filesystem:
owner: EXAMPLE\123 Group: \EXAMPLE\Domänen-Benutzer (GERMAN - ADS)
so I've testet with
Code:
 valid users = 123
or
valid users = EXAMPLE\123
and
valid users = EXAMPLE.LOCAL\123

nothing works !?

I've to make this work until Monday! Somebody out there who can help me??
_________________
the german dude with the broken english
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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