Samba 3.0.2a binaries for SGI IRX 6.5

2004-02-26 Thread joerg . bogenrieder




Hello to all,

I am looking for a tardist binary packet for SGI IRIX 6.5.20, I googled for
such a binary distribution, but couldn't find some links. Please answer
directly to me, because I am not a member of the List.

Sincerely

Jörg Bogenrieder



[Samba] IIS and Samba

2004-02-26 Thread Augusto 'The Gus' Pellis
Good morning.
I am sorry for this newbie question: I am using a samba (3.01) share on
a RedHat 9 system, which holds datas and w32 applications for our
intranet.
Since I develop isapi.dll's , I need to have a running IIS on another
machine, and a virtual directory which points to the samba share, where
Dll's and databases are stored. On creating the virtual directory, I am
asked with which user I should connect to the resource and, indeed, the
content of the share is displayed correctly in the IIS administration
panel.
The problem arise when somebody tries to connect like i.e.
http://192.168.1.40:8110/prova/preventivionline.dll (to be clear, the
dll is stored in the samba share): I am prompted with a username,
password and domain name to which I cannot answer correctly, ending to a
401.3 ACL error.
For this reason I must copy all the dll and data involved in the machine
which runs IIS, and everything works normally.

Has someone any clue on how to solve this?

Thank you for your kind attention and time!

Augusto 'The Gus' Pellis
*  darWInItalia S.r.l.
* Socrate S.n.c.
Soluzioni Informatiche per le Aziende


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.593 / Virus Database: 376 - Release Date: 20/02/2004
 

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


Re: [Samba] Remote Windows registry read access from Linux?

2004-02-26 Thread Peter Valdemar Mørch
Jörn Nettingsmeier (address removed) wrote:
 a somewhat heavyweight solution is to run the openssh server from
 cygwin, which will provide you remote shell access.

 if you find your way
 around with just the command line, you should be fine. if you need gui
 tools, combine it with the free winvnc server on localhost - you can
 then tunnel into the machine, and the vnc stuff won't
 ever be visible on
 the net in the clear. presto: a zero-budget remote
 administration tool.

 the only drawback of the vnc server is that it will not ask the user
 who's logged on before granting access. only the change of color of a
 tiny icon in the taskbar tells the user someone is following their
 session, and i don't want my users feel like they are being spied on.
Hi there,

Thank you for your reply. The beauty of smb/rpc would be that it 
wouldn't require any software installed on the remote machines. With a 
domain administrator password, we could successfully query all windows 
hosts in the network without any problems. We're developing a network 
managment application, and have committed ourselves to not requiring any 
installation on a pr. client basis, so this is ideal.

I already use VNC (TightVNC - also free!) for many other purposes, and 
have used the openssh daemon under cygwin in the past - but by their 
nature, they require client software installed. If that is the case, I'm 
more inclined to create a daemon/service running on Windows that will 
access remote repositories via MS Visual Basic or MS C++... Also we need 
to be able to query 100s of machines, so VNC is not really viable.

Thank you for your time in answering me!

But I'm still in the market for a remote repository access solution...

Peter

--
Peter Valdemar Mørch
http://www.morch.com
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Nmbd errror... doesn't want to restart.

2004-02-26 Thread xavier
Hi list,
i got a problem with my wins server, here is the setup:
Linux Debian Sarge 2.4.24
Samba 3.0.1-Debian
sometimes nmbd daemon stops with this error in logs:

   ===
   3759 [2004/02/26 08:23:39, 0] lib/fault.c:fault_report(37)
   3760   INTERNAL ERROR: Signal 11 in pid 268 (3.0.1-Debian)
   3761   Please read the appendix Bugs of the Samba HOWTO collection
   3762 [2004/02/26 08:23:39, 0] lib/fault.c:fault_report(39)
   3763   ===
   3764 [2004/02/26 08:23:39, 0] lib/util.c:smb_panic(1390)
   3765   smb_panic(): calling panic action 
[/usr/share/samba/panic-action 268]
   3766 [2004/02/26 08:23:39, 0] lib/util.c:smb_panic(1398)
   3767   smb_panic(): action returned status 0
   3768 [2004/02/26 08:23:39, 0] lib/util.c:smb_panic(1400)
   3769   PANIC: internal error
   3770 [2004/02/26 08:23:39, 0] lib/util.c:smb_panic(1408)
   3771   BACKTRACE: 12 stack frames:
   3772#0 /usr/sbin/nmbd(smb_panic+0x101) [0x80c23b1]
   3773#1 /usr/sbin/nmbd [0x80b0797]
   3774#2 /lib/libc.so.6 [0x40176498]
   3775#3 /usr/sbin/nmbd [0x806c381]
   3776#4 /usr/sbin/nmbd(queue_register_name+0x6f) [0x806c8cf]
   3777#5 /usr/sbin/nmbd(register_name+0xf2) [0x806b002]
   3778#6 /usr/sbin/nmbd(become_local_master_browser+0x26c) [0x806246c]
   3779#7 /usr/sbin/nmbd(run_elections+0x18c) [0x806445c]
   3780#8 /usr/sbin/nmbd(strftime+0x1b1e) [0x805fdf2]
   3781#9 /usr/sbin/nmbd(main+0x40d) [0x806049d]
   3782#10 /lib/libc.so.6(__libc_start_main+0xc6) [0x40162da6]
   3783#11 /usr/sbin/nmbd(yp_get_default_domain+0x7d) [0x805ec51]

Can anybody help me pointing the problem ?

Many thanks

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


RE: [Samba] Terminal server problem

2004-02-26 Thread Chris Tepaske

In a Windows 2003 AD there is no. of system policies set which include
security setting, these policies more than likely will be applied to your 2k
term server. You need to turn them off. You will probably find them in the
security setting in your default domain policy under security settings. Look
for stuff on NTLM version 2, secure channel encryption etc. Samba can't
handle any of those setting.

Cheers

Chris Tepaske 


-Original Message-
From: Vadim Fattakhov [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 24 February 2004 7:46 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Terminal server problem

Hello
We use samba 2.0.7 on Solaris 2.6.
After upgrade domain from NT4 to 2003 AD we start to get problem on our
terminal server windows 2000. First user connect to samba server and other
cannot do it.
I tried to use samba 2.2.8 - same problem.
Any suggestions?

 Best regards,
 Vadim Fattakhov
 Frontline PCB SolutionsSystem  Network Manager
Phone: +972-8-9322183 (ext. 130), fax: +972-8-9322186


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


Re: [Samba] probleb with 'passwd chat' and 'passwd program'

2004-02-26 Thread Jérôme Tournier
Le Wed, Feb 25, 2004 at 05:25:30PM -0800, Loc Nguyen a ecrit:
 remove
 unix password sync = yes 
 if you're using ldap for
 authentication

Well, i add it for the 'passwd program' to be called as root (as said in
the man of smb.conf). Otherwise, it is not called.
I know that i can remove this and only add 'ldap passwd sync = Yes' but
i just want to understand why my script is not finished.
And i also tried samba with Oracle Internet Database : everything work
perfectly, exept the update of userPassword. Why ? i don't know. Samba
can update all others attribut, but not this one !
That's why i also need to use an external script.
-- 
Jérôme
-- 
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.2 doesn't see self

2004-02-26 Thread Pavel Krebs
Hello,
I updated samba package from version 3.0 to version 3.0.2 and server 
doesn't see self anymore in browse list, which is on it (server is 
master browser - see output smbclient -L). I can directly connect to 
shares from client, but I don't see server in network places (I see only 
other computers).
Output of smbclient -L server is:
[EMAIL PROTECTED] samba]# smbclient -L server
Password:
Anonymous login successful
Domain=[GROUP] OS=[Unix] Server=[Samba 3.0.2-6.3E]

   Sharename  Type  Comment
   -    ---
   print$ Disk  Printer Drivers
... and other shares
Anonymous login successful
Domain=[GROUP] OS=[Unix] Server=[Samba 3.0.2-6.3E]
   Server   Comment
   ----
   MIPPINT
   SERVER-W2K   Server SQL
   WorkgroupMaster
   ----
   GROUP  SERVER
I didn't change anything in configuration. Any ideas?

Pavel

Global part of my smb.conf:
[global]
   dos charset = 852
   display charset = UTF-8
   workgroup = GROUP
   server string = GROUP's server
   interfaces = eth0:0, eth0
   null passwords = Yes
   username map = /etc/samba/smbusers
   unix password sync = Yes
   log file = /var/log/samba/%m.log
   max log size = 50
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   printcap name = cups
   os level = 64
   preferred master = Yes
   wins support = Yes
   hosts allow = 
192.168.132.0/255.255.255.0,192.168.133.192/255.255.255.240, 127.
   printing = cups

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


[Samba] Preserving ACL during NT-Samba file transfer

2004-02-26 Thread Emmanuel Lesouef
Hello all,

I would like to know if someone knows how to transfer files between an
existing WinNT4 PDC to a samba 3.0.2 on XFS Acl-enabled partition without
losing the existing ACLs ?

Thank you for your help,

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


[Samba] Unable to access Samba Domain Member

2004-02-26 Thread Nicholas Fechner
Hi,
I'm trying to connect to a Samba Domain Member, but I always end up with 
the same strange error.
The PDC (authenticating againt LDAP) and the server itself (Lobo) are 
Samba 3.0.2a-1 (Debian). I first
tried to connect from my Windows client. It gave me the following error:
\\Lobo is not accessible. The specified network name is no longer 
available.

When connecting via smbclient I get:
xyz:~# smbclient -U nfechner lobo\\software\\
Password:
session setup failed: Call returned zero bytes (EOF)
With Log Level 3, I always get the same error message:
[2004/02/26 11:41:29, 3] libsmb/namequery_dc.c:rpc_dc_name(143)
 rpc_dc_name: Returning DC SAVANNAH (192.168.200.3) for domain PONTON
[2004/02/26 11:41:29, 3] libsmb/cliconnect.c:cli_start_connection(1337)
 Connecting to host=SAVANNAH
[2004/02/26 11:41:29, 3] lib/util_sock.c:open_socket_out(710)
 Connecting to 192.168.200.3 at port 445
[2004/02/26 11:41:30, 3] rpc_parse/parse_lsa.c:lsa_io_sec_qos(181)
 lsa_io_sec_qos: length c does not match size 8
[2004/02/26 11:41:30, 3] auth/auth.c:check_ntlm_password(219)
 check_ntlm_password:  Checking password for unmapped user 
[EMAIL PROTECTED] with the new password interface
[2004/02/26 11:41:30, 3] auth/auth.c:check_ntlm_password(222)
 check_ntlm_password:  mapped user is: [EMAIL PROTECTED]
[2004/02/26 11:41:30, 3] smbd/sec_ctx.c:push_sec_ctx(256)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2004/02/26 11:41:30, 3] smbd/uid.c:push_conn_ctx(287)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2004/02/26 11:41:30, 3] smbd/sec_ctx.c:set_sec_ctx(288)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2004/02/26 11:41:30, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/02/26 11:41:30, 3] libsmb/namequery_dc.c:rpc_dc_name(143)
 rpc_dc_name: Returning DC SAVANNAH (192.168.200.3) for domain PONTON
[2004/02/26 11:41:30, 3] libsmb/cliconnect.c:cli_start_connection(1337)
 Connecting to host=SAVANNAH
[2004/02/26 11:41:30, 3] lib/util_sock.c:open_socket_out(710)
 Connecting to 192.168.200.3 at port 445
operation is not possible without initialized secure memory
(you may have used the wrong program for this task)

Any help would be appreciated. I already reinstalled the samba and 
rejoined it to the domain.
Tnx in advance,
Nicholas

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


[Samba] Re: information

2004-02-26 Thread rewe
Ihre E-mail ist angekommen. Vielen Dank!
Mit freundlichen Grüßen, 
Rewe-Webmaster
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] How to access a share without username/password

2004-02-26 Thread Abdul-Azeez
I want a Banking Application (GLOBUS) to view images stored in a samba server. I only 
have provision to supply the IP address and path name of the location of the 
images.This means that I cannot specifya username/password to GLOBUS.How do I make 
GLOBUS view this images without supplying a username/password.My sample config file is 
below.ThanksAbdul# Samba config file created using SWAT
# from 128.1.100.67 (128.1.100.67)
# Date: 2004/02/26 12:00:05

# Global parameters
[global]
workgroup = IMSD
netbios name = SAMBER-SERVER
smb passwd file = /etc/samba/smbpasswd
guest account = samba
log level = 3
ldap ssl = no
valid users = abdul, Matthew

[share]
comment = common share
path = /usr/shares
guest ok = Yes

[printer]
path = /tmp
printable = Yes
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] strange issue with PDC, ldap and usrmgr

2004-02-26 Thread Frédéric Descamps
hi the list,

I have a problem that I cannot explain myself, 

I have a PDC (samba 3.0.2a) with ldap backend

When I start usrmgr, I can see the users and the group but if I want to
modify something I always get errors like group name could not be found
or user name could not be found

so I've tryed to add a user in linux with the same name of the samba
user in ldap and then it works... :-(

but if I do id and the user name it works on cmd line even if the user
is only in the ldap.

id mv
uid=1002(mv) gid=513(Domain Users) groups=513(Domain Users)

what is wrong ? how can I fix this ?


thanks,


fred

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


[Samba] homes-share broken in 3.0.2! any fix or workaround available?

2004-02-26 Thread Rauno Tuul
hi,

I ran also into the home share problem, as discussed earlier in this list
(http://lists.samba.org/archive/samba/2004-February/080593.html). But so far
I haven't seen any solution. 
In samba 3.0.2 changelog is a line: BUG 977: Don't create a homes share for
a user if a static share already exists by the same name. I don't know what
was changed, but it affected the behaviour of the home share.


My smb.conf important lines: 

   logon home =
   logon drive = h:
   logon path =

[homes]
   comment = Home Directories
   browseable = no
   writable = yes


In LDAP base has every user these lines:

sambaHomePath: \\alfa\homes
sambaHomeDrive: H:


Most interesting point is, that users that belong to the Domain Admins
group have home share and it gets connected automatically. It works also in
terminal server.

Other users have the home share, but it isnt mapped to H: drive. If users
searches up his homedirs from \\pdc, it is accessible. This happens on users
workstation and on terminal server too.
But executing: 'net use H: /HOME /persistent:no' returns an error:
System error 67 has occurred.
The network name cannot be found.

What is going on? Why the ordinary users can't have the home share mapped
automatically? 

Is there something I can fix or I have to go back to 3.0.0 ? (3.0.1 was
anyway broken).

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


Re: [Samba] remote announce and cross subnet browsing

2004-02-26 Thread Craig White
On Thu, 2004-02-26 at 22:18, Craig White wrote:
 On Thu, 2004-02-26 at 21:54, Beast wrote:
  * Andrew Bartlett [EMAIL PROTECTED] nulis:
  
  
   The broadcast address is what you want, I think.  But really, you want
   a shared wins server, and a samba server on each subnet (which will
   ensure that browsing works well)
  
  One shared wins server is not possible, because if link is down then client can't 
  register to wins.
  
 
 he's telling you that you want a shared wins server because samba
 doesn't support exchange of data between wins servers - whether with
 Windows based wins servers or with samba based wins servers. Thus the
 remote announce which should be targeted at the broadcast address of
 remote subnets. The next problem then is your routers which may be
 blocking broadcasts from remote subnets - I think if you think about
 this, you can see why some might want to prevent this. Check the methods
 used in running the tunnels between the subnets and see if you can
 selective 'unblock' broadcasts.
---
actually, now that I've thought about this, I don't recall remote
announce being effective with samba based wins at remote subnets. I
think what I have done in the past for this is to put a list of wins
servers - 1 for each subnet in each windows client and this can be done
fairly simply with dhcp.

Of course, you could skip wins and just use ddns to register the dhcp
leases and resolve everything with dns and forget about wins but that is
more work.

Craig

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


Re: [Samba] Re: Supplementary Group Issues

2004-02-26 Thread Sojka Reinhard
Hi Dmitry, hi Jerome,


as I am having the same problem with native Sun nss_client, I'd like to
jump here in the thread.

 Last thing, I remember having seen some problems with Solaris 9
 nss_ldap client due to Sun patches on the list this or last month.
 The bug seems to be from Sun's fault. 
it was me 


 Ok. I knew it. So, I'm using nss_ldap-211 from padl.com and it is
 definitely working good within Unix framework (id -a, ls -l...  show
 right information). However according to the LDAP SERVER log file
 samba even do not request for supplementary groups. By the way samba
 log file level 10 I sent you also do not show any requests to LDAP for
 supplementary groups.

This behaviour is identical to my experiences with native Solaris 9
nss_ldap. In my understanding, Samba requests supplementary group
information from Solaris, and Solaris has to request this information
from the LDAP server (after checking nsswitch.conf). If you have a
working und a non-working system, the difference can be seen easily in
the LDAP server logs. Note that /etc/group works.

We bypass this problem for the first time by using Patch-ID 112960-03.
BTW, Patch-ID 112960-11 (Feb/23/2004) doesn't help either.

 http://marc.theaimsgroup.com/?l=sambam=107636136823095w=2
 and bug 395 (https://bugzilla.samba.org/show_bug.cgi?id=395).
 Please test the program in comment #19 and report.

I would also be willing to test and report, but the program doesn't
compile in Solaris. AFAIR the program was written for Linux. Anyway,
Solaris doesn't provide getgrouplist(). Can anybody provide me with
workarounds or hints?

Cheers,
Reinhard


-- 
Reinhard Sojka [EMAIL PROTECTED]
System-  Networkadmin
Parlamentsdirektion
+43 1 40110 2824

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


Re: [Samba] strange issue with PDC, ldap and usrmgr

2004-02-26 Thread Frédéric Descamps
I have this in the log when I try to add a user to a group :



[2004/02/26 12:45:08, 4] passdb/pdb_ldap.c:ldapsam_getsampwsid(1143)
  ldapsam_getsampwsid: Unable to locate SID
[S-1-5-21-3683693452-1376506518-255537534-2996] count=0


this SID exists in the ldap :-(


On Thu, 2004-02-26 at 12:28, Frédéric Descamps wrote:
 hi the list,
 
 I have a problem that I cannot explain myself, 
 
 I have a PDC (samba 3.0.2a) with ldap backend
 
 When I start usrmgr, I can see the users and the group but if I want to
 modify something I always get errors like group name could not be found
 or user name could not be found
 
 so I've tryed to add a user in linux with the same name of the samba
 user in ldap and then it works... :-(
 
 but if I do id and the user name it works on cmd line even if the user
 is only in the ldap.
 
 id mv
 uid=1002(mv) gid=513(Domain Users) groups=513(Domain Users)
 
 what is wrong ? how can I fix this ?
 
 
 thanks,
 
 
 fred

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


Re: [Samba] PPP Dial in

2004-02-26 Thread RRuegner
Hi,
first i use the chap secrets ( but should work with pap.secrets too), and
than you have to check
if you have the stripped domain patch in your pppd.
If you havent this will never work
Best Regards
- Original Message - 
From: Andrew Bartlett [EMAIL PROTECTED]
To: Craig White [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 12:54 PM
Subject: Re: [Samba] PPP Dial in


 -- 
 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


Re: [Samba] homes-share broken in 3.0.2! any fix or workaround available?

2004-02-26 Thread Andrew Bartlett
On Thu, 2004-02-26 at 22:35, Rauno Tuul wrote:
 hi,
 
 I ran also into the home share problem, as discussed earlier in this list
 (http://lists.samba.org/archive/samba/2004-February/080593.html). But so far
 I haven't seen any solution. 
 In samba 3.0.2 changelog is a line: BUG 977: Don't create a homes share for
 a user if a static share already exists by the same name. I don't know what
 was changed, but it affected the behaviour of the home share.
 
 
 My smb.conf important lines: 
 
logon home =
logon drive = h:
logon path =
 
 [homes]
comment = Home Directories
browseable = no
writable = yes
 
 
 In LDAP base has every user these lines:
 
 sambaHomePath: \\alfa\homes

Don't do this use \\alfa\foo

on the entry for 'foo'.

The client then 'knows' it is different from the previous connection to
\\alfa\homes, and this avoids a number of locking and connection-reuse
bugs.

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

Re: [Samba] 100% CPU eaten -- tdb_fetch failed

2004-02-26 Thread Fabien Chevalier
Le Jeudi 26 Février 2004 03:30, John H Terpstra a écrit :
 Fabien,

 You should run the tdbbackup tool every time Samba (smbd) is
 shut down. Please refer to the man page for further
 information. The use of tdbbackup is a very important step to
 prevention of catastrophic problems with tdbs.

 Cheers,
 John T.

Ok, thanks for the tip...:-)
I'll try to play with tdbbackup and give back the results to the list.

Bye,

Fabien.

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


Re: [Samba] Persistant Z drive in XP

2004-02-26 Thread flinchlock
 Then my Win98 users won't have roaming profiles, correct? My
 O'Reilly
 book defines logon home as setting the directory for all Windows
 Platforms, and to achieve roaming for 95/98/Me add the
 /.win_profile. 
  
 Let me guess. I can't have my cake and eat it too..?
  
 There must be some crafty way around this. Can the smb.conf file
 determine platform and then branch?

YUP... http://us2.samba.org/samba/docs/using_samba/ch04.html

This is a link to...
Using Samba, 2nd Edition
By Jay Ts, Robert Eckstein, and David Collier-Brown
2nd Edition, February 2003 
O'Reilly  Associates, ISBN: 0-596-00256-4

Search for Configuring Samba for Roaming Profiles.

This topic talks about how to setup PLATFORM directories, and then
have a soft link from machine name to the PLATFORM directory.  It
handles W95-XP!

GREAT reading! :-))

HTH

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


Re: [Samba] Remote Windows registry read access from Linux?

2004-02-26 Thread flinchlock
 But I'm still in the market for a remote repository access
 solution...

I can't help you with a *nix solution (how about perl for reg
access?), but I can point you to a Windows program.

http://www.kixtart.org

This TINY program (241,664 bytes KIX32.EXE) is simply very easy to
use... just simple code in a text type file.

It can be copied to the NETLOGON share, and then the program can do
whatever you need.

For example, before I retired 1999, I had developed my own home
grown SMS like system for a company where I worked.  I managed
6000+ workstations/servers in 125 cities in 5 states.

I had 2000+ lines of code that would query *ALL* machines in my
domain, and put the results in a .csv file.  This file can then
be imported into your favorite database.

I don't have access to any of the code I wrote, but the language
is mostly just a super batch type language.

For example...

;  DEMO.KIX
;
;  KiXtart demonstration script of registry functions.
;
;  24-Aug-1995
;
;  Note :  This code sample is provided for demonstration purposes
only.
;  Microsoft makes no warranty, either express or implied,
;  as to its usability in any given situation.
;

cls   ; clear the screen
color w+/n

? START

:start
if existkey( HKEY_CURRENT_USER\KiX32 )  0
   if addkey( HKEY_CURRENT_USER\KiX32 ) = 0
  color g+/n
  ? OK, added KiX32 key.
  if addkey( HKEY_CURRENT_USER\KiX32\one ) = 0 AND
 addkey( HKEY_CURRENT_USER\KiX32\two ) = 0 AND
 addkey( HKEY_CURRENT_USER\KiX32\three
 ? ...and some subkeys...
 if writevalue( HKEY_CURRENT_USER\KiX32\one , value1 ,
Text , REG_SZ ) AND
writevalue( HKEY_CURRENT_USER\KiX32\one , value2 ,
line1|line2(with a || in it)|line3| , REG_MULTI_SZ ) AND
writevalue( HKEY_CURRENT_USER\KiX32\one , value3 ,
0a12defa0b , REG_BINARY ) AND
writevalue( HKEY_CURRENT_USER\KiX32\one , value4 ,
123456789 , REG_DWORD )
? ...and now even some values...
? Please check the result with REGEDT32.
? ? End of demo : press anykey to delete the key
again.
get $x
$result = deltree(HKEY_CURRENT_USER\KiX32)
goto end
 else
? Hmm, WriteValue failed with returncode :  + @error
 endif
  else
 ? Hmm, AddKey failed with returncode :  + @error
  endif
   else
  ? Hmm, AddKey failed with returncode :  + @error
  end
   endif
else
   ? Huh ?. Key already exists ?!?.
   ? Do you want me to delete it  (Y/N) ?.

   :loop
   GET $Input
   if $Input = Y
  if Deltree( HKEY_CURRENT_USER\KiX32 )= 0
 ? OK, Key deleted..
 goto start
  else
 ? Hmmm, somehow the delete failed :  + $RC
 exit
  endif
   else
  if $Input = N
 ? OK, then I'll just quit.
 goto end
  else
 goto loop ; wrong key, try again
  endif
   endif
endif

:end

color w+/n

? ? END

color w/n


HTH

Mike

-- 
SuSE 9.0 Pro (2.4.21-192-default) with samba-2.2.8a-107
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] NT poledit.* common.adm winnt.adm windows.adm

2004-02-26 Thread flinchlock
I've googled my brains out trying to find the latest NT 4.0 System
Policy Editor files:

POLEDIT.CNT
POLEDIT.EXE
POLEDIT.HLP
COMMON.ADM (NT  W9x)
WINNT.ADM  (NT)
WINDOWS.ADM (W9x)

I only have dialup access, and it will take me a zillion days to
download SP6 for NT so I can extract the above files.

Can any one point me to where I can D/L those six (or 0110) files?

Thanks

Mike

-- 
SuSE 9.0 Pro (2.4.21-192-default) with samba-2.2.8a-107
-- 
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.2 PDC LDAP: Add computer to domain issue with smbldap-tools

2004-02-26 Thread David Wilson
Hi guys,

I've installed openldap-2.1.25 and Samba-3.0.2 and configured everything
with no TLS on a Slackware-9.1 Linux box.

To manage the LDAP backed I've used smbldap-tools-0.8.4.
After populating the database with smbldap-populate I was able to first 
add users to /etc/passwd etc. and then to LDAP with smbldap-useradd -a 
and access the server via Windows PCs. Everything appeared to be working
correctly.

My only problem is that I cannot seem to get a machine account added
correctly. I've added the PC name to /etc/passwd etc. with useradd -s
/bin/false -g computers pc1$ and also run smbldap-useradd -w pc1.
When the computer attempts to join the domain it receives an unable to
join domain error. It seems that smbldap-useradd -w pc1 seems to add
only a posix account to the LDAP backend ?:
---
 pc1$, Computers, domain.net
dn: uid=pc1$,ou=Computers,dc=domain,dc=net
objectClass: top
objectClass: inetOrgPerson
objectClass: posixAccount
cn: pc1$
sn: pc1$
uid: pc1$
uidNumber: 1007
gidNumber: 553
homeDirectory: /dev/null
loginShell: /bin/false
description: Computer
-

I've missed something somewhere for sure ? Perhaps I need nss_ldap ?
I've also tried using the smbldap-tools that come with samba-3.0.2.

Any suggestions would be greatly appreciated.
Thank you kindly.

-- 

Many thanks and kind regards,

David Wilson
D c D a t a 
+27 33 3427003
+27 82 4147413
http://www.dcdata.co.za
[EMAIL PROTECTED]
KZN's first and only pure Linux solution provider

LinuxBox S.A.: Africa's shell provider.
Powered by Linux and DcData - driven by passion !
http://www.linuxbox.co.za

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


[Samba] Ldap ACL for PDC

2004-02-26 Thread Beast

What operation will be performed by samba PDC/BDC to ldap server? Is all operation 
will always bind as ldap admin dn or anonymously?
I need to create necessary acl in ldap server.
Tks.


--beast

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


Re: [Samba] Remote Windows registry read access from Linux?

2004-02-26 Thread RRuegner
Hi,
you can merge reg setting at netlogon
with regedit /s regfile
for example
a rollout for tightvnc remote control

[EMAIL PROTECTED] off
REM default login script [EMAIL PROTECTED]

REM install printers
rundll32 printui.dll,PrintUIEntry /dn /n \\smbpdc\bjc2000 /q
rundll32 printui.dll,PrintUIEntry /in /n \\smbpdc\bjc2000
rundll32 printui.dll,PrintUIEntry /dn /n \\smbpdc\pdfwriter /q
rundll32 printui.dll,PrintUIEntry /in /n \\smbpdc\pdfwriter

REM sync time
net time \\smbpdc /set /yes

REM general shares
net use v: \\smbpdc\pdf
net use w: \\smbpdc\files1
net use x: \\smbpdc\files2
net use y: \\smbpdc\files3

REM -INSTALLER--
---
REM This will install the VNC files from Y:\install to C:\rcontrol
REM we use this path to hide from users and do not conflict with an exist
tightvnc setup
REM If WinVNC.exe is not there we will assume that the system needs all the
files
IF NOT EXIST C:\rcontrol\WinVNC.EXE goto TVNCINSTALL
REM if winvnc.exe exist in our setup dir make sure that our reg settings
gets merged
IF EXIST C:\rcontrol\WinVNC.EXE goto TVNCREGINSTALL
exit

REM This section copies the VNC files, installs the VNC  service and runs
REM TVNC the first time

:TVNCINSTALL
Rem copy the needed files to a tmp dir on the client psexec wants to start
from there
xcopy y:\install \\%COMPUTERNAME%\c$\tmp\ /y
REM next tvnc will installed silent without any entry in the program folders
psexec \\%COMPUTERNAME% c:\tmp\tightvnc-1.2.9-setup.exe /SP- /VERYSILENT
/DIR=c:\rcontrol /NOICONS
REM our reg file gets merged
psexec \\%COMPUTERNAME% c:\tmp\regedit /s c:\tmp\tightvnc.reg
REM next line is to kill another vnc server which may run
psexec \\%COMPUTERNAME% c:\rcontrol\winvnc.exe -remove
REM now the vnc service is privided
psexec \\%COMPUTERNAME% c:\rcontrol\winvnc.exe -install
REM the service get started
psservice \\%COMPUTERNAME% start winvnc
REM we delete all files in the tmp dir
del \\%COMPUTERNAME%\c$\tmp /q

REM make sure our reg gets merged anyway
:TVNCREGINSTALL
psservice \\%COMPUTERNAME% stop winvnc
regedit /s tightvnc.reg
psservice \\%COMPUTERNAME% start winvnc





- Original Message - 
From: flinchlock [EMAIL PROTECTED]
To: samba list [EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 1:53 PM
Subject: Re: [Samba] Remote Windows registry read access from Linux?


  But I'm still in the market for a remote repository access
  solution...

 I can't help you with a *nix solution (how about perl for reg
 access?), but I can point you to a Windows program.

 http://www.kixtart.org

 This TINY program (241,664 bytes KIX32.EXE) is simply very easy to
 use... just simple code in a text type file.

 It can be copied to the NETLOGON share, and then the program can do
 whatever you need.

 For example, before I retired 1999, I had developed my own home
 grown SMS like system for a company where I worked.  I managed
 6000+ workstations/servers in 125 cities in 5 states.

 I had 2000+ lines of code that would query *ALL* machines in my
 domain, and put the results in a .csv file.  This file can then
 be imported into your favorite database.

 I don't have access to any of the code I wrote, but the language
 is mostly just a super batch type language.

 For example...
 
 ;  DEMO.KIX
 ;
 ;  KiXtart demonstration script of registry functions.
 ;
 ;  24-Aug-1995
 ;
 ;  Note :  This code sample is provided for demonstration purposes
 only.
 ;  Microsoft makes no warranty, either express or implied,
 ;  as to its usability in any given situation.
 ;

 cls   ; clear the screen
 color w+/n

 ? START

 :start
 if existkey( HKEY_CURRENT_USER\KiX32 )  0
if addkey( HKEY_CURRENT_USER\KiX32 ) = 0
   color g+/n
   ? OK, added KiX32 key.
   if addkey( HKEY_CURRENT_USER\KiX32\one ) = 0 AND
  addkey( HKEY_CURRENT_USER\KiX32\two ) = 0 AND
  addkey( HKEY_CURRENT_USER\KiX32\three
  ? ...and some subkeys...
  if writevalue( HKEY_CURRENT_USER\KiX32\one , value1 ,
 Text , REG_SZ ) AND
 writevalue( HKEY_CURRENT_USER\KiX32\one , value2 ,
 line1|line2(with a || in it)|line3| , REG_MULTI_SZ ) AND
 writevalue( HKEY_CURRENT_USER\KiX32\one , value3 ,
 0a12defa0b , REG_BINARY ) AND
 writevalue( HKEY_CURRENT_USER\KiX32\one , value4 ,
 123456789 , REG_DWORD )
 ? ...and now even some values...
 ? Please check the result with REGEDT32.
 ? ? End of demo : press anykey to delete the key
 again.
 get $x
 $result = deltree(HKEY_CURRENT_USER\KiX32)
 goto end
  else
 ? Hmm, WriteValue failed with returncode :  + @error
  endif
   else
  ? Hmm, AddKey failed with returncode :  + @error
   endif
else
   ? Hmm, AddKey failed with returncode :  + @error
   end
endif
 else
? Huh 

Re: [Samba] Samba-3.0.2 PDC LDAP: Add computer to domain issue with smbldap-tools

2004-02-26 Thread Jérôme Tournier
Le Thu, Feb 26, 2004 at 03:08:58PM +0200, David Wilson a ecrit:
 add users to /etc/passwd etc. and then to LDAP with smbldap-useradd -a 
Why don't you put the account in ldap only ? 'smbldap-useradd -a' will add
a posix account in the directory: you'll then have 2 accounts with the
same username !

 My only problem is that I cannot seem to get a machine account added
 correctly. I've added the PC name to /etc/passwd etc. with useradd -s
 /bin/false -g computers pc1$ and also run smbldap-useradd -w pc1.
 When the computer attempts to join the domain it receives an unable to
 join domain error. It seems that smbldap-useradd -w pc1 seems to add
 only a posix account to the LDAP backend ?:
Yes. Samba will add the sambaSAMAccoutn objectclass when joining the
domain.

 I've missed something somewhere for sure ? Perhaps I need nss_ldap ?
Yes, you nedd nss_ldap.

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


[Samba] Performances network samba

2004-02-26 Thread Xavier Poirier
Hi all,

I 'm new here.
We have installed OpenOffice in a network mode onto a samba share
named \\openoffice\ooo (linux Mandrake9.2)
The performances are slowest (a 10M network)

I was wondering if there is a simple way to optimise performances
beetween a samba share and the win2k clients, a cache or something
similar ?

Thanks for any help.

Xavier



Ce courriel est envoyé au travers de l' interface IMP: ch-bourg01.fr
Ce message a été passé automatiquement à l' antivirus 
This email have been sent through   Imap Mail Program: ch-bourg01.fr
This message have been scanned with an antivirus scanner

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


Re: [Samba] Samba-3.0.2 PDC LDAP: Add computer to domain issuewithsmbldap-tools

2004-02-26 Thread RRuegner
Hi David,
the users groups accounts are in ldap no entry to passwd is needed , cause
the samba host machine will simply ask the local ldap for accounts
if you use the populate script from source ( dont forget to edit the conf to
your fits ) and do the right entries in nsswith.conf
i.e
passwd: ldap files
group:  ldap files
shadow: ldap files
you need to have nsslib

there may be other setups ( described in man samba ) but this is the quick
working way i had tested
with suse 9 and samba 3.0.2a

All basic needs will be created by
smbldap-populate.pl, edit smbldap_conf.pm to have the right entries
be sure that all files are in /usr/local/sbin/ ( this is coded in the files
so you have to use this or your are some genius in perl and can change it)
afterwards you will have users , groups, computers and Administrator,nobody
account in Ldap.
the group mapping should be right
i added first a root account like /usr/local/sbin/smbldap-useradd.pl -a  -P
root

/usr/local/sbin/smbldap-useradd.pl -help give you this
Usage: smbldap-useradd.pl [-OPTIONS [-MORE_OPTIONS]] [--] [PROGRAM_ARG1 ...]

The following single-character options are accepted:
With arguments: -G -u -g -d -s -c -k -A -B -C -D -E -F -H -N -S
Boolean (without arguments): -a -n -m -w -P -?

Options may be merged together.  -- stops processing of options.
Space is not required between options and their arguments.

For more details run
perldoc -F /usr/local/sbin/smbldap-useradd.pl
  [Now continuing due to backward compatibility and excessive paranoia.
   See ``perldoc Getopt::Std'' about $Getopt::Std::STANDARD_HELP_VERSION.]
Usage: /usr/local/sbin/smbldap-useradd.pl [-awmugdsckGPABCDEFH?] username
  -ais a Windows User (otherwise, Posix stuff only)
  -wis a Windows Workstation (otherwise, Posix stuff only)
  -uuid
  -ggid
  -Gsupplementary comma-separated groups
  -ndo not create a group
  -dhome
  -sshell
  -cgecos
  -mcreates home directory and copies /etc/skel
  -kskeleton dir (with -m)
  -Pends by invoking smbldap-passwd.pl
  -Acan change password ? 0 if no, 1 if yes
  -Bmust change password ? 0 if no, 1 if yes
  -CsambaHomePath (SMB home share, like '\\PDC-SRV\homes')
  -DsambaHomeDrive (letter associated with home share, like 'H:')
  -EsambaLogonScript (DOS script to execute on login)
  -FsambaProfilePath (profile directory, like '\\PDC-SRV\profiles\foo')
  -HsambaAcctFlags (samba account control bits like '[NDHTUMWSLKI]')
  -Ncanonical name
  -Ssurname
  -?show this help message

add this to your smb.conf

 add user script = /usr/local/sbin/smbldap-useradd.pl -a -m -P %u
   ldap delete dn = Yes
   delete user script = /usr/local/sbin/smbldap-userdel.pl -r %u
   add machine script = /usr/local/sbin/smbldap-useradd.pl -w %u
   add group script = /usr/local/sbin/smbldap-groupadd.pl -p %g
   delete group script = /usr/local/sbin/smbldap-groupdel.pl %g
   add user to group script = /usr/local/sbin/smbldap-groupmod.pl -m %u
%g
   delete user from group script = /usr/local/sbin/smbldap-groupmod.pl -x
%u %g
   set primary group script = /usr/local/sbin/smbldap-usermod.pl -g %g
%u

so everything should be ok with that.
if you have a runnig ldap try to create a ldif and make ldapadd to integrate
the samba schema attribs to your existing ldap accounts.

a nice freeware tool to check ldap from windows clients
 Softerra LDAP Browser 2.5.3
Hope this helps
consult this sides for further infos
http://www.unav.es/cti/ldap-smb/smb-ldap-3-howto.html
http://www.idealx.org/prj/samba/smbldap-tools.en.html#htoc14
Regards Robert

- Original Message - 
From: David Wilson [EMAIL PROTECTED]
To: RRuegner [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 2:30 PM
Subject: Re: [Samba] Samba-3.0.2 PDC LDAP: Add computer to domain
issuewithsmbldap-tools



 Hi Robert,

 Thank you kindly for your response.
 Before I run /usr/local/sbin/smbldap-useradd.pl -w %u, do I need to
 have the computer account in /etc/passwd ? e.g.
 useradd -s /bin/false -g computers pc1$ ?


 Thank you for your assistance so far.

 -- 

 Many thanks and kind regards,

 David Wilson
 D c D a t a
 +27 33 3427003
 +27 82 4147413
 http://www.dcdata.co.za
 [EMAIL PROTECTED]
 KZN's first and only pure Linux solution provider
 
 LinuxBox S.A.: Africa's shell provider.
 Powered by Linux and DcData - driven by passion !
 http://www.linuxbox.co.za


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


[Samba] Your email message was blocked

2004-02-26 Thread sysalert
Your email has been held by our email gateway for the following reason:

   Message: B00017ba8e.0001.mml
   From:[EMAIL PROTECTED]
   To:  [EMAIL PROTECTED]
   Subject: information

This is due to automatic rules that have determined that the 
intended recipient is not authorized to receive messages with 
certain potentially dangerous filetypes attached.

Our Company policy is that all emails containing pictures, video, vbs, 
executable file attachments, spam (junk email) or obscene language will 
not be delivered to or from users until their business requirement has 
been verified.

Once the business requirement has been confirmed they will be released. 
This release process occurs automatically at specific times throughout 
the working day for all business related emails.

If you have a business reason to send emails which are not obviously 
business related, please contact our I.T. Department immediately 
on +44 (0)20 7290 6333.

Rule: Inbound Messages : Block Dangerous Attachments
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Samba and trusted domains - need to get my story straight

2004-02-26 Thread Kraa de Simon
Hello all,

Samba 3.0.1 on Sun Solaris 5.9.

I need to get my story straight before I ask the people with the necessary
access rights to do the Samba setup.

I would appreciate it if someone could validate my story below.

Thanks!

Simon.

The situation:

* There are 2 domains:
 - EMEA (PDC=EMEAD01,BDC=EMEAD02)
 - NLRESOURCES (PDC=NLRESOD01,BDC=NLRESOD02)
* Users have accounts on the EMEA domain.
* There are no user accounts defined on the NLRESOURCES domain.
* The Samba server is in domain NLRESOURCES.
* EMEA is trusted by NLRESOURCES.

Part of smb.conf looks like:

workgroup = NLRESOURCES
security = DOMAIN
password server = NLRESOD01,NLRESOD02
allow trusted domains = YES

This is how it all should work:

User kraades is defined in the domain EMEA, the Samba server is a member of
the domain NLRESOURCES. The domain EMEA is trusted by the domain
NLRESOURCES. This means that user kraades or any other user of EMEA can
access ressources in the domain NLRESOURCES,even if they don't have a
account in NLRESOURCES. This is the trust relationship principe of a NT
domain. Because Samba is a resource in the domain NLRESOURCES, user kraades
can access it without having been defined in the PDC of NLRESOURCES. The
only need is to have a unix account on Samba called kraades.

This is what I should do:

* Create a machine account for the Samba server on the PDC of NLRESOURCES.
* Execute the command net join -S NLRESOD01-UAdministrator%password on the
Samba server.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Printer settings reset problems

2004-02-26 Thread Anders Karlsson
Hi,

I am working on a print server project where we have ran into a big
showstopper. The print server works in a very mixed environment with
clients running for example Linux, Windows NT4, Windows 2000, VMS,
different Solaris versions and other Unix dialects. The server runs CUPS
for printer spooling and Samba to serve the Windows machines. It's the
Windows machines that has caused most problems and we now have problems
with printer settings.

When a Windows client adds a printer the drivers are downloaded as they
should. This caused some problems earlier, but works fine now. After that
the client gets printer settings from the server, for example
available paper formats, toner saving modes, page orientations, stapling,
and so on. These settings are made from Windows and are stored by Samba in
the simulated registry files (tdb files) under /var/lib/samba/printers.

Our problem is that these settings are reseted when done for another type
of Windows. If we configure all settings for a printer from a Windows 2000
machine, then the settings works fine when a Windows 2000 client adds the
printer. But when a Windows NT4 client adds the same printer there are no
settings configured. This is ok, the Windows environments differs and the
driver versions can differ. Therefore we do the same configuration for the
printer from a Windows NT4 machine. After that clients running NT4 gets
correct settings for the printer. Now the bad thing: the configuration of
the printer for NT4 resets the configuration previously entered for
Windows 2000! When a Windows 2000 client looks on the settings now they
are back to the default values as they were before configuration for
Windows 2000.

The problem also occurs in the other direction. If we first configure the
printer for Windows NT4 and then for Windows 2000, then the settings for
NT4 are reseted after configuration from Windows 2000.

We have several different brands of printers and therfore different
Windows drivers, but for most of them it works like the description above.
A brand new Ricoh printer, with new drivers, works better than above
though. When we configure the printer under Windows 2000 for that printer,
then the settings automatically applies to the NT4 settings too and vice
versa. And it doesn't reset any settings. It seems very much up to the
driver where and how it stores its settings in the Samba simulated
registry.


How do Samba store the settings for different Windows platforms? Do Samba
make difference between different Windows platforms when storing the
settings? Why are our settings reseted? Is this a known problem and is
there any way to make it work better? As it is now we can't use Samba as a
print server frontend for both Windows 2000 and NT4 clients.

I have recently started to use the tdbutil to look on the database files,
but haven't come to any conclusions yet.

Regards,
--
Anders KarlssonEmail:  [EMAIL PROTECTED]
Cendio Systems AB  WWW:www.cendio.se
Teknikringen 3,Voice:  +46 - (0)13 - 21 46 00
SE-583 30  LINKÖPING, SWEDEN   Fax:+46 - (0)13 - 21 47 00
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] information

2004-02-26 Thread nicolae
here
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] SAMBA 3.0.2 doesn't see self

2004-02-26 Thread Jim Shanks
 Hello,
 I updated samba package from version 3.0 to version 3.0.2 and server
 doesn't see self anymore in browse list, which is on it (server is
 master browser - see output smbclient -L). I can directly connect to
 shares from client, but I don't see server in network places (I see only
 other computers).
 Output of smbclient -L server is:
 [EMAIL PROTECTED] samba]# smbclient -L server
 Password:
 Anonymous login successful
 Domain=[GROUP] OS=[Unix] Server=[Samba 3.0.2-6.3E]

 Sharename  Type  Comment
 -    ---
 print$ Disk  Printer Drivers
  and other shares
 Anonymous login successful
 Domain=[GROUP] OS=[Unix] Server=[Samba 3.0.2-6.3E]

 Server   Comment
 ----
 MIPPINT
 SERVER-W2K   Server SQL

 WorkgroupMaster
 ----
 GROUP  SERVER


 I didn't change anything in configuration. Any ideas?

 Pavel

 Global part of my smb.conf:
 [global]
 dos charset = 852
 display charset = UTF-8
 workgroup = GROUP
 server string = GROUP's server
 interfaces = eth0:0, eth0
 null passwords = Yes
 username map = /etc/samba/smbusers
 unix password sync = Yes
 log file = /var/log/samba/%m.log
 max log size = 50
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 printcap name = cups
 os level = 64
 preferred master = Yes
 wins support = Yes
 hosts allow =
 192.168.132.0/255.255.255.0,192.168.133.192/255.255.255.240, 127.
 printing = cups




The problem is the ' in your server string value.  See bug 1004 in
bugzilla on the samba.org website.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] different encrypt passwords in virtual servers?

2004-02-26 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stefan Günther wrote:
|
| is it possible to use encrypt passwords=yes in the
| main server  configuration and encrypt passwords=no
| in the virtual server  configuration?
Yup.  Done it.  If you have win2k or later clients and
using Samba 3.0, you will need to add 'smb ports = 139'
to smb.conf since virtual servers (%L) don't work when
the client doesn't use netbios (port 445).




cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
If we're adding to the noise, turn off this song --Switchfoot (2003)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAPg29IR7qMdg1EfYRAnQAAJ9gBaxUgivwa5HcNTV9uJRnWWDThgCfexzp
NvDJqNa4augkdwCdPllUhC4=
=riM1
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba ads and local users

2004-02-26 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
nanou691 wrote:
| Hello,
|
| We have *samba 3.0.2a* server running winbindd and
| security=ads in smb.conf.
|
| The authentication of ads users works fine.
| However, our environment requires using *both Domain
| and Local* users at the same time.
|
| Is there a way to make *samba 3.0.2a* authenticate
| local users and domain users?
Yes.  You probably need to set

	'auth methods = guest ntdomain:winbind sam_ignoredomain'





cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
If we're adding to the noise, turn off this song --Switchfoot (2003)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAPg5VIR7qMdg1EfYRAjroAKDaOxlQktY2CFW4vO3Z5WdYxjyJxwCgxNbK
reQjdUGuDsacRyks8rih3No=
=aqsD
-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] Problem with win98

2004-02-26 Thread Maxime Quinzin
Hello, I have 3 devices, a RH9(with samba) a win98 and a winXP
When I try mounting a win XP directory on my linux, I have :
[EMAIL PROTECTED] travail]# smbmount //pc-dominique/travail dominique/ -o 
username=dominique,password=dominique
25961: session request to PC-DOMINIQUE failed (Called name not present) ???
[EMAIL PROTECTED] travail]# ls dominique
2000  AVANT 2000 LES SITTELLES.REN  MONTESQUIEU B.CFG  
MONTESQUIEU B.ETD  MONTESQUIEU C.DEV  test.tst
[EMAIL PROTECTED] travail]# mount | grep dominique
//pc-dominique/travail on /root/travail/dominique type smbfs (0)

It works but I have a strange failed message.

When I try mounting a win 98 directory on my linux, I have :
[EMAIL PROTECTED] travail]# smbmount //pc-sasou/travail sasou -o 
username=sasou,password=sasou
25786: session request to PC-SASOU failed (Called name not present)
25786: session request to *SMBSERVER failed (Called name not present)
SMB connection failed
[EMAIL PROTECTED] travail]# ping pc-sasou
PING pc-sasou (192.168.0.3) 56(84) bytes of data.
64 bytes from pc-sasou (192.168.0.3): icmp_seq=1 ttl=128 time=1.41 ms

It doesn't work, please why ?

I think it's a netbios name problème ... Is there something to do on my 
windows devices ?

Thanks

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


Re: [Samba] HELP! Content of file on NT server does not change

2004-02-26 Thread Craig White
On Thu, 2004-02-26 at 22:49, Speedo Goo wrote:
 hi all,
 
 i am using linux to mount -smbfs a Windows NT share to read a file 
 there. a win32 app (not written by me) on the NT server opens the file 
 for read-write *once* and then *continually* changes the content. i can 
 view the file content changing from another Windows box on the LAN, but, 
 on my linux machine, every time i cat the file, it's still the old 
 content when i mount it. Are there any cache problems here? or, Do i 
 need to put some extra arguments for mount? or ...
 
---
obviously - one can only speculate. It would seem to me that the file is
still open for writing - thus, all you will ever get is the state of the
file when it was first opened for writing and it won't change until the
file is closed (and subsequently re-opened I guess). Does Windows
machine mounting this share and opening this file handle this
differently?

Craig

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


Re: [Samba] locks directory over nfs

2004-02-26 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alon Shalita wrote:
| Hello.
|
| In our samba configuration, the lock directory is located
| on an NFS mount. It seems that for some reason this
| causes many problems:
We don't support storing the lock directory on an NFS mount.





cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAPhdIIR7qMdg1EfYRAtFLAJ9dJPSlUAXDu/VR4AoxsJK5jZCwiwCgwpVd
aR82kd4YkgQ0K6nSwix4Wgw=
=YYgN
-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] Problem Authenticating on Windows NT-Domain via winbind

2004-02-26 Thread Knezevic, Mihael
hi,

i know that the first thing i'll hear is rtfm. but i allready read it 4 times and 
spend some nights over this problem.

i got a debian woody (stable) linux box with samba 2.2.3a-12.3 and winbind for the 
samba version.

the nt-domain is PORTA#001-NT.

my first question is: is the # in the name a problem?

my second question: do i have to create a computer account on the pdc of the domain 
before i join the domain? cause i didn't and used smbpasswd j PORTA#001-NT r 
OURPDC U Administrator . i received the messaged: joined the domain PORTA#001-NT. 
when i open the srvmgr.exe there is a computer account. but when i double click the 
account it states: Access denied.

i started samba and winbind and uses the winbind -t command. everything is ok. winbind 
-u and winbind -g also works as expected. but when i try to authenticate myself with 
winbind -a it doesn't work.
i tried:
winbind -a my_user%my_password
winbind -a PORTA#001-NT\my_user%my_password
winbind -a PORTA#001-NT\\my_user%my_password
winbind -a PORTA#001-NT/my_user%my_password
nothing works.

another thing is that i can't see/access my shares on the linux box from a windows box 
but i think that has to do with my previous questions.

every help is appreciated.

thanx in advance

mk


some global conf entries:
workgroup = PORTA#001-NT
allow trusted domains = Yes
security = DOMAIN
password server = our_password_server
obey pam restrictions = Yes
winbind uid = 1-2
  winbind gid = 1-2
  template homedir = /home/winbind
  template shell = /bin/bash
  winbind separator = +
  winbind cache time = 15
  winbind enum users = Yes
  winbind enum groups = Yes
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Re: Supplementary Group Issues

2004-02-26 Thread Dmitry Monakhov
Hi, All!

I was using nss_ldap from PADL Software compiled with ldap_sdk 5.08.
So, as a result samba did not recognize supplementary group.
However when I put down nscd server samba become unable to recognize 
both groups and users from LDAP. That means nss_ldap did not work from
samba completely.

The same nss_ldap  compiled with openldap library work perfectly 
correct, and samba can recognize both users, group and supplementary 
group as well. So, the problem was nss_ldap(ldap_sdk 5.08) which worked 
in unix shell but not within samba.

Sojka Reinhard wrote:
Hi Dmitry, hi Jerome,

as I am having the same problem with native Sun nss_client, I'd like to
jump here in the thread.

Last thing, I remember having seen some problems with Solaris 9
nss_ldap client due to Sun patches on the list this or last month.
The bug seems to be from Sun's fault. 
it was me 



Ok. I knew it. So, I'm using nss_ldap-211 from padl.com and it is
definitely working good within Unix framework (id -a, ls -l...  show
right information). However according to the LDAP SERVER log file
samba even do not request for supplementary groups. By the way samba
log file level 10 I sent you also do not show any requests to LDAP for
supplementary groups.


This behaviour is identical to my experiences with native Solaris 9
nss_ldap. In my understanding, Samba requests supplementary group
information from Solaris, and Solaris has to request this information
from the LDAP server (after checking nsswitch.conf). If you have a
working und a non-working system, the difference can be seen easily in
the LDAP server logs. Note that /etc/group works.
We bypass this problem for the first time by using Patch-ID 112960-03.
BTW, Patch-ID 112960-11 (Feb/23/2004) doesn't help either.

http://marc.theaimsgroup.com/?l=sambam=107636136823095w=2
and bug 395 (https://bugzilla.samba.org/show_bug.cgi?id=395).
Please test the program in comment #19 and report.


I would also be willing to test and report, but the program doesn't
compile in Solaris. AFAIR the program was written for Linux. Anyway,
Solaris doesn't provide getgrouplist(). Can anybody provide me with
workarounds or hints?
Cheers,
Reinhard

--
Dmitry Monakhov System Administrator
Open Technologies, tel: +7(095)787-7027
e-mail: [EMAIL PROTECTED], http://www.ot.ru/
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Printer settings reset problems

2004-02-26 Thread Kurt Pfeifle
[Samba] Printer settings reset problems
Anders Karlsson anders.karlsson at cendio.se
Thu Feb 26 14:32:15 GMT 2004
Hi,

I am working on a print server project where we have ran into a big
showstopper.
Which Operating System on the print server?
Which version of Samba?
Which version of CUPS?
The print server works in a very mixed environment with
clients running for example Linux, Windows NT4, Windows 2000, VMS,
different Solaris versions and other Unix dialects. The server runs CUPS
for printer spooling and Samba to serve the Windows machines. It's the
Windows machines that has caused most problems and we now have problems
with printer settings.
When a Windows client adds a printer the drivers are downloaded as they
should. This caused some problems earlier, but works fine now. After that
the client gets printer settings from the server, for example
available paper formats, toner saving modes, page orientations, stapling,
and so on. These settings are made from Windows and are stored by Samba in
the simulated registry files (tdb files) under /var/lib/samba/printers.
Our problem is that these settings are reseted when done for another type
of Windows.
You should be telling us which type of driver you have installed into
Samba and its [print$] share. As you know there are various options:
* (1) use the vendor-provided drivers (and hence make CUPS underneath Samba
  print the jobs as raw.
* (2) use the Adobe PostScript driver(s) for Windows clients with the same
  PPDs as CUPS would use for its native clients
* (3) use the CUPS PostScript driver (only possible for Windows NT/2K/XP)
  with the same PPDs as CUPS would use for its native clients
Also, there are different methods of installing the drivers into Samba:

* use a combination of manually run rpcclient commands (after the actual
  driver files had been put into the [print$] share, f.e. via smbclient)
  (works for (1), (2) and (3) of above methods -- is very tedious).
* use the Add Printer Wizard from a Windows workstation (works for
  (1) and (2) -- if you are familiar with the method and know how to tweak
  it a bit)
* use cupsaddsmb (works only for (3) -- but is very comfortable).

Unless I don't know which drivers you exactly do use and how you installed
them, I can't provide more hints.
Can you provide the output of the following commmand, please:

  rpcclient -U printeradmin -c getdriver printername 3 sambahost

where printeradmin :=  the name of a printer admin as per the smb.conf (or root)
  printername  :=  the name of a printer showing the problem
  sambahost:=  the name of your CUPS/Samba server
If it doesn't work for you this may be due to an older version of Samba
which suffers from a bug in the getdriver subcommand of rpcclient. In
this case, please provide the output of
  rpcclient -U printeradmin -c enumdrivers 3 sambahost

If we configure all settings for a printer from a Windows 2000
machine, then the settings works fine when a Windows 2000 client adds the
printer. But when a Windows NT4 client adds the same printer there are no
settings configured. This is ok, the Windows environments differs and the
driver versions can differ. Therefore we do the same configuration for the
printer from a Windows NT4 machine. After that clients running NT4 gets
correct settings for the printer. Now the bad thing: the configuration of
the printer for NT4 resets the configuration previously entered for
Windows 2000! When a Windows 2000 client looks on the settings now they
are back to the default values as they were before configuration for
Windows 2000.
Are you aware of the following facts?

* Windows NT printer drivers run in Kernel mode. The respective driver
  files are stored in subdir 2 of [print$]\W32X86\.
* Windows 2K/XP sports a new concept which by default has printer drivers
  run in User mode. But these drivers need to be written for that...
  User mode driver files are stored in subdir 3 of [print$]\W32X86\
  But still, Win2K/XP can use old-style drivers (which of course run
  in Kernel mode and store the files in subdir 2 of [print$]\W32X86\.
The problem also occurs in the other direction. If we first configure the
printer for Windows NT4 and then for Windows 2000, then the settings for
NT4 are reseted after configuration from Windows 2000.
We have several different brands of printers and therfore different
Windows drivers, but for most of them it works like the description above.
A brand new Ricoh printer, with new drivers, works better than above
though.
Can you say which version of driver this printer has installed for the
respective Win clients (UserMode/3 or KernelMode/2)?
When we configure the printer under Windows 2000 for that printer,
then the settings automatically applies to the NT4 settings too and vice
versa. And it doesn't reset any settings. It seems very much up to the
driver where and how it stores its settings in the Samba simulated
registry.
How do Samba store the settings for different Windows platforms?

Re: [Samba] Preserving ACL during NT-Samba file transfer

2004-02-26 Thread Kevin P. Fleming
Emmanuel Lesouef wrote:

I would like to know if someone knows how to transfer files between an
existing WinNT4 PDC to a samba 3.0.2 on XFS Acl-enabled partition without
losing the existing ACLs ?
I believe the robocopy tool included in recent Windows 2K/2K3 resource 
kits can do this.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Winbind dying daily

2004-02-26 Thread Thomas
(samba 3.0.2a via RPM, ADS, SuSE 9)

Every day Windbind stops responding, although the
process is active.

When this happens, getent passwd returns just local
users, and wbinfo -u returns Error looking up domain
users

If i 'reload' winbind, nothing changes, but if I
'restart' it, it works again, for another day.

Any ideas?

log.winbind, after a wbinfo -u, follows:

[2004/02/26 09:53:07, 6]
nsswitch/winbindd.c:new_connection(343)
  accepted socket 14
[2004/02/26 09:53:07, 10]
nsswitch/winbindd.c:winbind_client_read(458)
  client_read: read 1568 bytes. Need 0 more for a full
request.
[2004/02/26 09:53:07, 10]
nsswitch/winbindd.c:process_request(308)
  process_request: request fn INTERFACE_VERSION
[2004/02/26 09:53:07, 3]
nsswitch/winbindd_misc.c:winbindd_interface_version(261)
  [ 5022]: request interface version
[2004/02/26 09:53:07, 10]
nsswitch/winbindd.c:client_write(512)
  client_write: wrote 1300 bytes.
[2004/02/26 09:53:07, 10]
nsswitch/winbindd.c:winbind_client_read(458)
  client_read: read 1568 bytes. Need 0 more for a full
request.
[2004/02/26 09:53:07, 10]
nsswitch/winbindd.c:process_request(308)
  process_request: request fn WINBINDD_PRIV_PIPE_DIR
[2004/02/26 09:53:07, 3]
nsswitch/winbindd_misc.c:winbindd_priv_pipe_dir(297)
  [ 5022]: request location of privileged pipe
[2004/02/26 09:53:07, 10]
nsswitch/winbindd.c:client_write(512)
  client_write: wrote 1300 bytes.
[2004/02/26 09:53:07, 10]
nsswitch/winbindd.c:client_write(557)
  client_write: need to write 35 extra data bytes.
[2004/02/26 09:53:07, 10]
nsswitch/winbindd.c:client_write(512)
  client_write: wrote 35 bytes.
[2004/02/26 09:53:07, 10]
nsswitch/winbindd.c:client_write(546)
  client_write: client_write: complete response
written.
[2004/02/26 09:53:07, 10]
nsswitch/winbindd.c:winbind_client_read(458)
  client_read: read 1568 bytes. Need 0 more for a full
request.
[2004/02/26 09:53:07, 10]
nsswitch/winbindd.c:process_request(308)
  process_request: request fn LIST_USERS
[2004/02/26 09:53:07, 3]
nsswitch/winbindd_user.c:winbindd_list_users(584)
  [ 5022]: list users
[2004/02/26 09:53:07, 10]
nsswitch/winbindd_cache.c:refresh_sequence_number(351)
  refresh_sequence_number: CORPDOMAIN time ok
[2004/02/26 09:53:07, 10]
nsswitch/winbindd_cache.c:refresh_sequence_number(376)
  refresh_sequence_number: CORPDOMAIN seq number is
now -1
[2004/02/26 09:53:07, 10]
nsswitch/winbindd.c:client_write(512)
  client_write: wrote 1300 bytes.
[2004/02/26 09:53:07, 10]
nsswitch/winbindd.c:winbind_client_read(458)
  client_read: read 0 bytes. Need 1568 more for a full
request.
[2004/02/26 09:53:07, 5]
nsswitch/winbindd.c:winbind_client_read(465)
  read failed on sock 14, pid 5022: EOF



__
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] browse master serious problem

2004-02-26 Thread Radu Naidinescu
I have a LAN with a samba server witch acts as wins for it. It's also
suposed to be a browse master for it, but unfortunately sometimes some
windows xp/2000 pc becomes browse master and chaos follows... there is
no pc in the wins list. I observed that stations with a firewall on it
defeat the samba server and I cannot obligate the people who use those
pc to stop their firewalls!

What can i do to prevent samba to lose the status of browse master?

Here is my smb.conf

[global]
  encrypt passwords = yes
  workgroup = BadBoys
  netbios name = server
  server string = server
  log file = /var/log/samba/samba.%m
  max log size = 50
  security = user
  deadtime = 5
  bind interfaces only = yes
  interfaces = eth1 lo
  null passwords = no
  guest account = nobody
  debug level = 1

  smb passwd file = /etc/samba/smbpasswd

  os level = 255
  local master = yes
  domain master = yes
  preferred master = yes

  wins support = yes
  name resolve order = bcast host wins lmhosts

[temp]
  path = /share/tmp
  guest ok = no
  guest only = no
  writeable = yes


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


[Samba] make fails on Solaris building include/proto.h

2004-02-26 Thread Mark Day

I'm trying to build Samba 3.0.2 or 3.0.2a on a Solaris system (I've
tried both Solaris 8 and Solaris 9), and after successfully running
configure, the make step hangs building proto.h.

Checking the process table, the command that is hanging is:

nawk -v headername=_PROTO_H_ -f script/mkproto.awk

I've tried running this command by hand and it also hangs.  I've
tried the nawk that comes with Solaris and also gawk to no avail.

I've searched the archives, and it looks like one other person had
the identical problem, but unfortunately there is no reply to his
question.  I'm running configure without any option flags, and I've
tried setting my environment to use both Forte C compilers and gcc.
Since I'm not really customizing my build, I guess I feel like this
should be happening to *anyone* trying to build this version on
Solaris.

Does anyone have a suggesion on what to try next?  Can anyone verify that
they've successfully built Samba 3.0.2 on Solaris 8 or 9?

Thank you,
Mark Day

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


Re: [Samba] probleb with 'passwd chat' and 'passwd program'

2004-02-26 Thread Loc Nguyen
simply put,

when unix password sync = yes is used, SAMBA tries to
update password in /etc/passwd which I believe you don't have the entry
in it; this option is helpful when you use flat file sambapasswd 

Other
attributes are ok because SAMBA doesn't look at /etc/passwd

 


BLOCKQUOTE { BORDER-LEFT:#1F4687 1px solid; padding-left:20px;
margin-left: 0px; }-Original Message-
From: J�r�me Tournier [EMAIL PROTECTED]
Sent: Thursday, 26. Feb 2004 2:31 -0800
To: [EMAIL PROTECTED]
Subject: Re: [Samba] probleb with 'passwd chat' and 'passwd program'

Le Wed, Feb 25, 2004 at 05:25:30PM -0800, Loc Nguyen a ecrit:

 remove

 unix password sync = yes 

 if you're using ldap for

 authentication


Well, i add it for the 'passwd program' to be called as root (as said
in

the man of smb.conf). Otherwise, it is not called.

I know that i can remove this and only add 'ldap passwd sync = Yes' but

i just want to understand why my script is not finished.

And i also tried samba with Oracle Internet Database : everything work

perfectly, exept the update of userPassword. Why ? i don't know. Samba

can update all others attribut, but not this one !

That's why i also need to use an external script.

-- 

J�r�me

-- 

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


Re: [Samba] browse master serious problem

2004-02-26 Thread Craig White
Not sure that this is gonna solve it...

you need a netlogon share to be a domain controller.

I don't generally mix cases on workgroup names and you definitely have
to be unique netbios name (server is a common name)

Craig

On Thu, 2004-02-26 at 11:35, Radu Naidinescu wrote:
 I have a LAN with a samba server witch acts as wins for it. It's also
 suposed to be a browse master for it, but unfortunately sometimes some
 windows xp/2000 pc becomes browse master and chaos follows... there is
 no pc in the wins list. I observed that stations with a firewall on it
 defeat the samba server and I cannot obligate the people who use those
 pc to stop their firewalls!
 
 What can i do to prevent samba to lose the status of browse master?
 
 Here is my smb.conf
 
 [global]
   encrypt passwords = yes
   workgroup = BadBoys
   netbios name = server
   server string = server
   log file = /var/log/samba/samba.%m
   max log size = 50
   security = user
   deadtime = 5
   bind interfaces only = yes
   interfaces = eth1 lo
   null passwords = no
   guest account = nobody
   debug level = 1
 
   smb passwd file = /etc/samba/smbpasswd
 
   os level = 255
   local master = yes
   domain master = yes
   preferred master = yes
 
   wins support = yes
   name resolve order = bcast host wins lmhosts
 
 [temp]
   path = /share/tmp
   guest ok = no
   guest only = no
   writeable = yes
 

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


[Samba] Solaris 8 and cups issues

2004-02-26 Thread Kurt Pfeifle
[Samba] Solaris 8 and cups issues
Tim Russell timrussell at rocketmail.com
Fri Feb 6 01:09:37 GMT 2004
[]

The windows share is set up with raw and the client then uses it's
own driver. The Solaris queue is set to HP and the generic laserjet.ppd. 
The windows queue prints fine but the unix queue prints nothing (it just
shows up as a cancelled job under the cups web interface).

...which means that you are asking this question in the wrong newsgroup.
Better see if http://www.cups.org/newsgroups.php; is for you...  ;-)
A few things you could check and tell the folks at cups.org:

* output of ls -l /usr/lib/cups/filter/
* output of gs -h
* output of grep '*cupsFilter' /etc/cups/ppd/*
You can set LogLevel debug in /etc/cups/cupsd.conf, restart cupsd
and see what now goes into /var/log/cupa/error_log.

If I change the Solaris queue to raw as well, it prints out garbage
(but it does at least print something).
One final note, we can't use the configure option in the cups gui
(localhost:631 and then printers) on shared printers. It gives a
client-error. 
raw queues don't have a PPD associated to them. raw queues can't
be configured. raw queues spawn that error
We don't specify individual printers in the smb.conf file
(we just tell it to share all of them) so I'm guessing that the few
printers I can do this too will stop allowing me to use the configure 
option once I restart samba.

This has nothing to do with Samba.

Do we need to go grab  gimp-print for more drivers or is this some
other problem?
No need for gimp-print

If your HP is a PostScript model (you didn't name the type at all,
so I can't provide you with an exact download link...) use the PPD
file coming with the Windows driver CD (or download the PPD from
the HP website).
If it is a non-PS printer, use a PPD from the Linuxprinting.org
website, alongside the HP hpijs driver.. Which also requires a
newer version of Ghostscript -- best is ESP Ghostscript -- that
has the ijs-device compiled in (check with gs -h | grep ijs)
Sorry for the long post (we're very close to getting this completely
working and I'm rambling now :)
Thanks,
-Tim
Cheers,
Kurt
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Trouble with install, still

2004-02-26 Thread Anne Ramey
I've tried building it on a server that I know has pretty much every 
library possible for a program to need, but I'm still not getting a 
good samba install.
I'm on white-dwarf linux (kernel 2.4.25), gcc 3.3.2, Samba 3.0.2a
White-dwarf is home-grown, very much like slackware.

When I configure and make and make install, I don't get any errors, but 
I when I look for some files that are supposed to come with it, they 
aren't there.  ex /usr/local/samba/lib/smb.conf: No such file or 
directory   /etc/smb.conf: No such file or directory

These are the files it did install:

./
usr/
usr/local/
usr/local/samba/
usr/local/samba/bin/
usr/local/samba/bin/net
usr/local/samba/bin/smbclient.old
usr/local/samba/bin/testparm.old
usr/local/samba/bin/smbtar.old
usr/local/samba/bin/tdbbackup.old
usr/local/samba/bin/wbinfo.old
usr/local/samba/bin/smbstatus.old
usr/local/samba/bin/rpcclient.old
usr/local/samba/bin/smbpasswd.old
usr/local/samba/bin/smbtree
usr/local/samba/bin/ntlm_auth
usr/local/samba/bin/testparm
usr/local/samba/bin/testprns
usr/local/samba/bin/tdbdump
usr/local/samba/bin/nmblookup.old
usr/local/samba/bin/findsmb
usr/local/samba/bin/smbclient
usr/local/samba/bin/testprns.old
usr/local/samba/bin/smbpasswd
usr/local/samba/bin/tdbbackup
usr/local/samba/bin/nmblookup
usr/local/samba/bin/smbstatus
usr/local/samba/bin/smbtar
usr/local/samba/bin/smbcacls
usr/local/samba/bin/smbspool
usr/local/samba/bin/findsmb.old
usr/local/samba/bin/wbinfo
usr/local/samba/bin/smbcontrol.old
usr/local/samba/bin/pdbedit
usr/local/samba/bin/profiles
usr/local/samba/bin/smbcontrol
usr/local/samba/bin/smbcquotas
usr/local/samba/bin/rpcclient
usr/local/samba/bin/smbcacls.old
usr/local/samba/bin/smbspool.old
usr/local/samba/lib/
usr/local/samba/lib/vfs/
usr/local/samba/lib/vfs/audit.so
usr/local/samba/lib/vfs/default_quota.so
usr/local/samba/lib/vfs/netatalk.so
usr/local/samba/lib/vfs/cap.so
usr/local/samba/lib/vfs/readonly.so
usr/local/samba/lib/vfs/fake_perms.so
usr/local/samba/lib/vfs/extd_audit.so
usr/local/samba/lib/vfs/recycle.so
usr/local/samba/lib/de.msg
usr/local/samba/lib/upcase.dat
usr/local/samba/lib/en.msg
usr/local/samba/lib/valid.dat
usr/local/samba/lib/fr.msg
usr/local/samba/lib/libsmbclient.so
usr/local/samba/lib/ja.msg
usr/local/samba/lib/it.msg
usr/local/samba/lib/nl.msg
usr/local/samba/lib/pl.msg
usr/local/samba/lib/tr.msg
usr/local/samba/lib/lowcase.dat
usr/local/samba/lib/charset/
usr/local/samba/lib/charset/CP437.so
usr/local/samba/lib/charset/CP850.so
usr/local/samba/man/
usr/local/samba/man/man1/nmblookup.1
usr/local/samba/man/man1/profiles.1
usr/local/samba/man/man1/smbcquotas.1
usr/local/samba/man/man1/editreg.1
usr/local/samba/man/man1/testparm.1
usr/local/samba/man/man1/testprns.1
usr/local/samba/man/man1/rpcclient.1
usr/local/samba/man/man1/findsmb.1
usr/local/samba/man/man1/smbsh.1
usr/local/samba/man/man1/smbstatus.1
usr/local/samba/man/man1/wbinfo.1
usr/local/samba/man/man1/ntlm_auth.1
usr/local/samba/man/man1/smbcacls.1
usr/local/samba/man/man1/vfstest.1
usr/local/samba/man/man1/smbclient.1
usr/local/samba/man/man1/smbtree.1
usr/local/samba/man/man1/smbget.1
usr/local/samba/man/man1/smbtar.1
usr/local/samba/man/man1/log2pcap.1
usr/local/samba/man/man1/smbcontrol.1
usr/local/samba/man/man5/
usr/local/samba/man/man5/smbpasswd.5
usr/local/samba/man/man5/lmhosts.5
usr/local/samba/man/man5/smb.conf.5
usr/local/samba/man/man7/
usr/local/samba/man/man7/samba.7
usr/local/samba/man/man8/
usr/local/samba/man/man8/smbpasswd.8
usr/local/samba/man/man8/net.8
usr/local/samba/man/man8/smbspool.8
usr/local/samba/man/man8/smbmount.8
usr/local/samba/man/man8/pdbedit.8
usr/local/samba/man/man8/winbindd.8
usr/local/samba/man/man8/nmbd.8
usr/local/samba/man/man8/tdbdump.8
usr/local/samba/man/man8/smbd.8
usr/local/samba/man/man8/swat.8
usr/local/samba/man/man8/smbmnt.8
usr/local/samba/man/man8/smbumount.8
usr/local/samba/man/man8/tdbbackup.8
usr/local/samba/man/man8/mount.cifs.8
usr/local/samba/sbin/
usr/local/samba/sbin/nmbd
usr/local/samba/sbin/smbd
usr/local/samba/sbin/swat
usr/local/samba/sbin/winbindd
usr/local/samba/swat/
usr/local/samba/swat/help/   associated files
usr/local/samba/include/
usr/local/samba/include/libsmbclient.h
I don't know what to try next.

Anne Ramey
Network Administrator
Blast Internet Services
919-545-2521  (800)-24-BLAST
http://www.blast.com
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Trouble with install, still

2004-02-26 Thread Paul Thomas
Have you tried making that smb.conf file yourself?
Paul
At 12:51 PM 2/26/2004, Anne Ramey wrote:

When I configure and make and make install, I don't get any errors, but I 
when I look for some files that are supposed to come with it, they aren't 
there.  ex /usr/local/samba/lib/smb.conf: No such file or directory   
/etc/smb.conf: No such file or directory
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] make fails on Solaris building include/proto.h

2004-02-26 Thread John H Terpstra
On Thu, 26 Feb 2004, Mark Day wrote:


 I'm trying to build Samba 3.0.2 or 3.0.2a on a Solaris system (I've
 tried both Solaris 8 and Solaris 9), and after successfully running
 configure, the make step hangs building proto.h.

 Checking the process table, the command that is hanging is:

 nawk -v headername=_PROTO_H_ -f script/mkproto.awk

 I've tried running this command by hand and it also hangs.  I've
 tried the nawk that comes with Solaris and also gawk to no avail.

 I've searched the archives, and it looks like one other person had
 the identical problem, but unfortunately there is no reply to his
 question.  I'm running configure without any option flags, and I've
 tried setting my environment to use both Forte C compilers and gcc.
 Since I'm not really customizing my build, I guess I feel like this
 should be happening to *anyone* trying to build this version on
 Solaris.

 Does anyone have a suggesion on what to try next?  Can anyone verify that
 they've successfully built Samba 3.0.2 on Solaris 8 or 9?

Mark,

Check:
http://samba.org/~jht/Notes/Samba-Install-Solaris9.txt

Cheers,
John T.
-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] CUPS printing from Windows

2004-02-26 Thread Kurt Pfeifle
[Samba] CUPS printing from Windows
Alan Becker beckera at softrends.com
Tue Feb 17 05:03:19 GMT 2004
I have replaced a WinNT4 PDC with a Samba server. 
[]

Problem:  Windows clients (using downloaded drivers from print$) don't 
seem to have full or proper control of printing.  Example 1: An excel 
user has to click on Print to fit in Page setup in order for the page 
to be scaled properly.  Otherwise it prints on multiple pages in very
large type. 
This can also happen in a Windows-only environment.

Example 2: Another Excel user attempts to set Landscape orientation.  
The setting is accepted. no error is generated,
but the page continues to print in portrait orientation.

Are your printer drivers installed locally or via Point'n'Print?
Are you using the native Windows drivers from the vendor or are you
using the CUPS or Adobe PostScript drivers (and let CUPS convert the
PS for you)?
To begin with, this unit is based on RedHat 9 with all current updates 
(kernel 2.4.20-28.9, 
Samba 2.2.7a-8.9.0, Cups 1.1.17-13.3.0.3).  After discovering that CUPS 
was the only
printing system that RH9 installed, I went to the documentation and read 
the HOWTO
chapters 18 (Classical printing support) and 19 (CUPS printing support). 
I then did the following:

(1) Create the print queues using the RH/Gnome Printing control applet
(2) Test printing from Linkx (ok)
(3) Obtain the Windows drivers from the NT4 PDC (copied the whole
   c:\winnt\...\w32x86 structure to a scratch area.
(4) Obtain the detailed descriptions of each installed driver using the 
rpcclient utility
   from the Samba server, querying the old NT4 server (temporarily 
attached) with the
   getdriver queue_name function.  Route the query results to a file.  
Repeat for all queues.
(5) Write a script to parse the output of (4) and automate steps 4-10 of 
Manual
   Driver Installation in 15 Steps from Chapter 19. 
(6) Run the script for each print queue.  Drivers appear to be added 
without problem.
OK -- this seems to indicate that you are using the native drivers
for Windows provided by the vendor, just as you did on your NT print
server
(7) Join a WinNT workstation to the Samba domain
???

(8) As Administrator, connect to the laser print queue.  Succeeds, no 
error message.
(9) Bring up Excel, attempt to print Landscape as noted above. This fails.

What do you mean... fails??

-- Does printing fail altogether?
-- Or is it just not printing in landscape mode?
If it is the latter, and if you are using a PostScript driver on the
Windows clients, check out the Release Notes for CUPS:
   http://www.cups.org/relnotes.php

I seem to remember that there was a landscape/portrait bugfix in the
latest 1.1.20 release...
Also, printing from Excel is sucking. Are you sure you had the correct
settings.
Questions::
(A) The failure to command the printer properly suggests a problem with 
the uploaded drivers.
Not necessarily. These things happen in Windows-only places also

Are there any other common explanations for this type of 
behavior??

Yes -- user error, driver bug Did it for sure work (using the same
driver settings) with the previous NT print server?

(B) I attempted to set the dot-matrix queues to the Generic printer/Raw 
device.  In this
mode, I printed a short text file (in Linux), and copied a test file to 
the network queue
(under Windows).  In either case, the file was printed, but the paper 
was not advanced
to the next page. 
Why should it? If you send ASCII text, with no page advance command
at the end, the printer wouldn't know that you want the page advance
In other words, this queue is so raw that it doesn't 
even recognise the end of a print job, 
It does what you tell it. You don't tell it that there is a page
advance needed. You should send an appropriate Escape code to the
dot matrix printer.
so multiple print jobs can be printed on the same 
page.  Is there any middle ground, where inter-job pagination occurs, 
but no other filtering is enabled??

Yes. For a first insight see the CUPS documentation about writing
filters.(*) (If it is too much work for you, you could go to the new
printing consultant's page at
  http://www.linuxprinting.org/consultants.html

where you can buy some support. (If our company does it, 10% go to
Linuxprinting.org as sponsorship money).
(*) You need a filter for the dot-matrix which just adds the page
advance command to any ASCII text file.  It can also be done via
an interface script. See man lpadmin and the -i paramter
TIA for your attention.
A. Becker
Cheers,
Kurt
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Automatic Folder Creation

2004-02-26 Thread Tom Schaefer
I think what you are looking for is the root preexec directive.  Its explained in 
the smb.conf man page.


On Wed, 18 Feb 2004 11:13:23 -0800
Norman Zhang [EMAIL PROTECTED] wrote:

 
 I checked useradd only creates home folders but not others. I could 
 write a bash script
 
 SHARED=/sharepartition/$1
 md $SHARED
 chmod 777 $SHARED
 chown $1.$1 $SHARED
 
 But how can I link this with the uid connecting to Samba?
 
 Regards,
 Norman
 
 -- 
 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


Re: [Samba] password changes with ctrl-alt-del

2004-02-26 Thread Geddes

Thanks for the reply. That is the impression that I was getting too.

So as an alternative to no domains, I figure I will create a domain but 
not join any machines to that domain.
 
As a test I have setup a windows domain with a share. Then mapped a non 
domain member machine to that domain's share. I was able to ctrl-alt-del 
and change the password. 

So now I have been trying replicate this with samba. So far already 
tried this with 2.2.7 and didn't work. So now I'am going to try it with 
3.0.2a. 

On Thu, 26 Feb 2004, Jörn Nettingsmeier wrote:

 Geddes wrote:
  Currently I'am using samba for file sharing. My smb.conf file is basically 
  setup as default with a few minor changes. Therefore, my samba server is 
  not part of a domain. Right now users can map the samba shares with 
  windows XP... With this type of setup is it possible for them to change 
  there smbpasswd using ctrl-alt-del? If so any examples or hints on how 
  to set this up would be great. 
   
  I have tried a few things and the only way I can get this to work is to 
  make my samba server a PDC and have the workstations join the domain.
 
 afaik, that's the only way to do it. if a machine is not a domain 
 member, ctrl-alt-del changes the local password, and there is no way 
 around that.
 
  The 
  version of samba I'am using is 2.2.7a.
  
  Thanks
  
 
 
 

-- 
Jeff Geddes, BSc(UNB)
Computer Systems Specialist
University of New Brunswick
Faculty of Computer Science
eMail: [EMAIL PROTECTED]
office: Rm. E119
phone : (506) 452-6102
fax   : (506) 453-3566


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


[Samba] samba PDC, roaming profile, desktop.ini e ntuser.ini

2004-02-26 Thread Fabio Bazzani
I've got a machine with WinXP Pro SP1 in a samba PDC domain with roaming
profile.
Each time I log on my profile is downloaded on my machine. The problem is
that each directory has a file called desktop.ini. How to hide it?

How do I modify ntuser.ini to customize the excluded directory ? (i.e. by
default Local Settings is excluded from saving profile on samba server)

Thanks

Fabio.



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


Re: [Samba] Winbind dying daily

2004-02-26 Thread Jeremy Allison
On Thu, Feb 26, 2004 at 09:59:55AM -0800, Thomas wrote:
 (samba 3.0.2a via RPM, ADS, SuSE 9)
 
 Every day Windbind stops responding, although the
 process is active.
 
 When this happens, getent passwd returns just local
 users, and wbinfo -u returns Error looking up domain
 users
 
 If i 'reload' winbind, nothing changes, but if I
 'restart' it, it works again, for another day.
 
 Any ideas?

When it's in this state, attach to it via gdb or
use strace -p pid, then trigger it to do something
by a lookup and see what it's doing.

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


Re: [Samba] Log user log-offs

2004-02-26 Thread James McDonald
Loc Nguyen wrote:

Does anyone know of a way to log when a user logs off using Samba as a

PDC.  I have Samba 3.0.2a and can log log-ons using root preexec on a

share all users mount, however I do not know of a way to log log-offs.

We need this data for record keeping purposes.  We don't use roaming

profiles, so using root postexec is not an option as shares disconnect

when not in use.

If you are using windows 2000/XP clients why not use the logoff script 
policy option so when the user physicall logs off the workstation it 
writes to
A text file on a world writeable share
or
The eventlog on a central computer
or
A database on the network



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


RE: [Samba] Persistant Z drive in XP - resolved

2004-02-26 Thread Moondance Foxmarnick
I have my cake and I'm eating it too! I commented out the logon home =
line completely and put in include = /etc/samba/smb.conf.%a. For the
Win95 platform I have logon home = \\%L\%u\.win_profile\%m and for the
Win2K (includes XP) I have logon home = \\%L\%u

Yippee!

As for the Z: drive... I just didn't realize that logon drive = was a
necessity for XP.

Chapter 6 of Using Samba was very helpful.

-Moondance

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of flinchlock
Sent: Thursday, February 26, 2004 4:37 AM
To: samba list
Subject: Re: [Samba] Persistant Z drive in XP

 Then my Win98 users won't have roaming profiles, correct? My
 O'Reilly
 book defines logon home as setting the directory for all Windows
 Platforms, and to achieve roaming for 95/98/Me add the
 /.win_profile. 
  
 Let me guess. I can't have my cake and eat it too..?
  
 There must be some crafty way around this. Can the smb.conf file
 determine platform and then branch?

YUP... http://us2.samba.org/samba/docs/using_samba/ch04.html

This is a link to...
Using Samba, 2nd Edition
By Jay Ts, Robert Eckstein, and David Collier-Brown
2nd Edition, February 2003 
O'Reilly  Associates, ISBN: 0-596-00256-4

Search for Configuring Samba for Roaming Profiles.

This topic talks about how to setup PLATFORM directories, and then
have a soft link from machine name to the PLATFORM directory.  It
handles W95-XP!

GREAT reading! :-))

HTH

Mike
-- 
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


RE: [Samba] Persistant Z drive in XP - resolved

2004-02-26 Thread flinchlock
Quoting Moondance Foxmarnick
 
 As for the Z: drive... I just didn't realize that logon drive =
 was a necessity for XP.

Can you explain why you thing that is true?

I HAD a problem where Z: was also persistent.  I fixed the problem
by making sure logon.bat ended with an exit statement.

After 10-60 seconds (really not sure how long), drive Z: would
disconnet/disappear.

Here is my logon.bat...

--
net use /persistent:no

net use P: \\mutt\public

if not %OS%==Windows_NT goto byebye

ifmember NO-CATS\Domain Admins
if not errorlevel 1 goto byebye

regedit /s \\mutt\netlogon\WinXP_SignOrSeal.reg

:byebye
exit
--

HTH,

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


[Samba] RE: Samba and firewall

2004-02-26 Thread Wendy Yong
Kenneth, 

Thanks for your kind reply. I have opened all necessary ports for
unicast traffic.

Do SAMBA works if one of the server is using a translated IP? Meaning to
say physically both machines are of different subnets, and one of the
machines is translated through the firewall to the other machines
subnet.


Regards, 
Wendy
 

_

-Original Message-
From: Kenneth Tindle [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 27, 2004 2:23 AM
To: [EMAIL PROTECTED]
Subject: Re: Samba and firewall

You have to allow unicast traffic to udp port 137.

If these two LANs are subnets you must setup WINS or DNS too.

You might have to open both tcp and udp port 135 if you are using
spoolss as well.

You don't need 901 unless you are using SWAT.

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


Re: [Samba] remote announce and cross subnet browsing

2004-02-26 Thread Andrew Bartlett
On Fri, Feb 27, 2004 at 11:32:34AM +0700, Beast wrote:
 
 
 Hi all,
 
 Which samba server should have these parameters : 
  remote announce =  
  remote browse sync = 
 
 PDC(DMB), BDC, WINS or any server (as many as we want?) and which server/ip should 
 be in the remote side? I'm trying to put broadcast address of remote network but did 
 not work. 

Good routers might block this, as it is a very good way to do an
amplification DOS with a spoofed source.

The broadcast address is what you want, I think.  But really, you want
a shared wins server, and a samba server on each subnet (which will
ensure that browsing works well)

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


Re: [Samba] remote announce and cross subnet browsing

2004-02-26 Thread Craig White
On Thu, 2004-02-26 at 21:54, Beast wrote:
 * Andrew Bartlett [EMAIL PROTECTED] nulis:
 
 
  The broadcast address is what you want, I think.  But really, you want
  a shared wins server, and a samba server on each subnet (which will
  ensure that browsing works well)
 
 One shared wins server is not possible, because if link is down then client can't 
 register to wins.
 

he's telling you that you want a shared wins server because samba
doesn't support exchange of data between wins servers - whether with
Windows based wins servers or with samba based wins servers. Thus the
remote announce which should be targeted at the broadcast address of
remote subnets. The next problem then is your routers which may be
blocking broadcasts from remote subnets - I think if you think about
this, you can see why some might want to prevent this. Check the methods
used in running the tunnels between the subnets and see if you can
selective 'unblock' broadcasts.

Craig

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


Re: [Samba] remote announce and cross subnet browsing

2004-02-26 Thread Beast
* Andrew Bartlett [EMAIL PROTECTED] nulis:


 The broadcast address is what you want, I think.  But really, you want
 a shared wins server, and a samba server on each subnet (which will
 ensure that browsing works well)

One shared wins server is not possible, because if link is down then client can't 
register to wins.

 Andrew Bartlett
 


--beast

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


Re: [Samba] remote announce and cross subnet browsing

2004-02-26 Thread Beast
* Andrew Bartlett [EMAIL PROTECTED] nulis:

 On Fri, Feb 27, 2004 at 11:32:34AM +0700, Beast wrote:
  
  
  Hi all,
  
  Which samba server should have these parameters : 
   remote announce =  
   remote browse sync = 
  
  PDC(DMB), BDC, WINS or any server (as many as we want?) and which server/ip should 
  be in the remote side? I'm trying to put broadcast address of remote network but 
  did not work. 
 
 Good routers might block this, as it is a very good way to do an
 amplification DOS with a spoofed source.
 
 The broadcast address is what you want, I think.  But really, you want
 a shared wins server, and a samba server on each subnet (which will
 ensure that browsing works well)

I have 4 sites across WAN, each has its own NT/Samba domain and each has its own wins 
server.
1. If I put PDC as the remote target, it works for samba (will it works on NT pdc too?
2. If wins is installed on same machine as BDC, so it doesn't serve as MDB. Can I use 
this as remote target?

3. Broadcast address did not works (I already wait for 48 but never appears, with 
remote PDC it appears within less than 1 hour).

4. Can I use above parameter on many server in local site?

Second is how do I tell samba to find the DC for other site? Im trying to create trust 
but always get same error, even the PDC of remote target are already in dns and lmhost.

[EMAIL PROTECTED] root]# net rpc trustdom establish irscpk
[2004/02/27 11:44:13, 0] utils/net_rpc.c:rpc_trustdom_establish(1976)
  Couldn't find domain controller for domain IRSCPK



 Andrew Bartlett
 


Thanks.
--beast

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


[Samba] remote announce and cross subnet browsing

2004-02-26 Thread Beast


Hi all,

Which samba server should have these parameters : 
 remote announce =  
 remote browse sync = 

PDC(DMB), BDC, WINS or any server (as many as we want?) and which server/ip should be 
in the remote side? I'm trying to put broadcast address of remote network but did not 
work. 


--beast

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


RE: [Samba] Persistant Z drive in XP - resolved

2004-02-26 Thread Moondance Foxmarnick
Because my book defines logon drive as Sets the drive to be used as a
home directory for domain logons by Windows NT/2000/XP clients. With a
default of, you guessed it, Z: ! That was why I was winding up with two
home directories one on S: (from my bat file) and one on Z: from the
default value logon drive. 

I will take the exit statement to heart and add one in on my file. I
do not have one currently.

My problem wasn't so much the persistence of Z: as I didn't want it in
the first place! grin

Anyway, all's well that ends well. Now I'm off to slay my next Dragon!
bgrin

-Moondance

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of flinchlock
Sent: Thursday, February 26, 2004 4:00 PM
To: samba list
Subject: RE: [Samba] Persistant Z drive in XP - resolved

Quoting Moondance Foxmarnick
 
 As for the Z: drive... I just didn't realize that logon drive =
 was a necessity for XP.

Can you explain why you thing that is true?

I HAD a problem where Z: was also persistent.  I fixed the problem
by making sure logon.bat ended with an exit statement.

After 10-60 seconds (really not sure how long), drive Z: would
disconnet/disappear.

Here is my logon.bat...

--
net use /persistent:no

net use P: \\mutt\public

if not %OS%==Windows_NT goto byebye

ifmember NO-CATS\Domain Admins
if not errorlevel 1 goto byebye

regedit /s \\mutt\netlogon\WinXP_SignOrSeal.reg

:byebye
exit
--

HTH,

Mike
-- 
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


Re: [Samba] Performances network samba

2004-02-26 Thread Marcel de Riedmatten
Le jeu 26/02/2004 à 14:33, Xavier Poirier a écrit :

 We have installed OpenOffice in a network mode onto a samba share
 named \\openoffice\ooo (linux Mandrake9.2)
 The performances are slowest (a 10M network)
 
 I was wondering if there is a simple way to optimise performances
 beetween a samba share and the win2k clients, a cache or something
 similar ?

Hi 

For openoffice i made the share readonly. Its quite fast.

-- 
Marcel de Riedmatten



signature.asc
Description: Ceci est une partie de message	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] INTERNAL ERROR: Signal 11 in smbd (samba 3.0.2a)

2004-02-26 Thread Jeremy Allison
On Thu, Feb 26, 2004 at 04:02:04PM +0100, Simone Lazzaris wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi, I've got a serious problem with my samba installation (samba
 3.0.2.a, compiled from sources).
 
 The problem seems to occour when printing a file on a printer connected
 ~ to our samba server. Other printers on the same server seems to work
 just fine.
 
 Note that the thing is not sistematic... some days it occours many
 times, and other days all works like a charm.

Can you compile with debug symbols included (-g) so we can
get some info as to chat line this is failing on ?

Thanks,

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


[Samba] Winbind log question.

2004-02-26 Thread Andreas Falk
Hi.

I got samba-3.0.2a-1 on fedora core 1 working as a domain member.

We have some shares there and the domain users is authentificated by a
windows 2003 
DC.

Everything runs smooth but this comes up in the log every time a cronjob
By root is runned. The samt thing if I log in..

--- winbindd.log ---
[2004/02/26 23:01:01, 1] nsswitch/winbindd_group.c:winbindd_getgroups(954)
  user 'root' does not exist
[2004/02/26 23:03:00, 1] libads/ads_ldap.c:ads_name_to_sid(64)
  name_to_sid: root not found
[2004/02/26 23:03:00, 1] nsswitch/winbindd_group.c:winbindd_getgroups(954)
  user 'root' does not exist
[2004/02/26 23:34:26, 1] libads/ads_ldap.c:ads_name_to_sid(64)
  name_to_sid: root not found
[2004/02/26 23:34:26, 1] nsswitch/winbindd_group.c:winbindd_getgroups(954)
  user 'root' does not exist
---
- smb.conf -
[global]
workgroup = DOMAIN
realm = DOMAIN.LAN
security = ADS
password server = dc01.domain.lan
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
wins server = 192.168.1.10
idmap uid = 1-2
idmap gid = 1-2
winbind use default domain = yes
winbind separator = +
winbind cache time = 10
winbind enum users = yes
winbind enum groups = yes
unix charset = ISO8859-1
[fluff]
comment = fluff
path = /fluff
writable = yes
browseable = no
valid users = @DOMAIN+Domain Group
force create mode = 0770
force directory mode = 6770

- nsswitch.conf 
passwd: files winbind
shadow: files
group:  files winbind
---
Any Ideas?

// Regards

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


Re[2]: [Samba] 100% CPU eaten -- tdb_fetch failed

2004-02-26 Thread Fabio Muzzi
Hello John,

Thursday, February 26, 2004, 3:30:21 AM, you wrote:


JHT You should run the tdbbackup tool every time Samba (smbd) is shut down.
JHT Please refer to the man page for further information. The use of tdbbackup
JHT is a very important step to prevention of catastrophic problems with tdbs.

It  should  be  a  good idea to include a tdbbackup run in the init script
that  runs  samba  (I mean /etc/init.d/samba). Why don't you include it in
the  standard  init  script that is included in the samba distribution? (I
refer  to  the  debian  packages,  I  don't  know  about  the other binary
distributions).



-- 

  Fabio Kurgan Muzzi

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


[Samba] Trusted NT domains won't connect

2004-02-26 Thread Dan Tremitiere
Hi all,

I've been struggling with this problem for quite some time, and I'm
hoping someone will have an answer for me.  I'm trying to use Samba to
authenticate against a campus-wide NT domain setup.  As such, I can't
change any of the details of the NT domain.
The NT domains are set up as follows:

   +- USER1
   |
MACHINES -+- USER2
   |
   +- USER3
Machines join the MACHINES domain, using a username (let's call it
addmachine) and password set aside for this purpose.  USER1, USER2,
and USER3 are trusted by MACHINES, and all user accounts are created in
these three domains.
I've got smbd and winbindd running under Samba 3.0.2a1.  Issuing

   net join -S PDCNAME -Uaddmachine%password

returns

   Joined domain MACHINES.

Issuing wbinfo -m at this point will return:

   USER1
   USER2
   USER3
(MACHINES is absent.)

Issuing wbinfo --sequence, however, returns:

USER1 : DISCONNECTED
USER2 : DISCONNECTED
USER3 : DISCONNECTED
MACHINES : 75917
Try as I might, I have never gotten Samba to connect to the USER1-3
domains.  What am I doing wrong?  The global section of my smb.conf 
(minus comments) is
below.

My apologies if this is a duplicate post; I tried posting it to 
linux.samba but
that seems to just be a mail - news gateway.

Dan

smb.conf:
[global]
workgroup = MACHINES
server string = myservername
log file = /var/log/samba/log.%m
max log size = 50
security = domain
password server = PDC
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no

winbind separator = +
idmap uid = 1-2
idmap gid = 1-2
winbind enum users = yes
winbind enum groups = yes
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba CANNOT work with DNS round-robin (?)

2004-02-26 Thread Andrew Bartlett
On Fri, 2004-02-27 at 03:53, Ciarochi, Anthony wrote:
 This is posed as a question more that a statement, so if you can show
 that I'm wrong, please feel free to correct / flame me.

Quite correct.  Clustered CIFS is hard, and much more work than just
having a shared NFS backend.  You would start by sharing various tdbs,
but tdb performance over NFS is well known to stink, and that is only
the start of the problems...

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

Re: [Samba] Log user log-offs

2004-02-26 Thread Loc Nguyen

how about 

root postexec =

??


BLOCKQUOTE { BORDER-LEFT:#1F4687 1px solid; padding-left:20px;
margin-left: 0px; }-Original Message-
From: Brandon Turner [EMAIL PROTECTED]
Sent: Thursday, 26. Feb 2004 12:26 -0800
To: [EMAIL PROTECTED]
Subject: [Samba] Log user log-offs

Does anyone know of a way to log when a user logs off using Samba as a

PDC.  I have Samba 3.0.2a and can log log-ons using root preexec on a

share all users mount, however I do not know of a way to log log-offs.

We need this data for record keeping purposes.  We don't use roaming

profiles, so using root postexec is not an option as shares disconnect

when not in use.


 


Thanks for any help,


Brandon Turner


MSC Computer Operations


-- 

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] Log user log-offs

2004-02-26 Thread Brandon Turner
Does anyone know of a way to log when a user logs off using Samba as a
PDC.  I have Samba 3.0.2a and can log log-ons using root preexec on a
share all users mount, however I do not know of a way to log log-offs.
We need this data for record keeping purposes.  We don't use roaming
profiles, so using root postexec is not an option as shares disconnect
when not in use.

 

Thanks for any help,

Brandon Turner

MSC Computer Operations

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


Re: [Samba] Trouble with install, still

2004-02-26 Thread Anne Ramey
Yes, but if you'll notice from my list it didn't install the deamons 
either...can't do much without those.

Anne
On Feb 26, 2004, at 2:33 PM, Paul Thomas wrote:
Have you tried making that smb.conf file yourself?
Paul
At 12:51 PM 2/26/2004, Anne Ramey wrote:

When I configure and make and make install, I don't get any errors, 
but I when I look for some files that are supposed to come with it, 
they aren't there.  ex /usr/local/samba/lib/smb.conf: No such file or 
directory   /etc/smb.conf: No such file or directory
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
Anne Ramey
Network Administrator
Blast Internet Services
919-545-2521  (800)-24-BLAST
http://www.blast.com
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] HP, Sybase and DM Review Invite You to a Web Seminar

2004-02-26 Thread WebSeminar
HP, Sybase and DM Review present
Converting Compliance Cost into Business Advantage — A Roadmap to Real-Time Data 
Analysis
 
Date: March 18, 2004 
Time: 1:00 p.m. - 2:00 p.m. EST 

Compliance with industry and government regulations is a mandatory cost of doing 
business. Architecting systems to handle reporting requirements — often on five to ten 
year's worth of detailed business data — can seem like a zero-ROI proposition, except 
to avoid fines for non-compliance.
Not so, says experts from HP, Sybase and BearingPoint. 

Jane Griffin of BearingPoint moderates this one- hour seminar, which offers a roadmap 
to converting your compliance reporting costs into real business advantage.  
Presentations will include real-world case study examples and will address topics, 
such as:  

- Bridging information silos to create a single view of enterprise data 
- Dramatically reducing complexity, storage and maintenance costs 
- Improving business efficiency through best practice analysis 
- Increasing the speed of query response

To register visit:
http://www.dmreview.com/eletters/clickReg.cfm?URLID=3671

To unsubscribe send a blank e-mail to [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] OS X Panther and Samba 3 give me no access to a 2003 share %3A(

2004-02-26 Thread Jason Hotchkiss
I curious if you were able to find a resolution for this issue.

I have exactly the same issue.

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


[Samba] Easy Answer to DIFFICULT printing question SAMBA/WinXP/Cups

2004-02-26 Thread Kurt Pfeifle
[Samba] DIFFICULT printing question SAMBA/WinXP/Cups
Michael Gasch gasch at eva.mpg.de
Mon Feb 2 12:14:47 GMT 2004
[]

my problem: samba should just be the driver provider and not spool 
print jobs...those should go directly to the printers

What you want to do is not possible for Samba, 

[]

my script:

rundll32 printui.dll,PrintUIEntry /in /n \\sambapdc\copy07.my.domain 
/r IP_192.168.1.1

192.168.1.1 = TCP/IP Port of the Printer copy07

but it doesn't work - the printer maps perfectly but the port is Samba 
Printer Port and i can't add a new port, because this request is not 
supported

...and it tells you so.

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


[Samba] winbind and unix/nt login match use unix uid

2004-02-26 Thread Alexius Ludeman
Hi,
I'm on solaris 9, and using winbind to be a part of our NT domain.

I'm trying to determine if it's possible to configure winbind/smb so
that when the nt login name matches the unix login name the share is
mounted using their unix uid.  With none matching account names,
username map works fine.  It doesn't appear that johnsmith =
johnsmith works in the username map file.

thanks for any assistance,
lex

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


[Samba] password chat = for redhat linux

2004-02-26 Thread Adam Williams
Hi, I was wodnering if someone could tell me what password chat = should 
be set to for Redhat Linux.  specifically redhat 9 or fedora core 1.  
Thanks!
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] PPP Dial in

2004-02-26 Thread Craig White
On Thu, 2004-02-26 at 04:54, Andrew Bartlett wrote:
 On Thu, 2004-02-26 at 15:36, Craig White wrote:
  In case this matters... RH AS 3 / samba 3.0.0-14-3E
  
  Just switched dial in from Windows RAS server to Linux PPP server. I
  can't seem to figure out a way to allow Windows users to log in with
  Domain name
  
  i.e. /etc/ppp/pap.secrets
  client   serverpasswordip address
  DOMAIN\user*   my_pass 111.222.333.444
  DOMAIN\user  *   my_pass 111.222.333.444
  DOMAIN\\user   *   my_pass 111.222.333.444
 
 What you really want is to use the domain passwords.  
---
Yeah - it sort of bothers me to have to have another set of passwords
here - would prefer them to be referred to normal pam login
---
 
  No matter what, I can't log on - if I use the domain. This means that
  the dial-in user can't access the domain without network
  browsing...which I have simplified somewhat by creating a batch file
  that simply does 'explorer.exe \\Server'  - but that sure isn't pretty.
 
 So they are logging in on PPP fine, they just can't browse?  The PPP
 level and the SMB/Browsing level are very different problems.
---
PPP login without domain works - since they are WinXP Prof and already
joined to domain, they can browse but connection to 'persistent' shares
will fail unless I force a network browse first. 

Dial up just sucks anyway, I hate having to work this through - it takes
so long on dial-up for a user to browse through directories, locate and
then open a file with Microsoft Work, it hardly seems worth it. In all
these years, I have managed to escape setting up dial-in access except
for a few situations where I hung a modem off Windows NT Domain
controllers and used RAS. Clearly, that is much easier.
---
  As long as we're going for the long ball, is there any methodology to
  support L2TP via Samba? What I want is full Windows RAS from Samba ;-)
 
 It's not impossible.  See my paper at
 http://hawkerc.net/staff/abartlet/comp3700 for information on using
 PoPToP in a similar situation, but pppoe would also work.  Anything that
 can talk PPP can use the MS domain passwords.  I need to extend the
 patch provided to also work with plaintext...
---
wow - you da man

I didn't want to go to that much work to accommodate a few low tech
users and I was thinking more like the L2TP than PPTP but looking at
this, it seems your solution may be simpler. I didn't realize that
Macintosh clients could use PPTP. I know that L2TP support has been
added to Panther.

Craig

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


[Samba] Help in joining Linux on AD domain.

2004-02-26 Thread Boniforti Flavio
Hello all!

Is anybody there who can help me in the task of having my Linux-box 
joined our AD Windows 2000 Server?
I'm using Fedora Core 1, I've installed samba and krb5-workstation and 
SWAT. I configured samba, but I would like to check it with some of you!

In fact, I get following errors when trying to join:

[EMAIL PROTECTED] root]# net ads join DOM-VCO -U Administrator
Administrator password:
[2004/02/26 14:08:37, 0] libads/kerberos.c:ads_kinit_password(133)
  kerberos_kinit_password [EMAIL PROTECTED] failed: 
Cannot
find KDC for requested realm

[EMAIL PROTECTED] root]# kinit [EMAIL PROTECTED]
kinit(v5): Cannot find KDC for requested realm while getting initial 
credentials

[EMAIL PROTECTED] root]# kinit [EMAIL PROTECTED]
kinit(v5): Cannot find KDC for requested realm while getting initial 
credentials

Thank you!

--
---
Boniforti Flavio
Provincia del Verbano-Cusio-Ossola
Ufficio Informatica
Tecnoparco del Lago Maggiore
Via dell'Industria, 25
28924 Verbania
---
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba Build Error

2004-02-26 Thread anju abraham
Environment : DG/UX Release R4.20MU07
Samba File  : samba-3.0.2a.tar.gz
I ran the configure program and it completed successfuly.
Then I ran the make utility.
Here is a snapshot of the errors (this is from the second time i ran
the make command)
--
# make
Using FLAGS =  -O -I./popt -Iinclude
-I/extra/samba/src/samba-3.0.2a/source/incl
ude -I/extra/samba/src/samba-3.0.2a/source/ubiqx
-I/extra/samba/src/samba-3.0.2a
/source/smbwrapper  -I.  -I/extra/samba/src/samba-3.0.2a/source
 LIBS = -lgen -lresolv -lsocket -lnsl
 LDSHFLAGS = -shared
 LDFLAGS =
Compiling client/client.c
client/client.c: In function `do_get':
client/client.c:695: warning: passing arg 4 of `cli_getattrE' from
incompatible
pointer type
client/client.c: In function `do_put':
client/client.c:1071: warning: passing arg 4 of `cli_getattrE' from
incompatible
pointer type
client/client.c: In function `remote_completion':
client/client.c:2304: `PATH_MAX' undeclared (first use this function)
client/client.c:2304: (Each undeclared identifier is reported only
once
client/client.c:2304: for each function it appears in.)
*** Error code 1
Stop.
--
Please let me know if you have any fixes for this.
thanks in advance
Anj.
_
Find and compare great deals on Broadband access at the MSN High-Speed 
Marketplace. http://click.atdmt.com/AVE/go/onm00200360ave/direct/01/

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


[Samba] INTERNAL ERROR: Signal 11 in smbd (samba 3.0.2a)

2004-02-26 Thread Simone Lazzaris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi, I've got a serious problem with my samba installation (samba
3.0.2.a, compiled from sources).
The problem seems to occour when printing a file on a printer connected
~ to our samba server. Other printers on the same server seems to work
just fine.
Note that the thing is not sistematic... some days it occours many
times, and other days all works like a charm.
Here is a snippet of the log file and my smb.conf file.



[2004/02/26 14:29:09, 0] lib/fault.c:fault_report(36)
~  ===
[2004/02/26 14:29:09, 0] lib/fault.c:fault_report(37)
~  INTERNAL ERROR: Signal 11 in pid 21341 (3.0.2a)
~  Please read the appendix Bugs of the Samba HOWTO collection
[2004/02/26 14:29:09, 0] lib/fault.c:fault_report(39)
~  ===
[2004/02/26 14:29:09, 0] lib/util.c:smb_panic(1400)
~  PANIC: internal error
[2004/02/26 14:29:09, 0] lib/util.c:smb_panic(1407)
~  BACKTRACE: 24 stack frames:
~   #0 /usr/local/samba3/sbin/smbd(smb_panic+0x182) [0x818bfae]
~   #1 /usr/local/samba3/sbin/smbd [0x817c3d1]
~   #2 /usr/local/samba3/sbin/smbd [0x817c42a]
~   #3 /lib/libc.so.6 [0x4027e888]
~   #4 /usr/local/samba3/sbin/smbd(print_queue_status+0x139) [0x81a6315]
~   #5 /usr/local/samba3/sbin/smbd(_spoolss_enumjobs+0xe8) [0x810c350]
~   #6 /usr/local/samba3/sbin/smbd [0x80fe2ea]
~   #7 /usr/local/samba3/sbin/smbd(api_rpcTNP+0x200) [0x81295ec]
~   #8 /usr/local/samba3/sbin/smbd(api_pipe_request+0xce) [0x812936e]
~   #9 /usr/local/samba3/sbin/smbd [0x81238d4]
~   #10 /usr/local/samba3/sbin/smbd [0x8123ac1]
~   #11 /usr/local/samba3/sbin/smbd [0x8123d46]
~   #12 /usr/local/samba3/sbin/smbd [0x8123f03]
~   #13 /usr/local/samba3/sbin/smbd(write_to_pipe+0xd7) [0x8123e83]
~   #14 /usr/local/samba3/sbin/smbd [0x8087f5b]
~   #15 /usr/local/samba3/sbin/smbd [0x8088147]
~   #16 /usr/local/samba3/sbin/smbd(reply_trans+0x9ab) [0x8088b5b]
~   #17 /usr/local/samba3/sbin/smbd [0x80bc945]
~   #18 /usr/local/samba3/sbin/smbd [0x80bc9d1]
~   #19 /usr/local/samba3/sbin/smbd(process_smb+0x1c5) [0x80bcce1]
~   #20 /usr/local/samba3/sbin/smbd(smbd_process+0x13d) [0x80bd74d]
~   #21 /usr/local/samba3/sbin/smbd(main+0x72c) [0x81e76d4]
~   #22 /lib/libc.so.6(__libc_start_main+0x8e) [0x4026c306]
~   #23 /usr/local/samba3/sbin/smbd(ldap_msgfree+0x69) [0x8076851]
#=== Global Settings 
[global]
~   netbios name = FS5
~   idmap uid = 1-2
~   idmap gid = 1-2
~   winbind enum users = yes
~   winbind enum groups = yes
~   workgroup = Task_84
~   server string = Server FS5
~   printcap name = /etc/printcap
~   load printers = yes
~printing = cups

~   guest account = nobody
~   map to guest = never
~   log file = /var/log/samba/samba3.log
~   max log size = 0
~   security = user
~  encrypt passwords = yes
~  passdb backend = tdbsam:/usr/local/samba3/lib/passdb.tdb
~  unix password sync = Yes
~  passwd program = /usr/bin/passwd %u
~  passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
~  add machine script = /usr/sbin/useradd -d /dev/null -g 800 -s
/bin/false -M %u


~   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

	interfaces = 10.0.1.32/24

~   local master = yes

~   os level = 65

~   domain master = yes

~   preferred master = yes

~  domain logons = yes

~logon script = script\%U.bat

~logon home=
~logon path=
~   wins server = 10.0.1.34

~   dns proxy = no

disable spoolss = no
use client driver = yes


~ dos filemode = yes

[netlogon]
path = /var/lib/samba3/netlogon
comment = Servizio di Logon
guest ok = yes
browseable = No
read only = yes
write list = root,administrator
[homes]
~   comment = Home Directories
~   browseable = no
~   writable = yes
~   hide dot files = yes
# NOTE: this printer always works !
[laserjet]
~   comment = Stampante in progettazione
~   directory = /var/spool/samba
~   browseable = yes
~   public = yes
~   printable = yes
~   create mode = 0700
~   guest ok = no
~   read only = yes
~   printer name = laserjet
# Also this
[hpdir]
~   comment = Stampante in direzione
~   directory = /var/spool/samba
~   browseable = yes
~   public = yes
~   printable = yes
~   create mode = 0700
~   guest ok = no
~   read only = yes
~   printer name = LaserJet4000N
[utprint002]
~   comment = Stampante in ufficio tecnico 2
~   directory = /var/spool/samba
~   browseable = yes
~   public = yes
~   printable = yes
~   create mode = 0700
~   guest ok = no
~   read only = yes
~   printer name = utprint002
# THESE are the printer which fails !
[UTHP_PS]
~   comment = HP laserjet 5000 PostScript ufficio tecnico
~   directory = /var/spool/samba
~   browseable = yes
~   public = yes
~   printable = yes
~   create mode = 0700
~   valid users = @uftec
~   guest ok = no
~   read only = yes
~   printer 

[Samba] Re: 5664ddff?$??§2

2004-02-26 Thread paulg
does it matter?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] locks directory over nfs

2004-02-26 Thread Alon Shalita
Hello.

In our samba configuration, the lock directory is located on an NFS mount.
It seems that for some reason this causes many problems:
Some applications fail to save files properly (eg matlab), some applications
fail to print (eg acrobat reader), and each time those application fail,
we got a message on the log saying

[2004/02/16 10:19:35, 0] tdb/tdbutil.c:tdb_log(724)
  tdb(/usr/local/lib/samba-3.0.1/var/locks/locking.tdb): expand_file ftruncate to 8192 
failed (Permission denied)

(for file problems)

and

[2004/02/19 15:42:23, 0] tdb/tdbutil.c:tdb_log(724)
  tdb(/usr/local/lib/samba-3.0.1/var/locks/printing/hpcs.tdb): expand_file ftruncate 
to 73728 failed (Permission denied)

(for the print problem).

The premission on those files are 755, with owner of root (the server
runs as root). The nfs server where the files are located premit root
to accesss files as root (has no_root_squash).

When tring exactly the same configuration on a local disk (I just copied
the locking directory to a local direcotry, and did mount --bind) -
no errors on the log, and all operations go well.

After doing some strace on the code, we saw the smbd is trying to change
the locking.tdb file when running in user permissions. Our guess is that
the server opens the file when running as root, switch to the calling
user (setuid) and then accesses the file again. This works fine with a
local disk but not with NFS where permissions are checked on every access.

We saw this behavior on samba 3.0.1 and 3.0.2a, on i386 linux machine.

Is it a bug in samba ? 

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


Re: [Samba] Samba-3.0.2 PDC LDAP: Add computer to domain issuewithsmbldap-tools

2004-02-26 Thread David Wilson
Hi Rob,

Wow !! Thanks for all that info.
I'll give it a try and let you know how it goes.
Thanks for all your assistance.

-- 

Many thanks and kind regards,

David Wilson
D c D a t a 
+27 33 3427003
+27 82 4147413
http://www.dcdata.co.za
[EMAIL PROTECTED]
KZN's first and only pure Linux solution provider

LinuxBox S.A.: Africa's shell provider.
Powered by Linux and DcData - driven by passion !
http://www.linuxbox.co.za
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Samba-3.0.2 PDC LDAP: Add computer to domain issue withsmbldap-tools

2004-02-26 Thread David Wilson
Hi Robert,

Thank you kindly for your response.
Before I run /usr/local/sbin/smbldap-useradd.pl -w %u, do I need to
have the computer account in /etc/passwd ? e.g. 
useradd -s /bin/false -g computers pc1$ ?


Thank you for your assistance so far.

-- 

Many thanks and kind regards,

David Wilson
D c D a t a 
+27 33 3427003
+27 82 4147413
http://www.dcdata.co.za
[EMAIL PROTECTED]
KZN's first and only pure Linux solution provider

LinuxBox S.A.: Africa's shell provider.
Powered by Linux and DcData - driven by passion !
http://www.linuxbox.co.za
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Samba-3.0.2 PDC LDAP: Add computer to domain issue withsmbldap-tools

2004-02-26 Thread RRuegner
Hi,
for ldap you should use the scripts included in samba source from idealix
the right line in smb.conf to install a machine account would be
 add machine script = /usr/local/sbin/smbldap-useradd.pl -w %u
this works with usrmgr or from command line
Regards
- Original Message - 
From: David Wilson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 2:08 PM
Subject: [Samba] Samba-3.0.2 PDC LDAP: Add computer to domain issue
withsmbldap-tools


 Hi guys,

 I've installed openldap-2.1.25 and Samba-3.0.2 and configured everything
 with no TLS on a Slackware-9.1 Linux box.

 To manage the LDAP backed I've used smbldap-tools-0.8.4.
 After populating the database with smbldap-populate I was able to first
 add users to /etc/passwd etc. and then to LDAP with smbldap-useradd -a
 and access the server via Windows PCs. Everything appeared to be working
 correctly.

 My only problem is that I cannot seem to get a machine account added
 correctly. I've added the PC name to /etc/passwd etc. with useradd -s
 /bin/false -g computers pc1$ and also run smbldap-useradd -w pc1.
 When the computer attempts to join the domain it receives an unable to
 join domain error. It seems that smbldap-useradd -w pc1 seems to add
 only a posix account to the LDAP backend ?:
 ---
  pc1$, Computers, domain.net
 dn: uid=pc1$,ou=Computers,dc=domain,dc=net
 objectClass: top
 objectClass: inetOrgPerson
 objectClass: posixAccount
 cn: pc1$
 sn: pc1$
 uid: pc1$
 uidNumber: 1007
 gidNumber: 553
 homeDirectory: /dev/null
 loginShell: /bin/false
 description: Computer
 -

 I've missed something somewhere for sure ? Perhaps I need nss_ldap ?
 I've also tried using the smbldap-tools that come with samba-3.0.2.

 Any suggestions would be greatly appreciated.
 Thank you kindly.

 -- 

 Many thanks and kind regards,

 David Wilson
 D c D a t a
 +27 33 3427003
 +27 82 4147413
 http://www.dcdata.co.za
 [EMAIL PROTECTED]
 KZN's first and only pure Linux solution provider
 
 LinuxBox S.A.: Africa's shell provider.
 Powered by Linux and DcData - driven by passion !
 http://www.linuxbox.co.za

 -- 
 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


Re: [Samba] strange issue with PDC, ldap and usrmgr [fixed]

2004-02-26 Thread Frédéric Descamps
rebuild the indexes of ldap fixed this problem ;-)

On Thu, 2004-02-26 at 12:58, Frédéric Descamps wrote:
 I have this in the log when I try to add a user to a group :
 
 
 
 [2004/02/26 12:45:08, 4] passdb/pdb_ldap.c:ldapsam_getsampwsid(1143)
   ldapsam_getsampwsid: Unable to locate SID
 [S-1-5-21-3683693452-1376506518-255537534-2996] count=0
 
 
 this SID exists in the ldap :-(
 
 
 On Thu, 2004-02-26 at 12:28, Frédéric Descamps wrote:
  hi the list,
  
  I have a problem that I cannot explain myself, 
  
  I have a PDC (samba 3.0.2a) with ldap backend
  
  When I start usrmgr, I can see the users and the group but if I want to
  modify something I always get errors like group name could not be found
  or user name could not be found
  
  so I've tryed to add a user in linux with the same name of the samba
  user in ldap and then it works... :-(
  
  but if I do id and the user name it works on cmd line even if the user
  is only in the ldap.
  
  id mv
  uid=1002(mv) gid=513(Domain Users) groups=513(Domain Users)
  
  what is wrong ? how can I fix this ?
  
  
  thanks,
  
  
  fred

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


[Samba] (no subject)

2004-02-26 Thread Galli, Ricardo Fernandes
unsubcribe
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] 'logon drive' questions

2004-02-26 Thread flinchlock
Quoting John H Terpstra
 What is Samba-3.1.x? I am not aware that we have made any
 commitments to a
 3.1.x release. We are planning a 3.0.3, however I should point
 out that
 3.0.2a is looking good based on feedback so far. It will likely
 become
 known as a very stable reference release.

Let me rephrase... Since I'm just a home user (less than six
workstations), I don't need all the bleeding edge stuff in Samba
3.x.  So, I'll wait to upgrade until a stable release is available.
 I'm s feedup with software x.0 releases (mostly Windows
progs), I'll wait until x.1.

  I won't ask you any questions.
 
 Why? What was wrong with my answers? :)

I *assume* you are VERY busy, and I shouldn't waste your time (or
the lists) on stuff that I can goggle (same as RTFM).

THANKS.

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


[Samba] something for you

2004-02-26 Thread desm
do you?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] PPP Dial in

2004-02-26 Thread Andrew Bartlett
On Thu, 2004-02-26 at 15:36, Craig White wrote:
 In case this matters... RH AS 3 / samba 3.0.0-14-3E
 
 Just switched dial in from Windows RAS server to Linux PPP server. I
 can't seem to figure out a way to allow Windows users to log in with
 Domain name
 
 i.e. /etc/ppp/pap.secrets
 client   serverpasswordip address
 DOMAIN\user*   my_pass 111.222.333.444
 DOMAIN\user  *   my_pass 111.222.333.444
 DOMAIN\\user   *   my_pass 111.222.333.444

What you really want is to use the domain passwords.  

 No matter what, I can't log on - if I use the domain. This means that
 the dial-in user can't access the domain without network
 browsing...which I have simplified somewhat by creating a batch file
 that simply does 'explorer.exe \\Server'  - but that sure isn't pretty.

So they are logging in on PPP fine, they just can't browse?  The PPP
level and the SMB/Browsing level are very different problems.

 I'm thinking that someone here has solved this issue (running dial-in
 and providing domain access).
 
 Also - on these same lines...I can add ms-dns ip.of.dns.server to
 /etc/ppp/options but how about wins server? - at this point, I have to
 manually put the wins server address into the windows dial-up client for
 it to be able to browse the network. Any suggestions?

ms-dns and ms-wins are both documented in the PPP manpage.

 As long as we're going for the long ball, is there any methodology to
 support L2TP via Samba? What I want is full Windows RAS from Samba ;-)

It's not impossible.  See my paper at
http://hawkerc.net/staff/abartlet/comp3700 for information on using
PoPToP in a similar situation, but pppoe would also work.  Anything that
can talk PPP can use the MS domain passwords.  I need to extend the
patch provided to also work with plaintext...

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] ADS mode fails and I need to kinit to access shares again

2004-02-26 Thread frank
Hi,

Wondering if anyone else has run into this:   

I've found a problem where if I use ADS security it works fine for a 
while then all of a sudden I can't get access to shares and I have to run 
kinit again ? If I switch to DOMAIN securiy it works fine.  Is the server 
having trouble renewing kerberos tickets ?

I'm using Samba 3.0.2rc2

Here's my smb.conf

# Global parameters
[global]
workgroup = TPA
realm = TPA.COM.AU
server string = Samba Server
security = DOMAIN
password server = *
encrypt passwords = yes
log level = 2
log file = /var/log/samba/samba.log
max log size = 25000
deadtime = 15
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=819
2
printcap name = cups
preferred master = No
domain master = No
dns proxy = No
wins server = 172.20.20.240
idmap uid = 1-2
idmap gid = 1-2
winbind separator = +
invalid users = root, @wheel
printer admin = root, '@TPA+Domain Users'


Regards,
Frank

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


Re: [Samba] Performances network samba

2004-02-26 Thread Xavier Poirier
En réponse à Marcel de Riedmatten [EMAIL PROTECTED]:

Thanks Marcel,

It seems a little faster in the readonly mode !
But I will ask in the OpenOffice MailingList why they are not caching
the network files on the client for not read those files everytime you
start Ooo.
What are the default values of the tuning options of a share ?
I mean : block size write cache size , have you tryed to modify
these values ?

Xavier

 Le jeu 26/02/2004 à 14:33, Xavier Poirier a écrit :
 
  We have installed OpenOffice in a network mode onto a
 samba share
  named \\openoffice\ooo (linux Mandrake9.2)
  The performances are slowest (a 10M network)
  
  I was wondering if there is a simple way to optimise
 performances
  beetween a samba share and the win2k clients, a cache or
 something
  similar ?
 
 Hi 
 
 For openoffice i made the share readonly. Its quite fast.
 
 -- 
 Marcel de Riedmatten
 
 



*   Xavier Poirier  *
*** Technicien Informatique   ***
* Centre Hospitalier de Bourg en Bresse *
* Tel : 04 74 45 41 17  *   
***   eFax : 04 74 23 04 53   ***
* mailto:[EMAIL PROTECTED] *


Ce courriel est envoyé au travers de l' interface IMP: ch-bourg01.fr
Ce message a été passé automatiquement à l' antivirus 
This email have been sent through   Imap Mail Program: ch-bourg01.fr
This message have been scanned with an antivirus scanner

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


CVS update: samba/source/libsmb

2004-02-26 Thread vlendec

Date:   Thu Feb 26 10:55:43 2004
Author: vlendec

Update of /data/cvs/samba/source/libsmb
In directory dp.samba.org:/tmp/cvs-serv13410/libsmb

Modified Files:
  Tag: SAMBA_3_0
clirap.c 
Log Message:
Apply some const

Volker


Revisions:
clirap.c1.21.2.15 = 1.21.2.16

http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/clirap.c.diff?r1=1.21.2.15r2=1.21.2.16


CVS update: samba/source/utils

2004-02-26 Thread vlendec

Date:   Thu Feb 26 11:29:56 2004
Author: vlendec

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

Modified Files:
  Tag: SAMBA_3_0
net.c net.h net_groupmap.c 
Log Message:
Implement 'net groupmap set' and 'net groupmap cleanup'.

I was rather annoyed by the net groupmap syntax, I could never get it
right. 

net groupmap set domain admins domadm

creates a mapping,

net groupmap set domain admins -C Comment -N newntname

should also do what you expect. I'd like to have some feedback on the usability
of this.

net groupmap cleanup

solves a problem I've had two times now: Our SID changed, and a user's primary
group was mapped to a SID that is not ours. net groupmap cleanup removes all
mappings that are not from our domain sid.

Volker


Revisions:
net.c   1.43.2.42 = 1.43.2.43

http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net.c.diff?r1=1.43.2.42r2=1.43.2.43
net.h   1.7.2.6 = 1.7.2.7

http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net.h.diff?r1=1.7.2.6r2=1.7.2.7
net_groupmap.c  1.1.2.21 = 1.1.2.22

http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net_groupmap.c.diff?r1=1.1.2.21r2=1.1.2.22


CVS update: samba/source/utils

2004-02-26 Thread vlendec

Date:   Thu Feb 26 11:34:33 2004
Author: vlendec

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

Modified Files:
net.c net.h net_groupmap.c 
Log Message:
Implement 'net groupmap set' and 'net groupmap cleanup'.

I was rather annoyed by the net groupmap syntax, I could never get it
right. 

net groupmap set domain admins domadm

creates a mapping,

net groupmap set domain admins -C Comment -N newntname

should also do what you expect.

net groupmap cleanup

solves a problem I've had two times now: Our SID changed, and a user's primary
group was mapped to a SID that is not ours. net groupmap cleanup removes all
mappings that are not from our domain sid.

Volker


Revisions:
net.c   1.93 = 1.94

http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net.c.diff?r1=1.93r2=1.94
net.h   1.14 = 1.15

http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net.h.diff?r1=1.14r2=1.15
net_groupmap.c  1.16 = 1.17

http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net_groupmap.c.diff?r1=1.16r2=1.17


CVS update: samba/source/libsmb

2004-02-26 Thread vlendec

Date:   Thu Feb 26 14:34:44 2004
Author: vlendec

Update of /data/cvs/samba/source/libsmb
In directory dp.samba.org:/tmp/cvs-serv23828/libsmb

Modified Files:
  Tag: SAMBA_3_0
clirap.c 
Log Message:
That const was one too many

Revisions:
clirap.c1.21.2.16 = 1.21.2.17

http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/clirap.c.diff?r1=1.21.2.16r2=1.21.2.17


  1   2   >