Hello Peter

Thanks a lot for the settings... and can u send that script.. ?

I had tried to make one.. It works, but didn work in the system :(

Niels

-----Oprindelig meddelelse-----
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] vegne af
Peter
Sendt: 14. juli 2003 18:05
Til: sambar List Member
Emne: [sambar] Htaccess and passwd explain {06}


Niels
I can send you a working perl script and .htaccess .htpasswd file to get
you going a bit later.  But these setting are wrong.

> Enforce .htaccess = true
> Use Unix crypt = true
> Use MD5 crypt = true

Use this instead

> Enforce .htaccess = true
> Use Unix crypt = false
> Use MD5 crypt = false

Peter


-----Original Message-----
From: "Niels Poulsen" <[EMAIL PROTECTED]>
To: "sambar List Member"  <[EMAIL PROTECTED]>
Date: Mon, 14 Jul 2003 17:18:47 +0200
Subject: [sambar] Htaccess and passwd explain {06}

> Im Still trying to get the Htaccess system to work..
>
> i have followed some of the stuff that has been posted her in the
> mailinglist.
>
> Nothing works...
>
> some one who have an exact explainations on how to do and a simple
> script that can make the password...
>
> Is my settings in the config.ini correct ?
> Enforce .htaccess = true
> Use Unix crypt = true
> Use MD5 crypt = true
> Enable WebDAV = true
>
> Thanks in advance
>
> Niels
>
>
> ----- Original Message -----
> From: "Adam Luz" <[EMAIL PROTECTED]>
> To: "sambar List Member" <[EMAIL PROTECTED]>
> Sent: Friday, April 11, 2003 10:02 AM
> Subject: [sambar] Htaccess and passwd explain {06}
>
>
> > Thank you, I took your advice with the peal and chop worked...
> >
> > $output = substr("$output", 0, -1);
> > thats all I needed to add.
> >
> > ----- Original Message -----
> > From: "Peter" <[EMAIL PROTECTED]>
> > To: "sambar List Member" <[EMAIL PROTECTED]>
> > Sent: Wednesday, April 09, 2003 4:33 AM
> > Subject: [sambar] Htaccess and passwd explain {05}
> >
> >
> > > php no I don't use much of it but perl yes and you should be able
> to
> > > modify this from perl.
> > >
> > > $accessfile = "D:/sambar/config/.htpasswd";
> > > #$accessfile = "D:/sambar/config/passwd";
> > >
> > > $command = 'D:\\sambar\\bin\\sacrypt.exe ' . $password;
> > > $crypted = `$command`;
> > > chop $crypted;
> > >
> > > open (FILE, ">>$accessfile");
> > > flock(FILE, 2);
> > > print FILE "$username:$crypted\n";
> > > flock(FILE, 8);
> > > close (FILE);
> > >
> > > If you are using the sambar password file use this on the print
> line
> > > # print FILE "$username:member:$crypted:/ftp/:2:100:member\n";
> > > -----Original Message-----
> > > From: "Adam Luz" <[EMAIL PROTECTED]>
> > > To: "sambar List Member"  <[EMAIL PROTECTED]>
> > > Date: Tue, 8 Apr 2003 23:13:41 -0700
> > > Subject: [sambar] Htaccess and passwd explain {04}
> > >
> > > > Do you know how you can implement this into a php script?
> > > >
> > > > ----- Original Message -----
> > > > From: "Marcelo Coelho" <[EMAIL PROTECTED]>
> > > > To: "sambar List Member" <[EMAIL PROTECTED]>
> > > > Sent: Tuesday, April 08, 2003 3:30 PM
> > > > Subject: [sambar] Htaccess and passwd explain {03}
> > > >
> > > >
> > > > > Hi Peter,
> > > > >
> > > > > To add users to /config/passwd file, you must use the
> sacrypt.exe
> > > > utility.
> > > > > This utility is located inside the bin folder.
> > > > >
> > > > > Best regards,
> > > > >
> > > > > Marcelo Coelho
> > > > > MCO2 Tecnologia
> > > > > +55 (11) 6281-6649
> > > > > www.mco2.com.br
> > > > >
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Peter" <[EMAIL PROTECTED]>
> > > > > To: "sambar List Member" <[EMAIL PROTECTED]>
> > > > > Sent: Tuesday, April 08, 2003 5:36 PM
> > > > > Subject: [sambar] Htaccess and passwd explain {02}
> > > > >
> > > > >
> > > > > > I only use MD5 and sacrypt both of which have RC's. This is
> what
> > > > the
> > > > docs
> > > > > > say:
> > > > > >
> > > > > > It may be desirable to provide an alternative list of users
> and
> > > > passwords
> > > > > > for user authentication. To accomodate this use, the Sambar
> Server
> > > > > > supports the "standard" user:password file format used by
> NCSA and
> > > > > > Apache. Important! The default encryption mechanism used by
> the
> > > > Sambar
> > > > > > Server is not compatible with crypt which is used on Apache
> UNIX
> > > > servers
> > > > > > (the -d flag can be passwd to htaccess to use Unix crypt; the
> > > > config.ini
> > > > > > parameter Use Unix Crypt must also be set to true if you wish
> to
> > > > use
> > > > UNIX
> > > > > > encryption). By default, both the Sambar Server passwd server
> > > > config.ini
> > > > > > file should set the Use Unix Crypt file and htpasswd files
> use the
> > > > > > encryption mechanism implemented by the sacrypt utility
> shipped
> > > > with the
> > > > > > Sambar Server. Important! If using the sacrypt utility for
> > > > generating
> > > > > > password entries, the Public Key in the config.ini cannot be
> > > > modified
> > > > > > (Sambar Server Encryption Key) as this key is hardcode in the
> > > > sacrypt
> > > > > > utility.
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: "Adam Luz" <[EMAIL PROTECTED]>
> > > > > > To: "sambar List Member"  <[EMAIL PROTECTED]>
> > > > > > Date: Tue, 8 Apr 2003 12:50:50 -0700
> > > > > > Subject: [sambar] Htaccess and passwd explain {01}
> > > > > >
> > > > > > > Okay I don't think you know what I mean
> > > > > > >
> > > > > > > In c:\sambar52\config\passwd
> > > > > > >
> > > > > > > A encypted password looks like
> > > > > > >
> > > > > > >
> > > >
> [EMAIL PROTECTED]:auto:9D7726B34716D022:c|/www/adamluz.com/public_html/2
> > > > > > > /user
> > > > > > > s/test/:0:5:Test Account
> > > > > > >
> > > > > > > The password encrypted is 9D7726B34716D022 which is "email"
> > > > > > >
> > > > > > > Now in my htacess the encryption is differnt
> > > > > > >
> > > > > > > test:1$Z8plZ4d.ZKw [.htaccess file] password is "email"
> > > > > > >
> > > > > > > how do I encypt into that passwd using sambars same
> encyption?
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -------------------------------------------------------
> > > > > > > To unsubscribe please go to http://www.sambar.ch/list/
> > > > > > >
> > > > > > >
> > > > > > -------------------------------------------------------
> > > > > > To unsubscribe please go to http://www.sambar.ch/list/
> > > > > >
> > > > > >
> > > > > -------------------------------------------------------
> > > > > To unsubscribe please go to http://www.sambar.ch/list/
> > > > >
> > > > >
> > > > >
> > > > >
> > > > -------------------------------------------------------
> > > > To unsubscribe please go to http://www.sambar.ch/list/
> > > >
> > > >
> > > -------------------------------------------------------
> > > To unsubscribe please go to http://www.sambar.ch/list/
> > >
> > >
> > >
> > >
> > -------------------------------------------------------
> > To unsubscribe please go to http://www.sambar.ch/list/
> >
> >
> >
> >
> -------------------------------------------------------
> To unsubscribe please go to http://www.sambar.ch/list/
>
>
-------------------------------------------------------
To unsubscribe please go to http://www.sambar.ch/list/
-------------------------------------------------------
To unsubscribe please go to http://www.sambar.ch/list/



Reply via email to