[Samba] Samba 3.0.22: share be r/w for LDAP-authenticated users, r/o for anonymous

2006-06-23 Thread Ralf G. R. Bergs
Hi there,

we need to implement the following scenario:

- Samba server 3.0.22 (NOT acting as a domain controller; we don't use
Windows networking domains)
- users use Linux and Windoze
- anonymous users accessing a certain share should be granted read-only
access
- successfully authenticated users should be given read-write access
- authentication should be performed against an LDAP that contains
entries like this:

dn: cn=rb,dc=intra,dc=ourdom,dc=de
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: jabberuser
jid: [EMAIL PROTECTED]
o: ourcompany
cn: rb
sn: Bergs
givenName: Ralf
telephoneNumber: +49xxx
mobile: +49
userPassword: secret
roomNumber: 4711

The "userPassword" key contains the password that is to be checked, the
"cn" key the username for the respective user.

Can this be accomplished? Is there anyone who would like to share some
config snippets with me?

I did some search on Google and found something pertaining to Samba 2.x,
but this doesn't work anymore since LDAP support seems to have changed
much since then.

Thanks for any help you can give.

Cheers,

Ralf
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Problems compiling Samba 2.2.4 with quota under Debian stable

2002-05-29 Thread Ralf G. R. Bergs

On Wed, 29 May 2002 08:51:06 +1000, Nathan Scott wrote:

[...]
>> Compiling smbd/quotas.c
>> smbd/quotas.c: In function `get_smb_linux_vfs_quota':
>> smbd/quotas.c:111: storage size of `D' isn't known
>> make[1]: *** [smbd/quotas.o] Error 1
>> make[1]: Leaving directory `/usr/src/samba-2.2.4/source'
>> make: *** [build-stamp] Error 2
>> 
>> Obviously this is the offending source fragment:
>> 
>> #ifdef LINUX_QUOTAS_1
>> struct dqblk D;
>> 
>> It seems as if "struct dqblk" isn't defined. Why is this?
[...]
>This is a problem which needs to be fixed in Samba sources

Thanks for shedding some light on this.

>they'll
>need to have a local quota header file, rather than using the ones
>below /usr/include/linux -- I'm not sure if Jan is planning to fix
>this soon, I know he's heavily involved with generating 2.5 patches
>at the moment.  I'm preoccupied too, but could give hints to anyone
>who wants to take a crack at fixing this.

I'm busy working on my thesis, so I can't do it either.

I guess I have to compile it w/o quota for now, and have another go some time 
later.

Thanks, I really appreciate your quick answer.

Ralf


-- 
Sign the EU petition against SPAM:  L I N U X   .~.
http://www.politik-digital.de/spam/The  Choice  /V\
of a  GNU  /( )\
   Generation  ^^-^^



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba