[Samba] SAMBA3.0.0 ADS SETUP

2003-06-29 Thread Talwar, Puneet (NIH/NIAID)
HI,
 
I would like to know some peoples experience on samba authentication against
ADS and if so how was the setup procedure and did the authentication part of
mechanism work that way you wanted it to?
 
Thanks,
 
Puneet
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Drive letter map to Samba using ssh or scp?

2003-06-29 Thread Mark Suter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jonathan,

 Shouldn't there be someway of using SSH or SCP to transparently
 connect to a Samba share, and have the share appear as a drive
 letter?

Yes, there should be.

http://ibiblio.org/gferg/ldp/Samba-with-SSH/

Yours sincerely,

- -- Mark Suter [EMAIL PROTECTED] | I have often regretted my
Miju Systems - http://www.miju.com.au/ | speech, never my silence.
mobile 0411 262 316 gnupg key 2C71D63D | Xenocrates (396-314 B.C.)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Check Keyservers or http://zwitterion.org/keys/

iD8DBQE+/pRJRYso2ixx1j0RAuAvAJ9+smVTM9estX61uVzbkbj3gyR2CgCfeZZ9
uFVOuKtLftDYMFAL1CLm4+E=
=2Vhf
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: win2000 service pack 4 - samba 2.2.2

2003-06-29 Thread Angel Chiou
  At 5pm today, we had an individual notify me that their 'profile' no
  longer was
 accessible from the samba server (solaris 8 , smb 2.2.2). The person just
 had their laptop reimaged and the new M$ service-pack 4 was installed on
 it. They can access their 'home directory' just not the profile one. Error
 is concerning the user not having access, versus rights. I installed the
 service pack on my w2k machine and chmod 777 my profile directory as
 well...same error. Defaults to the local profile instead.
 
  Note, the samba server reflects samba_server_hostname\username when
  looking
 at the permessions from windows. We also found out that the migrate
 win2kAD accounts needed their profile directories on a windows machines to
 be changed as well...they use to be, nt4_domainname\username. Had to
 change take control of the directory, therefore making the perms
 win2k_ad\username. This then worked. Sorry if I didn't explain this
 well.
 
  I'm not at work now, I can forward more details after dinner if needed.
 
 Thanks for any help or confirmation that SP4 is a problem,
 Adam Cody

I installed SP4 on to different boxes. Users can't load their profiles 
anymore either. I'm using Debian 2.2  Samba 2.2.8a. Could you please 
explain clearly how you solved the problem.

Thanks for any help.

Angel Chiou

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


[Samba] rpcclient returns NT_STATUS_NO_SUCH_DEVICE on adddriver

2003-06-29 Thread Damien Bonvillain

Hi,
samba 2.2.8a freshly compiled
cups 1.1.19final-1 (debian)

while using cupsaddsmb, all runs well until adddriver, when rpcclient
returns a cryptic NT_STATUS_NO_SUCH_DEVICE. I've followed the
SambaPrintHowto 3.0 from 7.11.6.1 to 7.11.6.6, and it fails on the
latest as well.

Here is some more information.

===8===
cupsaddsmb -a -v
Running command: smbclient //localhost/print\$ -N -U'root%password' -c 'mkdir 
W32X86;put
/var/spool/cups/tmp/3efe4c625dcc2 W32X86/MomijiPrintingSystem.ppd;put
/usr/share/cups/drivers/cupsdrvr.dll W32X86/cupsdrvr.dll;put
/usr/share/cups/drivers/cupsui.dll W32X86/cupsui.dll;put 
/usr/share/cups/drivers/cups.hlp
W32X86/cups.hlp'
added interface ip=192.168.0.6 bcast=192.168.0.255 nmask=255.255.255.0
Domain=[NAVI] OS=[Unix] Server=[Samba 2.2.8a]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
putting file /var/spool/cups/tmp/3efe4c625dcc2 as \W32X86/MomijiPrintingSystem.ppd 
(633.6
kb/s) (average 633.6 kb/s)
putting file /usr/share/cups/drivers/cupsdrvr.dll as \W32X86/cupsdrvr.dll (1599.1 kb/s)
(average 1350.4 kb/s)
putting file /usr/share/cups/drivers/cupsui.dll as \W32X86/cupsui.dll (1786.3 kb/s)
(average 1498.6 kb/s)
putting file /usr/share/cups/drivers/cups.hlp as \W32X86/cups.hlp (731.6 kb/s) (average
1458.8 kb/s)

Running command: rpcclient localhost -N -U'root%password' -c 'adddriver Windows NT 
x86
MomijiPrintingSystem:cupsdrvr.dll:MomijiPrintingSystem.ppd:cupsui.dll:cups.hlp:NULL:RAW:N
ULL'
INFO: Debug class all level = 3   (pid 20372 from pid 20372)
session setup ok
Domain=[NAVI] OS=[Unix] Server=[Samba 2.2.8a]
cmd = adddriver Windows NT x86
MomijiPrintingSystem:cupsdrvr.dll:MomijiPrintingSystem.ppd:cupsui.dll:cups.hlp:NULL:RAW:N
ULL
adddriver Windows NT x86
MomijiPrintingSystem:cupsdrvr.dll:MomijiPrintingSystem.ppd:cupsui.dll:cups.hlp:NULL:RAW:N
ULL
result was NT_STATUS_NO_SUCH_DEVICE

Running command: smbclient //localhost/print\$ -N -U'root%password' -c 'mkdir WIN40;put
/var/spool/cups/tmp/3efe4c625dcc2 WIN40/MomijiPrintingSystem.PPD;put
/usr/share/cups/drivers/ADFONTS.MFM WIN40/ADFONTS.MFM;put
/usr/share/cups/drivers/ADOBEPS4.DRV WIN40/ADOBEPS4.DRV;put
/usr/share/cups/drivers/ADOBEPS4.HLP WIN40/ADOBEPS4.HLP;put
/usr/share/cups/drivers/DEFPRTR2.PPD WIN40/DEFPRTR2.PPD;put
/usr/share/cups/drivers/ICONLIB.DLL WIN40/ICONLIB.DLL;put
/usr/share/cups/drivers/PSMON.DLL WIN40/PSMON.DLL;'
added interface ip=192.168.0.6 bcast=192.168.0.255 nmask=255.255.255.0
Domain=[NAVI] OS=[Unix] Server=[Samba 2.2.8a]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \WIN40
putting file /var/spool/cups/tmp/3efe4c625dcc2 as \WIN40/MomijiPrintingSystem.PPD 
(644.5
kb/s) (average 644.5 kb/s)
putting file /usr/share/cups/drivers/ADFONTS.MFM as \WIN40/ADFONTS.MFM (1813.2 kb/s)
(average 1629.0 kb/s)
putting file /usr/share/cups/drivers/ADOBEPS4.DRV as \WIN40/ADOBEPS4.DRV (2012.0 kb/s)
(average 1870.7 kb/s)
putting file /usr/share/cups/drivers/ADOBEPS4.HLP as \WIN40/ADOBEPS4.HLP (1799.0 kb/s)
(average 1863.0 kb/s)
putting file /usr/share/cups/drivers/DEFPRTR2.PPD as \WIN40/DEFPRTR2.PPD (692.3 kb/s)
(average 1843.5 kb/s)
putting file /usr/share/cups/drivers/ICONLIB.DLL as \WIN40/ICONLIB.DLL (1648.0 kb/s)
(average 1832.1 kb/s)
putting file /usr/share/cups/drivers/PSMON.DLL as \WIN40/PSMON.DLL (1435.9 kb/s) 
(average
1819.7 kb/s)

Running command: rpcclient localhost -N -U'root%password' -c 'adddriver Windows 4.0
MomijiPrintingSystem:ADOBEPS4.DRV:MomijiPrintingSystem.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RA
W:ADOBEPS4.DRV,MomijiPrintingSystem.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFPRTR2.PPD,IC
ONLIB.DLL'
INFO: Debug class all level = 3   (pid 20376 from pid 20376)
session setup ok
Domain=[NAVI] OS=[Unix] Server=[Samba 2.2.8a]
cmd = adddriver Windows 4.0
MomijiPrintingSystem:ADOBEPS4.DRV:MomijiPrintingSystem.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RA
W:ADOBEPS4.DRV,MomijiPrintingSystem.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFPRTR2.PPD,IC
ONLIB.DLL
adddriver Windows 4.0
MomijiPrintingSystem:ADOBEPS4.DRV:MomijiPrintingSystem.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RA
W:ADOBEPS4.DRV,MomijiPrintingSystem.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFPRTR2.PPD,IC
ONLIB.DLL
result was NT_STATUS_NO_SUCH_DEVICE

Running command: rpcclient localhost -N -U'root%password' -c 'setdriver
MomijiPrintingSystem MomijiPrintingSystem'
INFO: Debug class all level = 3   (pid 20378 from pid 20378)
session setup ok
Domain=[NAVI] OS=[Unix] Server=[Samba 2.2.8a]
cmd = setdriver MomijiPrintingSystem MomijiPrintingSystem
setdriver MomijiPrintingSystem MomijiPrintingSystem
SetPrinter call failed!
result was NT_STATUS_ACCESS_DENIED
===8===

===8===
/etc/samba/smb.conf
# Global parameters
[global]
workgroup = NAVI
server string = %h server (Samba %v)
security = SHARE
encrypt passwords = true
obey pam restrictions = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:*
%n\n .
log level = 3

[Samba] Illegal attachment type found in sent message Re:Application

2003-06-29 Thread System Anti-Virus Administrator
Attention: [EMAIL PROTECTED].


A Illegal attachment type was found in an Email message you sent. 
This Email scanner intercepted it and stopped the entire message
reaching it's destination. 

The Illegal attachment type was reported to be: 

PIF attachments disallowed


Please contact your I.T support personnel with any queries regarding this 
policy.


Your message was sent with the following envelope:

MAIL FROM: [EMAIL PROTECTED]
RCPT TO:   [EMAIL PROTECTED] 

... and with the following headers:

From:[EMAIL PROTECTED]
To:  [EMAIL PROTECTED]
Subject: Re: Application
Date:Sun, 29 Jun 2003 20:08:24 +0800



The original message is kept in:

  apollo.lineo.com:/var/spool/qmailscan/quarantine

where the System Anti-Virus Administrator can further diagnose it.

The Email scanner reported the following when it scanned that message:

--- 

---perlscanner results ---
Illegal attachment type 'PIF attachments disallowed' found in file 
/var/spool/qmailscan/apollo.lineo.com105688822440815691/details.pif
---
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Prob configuring Samba / Ldap an PDC

2003-06-29 Thread Robert Einsle
Hy all

I installed samba with ldapsam-backand acting as an Windows Server but i 
was not able to windiws 2k Workstations joining the Domain.

I added the Computername with an $ apended to the ldap-passworddir, i 
let run smbpasswd -m -a elli, but i cannot add the Computer to the Domain.

The smb.conf:

--- cut ---
[global]
   workgroup = EINSLE
   netbios name = SRV01
   server string = %h server (Samba %v)
   load printers = yes
   printing = cups
   log file = /var/log/samba/log.%m
   log level = 1
   max log size = 1000
   syslog = 0
   security = user
   encrypt passwords = yes
   #passwd program = /usr/local/sbin/smbldap-passwd.pl -o %u
   #passwd chat = *new*password* %n\n *new*password* %n\n *successfully*
   unix password sync = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   local master = yes
   os level = 60
   domain master = yes
   preferred master = False
   wins support = yes
   dns proxy = no
   name resolve order = lmhosts host wins bcast
   preserve case = yes
   short preserve case = yes
   unix password sync = false
   obey pam restrictions = yes
   template shell = /bin/bash
   create mask = 0777
   directory mask = 0777
   domain logons = yes
   passdb backend = ldapsam:ldap://ldap.pfronten.einsle.de:389
   ldap admin dn = cn=admin,dc=pfronten,dc=einsle,dc=de
   ldap suffix = dc=pfronten,dc=einsle,dc=de
--- cut ---
With normal W2k Workstations i'm able to work, but i want to add them to 
the Domain.

I'm working with debian sid, openldap 2.1.21, samba 3 beta1.

net groupmap is working, usermanagement too.

Any hints??

\Robert

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


Re: [Samba] Help please, samba IPv6 support?

2003-06-29 Thread Andrew Bartlett
On Sun, 2003-06-29 at 03:37, [EMAIL PROTECTED] wrote:
 Hi guys
 
 I really need to know if samba have a version with native IPv6 support.
 
 I have tried the patch present in http://v6web.litech.org/samba/ but it seams
 that doesnt works. For example, the smbclient dont understand ipv6 addresses and
 when connecting to machines with ipv6, doesnt detect the ipv6 addresses in 445 port.

I've taken an interest in the IPv6 patches before, but until I can work
with a developer who both understands the full complexities of doing
IPv6 portably, and who has access to a Microsoft implementation, there
is little point.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] rpcclient returns NT_STATUS_NO_SUCH_DEVICE on adddriver

2003-06-29 Thread Kurt Pfeifle
Damien Bonvillain kame at cinemasie.com

Sun Jun 29 13:25:51 GMT 2003

Hi,
samba 2.2.8a freshly compiled
cups 1.1.19final-1 (debian)
while using cupsaddsmb, all runs well until adddriver, when rpcclient
returns a cryptic NT_STATUS_NO_SUCH_DEVICE. I've followed the
SambaPrintHowto 3.0 from 7.11.6.1 to 7.11.6.6, 
Read 8.5 too...

Also, 7.11.6 is describing the pure commandline installation of
the driver files using smbclient and rpcclient. Your quotes below
show your usage of cupsaddsmb, which is discussed in 7.10.x
and it fails on the
latest as well.
Here is some more information.

===8===
cupsaddsmb -a -v
[]

Running command: rpcclient localhost -N -U'root%password' -c 'adddriver Windows NT 
x86
MomijiPrintingSystem:cupsdrvr.dll:MomijiPrintingSystem.ppd:cupsui.dll:cups.hlp:NULL:RAW:N
ULL'
INFO: Debug class all level = 3   (pid 20372 from pid 20372)
session setup ok
Domain=[NAVI] OS=[Unix] Server=[Samba 2.2.8a]
cmd = adddriver Windows NT x86
MomijiPrintingSystem:cupsdrvr.dll:MomijiPrintingSystem.ppd:cupsui.dll:cups.hlp:NULL:RAW:N
ULL
adddriver Windows NT x86
MomijiPrintingSystem:cupsdrvr.dll:MomijiPrintingSystem.ppd:cupsui.dll:cups.hlp:NULL:RAW:N
ULL
result was NT_STATUS_NO_SUCH_DEVICE
This one is your main problem, part 1.

[]

Running command: rpcclient localhost -N -U'root%password' -c 'adddriver Windows 
4.0
MomijiPrintingSystem:ADOBEPS4.DRV:MomijiPrintingSystem.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RA
W:ADOBEPS4.DRV,MomijiPrintingSystem.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFPRTR2.PPD,IC
ONLIB.DLL'
INFO: Debug class all level = 3   (pid 20376 from pid 20376)
session setup ok
Domain=[NAVI] OS=[Unix] Server=[Samba 2.2.8a]
cmd = adddriver Windows 4.0
MomijiPrintingSystem:ADOBEPS4.DRV:MomijiPrintingSystem.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RA
W:ADOBEPS4.DRV,MomijiPrintingSystem.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFPRTR2.PPD,IC
ONLIB.DLL
adddriver Windows 4.0
MomijiPrintingSystem:ADOBEPS4.DRV:MomijiPrintingSystem.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RA
W:ADOBEPS4.DRV,MomijiPrintingSystem.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFPRTR2.PPD,IC
ONLIB.DLL
result was NT_STATUS_NO_SUCH_DEVICE
This one is your main problem, part 2.

Running command: rpcclient localhost -N -U'root%password' -c 'setdriver
MomijiPrintingSystem MomijiPrintingSystem'
INFO: Debug class all level = 3   (pid 20378 from pid 20378)
session setup ok
Domain=[NAVI] OS=[Unix] Server=[Samba 2.2.8a]
cmd = setdriver MomijiPrintingSystem MomijiPrintingSystem
setdriver MomijiPrintingSystem MomijiPrintingSystem
SetPrinter call failed!
result was NT_STATUS_ACCESS_DENIED
This one is most likely caused by the previous error.

===8===

===8===
/etc/samba/smb.conf
# Global parameters
[global]
workgroup = NAVI
server string = %h server (Samba %v)
security = SHARE
Try security = user...

[]

===8===

I hope somebody can help me, it's been a month I started to try to add this printer :-)

Your log level of 3 should be sufficient to uncover the problem.
Scan the Samba log (probably in /var/log/samba/log.smbd) for *all*
messages occuring during you run cupsaddsmb. You might discover an
access denied or a similar problem
Damien

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


[Samba] Samba 2.2.8a PDC + OpenLDAP + W2k Terminalserver

2003-06-29 Thread Daniel Bramkamp
Hi list,

I am experiecing some problems with a Samba setup acting as a PDC for a
customers network. I am not sure if this is actually a Samba/LDAP issue or if
Windows is to blame here. I did a search on Google but I couldn't find anything
answers.

However, the problems I am experiencing are kind of weird. I joined all the
Windows clients (NT4/W2K) and a Windows 2K terminalserver to the Samba
controlled domain without problems. I created logon scripts and they get
executed just fine on the NT4 clients but not when I logon a user to a
terminalsession. The terminalserver executes the logon script, but complains
about not being able to map the network drivers because the share name could
not be found. When I execute the script after the logon it works just fine. The
other thing is with profiles. I am _not_ using roaming profiles, the profiles
are stored localy on the clients and the w2k terminalserver. When I login user
X in a terminalsession I get the profile of user Y and when I am about to log
the user out it says logout user Z. When I tested the setup everything worked
fine, including the netlogon scripts and the profiles. However, at my customers
site this weird stuff happens. I also set the MAXCONNECTION define to 768 in
smbd.c for the terminalserver. Can anyone gimme a hint where to search for the
error ?

Thanks in advance.

--
Daniel Bramkamp

team! datentechnik GmbH  Co KG
Werner-Von-Siemens Strasse 12a
49124 Georgsmarienhuette
Tel.: 05401 8226-0
Fax : 05401 8226-20
eMail : [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Problem with OS X (as client) to Samba on Linux box

2003-06-29 Thread Philip Edelbrock


Hi, I think OS-X was primarily written w/ Samba3.0 in mind.  I've tested
2.x and 3.0 (alphas) and 3.0 solved a lot of problems for me.

BTW- Check out this site for more info on using OS-X with Samba and a
special patched version of Netatalk specificly for networks which
include OS-X clients:

http://www.baltra.org/


Phil

On Sat, 28 Jun 2003, Kyle Loree wrote:

 l.m.orchard [EMAIL PROTECTED] writes:
 Hoping someone can give me a pointer on this:
 
 I'm trying to connect a Mac OS X 10.2.6 machine to Samba 2.2.8 hosted 
 on a Linux 2.2.20 machine.  I can authenticate, connect to a share, 
 navigate through.  I can even delete and move files.  But, whenever I 
 try to save a file in most programs, or copy a file in the Finder, I'm 
 told that I don't have the privileges to do it.
 
 Strangely enough, I've found that if I copy files in the shell, 
 straight into the volume mounted under /Volumes/, things work fine.  
 I've also played with file permissions like crazy, but to no avail.  
 Windows and Linux machines at my office have no problems.
 
 Having been successful in the shell, I wonder if it has something to do 
 with the ._ files OS X tries creating in order to preserve the 
 resource fork of files?
 
 I'm out of ideas on this one, can anyone help?
 
 --
 l.m.orchard [EMAIL PROTECTED] http://www.decafbad.com/
 ...see you space cowboy.
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 
 I just tested saving from word to the share.
 Version 2.2.3a-12 for Debian
 worked fine for me, running os 10.2.6 with the developers tools loaded,
 and fink installed.
 no rforks were created though.
 What user is the share mounted as?  the program would try to create the
 file with the name of the user that started the app.
 other than that,  what programs?
 
 best of luck, hope I can be of help.
 
 Kyle Loree
 Rendek Communications
 [EMAIL PROTECTED]
 
 -- 
 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] rpcclient returns NT_STATUS_NO_SUCH_DEVICE on adddriver

2003-06-29 Thread Damien Bonvillain
Note: I reply before having received Kurt's answer by mail, thus this mail doesn't have
the right headers

Kurt Pfeifle wrote

 Read 8.5 too...
I did but I did not find anything helping me in this case. I should have mentionned it.

 Also, 7.11.6 is describing the pure commandline installation of
 the driver files using smbclient and rpcclient. Your quotes below
 show your usage of cupsaddsmb, which is discussed in 7.10.x...
Yes. It failed with cupsaddsmb, so I did the process step by step with the 
verifications
in order to give a more precise status.

 Try security = user...
Ok, now adddriver works with a successful status, but the driver doesn't show up in
enumdrivers 3. The files are present in 0 and 2, and Windows recognize them as driver
files if I go to the Properties of the Printers folder. In log.smbd, there are no 
error
neither for adddriver nor for enumdrivers as far as I can tell. It's rather strange.
Of course after that, setdriver fails with NT_STATUS_ACCESS_DENIED and this in log.smbd

[2003/06/30 02:06:42, 3] rpc_server/srv_pipe.c:api_rpcTNP(1197)
  api_rpcTNP: pipe 29776 rpc command: SPOOLSS_SETPRINTER
[2003/06/30 02:06:42, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(607)
  spoolss_io_devmode: Unknown specversion in devicemode [0x0]
[2003/06/30 02:06:42, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(608)
  spoolss_io_devmode: please report to [EMAIL PROTECTED]
[2003/06/30 02:06:42, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(704)
  spoolss_io_devmode: I've parsed all I know and there is still stuff left|
[2003/06/30 02:06:42, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(706)
  spoolss_io_devmode: available_space = [-220], devmode_size = [0]!
[2003/06/30 02:06:42, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(707)
  spoolss_io_devmode: please report to [EMAIL PROTECTED]
[2003/06/30 02:06:42, 0] rpc_server/srv_spoolss.c:api_spoolss_setprinter(600)
  spoolss_io_q_setprinter: unable to unmarshall SPOOL_Q_SETPRINTER.
[2003/06/30 02:06:42, 0] rpc_server/srv_pipe.c:api_rpcTNP(1217)
  api_rpcTNP: api_spoolss_rpc: SPOOLSS_SETPRINTER failed.

Damien

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


[Samba] Samba acls

2003-06-29 Thread Adrian Chow
Hi,

Can I know when a Samba user (one that is connecting to the Samba server
via a Windows Client) creates a file in the shared folder or modifies a
file in the shared folder, what would the acls of the file be?  (I meant
the gid and uid of the file)   Mine worked as if it is always created as a
root user.I thought the file should have the uid and gid or the person
who created the file (respect to the /etc/passwd and /etc/group in the
Samba server).

I got Samba 3.0beta running on the Redhat 9.0 (downgraded to a kernel
2.4.20) with acls patches from acl.bestbits.at.

Thanks.

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


[Samba] Can't sync passwd with ldap

2003-06-29 Thread tin tinny
Hi,
I use samba+ldap as pdc no rh8.
I config parameter
[global]
unix password sync = yes

I changed password with w2k pro.
Password in attb ntPassword and /etc/shadow were same
password.
But attb userPassword in ldap was not changed.
How can I sync it?
Thank you.


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Prob configuring Samba / Ldap an PDC

2003-06-29 Thread Tru Pham

Hello,

I recommend you not to use Samba 3.0 beta 1 because for some reason I cannot
join Windows XP to my domain at all.  Maybe I did some'n wrong but then when
I downloaded a fresh copy of samba 2.2.8a and compiled the source code and
reconfigure the LDAP and it works like a champ.  Now I can add any
workstation XP, 2K, 98, you name it to the domain just like that.  So, up to
you if you want to go for 2.2.8a.

Good luck with your 3.0 beta 1 mate. :)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Einsle
Sent: Sunday, June 29, 2003 8:13 AM
To: '[EMAIL PROTECTED]'

Hy all

I installed samba with ldapsam-backand acting as an Windows Server but i 
was not able to windiws 2k Workstations joining the Domain.

I added the Computername with an $ apended to the ldap-passworddir, i 
let run smbpasswd -m -a elli, but i cannot add the Computer to the Domain.

The smb.conf:

--- cut ---
[global]
workgroup = EINSLE
netbios name = SRV01
server string = %h server (Samba %v)
load printers = yes
printing = cups
log file = /var/log/samba/log.%m
log level = 1
max log size = 1000
syslog = 0
security = user
encrypt passwords = yes
#passwd program = /usr/local/sbin/smbldap-passwd.pl -o %u
#passwd chat = *new*password* %n\n *new*password* %n\n *successfully*
unix password sync = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
os level = 60
domain master = yes
preferred master = False
wins support = yes
dns proxy = no
name resolve order = lmhosts host wins bcast
preserve case = yes
short preserve case = yes
unix password sync = false
obey pam restrictions = yes
template shell = /bin/bash
create mask = 0777
directory mask = 0777
domain logons = yes
passdb backend = ldapsam:ldap://ldap.pfronten.einsle.de:389
ldap admin dn = cn=admin,dc=pfronten,dc=einsle,dc=de
ldap suffix = dc=pfronten,dc=einsle,dc=de
--- cut ---

With normal W2k Workstations i'm able to work, but i want to add them to 
the Domain.

I'm working with debian sid, openldap 2.1.21, samba 3 beta1.

net groupmap is working, usermanagement too.

Any hints??

\Robert

-- 
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] header intact

2003-06-29 Thread Murtaza Husain


___
Click below to experience Sooraj Barjatya's latest offering
'Main Prem Ki Diwani Hoon' starring Hrithik Roshan,
Abhishek Bachchan  Kareena Kapoor http://www.mpkdh.com
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: CVS update: samba/source/auth

2003-06-29 Thread Simo Sorce
On Sun, 2003-06-29 at 05:39, [EMAIL PROTECTED] wrote:
 Date: Sun Jun 29 03:39:50 2003
 Author:   jerry
 
 Update of /data/cvs/samba/source/auth
 In directory dp.samba.org:/tmp/cvs-serv16648/auth
 
 Modified Files:
   Tag: SAMBA_3_0
   auth.c auth_domain.c auth_util.c 
 Log Message:
 Here's the code to make winbindd work on a Samba DC
 to handle domain trusts.  Jeremy and I talked about this
 and it's going in as working code.  It keeps winbind clean
 and solves the trust problem with minimal changes.
 
 To summarize, there are 2 basic cases where the deadlock would
 occur.  (1) lookuping up secondary groups for a user, and 
 (2) get[gr|pw]nam() calls that fall through the NSS layer because
 they don't exist anywhere.
 
 o To handle case #1, we bypass winbindd in sys_getgrouplist() unless
   the username includes the 'winbind separator'.  
 
 o Case #2 is handled by adding checks in winbindd to return failure
   if we are a DC and the domain matches our own.

Jerry,
does this mean it will be more difficult to code  use winbind_passdb on
PDCs in future?

Simo.

-- 
Simo Sorce - [EMAIL PROTECTED]
Xsec s.r.l. - http://www.xsec.it
via Durando 10 Ed. G - 20158 - Milano
mobile: +39 329 328 7702
tel. +39 02 2399 7130 - fax: +39 02 700 442 399


signature.asc
Description: This is a digitally signed message part


Re: CVS update: samba/source/auth

2003-06-29 Thread Volker Lendecke
Hi, Jerry!

Some very brief notes wrt your trustdom patch:

Why do you want to join the local domain? If we do, then wbinfo -a
SAMBA\\user%password where SAMBA is the local SAM domain locks up in the
SAM logon request from winbind to smbd.

With your patch (not joined the local domain) I get the local users as
SAMBA\username in getent passwd.

On Sun, Jun 29, 2003 at 03:39:50AM +, [EMAIL PROTECTED] wrote:
   * set 'auth method = guest sam winbind'

I'd rather recommend 'auth methods = guest samstrict winbind'

Otherwise you will get problems if you have a SAM user with the same
name as a winbind-imported user.


Sorry for not really looking into it, it's Sunday and I'd like to go
dancing :-)

Volker


pgp0.pgp
Description: PGP signature


Re: CVS update: samba/source/sam

2003-06-29 Thread Jeremy Allison
On Sun, Jun 29, 2003 at 01:12:21PM +0200, Simo Sorce wrote:
 
 Should I file the name cache_map as a bug to bugzilla ?
 My question's still unanswered.

No. I'm not changing it, please leave it as it is.

Jeremy.


CVS update: samba/source

2003-06-29 Thread tridge

Date:   Mon Jun 30 02:10:47 2003
Author: tridge

Update of /home/cvs/samba/source
In directory dp.samba.org:/tmp/cvs-serv24221

Modified Files:
  Tag: SAMBA_3_0
configure.in 
Log Message:
- added LOCALE patch from [EMAIL PROTECTED] (Steve Langasek) (bug #122)

- changed --enable-developer debug to use -gstabs as it makes the
  samba binaries about 10x smaller and is still quite functional for
  samba debugging


Revisions:
configure.in1.300.2.112 = 1.300.2.113

http://www.samba.org/cgi-bin/cvsweb/samba/source/configure.in.diff?r1=1.300.2.112r2=1.300.2.113


CVS update: samba/source/include

2003-06-29 Thread tridge

Date:   Mon Jun 30 02:10:54 2003
Author: tridge

Update of /home/cvs/samba/source/include
In directory dp.samba.org:/tmp/cvs-serv24235

Modified Files:
  Tag: SAMBA_3_0
includes.h 
Log Message:
- added LOCALE patch from [EMAIL PROTECTED] (Steve Langasek) (bug #122)

- changed --enable-developer debug to use -gstabs as it makes the
  samba binaries about 10x smaller and is still quite functional for
  samba debugging


Revisions:
includes.h  1.262.2.44 = 1.262.2.45

http://www.samba.org/cgi-bin/cvsweb/samba/source/include/includes.h.diff?r1=1.262.2.44r2=1.262.2.45


CVS update: samba/source/lib

2003-06-29 Thread tridge

Date:   Mon Jun 30 02:11:06 2003
Author: tridge

Update of /home/cvs/samba/source/lib
In directory dp.samba.org:/tmp/cvs-serv24311

Modified Files:
  Tag: SAMBA_3_0
charcnv.c 
Log Message:
- added LOCALE patch from [EMAIL PROTECTED] (Steve Langasek) (bug #122)

- changed --enable-developer debug to use -gstabs as it makes the
  samba binaries about 10x smaller and is still quite functional for
  samba debugging


Revisions:
charcnv.c   1.55.2.26 = 1.55.2.27

http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/charcnv.c.diff?r1=1.55.2.26r2=1.55.2.27


CVS update: samba/source/param

2003-06-29 Thread tridge

Date:   Mon Jun 30 02:11:14 2003
Author: tridge

Update of /home/cvs/samba/source/param
In directory dp.samba.org:/tmp/cvs-serv24348

Modified Files:
  Tag: SAMBA_3_0
loadparm.c 
Log Message:
- added LOCALE patch from [EMAIL PROTECTED] (Steve Langasek) (bug #122)

- changed --enable-developer debug to use -gstabs as it makes the
  samba binaries about 10x smaller and is still quite functional for
  samba debugging


Revisions:
loadparm.c  1.397.2.69 = 1.397.2.70

http://www.samba.org/cgi-bin/cvsweb/samba/source/param/loadparm.c.diff?r1=1.397.2.69r2=1.397.2.70


CVS update: samba/source/libads

2003-06-29 Thread tpot

Date:   Mon Jun 30 05:42:15 2003
Author: tpot

Update of /data/cvs/samba/source/libads
In directory dp.samba.org:/tmp/cvs-serv8357

Modified Files:
  Tag: SAMBA_3_0
ads_ldap.c 
Log Message:
Fix shadow variable warnings.


Revisions:
ads_ldap.c  1.2.2.2 = 1.2.2.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/libads/ads_ldap.c.diff?r1=1.2.2.2r2=1.2.2.3


CVS update: samba/source/utils

2003-06-29 Thread tpot

Date:   Mon Jun 30 05:45:27 2003
Author: tpot

Update of /data/cvs/samba/source/utils
In directory dp.samba.org:/tmp/cvs-serv8610

Modified Files:
  Tag: SAMBA_3_0
net_ads.c 
Log Message:
Yet more shadow variable warnings.


Revisions:
net_ads.c   1.37.2.22 = 1.37.2.23

http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net_ads.c.diff?r1=1.37.2.22r2=1.37.2.23