Re: 3.0 requires an admin account to join samba to a domain?

2002-12-04 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 5 Dec 2002, Rafal Szczesniak wrote: > > I found it. Who came up with the function names? They're horrible! > > Originally it was an attempt to follow underlying mechanism name. > As 'net' gets general and therefore complicated tool, we gett

Re: 3.0 requires an admin account to join samba to a domain?

2002-12-04 Thread Rafal Szczesniak
On Wed, Dec 04, 2002 at 06:50:52PM -0500, Jim McDonough wrote: > > >> >And why are there two functions for changing a machine trust account? > >> Dunno. Perhaps Rafal knows? > > > >Rafal know only what he read in the code. Are we talking about > >net_rpc_join_oldstyle() and net_rpc_join_newstyle(

Re: 3.0 requires an admin account to join samba to a domain?

2002-12-04 Thread Jim McDonough
>> >And why are there two functions for changing a machine trust account? >> Dunno. Perhaps Rafal knows? > >Rafal know only what he read in the code. Are we talking about >net_rpc_join_oldstyle() and net_rpc_join_newstyle() functions ? >Just want to make sure... Whoops, I was just reading too fas

Samba 2.2.7 and logon script processing

2002-12-04 Thread Randy Cox
Hi All, samba 2.2.7 built with: ./configure make make install (That is, no special build options) in our smb.conf the line: logon script = %u.bat: ^ | lowercase -- When trying to login (from Windows 9x,NT, 2K or Linux with w

Re: 3.0 requires an admin account to join samba to a domain?

2002-12-04 Thread Rafal Szczesniak
On Wed, Dec 04, 2002 at 03:20:58PM -0500, Jim McDonough wrote: > > >And why are there two functions for changing a machine trust account? > Dunno. Perhaps Rafal knows? Rafal know only what he read in the code. Are we talking about net_rpc_join_oldstyle() and net_rpc_join_newstyle() functions ? J

Re: 3.0 requires an admin account to join samba to a domain?

2002-12-04 Thread Rafal Szczesniak
On Wed, Dec 04, 2002 at 02:09:45PM -0600, Gerald (Jerry) Carter wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Wed, 4 Dec 2002, Jim McDonough wrote: > > > > > >Can someone confirm or deny that there is not net equivalent > > >of "smbpasswd -j DOMAIN -R PDC" in HEAD? All I see r

Re: Porting guide Samba 2.2.x -> 3.0

2002-12-04 Thread Rainer Link
[follow-up myself .. :) ] unfortunately I wasn't able to follow the 3.0 development nor this ML very closely. Does a porting guide from 2.2.x to 3.0 exist? I've just discovered that the following code void send_message(pstring msg) { [..] unix_to_dos(msg); len = strlen(msg);

Clean up of spool files

2002-12-04 Thread Zdenek Niederle
I'm using Samba 2.2.5 and CUPS to handle printing on our network. Unfortunately, the smbprn.xx spool files are not being cleaned up and instead are quickly filling the spool directory. Is their a setting or option to ensure the files are cleaned up once sent to the printer? I am aware th

Code improvment in printing area.

2002-12-04 Thread Arcady Chernyak
Hi. I suggest the following small SAMBA code improvement in printing area.   All known SAMBA versions can't return to Windows client any return code after calling "print command". I need it therefore I made the following SAMBA changes:   Change prototype of function "print_job_end"

RE: 3.0 requires an admin account to join samba to a domain?

2002-12-04 Thread Jim McDonough
>Possible -- just wasn't aware of it. (It's *really* fun trying to >figure out how these guys work by tearing into the sources. Ah, >well...) That's why we put the help online for net. Please let us know if you find any problems with it... Jim McDonough IBM Linux T

RE: 3.0 requires an admin account to join samba to a domain?

2002-12-04 Thread Jim McDonough
>>To Jerry's original question: it seems to fail without an admin >>username/pw. With the old smbpasswd, it would work if a machine account >>was first set up on the PDC -- now it doesn't. >Hmmm, I'll have to look into that. At one point it was "net rpc join >oldstyle" or something like that...

RE: 3.0 requires an admin account to join samba to a domain?

2002-12-04 Thread Jim McDonough
>I found some code named rpc_join_oldstyle_internals() should do >it, but I've not actually verified this. Yeah, it looks like "net rpc join oldstyle" or "net rpc join" should both execute this... Jim McDonough IBM Linux Technology Center Samba Team 6 Minuteman Drive

Re: 3.0 requires an admin account to join samba to a domain?

2002-12-04 Thread Jim McDonough
>And why are there two functions for changing a machine trust account? Dunno. Perhaps Rafal knows? Jim McDonough IBM Linux Technology Center Samba Team 6 Minuteman Drive Scarborough, ME 04074 USA [EMAIL PROTECTED] [EMAIL PROTECTED] Phone: (207) 885-5565 IBM tie-lin

Re: 3.0 requires an admin account to join samba to a domain?

2002-12-04 Thread Jim McDonough
>I found it. Who came up with the function names? They're horrible! That's one part of net I won't claim responsibility for... :-) Jim McDonough IBM Linux Technology Center Samba Team 6 Minuteman Drive Scarborough, ME 04074 USA [EMAIL PROTECTED] [EMAIL PROTECTED]

RE: 3.0 requires an admin account to join samba to a domain?

2002-12-04 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 4 Dec 2002, Ken Cross wrote: > To Jerry's original question: it seems to fail without an admin > username/pw. With the old smbpasswd, it would work if a machine account > was first set up on the PDC -- now it doesn't. I found some code name

RE: 3.0 requires an admin account to join samba to a domain?

2002-12-04 Thread Jim McDonough
>To Jerry's original question: it seems to fail without an admin >username/pw. With the old smbpasswd, it would work if a machine account >was first set up on the PDC -- now it doesn't. Hmmm, I'll have to look into that. At one point it was "net rpc join oldstyle" or something like that... ---

RE: 3.0 requires an admin account to join samba to a domain?

2002-12-04 Thread Ken Cross
To Jerry's original question: it seems to fail without an admin username/pw. With the old smbpasswd, it would work if a machine account was first set up on the PDC -- now it doesn't. Ken -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Gerald (Jerry) C

Re: 3.0 requires an admin account to join samba to a domain?

2002-12-04 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 4 Dec 2002, Jim McDonough wrote: > > >Can someone confirm or deny that there is not net equivalent > >of "smbpasswd -j DOMAIN -R PDC" in HEAD? All I see requires an admin > >username/pw > > Just net rpc join should do it. > > Try "net help

Re: 3.0 requires an admin account to join samba to a domain?

2002-12-04 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 4 Dec 2002, Jim McDonough wrote: > > >Can someone confirm or deny that there is not net equivalent > >of "smbpasswd -j DOMAIN -R PDC" in HEAD? All I see requires an admin > >username/pw > > Just net rpc join should do it. > > Try "net help

Re: 3.0 requires an admin account to join samba to a domain?

2002-12-04 Thread Jim McDonough
>Can someone confirm or deny that there is not net equivalent >of "smbpasswd -j DOMAIN -R PDC" in HEAD? All I see requires an admin >username/pw Just net rpc join should do it. Try "net help rpc join" Jim McDonough IBM Linux Technology Center Samba Team 6 Minutema

3.0 requires an admin account to join samba to a domain?

2002-12-04 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anyone? Can someone confirm or deny that there is not net equivalent of "smbpasswd -j DOMAIN -R PDC" in HEAD? All I see requires an admin username/pw cheers, jerry -- Hewlett-P

Re: NetBSD STAT_ST_BLOCKSIZE prob

2002-12-04 Thread Patrick Welche
On Wed, Dec 04, 2002 at 11:17:16AM -0800, Herb Lewis wrote: > STAT_ST_BLOCKSIZE should not depend on the filesystem blocksize. > Look at the man page for stat(2) and see how st_blocks is > defined. That is the number that needs to be used for STAT_ST_BLOCKSIZE Yes - I should have seen your note e

Re: NetBSD STAT_ST_BLOCKSIZE prob

2002-12-04 Thread Patrick Welche
On Wed, Dec 04, 2002 at 07:12:20PM +, [EMAIL PROTECTED] wrote: > > Ah you see this is the *exact* problem. This is why I ditched the > code that uses stat.st_blksize. It was causing 64-bit copies on > IRIX to fail. > > The fundamental misunderstanding (and it was mine also when I wrote > this

Re: NetBSD STAT_ST_BLOCKSIZE prob

2002-12-04 Thread Herb Lewis
STAT_ST_BLOCKSIZE should not depend on the filesystem blocksize. Look at the man page for stat(2) and see how st_blocks is defined. That is the number that needs to be used for STAT_ST_BLOCKSIZE Patrick Welche wrote: > > On Wed, Dec 04, 2002 at 06:51:25PM +, [EMAIL PROTECTED] wrote: > > On W

Re: NetBSD STAT_ST_BLOCKSIZE prob

2002-12-04 Thread jra
On Wed, Dec 04, 2002 at 07:08:29PM +, Patrick Welche wrote: > On Wed, Dec 04, 2002 at 06:51:25PM +, [EMAIL PROTECTED] wrote: > > On Wed, Dec 04, 2002 at 05:48:43PM +, Patrick Welche wrote: > > > > > (Why isn't STAT_ST_BLOCKSIZE defined in configure.in for netbsd?) > > > > There is no

Re: NetBSD STAT_ST_BLOCKSIZE prob

2002-12-04 Thread Patrick Welche
On Wed, Dec 04, 2002 at 06:51:25PM +, [EMAIL PROTECTED] wrote: > On Wed, Dec 04, 2002 at 05:48:43PM +, Patrick Welche wrote: > > > (Why isn't STAT_ST_BLOCKSIZE defined in configure.in for netbsd?) > > There is no specific configure section for netbsd. Care to write one ? I just had a loo

Samba & Helios Ethershare Integration

2002-12-04 Thread marte
Hi everybody , my name is Marte, Actually, I'm testing Helios EtherShare(afp-smb-opi Software) to my company, however we have trouble with the resource fork when copying a mac file from a pc via samba. Is there a way to support resource fork in samba. I'm using samba-2.2.6 RedHat 7.3 XFS

smbclient core dump

2002-12-04 Thread Patrick Welche
With aforementioned Dec 4 17:52 GMT CVS code, I get a core dump from smbclient -L //machine Core was generated by `smbclient'. Program terminated with signal 11, Segmentation fault. #0 0x807ccff in push_string (base_ptr=0x0, dest=0x8130028, src=0x80a70a0 "PC NETWORK PROGRAM 1.0", dest_len=4

Re: NetBSD STAT_ST_BLOCKSIZE prob

2002-12-04 Thread jra
On Wed, Dec 04, 2002 at 05:48:43PM +, Patrick Welche wrote: > With cvs code from Dec 4 16:55 GMT on i386-unknown-netbsdelf1.6K, > > Compiling smbd/trans2.c > smbd/trans2.c: In function `get_allocation_size': > smbd/trans2.c:42: request for member `st_size' in something not a structure or unio

Re: Multiple IPs for PDC?

2002-12-04 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 25 Nov 2002, Ken Cross wrote: > G'Day: > > In the get_pdc_ip routine in libsmb/namequery.c in -current, there's an > assertion: > > SMB_ASSERT(count == 1); > > which bombs out if the PDC has multiple IP addresses. I have a PDC with > 3 n

Re: STAT_ST_BLOCKSIZE on HP-UX

2002-12-04 Thread jra
On Wed, Dec 04, 2002 at 04:48:32PM +0100, Michael Steffens wrote: > Hi, > > noticed that very recently a bunch of patches was checked > in the SAMBA_2_2 CVS tree, correcting STAT_ST_BLOCKSIZE > to be 512 for a number of platforms. (see configure and > configure.in) > > It remained on 8192 for HP-

More Re: LDAP machine lookup

2002-12-04 Thread Don Hayward
I'm using a Debian woody based system (partially upgraded to 'testing' in order to use tls with ldap), with samba_2.2.7 source built by debian/rules with LDAP turned on, using gcc 3.0.4, libldap2-tls_2.0.23-14, and libldap2_2.0.23-14. I'm setting up PDC service -- when I try to join a windows mach

NetBSD STAT_ST_BLOCKSIZE prob

2002-12-04 Thread Patrick Welche
With cvs code from Dec 4 16:55 GMT on i386-unknown-netbsdelf1.6K, Compiling smbd/trans2.c smbd/trans2.c: In function `get_allocation_size': smbd/trans2.c:42: request for member `st_size' in something not a structure or union smbd/trans2.c 39-43: #if defined(HAVE_STAT_ST_BLOCKS) && defined(STAT_S

STAT_ST_BLOCKSIZE on HP-UX

2002-12-04 Thread Michael Steffens
Hi, noticed that very recently a bunch of patches was checked in the SAMBA_2_2 CVS tree, correcting STAT_ST_BLOCKSIZE to be 512 for a number of platforms. (see configure and configure.in) It remained on 8192 for HP-UX (which is the number given by st_blksize) and which seems to be just as wrong t

Re: Serious Winbind packaging bug in 2.2.7 binaries

2002-12-04 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 3 Dec 2002, Matthew Mastracci wrote: > I just spent a few hours diagnosing a problem with 2.2.7 on Redhat 7.3 > that turned out to be (what I believe) is a packaging bug. > > The symbolic link from libnss_winbind.so to libnss_winbind.so.2 is