Samba LDAP

2003-06-03 Thread Ghe Rivero
Hi!
I need a PDC for a win2k  linux network and i have a couple of
questions...

1.- Why i need packages to managed samba  ldap passwords at the same
time? I though that with the ldap directives in the smb.conf file was
enough.

2.- In the linux clients... how i managed to authentificated against
the smb server and to mount automatically the home directory of the
user? Or is better to authentificated against the ldap server?

Any suggestion is welcomed.

-- 
Ghe Rivero [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Samba LDAP

2003-06-03 Thread Carlos L.M.
See this:
http://www.idealx.org/prj/samba/index.en.html



 --- Ghe Rivero [EMAIL PROTECTED] escribió:  Hi!
   I need a PDC for a win2k  linux network and i have
 a couple of
 questions...
 
   1.- Why i need packages to managed samba  ldap
 passwords at the same
 time? I though that with the ldap directives in the
 smb.conf file was
 enough.
 
   2.- In the linux clients... how i managed to
 authentificated against
 the smb server and to mount automatically the home
 directory of the
 user? Or is better to authentificated against the
 ldap server?
 
 Any suggestion is welcomed.
 
 -- 
 Ghe Rivero [EMAIL PROTECTED]
 
 
 -- 
 To UNSUBSCRIBE, email to
 [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
  

___
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Samba LDAP

2003-06-03 Thread Bastian Winkler
hi,

On Mon, Jun 02, 2003 at 03:33:50PM +0200, Ghe Rivero wrote:
 Hi!
   I need a PDC for a win2k  linux network and i have a couple of
 questions...
 
   1.- Why i need packages to managed samba  ldap passwords at the same
 time? I though that with the ldap directives in the smb.conf file was
 enough.

if you are using samba with --with-ldapsam, samba is looking for the
lmPassword and ntPassword attributes in ldap. it is no problem to keep
this password in sync with a small script and samba set unix password
sync = yes in your smb.conf. if you really want to use the
unix-passwords with samba you must not use encrypted passwords :-( 
read ENCRYPTION.html in the samba-doc package for this problem.

 
   2.- In the linux clients... how i managed to authentificated against
 the smb server and to mount automatically the home directory of the
 user? Or is better to authentificated against the ldap server?

there is a way to authenticate windows-clients against the ldap server,
but this is much client-work. simply use the samba-ldap installation as
PDC and let the workstations join the domain. 
see Samba-LDAP-HOWTO.html in samba-doc
or http://www.unav.es/cti/ldap-smb-howto.html


buz


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



File Group Ownership in Samba

2003-06-03 Thread Kay-Michael Voit
Hello,
this isn't only Debian related, and perhaps it isn't even Samba
relatet (but directory), but I#M quite new to this all.
I'm running a Samba Server (from Debian stable). Now I want files
that users create with Windows clients in the Samba directories to
have another group than the primary group of the user. (For Debian
creates a group for each user as primary group and there are multiple
users who access the same data these file have to have a common group)
How can I achieve this? Is there something like create group (like
create mask)?
I read the manpage, but I didn't find anything.

-- 
Best regards,
 Kay-Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



sympa/pg/debian install woes

2003-06-03 Thread Neale Banks

I'm trying to install Sympa on a Debian(woody) machine but not getting
far :-(

I've tracked it down to this line in install-pg-db, which is called from
the postinst script:

# Get a sysid
my $usesysid = $dbh-do(SELECT MAX(usesysid) + 1 FROM pg_shadow);

That always returns 1 (and a subsequent attempt to create a user with
usesysid=1 (correctly) fails).  As I have in use the usesysid values 1,
100, 101 I figure the correct answer is 102 (which is what I get if I put
that SQL into psql).

The postinst emits the diagnostic ...I could not
connect to the database server. ... - which doesn't seem reasonable as
the same $dbh is previously used to (successfully) create the sympa
database:

# Create database
eval {$dbh-do(CREATE DATABASE $database)};

What's really odd is the output from some diagnostic prints:

# Get a sysid
my $foo = $dbh-do(SELECT usesysid FROM pg_shadow WHERE
usename='sql-ledger');
print Max Id: $foo\n;
my $usesysid = $dbh-do(SELECT MAX(usesysid) + 1 FROM pg_shadow);
print Calculated Id: $usesysid\n; #DEBUG

Gives these:

Max Id: 1
Calculated Id: 1

I know that I could hack in a $usesysid = 102, but that would (a) be
cheating and (b) not flush out the root cause.

Any ideas on what's up here, or how I might usefully extract more
information?

Thanks,
Neale.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: File Group Ownership in Samba

2003-06-03 Thread Jesse Molina
Hi!

Here is an example from one of my Samba machines;

[foo]
comment = Foo Directories
path = /var/foo
browseable = yes
writeable = yes
write list = @samba @adm
create mask = 0664
directory mask = 0474
directory security mask = 0777
inherit permissions = yes
max connections = 10
hide dot files = no
guest ok = no
force user = foo
force group = foo
In this example, do you see the force user and force group entries 
above?  Whenever someone creates a file under this share, it always is 
owned by user:group foo:foo.

And, by including this group for each user, I can permit them access to 
perhaps read or write files, or have any access at all.

I would recomend that you read the smb.conf man page again.  There are a 
lot of options in there, but be patient.  After you have read it all, 
try again.



Kay-Michael Voit wrote:
Hello,
this isn't only Debian related, and perhaps it isn't even Samba
relatet (but directory), but I#M quite new to this all.
I'm running a Samba Server (from Debian stable). Now I want files
that users create with Windows clients in the Samba directories to
have another group than the primary group of the user. (For Debian
creates a group for each user as primary group and there are multiple
users who access the same data these file have to have a common group)
How can I achieve this? Is there something like create group (like
create mask)?
I read the manpage, but I didn't find anything.
--
# Jesse Molina
# Mail = [EMAIL PROTECTED]
# Page = [EMAIL PROTECTED]
# Cell = 1.407.970.0280
# Web  = http://www.opendreams.net/jesse/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Selecting source ip

2003-06-03 Thread Wolfgang Fischer
On Wed, 28 May 2003 23:30:20 +0200, Stefan Neufeind wrote:

 Hi,
 
 when I request a file from a linux box using lynx the source ip of my
 request is the ip of eth0. But how can I change the source ip to other
 ips which are also bound to eth0 (via eth0:0 etc.)? Do I need to change
 the default gate from eth0 to eth0:0 for example? Isn't there a way to
 just change the source ip for all programs I will execute in my current
 environment / bash without affecting other programs / tasks?
 
 Yours sincerely,
  Stefan
 
 
Hi,
you might install the context kernel patch. It introduces several
possibilities to limit even root. This is mainly used to run several
seperated virtual servers on one physical machine. Then you need to
install the package vserver (it isn't in stable yet). Then you can use
chbind to bind an application and all child processes to one ip. See man
chbind for more details.




Re: OT: good open source (or other) MUAs that work under Windoze

2003-06-03 Thread Alex (LEX) Borges

 It's suddenly occurred to me that I may be wrong to assume that there
 are no good open source MUAs that run under windoze, and I thought
 that this might be a good place to ask the people most likely to have
 had to try them or deal with the problems that they and other MUAs
 cause, so here I am asking a little OT but hoping people will point me
 to things I can try.
 

There arent good proprietary muas for windows either, so you might as
well try the OSS ones.

Mozilla rulez for me. You can also get it to preload so it aint so
damned slow (or so i think).

 TIA,
 
 Chris
 
 PSYCTC: PSYchotherapy,PSYchology,PSychiatry, Counselling
and Therapeutic Communities; practice, research, 
teaching and consultancy.
 Chris Evans  Jo-anne Carlyle
 http://psyctc.org/ Email: [EMAIL PROTECTED]
 





Re: Routingtable vulnerability

2003-06-03 Thread Bob Billson
On Mon, Jun 02, 2003 at 04:38:42AM -0700, peace bwitchu penned:
 I'm not saying your wrong but I don't see that in the
 changelog for 2.4.21-rc6. 

Sorry.  You are correct.  I meant -rc4.  The original RH ioperm fix in
-rc3 was the one which wasn't quite right.

 The ip conntrack routing table hash exploit had been fixed in 2.4.21-rc2.

doh!  You are correct again.  I need to be more careful in reading the
chaneglogs.  All the release candidates from -rc4 to -rc6 had other
minor little gotchas which would make me cautious about using them on
productions machines.  It's now up to -rc7.  Hopefully, this will be the
last.  I think even Marcelo is tiring of the many release candidates for
2.4.21. :-)

  bob
-- 
 bob billsonemail: [EMAIL PROTECTED]  ham: kc2wz   /)
   [EMAIL PROTECTED] beekeeper -8|||}
 Níl aon tinteán mar do thinteán féin. --DorothyLinux geek   \)




Re: OT: good open source (or other) MUAs that work under Windoze

2003-06-03 Thread Bulent Murtezaoglu
 AB == Alex Borges Alex writes:
[...]
AB Mozilla rulez for me. You can also get it to preload so it
AB aint so damned slow (or so i think).

Hmm, you can also get Emacs/Xemacs under Windows and run Gnus or VM as
your MUA.

BM