This code can find all the SK records in an NTUSER.DAT

2002-10-31 Thread Richard Sharpe
Hi, This program can find all the SK records in an NTUSER.DAT, which means it can find all the Security Descriptors in one. It will be a short step from here to modify the SID of certain of them, including those in the DACLs. Build it by: gcc -g -I../include -I../ubiqx -I../nsswitch

samba_2_2 sambatest (security=server) and ldap performance

2002-10-31 Thread Ignacio Coupeau
We have several samba printservers and fileservers with security=server validating against several PDC with ldap (samba 2.2.6). I found a lot of ldap request like: (uid=SAMBATESTPSERVER04) beating the ldap servers: one before *each* validation in every print job or share session. I found this

samba 2.2.6 - HPUX 11i - GCC 3.1 ERROR LINKING SHARED libnss_winbind.so

2002-10-31 Thread shpowa
./configure --with-acl-support --with-winbind --with-libsmbclient 1/ configure modified http://marc.theaimsgroup.com/?t=10130905695r=1w=2 BEFORE : if test $ac_cv_prog_cc_Ae = yes; then CPPFLAGS=$CPPFLAGS -Ae fi AFTER if test $ac_cv_prog_cc_Ae = yes; then

Re: samba_2_2 sambatest (security=server) and ldap performance

2002-10-31 Thread Andrew Bartlett
On Thu, Oct 31, 2002 at 11:33:15AM +0100, Ignacio Coupeau wrote: We have several samba printservers and fileservers with security=server validating against several PDC with ldap (samba 2.2.6). I found a lot of ldap request like: (uid=SAMBATESTPSERVER04) beating the ldap servers: one

Re: samba_2_2 sambatest (security=server) and ldap performance

2002-10-31 Thread Ignacio Coupeau
Andrew Bartlett wrote: On Thu, Oct 31, 2002 at 11:33:15AM +0100, Ignacio Coupeau wrote: We have several samba printservers and fileservers with security=server validating against several PDC with ldap (samba 2.2.6). I found a lot of ldap request like: (uid=SAMBATESTPSERVER04) beating the

Re: samba_2_2 sambatest (security=server) and ldap performance

2002-10-31 Thread Andrew Bartlett
On Thu, Oct 31, 2002 at 12:20:25PM +0100, Ignacio Coupeau wrote: Andrew Bartlett wrote: On Thu, Oct 31, 2002 at 11:33:15AM +0100, Ignacio Coupeau wrote: We have several samba printservers and fileservers with security=server validating against several PDC with ldap (samba 2.2.6). I

Re: Patches for RedHat 8.0 rpms in SAMBA_2_2 (was: 2.2.6-1 src rpm)

2002-10-31 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 29 Oct 2002, Axel Thimm wrote: o tarfile: allow samba-${VERSION} to be a symlink to another directory (e.g. plain samba) Thanks. o Use rpmbuild instead of rpm, as rpm under RedHat 8.0 does no more support building etc. Cool. I

CIFS Woes

2002-10-31 Thread Steven French
Scripts run just fine, but binaries give me: -bash: ./command: cannot execute binary file along with modprobe: modprobe: Can't locate module binfmt-464c in syslog Forgot to copy he list on my earlier response. Interesting question, I run executable files from mounted drives frequently and

Re: So, what can a program that can modify the SIDs in NTUSER.DAT do?

2002-10-31 Thread Andy Thomas
We have just set up a test domain, with a separate domain SID and separate user profile area. We would like to copy existing profiles for some users to the test domain, and change the SID to match. The program you are describing sounds perfect for this. We have a need for this soon - if you

Re: So, what can a program that can modify the SIDs in NTUSER.DATdo?

2002-10-31 Thread Richard Sharpe
On Thu, 31 Oct 2002, Andy Thomas wrote: We have just set up a test domain, with a separate domain SID and separate user profile area. We would like to copy existing profiles for some users to the test domain, and change the SID to match. The program you are describing sounds perfect

Re: Fixed: OpLocks caused the corruptions/slowness (Was: How Sambalet us down)

2002-10-31 Thread Claudia Moroder
Hello, what does samba if a client locks a byte range behind the end of the file ? This could be important because it looks like many 'corruption' problems happern with foxpro files. Foxpro uses dbf files like clipper and dbase. All this application does NOT lock the real record they want to

Re: Fixed: OpLocks caused the corruptions/slowness (Was: How Samba let us down)

2002-10-31 Thread Chris de Vidal
--- Claudia Moroder [EMAIL PROTECTED] wrote: what does samba if a client locks a byte range behind the end of the file ? This could be important because it looks like many 'corruption' problems happern with foxpro files. And we are using foxpro files.. hmm. /dev/idal P.S. haven't gotten a

Re: Fixed: OpLocks caused the corruptions/slowness (Was: How Samba let us down)

2002-10-31 Thread jra
On Thu, Oct 31, 2002 at 07:28:44PM +0100, Claudia Moroder wrote: Hello, what does samba if a client locks a byte range behind the end of the file ? This could be important because it looks like many 'corruption' problems happern with foxpro files. Samba adds the locks. It doesn't care if

Re: CIFS woes (fwd)

2002-10-31 Thread Urban Widmark
On Wed, 30 Oct 2002, Paul D. Robertson wrote: the local machine as a CIFS filesystem. Here's my issue- I can't execute a binary file if it's on the share. Doesn't mater if it's ELF or a.out format, or if it's static or dynamic. Scripts run just fine, but binaries give me: -bash:

Re: So, what can a program that can modify the SIDs in NTUSER.DAT do?

2002-10-31 Thread Nicolas Lopez
On Fri, Nov 01, 2002 at 04:39:03AM +1030, Richard Sharpe wrote: On Thu, 31 Oct 2002, Andy Thomas wrote: What I envision is something like: profiles -c S-1-5-21-x-y-z-oldrid -n S-1-5-21-x-y-z-newrid profiles which would walk the SEC DESCs, find all the SIDs and change them. That is

Re: samba_2_2 sambatest (security=server) and ldap performance

2002-10-31 Thread Ignacio Coupeau
Andrew Bartlett wrote: You could, but you really don't want to. Security=server is really nasty. Fix whatever is causing Samba to pick the wrong DC for secruity=domain. You can still specify the server to use. fixed (a wrong path :), we are using security = domain in the print servers now.

Re: CIFS Woes

2002-10-31 Thread Tim Potter
On Thu, Oct 31, 2002 at 10:38:32AM -0600, Steven French wrote: Scripts run just fine, but binaries give me: -bash: ./command: cannot execute binary file along with modprobe: modprobe: Can't locate module binfmt-464c in syslog Forgot to copy he list on my earlier response.

Re: Fixed: OpLocks caused the corruptions/slowness (Was: How Samba let us down)

2002-10-31 Thread Jay Ts
Chris de Vidal wrote: --- Claudia Moroder wrote: This could be important because it looks like many 'corruption' problems happern with foxpro files. And we are using foxpro files.. hmm. /dev/idal P.S. haven't gotten a chance to try turning oplocks on for bug testing; Management is

Re: Encrypted password support fails

2002-10-31 Thread Steve Holstead
Thanks for the info Andrew. I guess this brings up a couple of other questions. I hope you don't mind. The current samba 2.X seems to use the unicode password and checks to see if it is a NT,LM, or cleartext solution. Is this the case? If so, what is the purpose of the ansi 24 char password?

Re: Encrypted password support fails

2002-10-31 Thread Andrew Bartlett
Steve Holstead wrote: Thanks for the info Andrew. I guess this brings up a couple of other questions. I hope you don't mind. The current samba 2.X seems to use the unicode password and checks to see if it is a NT,LM, or cleartext solution. Is this the case? If so, what is the purpose of

RE: Winbind doesnt enumerate more than one group from an AD domain

2002-10-31 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 29 Oct 2002, James Braid wrote: I had the same problem aswell.. I found it was due to the fact the groups weren't 'Global' groups only 'Local' groups... Apparently they need to be Global or Universal to be shown by Winbind. I

Problem accessing Shares Greater 12 character

2002-10-31 Thread sak khan
im using samba 3.0 alpha.facing problem while accessing the share names greater then 12 characters...browser like kde of smbclient dont list me the long share name while it works fine for smaller share name wht should i do in the remedy of that problem sak

Re: So, what can a program that can modify the SIDs in NTUSER.DATdo?

2002-10-31 Thread Richard Sharpe
On Thu, 31 Oct 2002, Andy Thomas wrote: We have just set up a test domain, with a separate domain SID and separate user profile area. We would like to copy existing profiles for some users to the test domain, and change the SID to match. The program you are describing sounds perfect