[Samba] Re: CUPS/Printing

2003-08-16 Thread matt
- Original Message - 
From: "Dragan Krnic" <[EMAIL PROTECTED]>
Sent: Saturday, August 16, 2003 8:02 PM

> | RH Linux 9 on AMD k6-2 500
> | Using HP deskjet 930c on USB
> | Samba version: 2.2.7a
> | cups version: 1.1.18
> |



> If you look up the files mime.convs and mime.types in
> /etc/cups, you'll find out that the lines beginning w/
> 
>   #application/octet-stream ...
> 
> have to be uncommented so that you don't need to 
> specify -oraw in the print command.
> 

I cannot thank you enough - and I'm not surprised it was so simple.

 

> You haven't read Kurt Pfeifle's excellent HOWTO on 
> CUPS, Samba and Windows, have you? Google it up.
> 

No - I did look for such a thing - all I had gathered was that
it was "forthcoming" - is it listed in the list of HOWTOs on
linux.org? 
I will google it as you suggest

 
> There's only a small rub that since about 2.2.6 there
> are 2 nasty little bugs in rpcclient utility which
> make it impossible in most cases to use the automagic
> way. There is a fix but it was only checked into 
> 3.betas so you need to apply the fix to sources and
> build samba if you want to use samba as printer server.
> You can find the patch file as attachment #62 to bug
> #82 at the following URL:
> 
> https://bugzilla.samba.org/show_bug.cgi?id=82
> 
> 

I will bear that in mind - I think for the moment I will stick to  a manual
install of drivers - we only have 5 clients (incl win98, winXP and wfw3.11)
and I'm used to doing manual installations of drivers when they all used
to print to the XP machine.

again, thank you lots, and apologies for not consulting the HOWTO first...
matt

> 
> 
> Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
> http://login.mail.lycos.com/r/referral?aid=27005
> 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.510 / Virus Database: 307 - Release Date: 14/08/2003
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Error mounting Win2K share on Debian box

2003-08-16 Thread Joel Hammer
You have gotten no replies, so I'll guess.
Maybe the space and/or the apostrohe are confusing the system.
Joel

On Sat, Aug 16, 2003 at 12:38:31PM -0600, John M. Purser wrote:
> I'm working my through the "The Unofficial Samba HOWTO" but when I tried
> this command:
> 
> mount -t smbfs -o username=fred,password=secret //192.168.1.1/"Perrin's
> Documents" /mnt/smbmnt
> 
> I got this error:
> mount: wrong fs type, bad option, bad superblock on //192.168.1.10/Perrin's
> Documents, or too many mounted file systems
> 
> Here are the smb related lines from my kernel (2.4.20) .config file:
> CONFIG_SMB_FS=y
> CONFIG_SMB_NLS_DEFAULT=y
> CONFIG_SMB_NLS_REMOTE="cp437"
> 
> I don't even have the cdrom mounted so I'm discounting the possibility of
> too many mounte file systems.  What incredibly simple thing am I overlooking
> this time?
> 
> Thanks,
> 
> John Purser
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] usrmgr samba 3 rc1

2003-08-16 Thread rruegner
Hi all,
For my long struggle to take samba working as pdc , and do admin with usrmgr
now useradd do not longer work after the update
userdelete never worked so it is yet...are ther any ideas , is there a signifant 
change to the scripts ( i dont found any in the man)?
in my oppinon this is not a real release if 
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
do not work !
i checked several times my posted bug at bugzilla, but nothing seems to happen, 
special to delete user script which i never saw working
if its invoked from usrmgr

now this works:
add group works
add user to group works
delete user from group works
add machine works

log says
[2003/08/17 01:02:30, 2] lib/access.c:check_access(324)
  Allowed connection from  (10.10.10.3)
[2003/08/17 01:02:30, 0] smbd/service.c:set_admin_user(314)
  root logged in as admin user (root privileges)
[2003/08/17 01:02:30, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2539)
  Returning domain sid for domain LINUX -> S-1-5-21-3599697695-4288381433-1023231007
[2003/08/17 01:02:30, 0] rpc_server/srv_samr_nt.c:_samr_unknown_2d(4291)
  _samr_unknown_2d: Not yet implemented.



here is the tested smb.conf
system ist kernel 2.4.21 suse 8.2
with ext3 acl enabled, samba bin rpm from suses ftp server under people gd 

# Global parameters
[global]
netbios name = linux
large readwrite = yes
dos charset = ISO8859-15
unix charset = CP850
display charset = CP850
workgroup = LINUX
interfaces = lo, eth0
bind interfaces only = Yes
server schannel = Yes
passdb backend = smbpasswd:/etc/samba/smbpasswd, guest
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *password* %n\n *password* %n\n *changed*
username map = /etc/samba/smbusers
unix password sync = Yes
log level = 2
syslog = 0
log file = /var/log/samba/%m
name resolve order = wins bcast hosts
time server = Yes
keepalive = 255
socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=8192 SO_RCVBUF=8192
load printers = No
printcap name = cups
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd -r %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/bin/gpasswd -a %u %g
delete user from group script = /usr/bin/gpasswd -d %u %g
set primary group script = /usr/sbin/usermod -g '%g' '%u'
add machine script = /usr/sbin/useradd -g machines -c Machine -d /dev/null -s 
/bin/false %u
shutdown script = /sbin/shutdown
abort shutdown script = /sbin/shutdown -c
logon script = login.bat
logon path = \\linux\profiles\%u
logon drive = Z:
logon home = \\linux\%u
domain logons = Yes
os level = 255
preferred master = Yes
domain master = Yes
wins proxy = Yes
wins support = Yes
ldap ssl = no
add share command = 
/usr/share/doc/packages/samba3/examples/misc/modify_samba_config.pl
change share command = 
/usr/share/doc/packages/samba3/examples/misc/modify_samba_config.pl
delete share command = 
/usr/share/doc/packages/samba3/examples/misc/modify_samba_config.pl
utmp = Yes
host msdfs = Yes
idmap uid = 15000-2
 hosts allow = 127., 10.10.10.
use sendfile = Yes
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
nt acl support = yes
locking = No
oplocks = No
level2 oplocks = No
posix locking = No
  admin users = root
 [homes]
comment = Home Directories
read only = No
create mask = 0640
directory mask = 0750
browseable = No
blocking locks = No
csc policy = disable
locking = No
oplocks = No
level2 oplocks = No
posix locking = No
strict locking = No
share modes = No

[netlogon]
comment = Netlogon Share
path = /var/lib/samba/netlogon
write list = root
guest ok = Yes
nt acl support = No
browseable = No
blocking locks = No
csc policy = disable
locking = No
oplocks = No
level2 oplocks = No
posix locking = No
strict locking = No
share modes = No
[profiles]
comment = Roaming Profile Share
path = /var/lib/samba/profiles
read only = No
create mask = 0600
directory mask = 0700
nt acl support = no
blocking locks = No
csc policy = disable
locking = No
oplocks = No
level2 oplocks = No
posix locking = No
strict locking = No
share modes = No
browseable = No
profile acls = Yes


--
To unsubscribe from this li

[Samba] Prompt Windows User for Password Change

2003-08-16 Thread Danny Bradley
I want to create a script which runs each time a user logs on, as well as periodically 
via a cron, that opens a window on the user's XP computer to prompt him to change his 
password, if needed.  I already know that password changes can be made either with PAM 
or by a user taking the initiative to press Ctl-alt-del to change a password (assuming 
Unix password sync is turned on).  But, I want to issue the prompt and have the user 
to be forced to respond to it before proceeding with anything else in Windows.  Of 
course, once the user responds, both Samba and Linux passwords need to be changed in 
concert.  So, what is the script; where does it go; what, if anything needs to be done 
in Windows; and, besides the script, what else has to be done?
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Samba vs. Windows : significant differenceintimestamphandling ?

2003-08-16 Thread Dragan Krnic
|> Do you want to say that nobody ever lost any data on
|> ext3-formatted disks? Be realistic.
|>
|> But does it warrant my exhortation to stay away from
|> it? Probably not. It was a joke without a smiley 
|> sign. ext3 is probably a solid, though a bit clumsy 
|> and slow fs.
|>
|> I appreciate your criticism. I jumped the same way
|> when someone else used the same kind of FUD about
|> reiserfs which I would always recommend over all 
|> other.
|
| Agreed,, ext3 is used in lots of situations where 
| Reiser would probably be a better choice
|
| As for nobody loosing data,,, I don't really think 
| it matters what Filesystem you have if your system 
| decides to stick random bits on the hard drive.  
| Staying away from any of them won't help much.

Yes, it's an fs-neutral kind of problem but there are
ways to minimize its impact. My production system is 
an expensive SCSI RAID system but I keep a day-old 
copy of it on another identically setup box, except 
that the disks are lowly IDEs strapped together with 
LVM (2-3 times faster than RAID, it restores a tarball
faster than RAID can make it). If something happens to 
the production server the backup server can take over 
in minutes. 



Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Samba vs. Windows : significant difference intimestamphandling?

2003-08-16 Thread Dragan Krnic
>> > I thought that there were no differences in the 
>> > way of using access times between all linux 
>> > native filesystems (ext2/3, reiser, xfs, jfs).
>>
>> There shouldn't be any differences. The difference 
>> pops up when a 3d party software like Office joins 
>> the game.
>
> I do not believe this! I looked into samba sources 
> and didn't find any way how client (i.e. Windows + 
> Office) could see different filesystem, there is no 
> API which would make this possibe.
> 
> But I do not know samba sources well, so it's quite 
> possible I'm wrong. I'll do the tests.

You can use filemon.exe to see what Windows do. It
provides more succinct overview of the interplay than
high level samba logs.



Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] SAMBA 3.0.0 RC1 - error while loading shared libraries:unexpected reloc type 0x80

2003-08-16 Thread Eddie Lania
Hello all,

 I downloaded, compiled and installed the new samba version today.
When everything was in place I tried to start it up the first time but it
failed leaving the next message on the screen:

Starting SMB services: /usr/local/samba/bin/smbd: error while loading shared
libraries: unexpected reloc type 0x80

What I am doing wrong?

Compiled with options:
./configure --sbindir=/usr/local/samba/bin --with-logfilebase=/var/log/samba
 --with-smbmount --with-pam --with-acl-support

RedHat version 7.0
gcc version 2.96 2731 (Red Hat Linux 7.1 2.96-85)

Kind regards,

Eddie Lania.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: CUPS/Printing

2003-08-16 Thread Dragan Krnic
| RH Linux 9 on AMD k6-2 500
| Using HP deskjet 930c on USB
| Samba version: 2.2.7a
| cups version: 1.1.18
|
| 1. Am I correct is assuming that CUPS only likes 
| postscript, and to print to a non postscript printer
| you have to use filters?

No. CUPS needs filter for PS printers too, unless the
file to be printed is a .ps file. Perhaps even then
there is a ps2ps filter, I'm not sure.

| 2. I have set up my HP deskjet 930c on RedHat 9 with 
| cups. It prints just fine. However I cannot use the
| share from Windows machines using a 930c driver. I 
| get this error in the cups error log:
| E [14/Aug/2003:00:20:24 +0100] print_job: 
|Unsupported format 'application/octet-stream'!
| I [14/Aug/2003:00:20:24 +0100] Hint: 
|Do you have the raw file printing rules enabled?

If you look up the files mime.convs and mime.types in
/etc/cups, you'll find out that the lines beginning w/

  #application/octet-stream ...

have to be uncommented so that you don't need to 
specify -oraw in the print command.

| So, is enabling raw printing a good idea, and if so -
| how do I do it (for ALL jobs) 

I guess uncommenting those lines solves your problem.

| Using a lower driver such as deskjet 560c or digital 
| turboserver 20 (a postscript driver) works fine (but 
| for obvious reasons this is not ideal). Selecting 
| "print directly to the printer(raw)" in windows 
| gives the same error (I didnt expect that to work)

ditto

| 3. I've read a lot about people enabling 
| autodownload of drivers and the many problems they 
| are having. I'm afraid I don't properly understand 
| the concept. Are these just normal Windows drivers? 

Yes. They're to be put in a drivers depot just like 
the PRINT$ share on a Windows box and then clients just
pick them up when they connect the printer.

| If so what would be the point for me as the 930c 
| drivers don't work. 

It works, but don't let your samba server do the work
that every client can. Put 930c drivers in PRINT$ and
open up application/octet filter so your CUPS just
passes the raw bytes to the printer.

| OR
| Are there special CUPS windows drivers that know how 
| to send something that is 930c ish but not an octet 
| stream. I've read references to installing special 
| drivers in windows but I haven't understood what is 
| going on.

You haven't read Kurt Pfeifle's excellent HOWTO on 
CUPS, Samba and Windows, have you? Google it up.

| Apologies if these questions sound stupid - I have 
| included below the top bit of my deskjet.ppd file
| that I think Red Hat has generated. This 
| (apparently) provides lots of info on the ppd in use 
| and printer languages and so on.

Yes but you don't really need it. It's fine for Linux
users. For Windows boxen you either install the
drivers on each client separately and specify them as
THE drivers when you connect the printer or you dig a
little into docs and install the Windows drivers in
the PRINT$ share and let the clients automatically
and transparently pick them up at connection time.

There's only a small rub that since about 2.2.6 there
are 2 nasty little bugs in rpcclient utility which
make it impossible in most cases to use the automagic
way. There is a fix but it was only checked into 
3.betas so you need to apply the fix to sources and
build samba if you want to use samba as printer server.
You can find the patch file as attachment #62 to bug
#82 at the following URL:

https://bugzilla.samba.org/show_bug.cgi?id=82




Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Error mounting Win2K share on Debian box

2003-08-16 Thread John M. Purser
I'm working my through the "The Unofficial Samba HOWTO" but when I tried
this command:

mount -t smbfs -o username=fred,password=secret //192.168.1.1/"Perrin's
Documents" /mnt/smbmnt

I got this error:
mount: wrong fs type, bad option, bad superblock on //192.168.1.10/Perrin's
Documents, or too many mounted file systems

Here are the smb related lines from my kernel (2.4.20) .config file:
CONFIG_SMB_FS=y
CONFIG_SMB_NLS_DEFAULT=y
CONFIG_SMB_NLS_REMOTE="cp437"

I don't even have the cdrom mounted so I'm discounting the possibility of
too many mounte file systems.  What incredibly simple thing am I overlooking
this time?

Thanks,

John Purser


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] yerli kaliteyi al, issizlik azalsin!

2003-08-16 Thread yabanci mal almiyorum
İŞSİZ KALMAMAK İÇİN 
İŞSİZLERE İŞ SAĞLANMASI İÇİN
TÜRKİYE?NİN KAMPANYASI?NA KATIL!
--
 

YERLİ KALİTEYİ AL!

yatırımlar çoğalsın

İŞSİZLİK AZALSIN!



YABANCI MALI ALMA! İŞSİZ KALMA!

1 milyon 200 bin işyeri kapandı, 
9 milyon meslek sahibi insanımız işsiz kaldı!
Bugün ülkemizde sanayide ve iş hayatında 
-iş bilmezlikten ya da kişisel beceriksizlikten kaynaklanmayan- 
seri iflaslarla işyerleri kapanıyor. 
Açık işletmeler ise sürekli küçülüyor, işçi çıkarıyor. 


HER 6.500 DOLARA 1 İŞSİZ!

Tüketim malları ithalatına giden her 6 bin 500 dolar, 
Türkiye?de 1 kişiyi işsiz bırakıyor. 
Son dört yıldaki 60 milyar dolarlık ithalat yerine 
9 milyon kişiye iş sağlayabilirdik!
 

İŞSİZLİĞİ KENDİ ELLERİNLE BÜYÜTME!

Azalan yatırım, çoğalan işsizliktir.
Kaliteli yerlisi varken, yabancısını tercih etmek, zaten kıt olan paranın
dışarı gitmesine yol açmakta, yatırımları azaltmaktadır. 
Bugün Türkiye?de pek çok ürün, dünya standartlarında üretilmektedir.
Türkiye kaliteyi yakalamıştır! 


YERLİ KALİTEYİ AL!

İşçiye ücret, memura maaş olsun! 
Okul olsun, yol olsun, hizmet olsun! 
İşsizlerimize iş, bebelerimize aş olsun!

 
---
Kampanyanın gerekçeleri ve destekleyenlerin listesi

www.YABANCI-MAL-ALMIYORUM.com ?dadır. 

(Bu ileti 6 milyon Türk İnternet kullanıcısına gönderildi;
kampanya, 300.000 bin yerli üreticiye, sanayi ve ticaret odalarına,
odalara ve birliklere, dört işçi konfederasyonuna, sendikalarına,
şubelerine, derneklere ve üniversitelere duyuruldu.) 
---
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Samba vs. Windows : significant difference intimestamphandling?

2003-08-16 Thread Honza Houstek
> > Quite interesting. Can you describe any particular case of a different
> > behavior (samba + ext2 vs. samba + reiser)? I really wonder where the
> > roots of such differences are.
>
> Sorry to disappoint you, Honza. After I evaluated the major linux fs's I
> selected reiserfs and used it ever since.

OK. I will do some tests myself.

> It just happens that the owner of this thread described a behaviour of
> Office software which I couldn't confirm on my own system. Since the
> only difference was the kind of fs I assumed that perhaps Office treats
> reiserfs slightly different than ext3.

[...]

> > I thought that there were no differences in the way of using access
> > times between all linux native filesystems (ext2/3, reiser, xfs, jfs).
>
> There shouldn't be any differences. The difference pops up when a 3d
> party software like Office joins the game.

I do not believe this! I looked into samba sources and didn't find any way
how client (i.e. Windows + Office) could see different filesystem, there
is no API which would make this possibe.

But I do not know samba sources well, so it's quite possible I'm wrong.
I'll do the tests.

-- Honza Houstek
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] update: Win2kPro's TCP/IP Stack is crippled!

2003-08-16 Thread Andrew Kohlsmith
I've been doing some testing between Windows 2000 Pro (SP4) and Windows 2000 
Server (no SP and SP4) -- specifcally testing file transfers from a Samba 
2.2.8a server.

Samba server:  P4/2.2GHz, ServerWorks chipset, SCSI UW2 disk subsystem 
(Bonnie++ tested to 35MB/sec), 3Com (acenic) gigabit ethernet

Win2kPro: P3/700, 3Com Vortex 100mbit network card

Win2kServer: P3/800, 3Com Vortex 100mbit network card

Switch: Baystack 350-24T with fiber gigabit module

No registry hacking done to either client (and in previous testing, no 
amount of TCP/IP hacking on Win2kPro helped)

Samba config file changes:
   socket options = TCP_NODELAY SO_SNDBUF=65536 SO_RCVBUF=65536
   max xmit = 65536
   read size = 65536
   getwd cache = Yes
   locking = Yes

The various shares have "use sendfile = yes"

Initial testing shows that the Windows 2000 Server stack is almost _twice_ 
as fast as the Windows 2000 Pro stack.  It's unbelievable that Microsoft 
would cripple their product this way.

One of the test runs is available at 
http://www.mixdown.ca/~andrew/win2ks-win2kp.png.  There are three 
transfers.  Ignore the first.  The second is an ~1.3GB transfer from Samba 
to Win2kServer, and the third is the same transfer but to Win2kPro.  I have 
never been able to get Win2kPro to go faster than what is shown there.

Any hints or tips or comments are welcome.

Regards,
Andrew
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Install 2.2.8a

2003-08-16 Thread Joachim Adami
Hello!
In the Samba network!

How can I install Samba 2.2.8a?

I have two different  SuSE Distributions
SuSE 7.2 professional
and
SuSE 8.1 professional

The following files are in the Folder "/home/samba"

For SuSE 8.1 professional
libsmbclient-2.2.8a-34.i586.rpm  libsmbclient-devel-2.2.8a-34.i586.rpm
samba-2.2.8a-34.i586.rpm  samba-client-2.2.8a-34.i586.rpm
samba-doc-2.2.8a-34.i586.rpm   samba-vscan-0.3.2a-80.i586.rpm

For SuSE 7.2 professional
libsmbclient-2.2.8a-34.i386.rpm  libsmbclient-devel-2.2.8a-34.i386.rpm
samba-2.2.8a-34.i386.rpm  samba-client-2.2.8a-34.i386.rpm
samba-doc-2.2.8a-34.i386.rpm  samba-vscan-0.3.2a-80.i386.rpm

All with  root rights.

Execute the installation as root

rpm - U samba-2.2.8a-43.i586.rpm

does not function
just as not

rpm - U samba-doc-2.2.8a-34.i586.rpm

here  rmp  complains about already existing files of the preceding version.

Also the installation processes in the KDE Filemanager does not function.
Yast2 search theInstallafiles of the preceding version on the
SuSE Linux Cd - ROM 2 and installs these then.

How does it go  without problems?

Sincerely

Albrecht


Und nun das gleiche in Deutsch

Hallo Ihr im Samba Netz!

Wie kann ich Samba 2.2.8a installieren?

Ich habe zwei verschiedene Suse Distributionen
Suse 7.2 Professional
und
Suse 8.1 Professional

Mir stehen die folgenden Dateien im Verzeichnis '/home/Samba'
zur verfügung:
Für Suse 8.1 Professional
libsmbclient-2.2.8a-34.i586.rpm  libsmbclient-devel-2.2.8a-34.i586.rpm
samba-2.2.8a-34.i586.rpm  samba-client-2.2.8a-34.i586.rpm
samba-doc-2.2.8a-34.i586.rpm  samba-vscan-0.3.2a-80.i586.rpm

Fuer Suse 7.2 Professional das gleiche aber mit i386.rpm
libsmbclient-2.2.8a-34.i386.rpm  libsmbclient-devel-2.2.8a-34.i386.rpm
samba-2.2.8a-34.i386.rpm  samba-client-2.2.8a-34.i386.rpm
samba-doc-2.2.8a-34.i386.rpm  samba-vscan-0.3.2a-80.i386.rpm

Alle mit root Rechten. Ausführen der Installation mit root Rechten

rpm -U samba-2.2.8a-43.i586.rpm

funktioniert nicht
genauso nicht

rpm -U samba-doc-2.2.8a-34.i586.rpm

hier beschwert sich rmp ueber schon existierende Dateien
der vorhergehenden Version.

Auch mit mit dem Installations Verfahren im KDE Dateimanager geht es nicht.

Yast2 such die Installationsdateien der vorhergehenden Version
dann auf der CD-ROM 2 und installiert diese dann.

Wie geht es richtig ohne Probleme?

Mit freundlichen Grüßen

Albrecht

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] name resolution wins or dns

2003-08-16 Thread Richard Coates
after seeing recent questions on Wins, I pondered the alternative. A lan
based distributed Dns ala microsoft. Why would you bother when Wins
works great? well on a segmented network Wins is only as reliable as the
router/(vpn for us) link. Anybody using recent dhcpd and bind or
alternatives care to share?

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Report: NT4PDC to Samba3beta3 working

2003-08-16 Thread Nick 'Zaf' Clifford
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Heyya all.

I have posted here in the last few weeks with various questions regarding 
samba 3, so I thought you'd all like to know, i've got it working.
The setup is:
Samba 3.0beta3 running on a Debian Woody box (with a few tools backported from 
testing)
with an LDAP backend (OpenLDAP 2.1)
Samba is setup:
* with posix file attributes (see http://acl.bestbits.at)
* as a Primary Domain controller.

I pulled all the user accounts and group accounts accross and kept the same 
password, etc.

The only thing I couldn't do was carry the files accross with the right acl 
entries. (I tried with windows (using scopy), but got access denied 
errors(?!), and couldn't find a linux tool for it).

I will try and produce a document discussing all the things I found later, but 
for now, here is a brief overview of the procedure.

Compiled samba 3.0 using debian package scripts (bug: There is a makefile 
patch that needs to be deleted first)
Backported OpenLDAP latest to woody.
Setup LDAP authentication (eg pulled all the user/groups into ldap using padl 
tools, nsswitch, pam, etc).
Configured samba to use the ldap server (another bug I noticed further on was 
a problem with 'ldap group suffix', it works better if you leave it blank).
During this whole time, I spent quite a bit of it with high debug levels, and 
looking through logs, its not for the faint of heart).
The biggest problem I had was the 'net' tool crashing, turned out (see 
https://bugzilla.samba.org/show_bug.cgi?id=278) after a long time spent 
learning the samba source, debugging, etc, that the 'ldap group suffix' needs 
to be nothing.
I'm not sure why that was.

Anyway, after playing around a bit with some manually created accounts, I 
setup the "add user script", "add group script", "add machine script", and 
"add user to group script".
(I custom wrote those scripts, what most of them do is call adduser/addgroup 
with sane settings).
(btw - I got a ldap enabled adduser for debian from someone who's name escapes 
me.. if you hunt through debians BTS, you'll find someone talking about it, 
he has it).

The "add group script" script was written in perl, and took the windows 
requested group name (eg "My Users Group_This is the one!" (which unix would 
throw a fit over if you tried to create a group with that name)), and "safed" 
it. (coverted to lowercase, replaced spaces, underscores, etc, with dashes).

Once I had all the scripts working, and I could use windows's usrmgr.exe 
program to add/remove/alter users and groups without problem, then had some 
fun pulling the user/group lists from the old NT4PDC.
(another bug to note: For some reason, I can add and remove users from groups 
in usrmgr.exe under the User properties, but if I bring up a groups 
properties, and try to add/remove a user from the group, it fails. Never did 
find out why, didn't really need to).
First, I added the samba server as a BDC,
then found the NT4's sid (as per the migration documentation), and then I 
_ALTERED_ my samba's sid to be that. Rather crudly, I dumped the ldap 
database to a ldif file, the sed 's/samba_sid/nts_sid/g' < ldap.ldif > 
new.ldif
Hey, it worked. (I think I needed to redo smbpasswd -w ).
Then I did the net vampire bit... Wow that was fun.
Many errors came up, but after investigating each of them, I either determined 
that they were harmless, or I fixed them.
(btw - I found its perfectly safe to vampire the user/groups over and over 
again till you get it right).
After that, another  dump of the ldif, and a quick fiddle with sed/perl/grep, 
etc.

In the end, I got it working... finally.
Oh, and samba3 with posix acls works like a dream. Users can use the ACL lists 
in windows with very few problems, and generally don't notice anything 
different from NT4).

It took the better part of 2 weeks of work to get it fully working.
Admitadly, I have a rather custom setup, so that plays a part in it.
My experience before this trial: I am/was a coder, and have messed with large 
programs before, debugged, etc, and consider myself pretty good at coding and 
debugging. So if you can't code, I would advise caution before attempting 
something like my experience. I frequently used the samba source to answer 
questions where the documenation failed, or to figure out why samba was 
reporting various things in the log.

If anyone would like any of the tools/scripts I mentioned, please feel free to 
send me an email, however it will take a few days to get organized enough to 
send the tools/scripts.
I will also CONSIDER posting my smb.conf and ldap servers .ldif dump, but they 
will be heavily editted for security reasons.

If anyone has any questions of me, please remember a few things:
1) I'm not a samba developer, I don't even play one on TV.
2) Your questions will, I'm afraid, be a low priority for me. I have a very 
busy work schedule, so you may not get responses back for awhile, however, I 
will try my best, especially if

Samba-3.0.0 RC1 available for download [was Re: [Samba] (no subject)]

2003-08-16 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sorry.  Subject was in the wrong field

On Sat, 16 Aug 2003, Gerald (Jerry) Carter wrote:

> The Samba Team is proud to announce the availability of the 
> first release candidate of the Samba 3.0.0 code base.  A release 
> candidate implies that the code is very close to a final release, 
> but remember that this is still a non-production snapshot intended 
> for testing purposes. Use at your own risk.
> 
> One of the main additions in this release is the inclusion
> of stable support for both client and server SMB signing.
> 
> The source code can be downloaded from :
> 
> http://download.samba.org/samba/ftp/rc/
> 
> The uncompressed tarball and patch file have been signed
> using GnuPG.  The Samba public key is available at
> 
> http://download.samba.org/samba/ftp/samba-pubkey.asc
> 
> Binary packages will be available soon at
> 
> http://download.samba.org/samba/ftp/Binary_Packages/
> 
> A simplified version of the CVS log of updates since 3.0.0beta3
> can be found in the the download directory under the name
> ChangeLog-3.0.0beta3-3.0.0rc1.  The Release Notes are available
> on-line at
> 
> http://www.samba.org/samba/whatsnew/samba-3.0.0rc1.html
> 
> Please file any bugs you find in this release at 
> 
> https://bugzilla.samba.org/
> 
> As always, all bugs are our responsibility.
>   
>   --Enjoy
>   The Samba Team
> 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE/Pdx8IR7qMdg1EfYRAk8cAKDfew8b8oZXQVs5zY3zpfqSGNYWNQCfQKn4
giiGPIp00nyFNIfMdjI9Q0Q=
=oLMb
-END PGP SIGNATURE-

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba