View previous topic :: View next topic |
Author |
Message |
adnoh Tux's lil' helper
Joined: 21 Jul 2005 Posts: 120
|
Posted: Fri Nov 25, 2005 3:08 pm Post subject: SAMBA + Winbind - Easy Question? PLZ HELP |
|
|
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 |
|
|
tgh Apprentice
Joined: 05 Oct 2005 Posts: 222
|
Posted: Sat Nov 26, 2005 7:21 am Post subject: |
|
|
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 |
|
|
adnoh Tux's lil' helper
Joined: 21 Jul 2005 Posts: 120
|
Posted: Sat Nov 26, 2005 7:58 pm Post subject: |
|
|
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 |
|
|
|