Re: use sendfile problems with Windows 95

2003-03-28 Thread Pierre Belanger
Richard Sharpe wrote: On Thu, 27 Mar 2003, Pierre Belanger wrote: Can you get us a sniff? I sent a captured file directly to Richard. On this Friday, I wanted to share the following... While doing the capture for Richard, I was "able" to try to open different files a few times... h

use sendfile problems with Windows 95

2003-03-27 Thread Pierre Belanger
Hi, I turned on "use sendfile", not too long after (on the next "logon") someone called me. His Windows 95 was having trouble opening files on the server. He can "explore" the shared volume but when trying to open a file, his computer hangs and needs to reboot. I've been using "sendfile" myself wi

Re: Weird problems with Samba 2.2.8 under Solaris 8 + latest kernelpatch

2003-03-27 Thread Pierre Belanger
Hi, Quick follow up... the problem was on another server. After the last reboot, not too long ago, "fast-ethernet" negotiation between the Cisco switch and the Sun server did not work properly. Cisco switch negotiated at 100Mbps/full and the Sun server in half duplex. Pierre B. Pierr

Weird problems with Samba 2.2.8 under Solaris 8 + latest kernel patch

2003-03-17 Thread Pierre Belanger
Hello all, This weekend, we upgraded our Samba servers to 2.2.8 (pre3 according to the include/version.h -- CVS "synced" this past Saturday afternoon, EDT). I compiled this new release for the following Solaris/kernel : Solaris 6 : kernel patch 105181-33 Solaris 7 : kernel patch 106541-23 So

Re: Solaris fcntl CPU/Lock update

2003-02-27 Thread Pierre Belanger
s non-threaded I guess there's no impact in compile the libraries with the "--without-threads" option. Pierre B. Pierre Belanger wrote: Did you try to compile using OpenLDAP? I think that can be a "quick" fix. Otherwise, open a ticket with Sun? Pierre B. Jeff Mandel wr

Re: Solaris fcntl CPU/Lock update

2003-02-27 Thread Pierre Belanger
Did you try to compile using OpenLDAP? I think that can be a "quick" fix. Otherwise, open a ticket with Sun? Pierre B. Jeff Mandel wrote: trace from 12327: (gdb) bt #0 0xfecd9794 in __sigprocmask () from /usr/lib/libthread.so.1 #1 0xfecce1e8 in _deliversigs () from /usr/lib/libthread.so.1 #2

Re: password quality script - pre-release

2003-02-18 Thread Pierre Belanger
Shot me -- I added one line just before sending my previous mail. If you intend to compile it on your own, change "prresult" to "presult" line #261. I'm actually thinking to leave that line there, with a higher log level. Voila. Pierre B.

password quality script - pre-release

2003-02-18 Thread Pierre Belanger
could move it later if we want? That's about it for now, I guess! Regards, Pierre B. /* * TODO: * * Doxygen documentation * change DEBUG() code to appropriate log level * */ /* Unix SMB/CIFS implementation. Samba utility functions Password Quality: Help users not to choose

Re: password quality script aka --with-cracklib replacement

2003-02-13 Thread Pierre Belanger
Hi, I started this mail yesterday ... 24h/day is not enough since the past few days :( First of all, I forget to state in the documentation that the external program also needs to send a ".\n" on a new line after sending the "required" fields. 1) "Don't use recent password" feature: I did not

Password changing - root bug?

2003-02-12 Thread Pierre Belanger
Hello all, While digging (yes I'm still ;-) into the password changing code I found something that I find strange. We know that running smbpasswd on the locally as non-root or root, it's two different paths in the code. Here's where I want to get. As non-root, smbpasswd connects to the smbd. Soo

password quality script aka --with-cracklib replacement

2003-02-11 Thread Pierre Belanger
Hi, Here's what I've come up for the "password quality script", cracklib "replacement" after exchanging a few email and reading what came up on the mailing list. Your comments are again very welcome -- I've come up with this but if it's all wrong fell free to "blast me" ;-) I had good fun doing it

Re: Solaris fcntl CPU/Lock update

2003-02-04 Thread Pierre Belanger
Jeff, Ok, you're using nss_ldap from PDAL to use /etc/nsswitch.conf like passwd: ldap files (or reverse) group: ldap files etc Right? (From what I recall that's what nss_ldap is used for). If you did not compile with Samba, it means that if you do "ldd" on "smbd" it should not print "libthread"

Re: Solaris fcntl CPU/Lock update

2003-02-04 Thread Pierre Belanger
Hello all, Andrew, true GDB is thread aware but I think last time I used it (back in ~ 1998) I was writing a multi-threaded application and I really remember like if it was yesterday: GDB was not thread aware at that time. I'm glad to hear it's now thread aware! I found the following if it can he

Re: Solaris fcntl CPU/Lock update

2003-02-04 Thread Pierre Belanger
Hello, David Collier-Brown -- Customer Engineering wrote: "Christopher R. Hertel" wrote: indirectly to you from pbelanger: Thanx Christopher to forward the info. Please let know jra that libnspr4.so and libnss3.so ARE linked to libpthread and libthread under Solaris I assume l

Re: A Union of two directories

2003-02-03 Thread Pierre Belanger
Arthur, If there is a collision (2 or more directories with the same name), what do you think would be the best thing to do? I understand the idea of merging "2 directories", I think I would use such a "feature". I think the "VFS module" should actually support "n" directories. For the moment,

Re: incorrect password length - bug?

2003-01-29 Thread Pierre Belanger
Jerry, Gerald (Jerry) Carter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 29 Jan 2003, Pierre Belanger wrote: Reference: http://lists.samba.org/pipermail/samba-technical/2001-August/015596.html I was playing around with smbpasswd last night. I first thought something

Re: incorrect password length - bug?

2003-01-29 Thread Pierre Belanger
not Ok" by adding "True" for fun, didn't work ;-) Regards, Pierre B. Pierre Belanger wrote: Hi, Before writing this mail, I queried google (there's so many Samba installation hoping I could find an answer!). I did find an old message posted on samba-technical back

incorrect password length - bug?

2003-01-29 Thread Pierre Belanger
Hi, Before writing this mail, I queried google (there's so many Samba installation hoping I could find an answer!). I did find an old message posted on samba-technical back in 2001 but my query did not lead me to *the* answer. Reference: http://lists.samba.org/pipermail/samba-technical/2001-Augu

Re: smbclient 64-bit read/write support, and the lack thereof :-(

2003-01-27 Thread Pierre Belanger
Neil, You might want to "download" the latest Samba from CVS. Check out the Web site on how to do this. There has been an issue fixed in late December 2002 (a + 4GB issue) using smbclient. Pierre B. Neil Goldberg wrote: Wondering if anyone knows if it is planned, or if there are patches for lar

Re: ld Error with solaris 8

2003-01-23 Thread Pierre Belanger
Uwe E. Faber wrote: Hi i try to compile samba-2.2.7a on a Solaris 8 System, first i make the ./configure after this i try a make and then i got the error: using LIBS = -lsec -lgen -lsocket -lnsl -ldl Linking bin/smbd ld: fatal: file rpc_server/srv_pipe.o: unknown file type ld: fatal: File proces

Re: --with-cracklib (phase 2)

2003-01-17 Thread Pierre Belanger
Hello, Issues & questions: - Will we ever see more work on cracklib, nothing changed since 1997. We know we need to add an "API" that doesn't use "getuid() / getpwuid()". If Alec and/or Chris don't want to add an API that doesn't use the get{pw}uid(), we can: 1- Add a patch to crackl

Re: --with-cracklib (phase 2)

2003-01-17 Thread Pierre Belanger
[Q] Do we want to be able to configure the dictionnary name within the smb.conf (char *) or "hard-coded" in cracklib? Perhaps we want to be able to specify multiple directories (char **). npasswd uses "(char **)" (mutliple). I have no preference. I forgot to mention the followi

--with-cracklib (phase 2)

2003-01-17 Thread Pierre Belanger
Hi, Here's what I've done so far: - Added a simple API in cracklib for Samba, works great. - Sent an email to Alec Muffett, author of cracklib asking him if he can add this new API that doesn't use "getuid() & getpwuid()". - Sent an email to Chris Hoover, author of "npasswd" asking him a fe

Re: --with-cracklib for Samba

2003-01-16 Thread Pierre Belanger
Hi, I need "expert" comments on the following, it's "kind of" related to "cracklib". I could dig another 3 hours in the code but I prefer to keep that 3 hours for cracklib ;-) - rpc_server/srv_samr_nt.c line ~ 2836 & line ~ 2898 : /* update the UNIX password */ if (lp_unix_password_sync() )

--with-cracklib for Samba

2003-01-15 Thread Pierre Belanger
Hi all, Last night I did a "grep -i todo" in the source code, to see if I could contribute a little bit more ;-) I found the following: smbd/chgpasswd.c: /* TODO: Add cracklib support here */ I started working on this last night (using SAMBA_3_0 branch) and do have something working (the "con

profile/profile.c bug under (at least) Solaris - 3.0alpha??

2003-01-14 Thread Pierre Belanger
Hello Andrew, I'm sending it "To:" you because I found the following message on the mailing list: http://lists.samba.org/pipermail/samba/2002-October/082150.html The following is true at least under Solaris (all releases) and perhaps other OS? Linux is probably not affected??? Here's the "bug

Re: Problem with utmp under Solaris

2002-12-03 Thread Pierre Belanger
posting here. Pierre B. Pierre Belanger wrote: > > Hi, > > I found the following problem under Solaris (8) when > enabling "utmp = yes". "last" is ok, but not "finger". > > # last > livetan smb/9 10.64.3.241 Mon Dec 2 09:01 still log

Problem with utmp under Solaris

2002-12-02 Thread Pierre Belanger
Hi, I found the following problem under Solaris (8) when enabling "utmp = yes". "last" is ok, but not "finger". # last livetan smb/9 10.64.3.241 Mon Dec 2 09:01 still logged in vassile smb/8 10.64.3.84 Mon Dec 2 09:01 still logged in # finger finger: Can't stat /dev/smb/8 ... and "fin

use sendfile loadparm.c / docs inconsistency

2002-10-10 Thread Pierre Belanger
Hi, [ Yeah, me again about this sendfile stuff ;-) ] I notice some inconsistence in the documentations... "smb.conf.5" is listing "use sendfile" in the "COMPLETE LIST OF GLOBAL PARAMETERS" area, and later in the same manual, it shows "use sendfile" has a "shared parameter": "use sendfile

sendfile profiling patch for utils/status.c

2002-10-03 Thread Pierre Belanger
Hello all, I'm including a "tiny patch" for utils/status.c , in diff -u format ... Hope I did this right! After applying the patch... # ./bin/smbstatus -P {snip} read_bytes: 0 write_count:1 write_time: 166 write_bytes: