[Samba] Please assist with Winbind issues!

2002-10-08 Thread SRuth
Hello,

I've been trying for a couple of weeks now to get Samba to authenticate via Winbind to 
an NT domain.  I've scoured Google and the mailing lists to no avail.  I've tried 
various configurations that I've found during my searches, but none of them have 
worked for me.

I need to be able to authenticate users, that do not have an account on the Linux box, 
against the NT domain, and automatically create a home directory for them.  This is 
the purpose of Winbind (except the home directory part, which pam_mkhomedir is 
supposed to do), as I understand it.  Something between winbind and pam is failing 
since the connecting user gets authenticated as guest rather than an actual user.

My current configuration is RedHat 7.3 and Samba 2.2.5.  My most current samba 
installation is an RPM generated via the makerpms.sh script in the packaging/RedHat 
folder of the 2.2.5 samba distribution.

I've added the following compilation flags in the samba2.spec file:  This is my latest 
attempt, since nothing else seemed to work.

--with-ssl \
--with-sslinc=/usr/include/openssl \
--with-ssllib=/usr/lib/ssl \
--with-acl-support \
--with-winbind \
--with-winbind-auth-challenge \

'getent passwd' and 'getent group' work properly so I think winbind works, too.  I 
think the problem lies somewhere with pam, but I'm not a pam guru by any stretch of 
the imagination.

The problem is one I've seen discussed a couple of times, but have not seen any kind 
of resolution.  The next few lines are from the log file of the client attempting to 
connect to the server with an account called ilchtest.

[2002/10/08 15:00:50, 3] lib/util_sock.c:open_socket_out(845)
  Connecting to 10.226.XXX.XXX at port 139
[2002/10/08 15:00:50, 3] smbd/reply.c:reply_sesssetup_and_X(1045)
  No such user ilchtest [CHICAGO] - using guest account



The following is the last line of what 'winbindd -d5 -i' spits out when I start it 
from the root prompt:

tdb(unknown): tdb_brlock failed (fd=10) at offset 4 rw_type=1 lck_type=13  
Not sure if this points to a problem???




The following is what 'winbindd -d5 -i' spits out when the client trys to connect:

rpc_read: num_read = 4, read offset: 0, to read: 4
18 samr_io_r_close_hnd
0018 data1: 
001c data2: 
0020 data3: 
0022 data4: 
0024 data5: 00 00 00 00 00 00 00 00
002c status: NT_STATUS_OK
[23826]: sid to gid S-1-5-21-178404139-331375567-1660491571-2273
[23826]: gid to sid 1
[23826]: gid to sid 10001
[23826]: getgroups ftp ---Guest account was nobody and I changed it to ftp.



Here is my /etc/nsswitch.conf

passwd: files winbind
shadow: files
group:  files winbind

#hosts: db files nisplus nis dns
hosts:  files winbind dns





Here is my /etc/pam.d/system-auth

authrequired  /lib/security/pam_env.so
authsufficient/lib/security/pam_winbind.so
authsufficient/lib/security/pam_unix.so likeauth nullok use_first_pa
ss
authrequired  /lib/security/pam_deny.so

account sufficient/lib/secutiry/pam_winbind.so
account required  /lib/security/pam_unix.so

passwordrequired  /lib/security/pam_cracklib.so retry=3
passwordsufficient/lib/security/pam_unix.so nullok use_authtok md5 shado
w
passwordrequired  /lib/security/pam_deny.so

session required  /lib/security/pam_mkhomedir.so skel=/etc/skel/ umask=0
022
session required  /lib/security/pam_limits.so
session required  /lib/security/pam_unix.so

Here is my /etc/samba/smb.conf:

[global]
workgroup = CHICAGO
netbios name = SILCHRS03
server string = 
security = DOMAIN
encrypt passwords = Yes
password server = *
log level = 3
log file = /var/log/samba/log.%m
max log size = 50
large readwrite = Yes
name resolve order = host wins bcast
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = No
preferred master = False
local master = No
domain master = False
dns proxy = No
wins server = 172.30.XXX.XXX
winbind uid = 1-5
winbind gid = 1-5
template shell = /bin/bash
guest account = ftp
invalid users = root bin daemon adm sync shutdown halt mail news uucp operator 
gopher
printer admin = +PrinterAdmins
nt acl support = No
printing = cups

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No


I really want this to work, so any help is appreciated.
Please include my e-mail address in any replies.

Thank you!


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



[Samba] copying files to windows - permissions, time

2002-10-08 Thread bulia byak

I use Samba to access a Windows 98 box from linux. When I copy a file from linux to 
win98, there are two annoying problems:

- it complains it cannot set permissions on the new file on windows - it should 
logically ignore all such errors (the FAT volumes mounted in fstab can have a quiet 
option for this, but it does not work for smbfs volumes). 

- the new file gets current date and time, instead of the original file's date and 
time.

I've searched through manuals but found nothing about how to fix these annoyances. 
Please help!
-- 
__
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Free price comparison tool gives you the best prices and cash back!
http://www.bestbuyfinder.com/download.htm

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



Re: [Samba] winbind+samba3.0 pdc on the same machine

2002-10-08 Thread Hesham S. Ahmed

Joining the PDC to the domain is successfull. And
seems to work fine. Its just winbind that fails. Below
is my smb.conf and parts of log.winbindd. When I do
wbinfo -t I recieve the following error

[root@hsalin var]# wbinfo -t
checking the trust secret via RPC calls failed
error code was NT_STATUS_UNSUCCESSFUL (0xc001)
Could not check secret

The log.winbindd below is associated with the above
message.

 smb.conf 

[global]
workgroup = ZSQUID 
netbios name = hsalin 
server string = Samba 3.0alpha20
security = user 

encrypt passwords = Yes

passdb backend = smbpasswd
use spnego = No

domain logons = Yes
os level = 64
lm announce = Auto
lm interval = 60
preferred master = Auto
local master = Yes
domain master = Auto
browse list = Yes
enhanced browsing = Yes
wins support = Yes

admin users = root

winbind uid = 1-2 
winbind gid = 1-2
template homedir = /home/%D/%U
template shell = /bin/false
winbind cache time = 15
winbind use default domain = Yes

; necessary share for domain controller 
[netlogon] 
path = /usr/local/samba/lib/netlogon 
read only = yes 
write list = ntadmin 





 log.winbindd 
[2002/10/08 09:24:11, 3]
nsswitch/winbindd_misc.c:winbindd_info(203)
  [11569]: request misc info
[2002/10/08 09:24:18, 3]
nsswitch/winbindd_misc.c:winbindd_check_machine_acct(52)
  [11570]: check machine account
[2002/10/08 09:24:18, 3]
libsmb/namequery.c:resolve_lmhosts(721)
  resolve_lmhosts: Attempting lmhosts lookup for name
ZSQUID0x1b
[2002/10/08 09:24:18, 3]
libsmb/namequery.c:resolve_wins(628)
  resolve_wins: Attempting wins lookup for name
ZSQUID0x1b
[2002/10/08 09:24:18, 3]
libsmb/namequery.c:resolve_wins(667)
  resolve_wins: using WINS server 127.0.0.1 and tag
'*'
[2002/10/08 09:24:18, 2]
libsmb/namequery.c:name_query(404)
  Got a positive name query response from 127.0.0.1 (
141.99.11.209 )
[2002/10/08 09:24:18, 3]
nsswitch/winbindd_cm.c:cm_get_dc_name(281)
  cm_get_dc_name: Returning DC HSALIN (141.99.11.209)
for domain ZSQUID
[2002/10/08 09:24:18, 3]
nsswitch/winbindd_cm.c:cm_get_ipc_userpass(307)
  IPC$ connections done by user ZSQUID\root
[2002/10/08 09:24:18, 3]
libsmb/cliconnect.c:cli_full_connection(1199)
  Connecting to host=HSALIN share=IPC$
[2002/10/08 09:24:18, 3]
lib/util_sock.c:open_socket_out(752)
  Connecting to 141.99.11.209 at port 445
[2002/10/08 09:24:39, 1]
libsmb/cliconnect.c:cli_full_connection(1242)
  failed session setup with NT_STATUS_OK
[2002/10/08 09:24:39, 3]
nsswitch/winbindd_cm.c:get_connection_from_cache(522)
  Could not open a connection to ZSQUID for
\PIPE\NETLOGON (NT_STATUS_UNSUCCESSFUL)
[2002/10/08 09:24:39, 3]
nsswitch/winbindd_misc.c:winbindd_check_machine_acct(70)
  could not open handle to NETLOGON pipe
[2002/10/08 09:24:39, 2]
nsswitch/winbindd_misc.c:winbindd_check_machine_acct(100)
  Checking the trust account password returned
NT_STATUS_UNSUCCESSFUL
[2002/10/08 09:24:39, 3]
nsswitch/winbindd_user.c:winbindd_getpwnam(110)
  [11571]: getpwnam zsquid\root
[2002/10/08 09:24:39, 3]
nsswitch/winbindd_cm.c:cm_get_ipc_userpass(307)
  IPC$ connections done by user ZSQUID\root
[2002/10/08 09:24:39, 3]
libsmb/cliconnect.c:cli_full_connection(1199)
  Connecting to host=HSALIN share=IPC$
[2002/10/08 09:24:39, 3]
libsmb/namequery.c:resolve_lmhosts(721)
  resolve_lmhosts: Attempting lmhosts lookup for name
HSALIN0x20
[2002/10/08 09:24:39, 3]
libsmb/namequery.c:resolve_wins(628)
  resolve_wins: Attempting wins lookup for name
HSALIN0x20
[2002/10/08 09:24:39, 3]
libsmb/namequery.c:resolve_wins(667)
  resolve_wins: using WINS server 127.0.0.1 and tag
'*'
[2002/10/08 09:24:39, 2]
libsmb/namequery.c:name_query(404)
  Got a positive name query response from 127.0.0.1 (
141.99.11.209 )
[2002/10/08 09:24:39, 3]
lib/util_sock.c:open_socket_out(752)
  Connecting to 141.99.11.209 at port 445
[2002/10/08 09:24:59, 1]
libsmb/cliconnect.c:cli_full_connection(1242)
  failed session setup with NT_STATUS_OK
[2002/10/08 09:24:59, 3]
nsswitch/winbindd_cm.c:get_connection_from_cache(522)
  Could not open a connection to ZSQUID for \PIPE\samr
(NT_STATUS_UNSUCCESSFUL)
[2002/10/08 09:24:59, 1]
nsswitch/winbindd_user.c:winbindd_getpwnam(126)
  user 'root' does not exist
[2002/10/08 09:24:59, 3]
nsswitch/winbindd_user.c:winbindd_getpwnam(110)
  [11572]: getpwnam zsquid\root
[2002/10/08 09:24:59, 1]
nsswitch/winbindd_user.c:winbindd_getpwnam(126)
  user 'root' does not exist
[2002/10/08 09:24:59, 3]
nsswitch/winbindd_user.c:winbindd_getpwnam(110)
  [11572]: getpwnam ZSQUID\root
[2002/10/08 09:24:59, 1]
nsswitch/winbindd_user.c:winbindd_getpwnam(126)
  user 'root' does not exist
[2002/10/08 09:24:59, 3]
nsswitch/winbindd_user.c:winbindd_getpwnam(110)
  [11572]: getpwnam ZSQUID\ROOT
[2002/10/08 09:24:59, 1]

[Samba] Samba password changes?

2002-10-08 Thread Adriaan . Putter

hi,

i've setup a LDAP server with account information,
and compiled samba with ldap support.

everything works great, except for the password changes
i still have to run two seprate commands ( passwd, smbpasswd )
to change a users password.

i've tried to put the pam_smbpasswd.so module into
system-auth, but that does work?

any pointers?

thanks


adriaan putter

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



[Samba] RE: [GLUG] Samba password changes?

2002-10-08 Thread Reneshan M

hi...i used idealx..they have a set of scripts that eliminates this...each
script updates both the ldap..and the smbpasswd...and the passwd
file...check it out...

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of [EMAIL PROTECTED]
Sent: 08 October 2002 08:58
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [GLUG] Samba password changes?


hi,

i've setup a LDAP server with account information,
and compiled samba with ldap support.

everything works great, except for the password changes
i still have to run two seprate commands ( passwd, smbpasswd )
to change a users password.

i've tried to put the pam_smbpasswd.so module into
system-auth, but that does work?

any pointers?

thanks


adriaan putter


To unsubscribe from this list: send the line unsubscribe glug in
the subject of a message to [EMAIL PROTECTED] If you have a
problem unsubscribing, please mail [EMAIL PROTECTED]

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



[Samba] Windows RPC and samba

2002-10-08 Thread Peter Strasidlo

Hello
Please can you tell (write ;-) me, whether there is some possibility to use
samba as some RPC proxy for windows RPC functions? If I have a simple client
server application, that uses RPC, it works fine in one network, but when I
want to have each (client and also server) in different private network, I'll
need to use sime kind of RPC over http or som RPC support from IIS or such
ugly things for transfering the RPC data. 
Is there please some way to use samba for this?
Thanks a lot
Bubak
-- 
P.S. Hope U will write back soon. Bubak 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] name_query failed to find name

2002-10-08 Thread frankjapan

Hello,

I am hoping someone can help me

I am trying to configure my samba...and the problem is the following:

When I use nmblookup with -B option and Broadcast address it is
impossible to find  my samba server (named prova) that is:

# nmblookup -B 10.254.14.127 prova
querying prova on 10.254.14.127
name_query failed to find name prova

If I do the same lookin up to another machine different from my samba
server, then it is ok:

# nmblookup -B 10.254.14.127 my_win_client
querying my_win_client on 10.254.14.127
10.254.14.94 my_win_client00

Would some body help me 

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



[Samba] name_query failed to find name

2002-10-08 Thread frankjapan

Hello,

I am hoping someone can help me

I am trying to configure my samba...and the problem is the following:

When I use nmblookup with -B option and Broadcast address it is
impossible to find  my samba server (named prova) that is:

# nmblookup -B 10.254.14.127 prova
querying prova on 10.254.14.127
name_query failed to find name prova

If I do the same lookin up to another machine different from my samba
server, then it is ok:

# nmblookup -B 10.254.14.127 my_win_client
querying my_win_client on 10.254.14.127
10.254.14.94 my_win_client00

Would some body help me 

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



Re: [Samba] name_query failed to find name

2002-10-08 Thread Prianggada I Tanaya


Hello ...

$ping prova 

from prova itself and if succeeded, from other host.
doest it work ?

If it does not work,
You have to go to network configuration,
K/system/network configuration
You need root password !!
Tabbed -- Hosts
add IP NAME ALIASES 

You should add this in prova and also from other hosts.

check with ping again.

Does this work (try again).

nmblookup -B localhost '*'
nmblookup -B [your_ip_addr] '*'
nmblookup -B prova '*'  .. do this from prova itself
nmblookup -B prova '*'  .. but do this from other host.

Hope that will solve the problem.
regards
++ pit ++

On Tuesday 08 October 2002 14:39, [EMAIL PROTECTED] wrote:
 Hello,

 I am hoping someone can help me

 I am trying to configure my samba...and the problem is the following:

 When I use nmblookup with -B option and Broadcast address it is
 impossible to find  my samba server (named prova) that is:

 # nmblookup -B 10.254.14.127 prova
 querying prova on 10.254.14.127
 name_query failed to find name prova

 If I do the same lookin up to another machine different from my samba
 server, then it is ok:

 # nmblookup -B 10.254.14.127 my_win_client
 querying my_win_client on 10.254.14.127
 10.254.14.94 my_win_client00

 Would some body help me 

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



[Samba] Change samba name other than hostname?

2002-10-08 Thread Chris



Just wondering how i change the samba 
name other than the hostname.


C


Re: [Samba] Active Directory user authentication with a Samba Fileserver???

2002-10-08 Thread Buchan Milne

 Message: 12
 Date: Mon, 7 Oct 2002 12:38:00 -0600
 From: Miremont, James [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: [Samba] Active Directory user authentication with a Samba File server???
 
 This is a multi-part message in MIME format.
 
 --_=_NextPart_001_01C26E30.A98CBDF8
 Content-Type: text/plain;
   charset=iso-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 I currently have a file/print server running on a W2K machine that =
 crashes almost daily and would like to start using Samba as a file =
 server, instead.
 
 Our 5 domain controllers are all setup using native mode so as to not =
 share active directory with any NT servers.
 
 ** If I setup samba on a redhat 8.0 box, can it read and write to our =
 current active directory for user authentication?
 

FYI, Mandrake 9.0 can do this for you, if you choose 'Windows Domain' as 
the authentication method (might require an 'expert' install) during 
installation (unfortunately, not available after install).

After installation, you may want to replace the basic 
/etc/samba/smb.conf configured during the install with a better generic 
winbind config (/etc/samba/smb-winbind.conf) and just set the 
'workgroup' paramter back. You will then have an out-the-box file 
server. If you want downloadable printer drivers on the machine, you 
should just have to change the ownership of the driver directory:

# chgrp -R 'Domain Admins' /var/lib/samba/printers/*
# chmod -R g+w /var/lib/samba/printers/*

 I want to have a samba server that is apart of our domain and shares its =
 authentication with the other DCs, I do not want a user database on the =
 redhat box that is specific to it. So if a user changes their password =
 on a domain machine somewhere it will replicate to all other DCs, =
 including the Samba server. I do not want to maintain a seperate =
 user/password database on the Samba server.

No problem. Mandrake 9.0 is probably the easiest way to get this running 
(IMHO, of course).

Buchan

-- 
|Registered Linux User #182071-|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7

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



[Samba] Write_socket_data: write failure

2002-10-08 Thread Sumser Shafeek

hi
 When i watch my log if found something like this:

smbd [1125] write_socket_data: write failure. Error =
Broken pipe
smbd [1056] lib/util_sock.c:read_data(468)
smbd [1056] read_data: read failure for 4. Error =
Connection reset by peer

Please, helps needed

With regards
Shafeek Sumser


__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.yahoo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Re: [GLUG] Samba password changes?

2002-10-08 Thread Buchan Milne

[EMAIL PROTECTED] wrote:
 hi,
 
 i've setup a LDAP server with account information,
 and compiled samba with ldap support.
 
 everything works great, except for the password changes
 i still have to run two seprate commands ( passwd, smbpasswd )
 to change a users password.
 
 i've tried to put the pam_smbpasswd.so module into
 system-auth, but that does work?
 

No, pam_smbpasswd is meant for modifying the smbpasswd file, it doesn't 
do anything else.

I found the best solution was to use:

unix password sync = yes
pam password change = yes
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n 
*LDAP*passwd:*all*authentication*tokens*updated*successfully*

(not sure if the passwd chat is necessary)

and then modify your /etc/pam.d/passwd to do password changes via LDAP. 
This ensures that password changes from samba apply the same rules that 
any other password change would apply.

Only problem I have now is if a user does a unix password change, it 
currently won't change their windows password, but I believe there is a 
hacked pam_ldap which will do that too.

(I have some issues with the idealx stuff, but it should all work out 
the box on recent Mandrake RPMs).

Regards,
Buchan


-- 
|Registered Linux User #182071-|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7

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



[Samba] changing passwords / winbind

2002-10-08 Thread Shane Tapper


Currently when i try and change passwords by pressing ctrl+alt+delete and
using the change password funtion from w2k i get a message stating the
domain cannot be found.  yet i was able to logon to it just fine.  i am
trying to figure out ways around this.

It is my understanding that winbind is used to sync samba passwords with an
nt server, is that correct or
is winbind used to sync workstation passwords with a samba server?

Shane



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



Re: [Samba] Windows RPC and samba

2002-10-08 Thread Gerald Carter

On Tue, 8 Oct 2002, Peter Strasidlo wrote:

 Hello samba as some RPC proxy for windows RPC functions? If I have a
 simple client server application, that uses RPC, it works fine in one
 network, but when I want to have each (client and also server) in
 different private network, I'll need to use sime kind of RPC over http
 or som RPC support from IIS or such ugly things for transfering the RPC
 data.  Is there please some way to use samba for this? Thanks a lot

No.  For doing rpc over http, you need to look at something like SOAP
or XML-RPC.




cheers, jerry
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 SAMS Teach Yourself Samba in 24 Hours 2ed.   ISBN 0-672-32269-2
 --I never saved anything for the swim back. Ethan Hawk in Gattaca--

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



Re: [Samba] Samba 2.2.5 Security Bug?

2002-10-08 Thread Gerald Carter

On Mon, 7 Oct 2002 [EMAIL PROTECTED] wrote:

 Does anyone know why normal users can set a blank samba password with the
 smbpasswd kommand by inserting CR twice after inserting the old passwd:
 
 ben@amo:% /opt/samba/bin/smbpasswd
 Old SMB password:oldpasswd
 New SMB password:CR
 Retype new SMB password:CR
 Password changed for user ben
 
 After that the user can map the samba shares with a blank password even if:
 
 null passwords = No
 
 and 
 
 guest ok = No
 
 in the smb.conf

Of the top of my head i would say that \n is not being recognized as 
NO PASSWORDX.  Check the smbpasswd file.



cheers, jerry
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 SAMS Teach Yourself Samba in 24 Hours 2ed.   ISBN 0-672-32269-2
 --I never saved anything for the swim back. Ethan Hawk in Gattaca--

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



[Samba] Fresh install

2002-10-08 Thread Philippe Dhont (Sea-ro)

Hi, 
I have a new slackware installation and a new samba on it.
But i have some files missing, where can i find smbmount, smbclient,
nmblookup etc...

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



[Samba] user managment in an winnt domain

2002-10-08 Thread Roberto Bernetti

Hi 
I'm a newbie of samba. I installed e samba file server in a winnt domain using 
winbindd to syncronize the user of the domain with the ones in the unix box.
Now when I create a new user in the winnt domain I must make manually the home 
directory on the unix box. Is there any way to aoutamatise it?

Thanks in advance 
-- 
---  
Roberto Bernetti e-mail: [EMAIL PROTECTED]   
V. S.da Vecchia del Pinocchio 1/A  
60131 ANCONA 
tel/fax 071 2867103

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



RE: [Samba] Domain Admins

2002-10-08 Thread Irving Carrion

Bradley W. Lanhorst wrote,
 
 how are you assessing whether this is working or not?
 i consider the mapping to work if i can specify 
 one of my domain groups as a part of a local group and 
 the rsop tool says that a member of that group has the appropriate
 permissions..

   everything you've shown looks good to me - how do you know if it
is 
   working or not?

Brad

Brad, when I was running an NT network or Samba Version 2.2.3a it worked
fine.  That is to say all domain admins where able to log in as admin to
all pc's who where members of the domain.  Now, I can go to each PC and
specify that user1 be local admin, but something tells me there is
another way.

For example, if lets say I install a new pc with Win2k pro and then join
it to the domain.  Now I log in as a domain admin.  When I perform a
Windows Update, it says that only administrators can update the pc.  So,
why is it that this PC does not know I am a domain admin.

Sorry but what is rsop tool?

Thanks for your help...really appreciate it!
IRV

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



[Samba] (no subject)

2002-10-08 Thread In Labore Fructus

Hello,
I am hoping someone can help me

I am trying to configure my samba...and the problem is the following:

When I use nmblookup with -B option and Broadcast address it is
impossible to find my samba server (named prova) that is:

# nmblookup -B 10.254.14.127 prova
querying prova on 10.254.14.127
name_query failed to find name prova

If I do the same lookin up to another machine different from my samba
server, then it is ok:
# nmblookup -B 10.254.14.127 my_win_client
querying my_win_client on 10.254.14.127
10.254.14.94 my_win_client00

If I make: c:\net view \\prova
there will be : error 1234

And id I do : nbtstat -A 10.254.14.80 (samba server ip)
the  answer is : unknown host

Would some body help me 

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



[Samba] NT Registry Problem

2002-10-08 Thread James Reno



I have a login script which i am using to insert 
data into the registry during login. My problem is, Windows NT is trying to 
insert the data into the samba server, instead of the local 
registry.

How do i go about changing the registry that it 
tries to insert into. Below is my registry file that gets ran from \\fserv00\netlogon\login.bat with 
regedit /s \\fserv00\netlogon\winNT.reg


*
REG SNIPLETT
*

REGEDIT4[HKEY_CURRENT_USER\Control 
Panel\Desktop]"ScreenSaveTimeOut"="600""ScreenSaveActive"="1""SCRNSAVE.EXE"="c:\winnt\system32\logon.scr""ScreenSaverIsSecure"="1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows 
NT\CurrentVersion\Winlogon] 
"DontDisplayLastUserName"="1""LegalNoticeCaption"="Important 
Notice!""LegalNoticeText"="This is a private computer system on a private 
computer network. ALL access is logged and monitored - you should not log 
on if you object to this policy. Unauthorized users are not allowed, and 
any attempt to enter the network or this system without permission will result 
in civil and criminal liabilities."

*

RegardsJames RenoByteHosting Internet 
Serviceshttp://www.bytehosting.com/


[Samba] 'spoolss_connect_to_client(91)' errors

2002-10-08 Thread Ben Brown

hey all,

my NT based clients (2K/XP) are having trouble with the rpc client stuff 
when trying to view printer status.

I'm running 2.2.4 on a RedHat 7.3 system, with CUPS as the printing 
system.  When viewing the list of shared printers I get messages in my 
samba logs saying:


[2002/10/08 10:49:24, 0] 
rpc_client/cli_spoolss_notify.c:spoolss_connect_to_client(91)
   connect_to_client: unable to connect to SMB server on machine REG238. 
Error was : SUCCESS - 0.

I'm assuming this is the client connect back to update the printer 
status.  But I'm not too sure why there is a problem connecting..

Is there a service on the clients that I should be running, but maybe 
I'm not?  I'm running the rp services, as well as the 'Server' service. 
  Is there something I'm overlooking?

Any insight, tips or hints would be much appreciated.  TIA!

Ben Brown
UofG


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



Re: [Samba] users can't change permissions on samba share

2002-10-08 Thread Herb Lewis

Justin Georgeson wrote:
 
 I just realised that findsmb only lists the samba server. Before
 upgrading from 2.2.1a, all machines were listed by name when logged in
 as root, and with name unknown when not as root.
 

The findsmb script uses nmblookup * to get the IP addresses of 
machines. This does not always return all machines because of the
timeout. I've run the 2.2.4 version on 2 different subnets. One
returns samba machine, Win98, Nt4.0 and W2K machines. On a different
subnet I only get samba machines even though I know there are other
windows machines present as well.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] protocol error with OpenLDAP, v3

2002-10-08 Thread Malte Müller

I sort of succesfully installed samba2.2.5 with OpenLDAP 2.0.26 as a PDC on one
machine.
Alas the performance is very poor. Authentication process takes 10 Seconds pser, 
noticable one or two seconds per net use d: in the logon script.
The process which consumes all CPU cycles is slap. I tried to tune with some h
help of openLDAP mailinglist members (indices, nscd), but i didn't solve the
problem.
Now I try to set up a second machine with SuSE 8.1 with OpenLDAP 2.1.x and 
Samba 2.2.6pre2. It compiles and links fine, but when I try to log in
it says:
passdb/pdb_ldap.c: ldap_open_connection(216) connection opened
passdb/pdb_ldap.c: ldap_connect_system(246)  Bind failed: protocol error

I can search the ldap-database and authenticate against it from command-line
i.e. ldasearch -w -W uid=administrator.
I assume that samba can not handle ldap v3?
Has anybody an idea why login(script) is that slow? The original machine is a
PIII, 1GHz, 1GB RAM with SuSE8.0
I do some conf inclusion depending on %G and %U. Further I have a user base of
4500 pieces ;-) and groups with 12k Entries, the largest 4500. I tried to 
execute every SRCH statement solely but it was reasonable fast (0.5 Sek each).

It is a real show stopper for me.
Any helping comment is welcomed.

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



[Samba] d.saydou@caramail.com vous envoie une carte postale !

2002-10-08 Thread saydou diop


[EMAIL PROTECTED] vous a envoyé une carte postale virtuelle Caramail. Pour la 
visualiser, cliquez sur le lien ci-dessous :

http://ecards.caramail.com/cgi-bin/viewCard?ID=card_1034077215_002699

P. S. : ce lien sera fonctionnel durant une période de 30 jours à partir de la date 
d'expédition.

_
Envoyez des messages musicaux sur le portable de vos amis
 http://mobile.lycos.fr/mobile/local/sms_musicaux/




RE: [Samba] Win2K Printer Driver Problems - Hi Jerry!!

2002-10-08 Thread SMITH Gregory C.

Nope, close but no cigar.

With 2.2.6Pre2 Word started to behave itself but Outlook acts as though
landscape is a foreign concept(i.e everything prints portrait regardless of
page setup). Spoolsv also crashes on the Win2K workstations requiring a
manual restart of the spooler service.  We will downgrade to 2.2.5 and try
Jerry's patch.

In another message Jerry talks about running the driver on the server to
set DevMode, etc.  I assume we've been doing what's needed although I
haven't seen anything laid out in a step-by-step fashion, so to confirm:

1. Define your printer as a share or in CUPS as needed.
2. Define PRINT$ share with only admin users having write access.
3. Restart Samba and make sure printer appears in the server Printers folder
4. Right-click on the printer in question and choose Properties.
5. Respond NO to the Install Driver now prompt  - Question:  Why respond
No at this point? All docs say to do so without explanation.
6. Once in the driver dialog go to the Advanced Tab and click on New
Driver
7. Select your driver from wherever and make sure it copies to
\\Server\PRINT$\W32X86\...
8. Click on Apply to make sure dialog gets updated with printer-specific
configuration tabs.
9. On General tab, choose Printing Preferences - Basics and switch page
layouts between portrait and landscape clicking OK in between to update the
driver.  - I assume at this point the driver Devmode is being set, correct?
10.  The printer is now ready to install on Workstations.

General Questions:
1. If the printer was already installed on a workstation and the driver is
re-installed should the user re-install the printer?

2. What could cause the spooler to crash so often when updating drivers?

3. When a driver is changed or updated on the server I see many (sometimes
up to 15) print events in the workstation system event log noting drivers
being updated but listing the same drivers each time.  Normal?

4. The ability to delete drivers, forms, etc from Server Properties in a
server's Printers folder is disabled on a Samba server.  Is this an
interface that hasn't been implemented yet?

5. Many problems seem to occur when the server has multiple versions of
different printer model drivers installed.  Should this make any difference?

6. Related to #4, Cleaning out the Samba-side printer driver environment
seems to be an all-or-nothing proposition.  I.e. You have to stop Samba,
delete nt*.tdb and everything under W32X86.  Is there a better way?

This weekend we will be moving servers around and will set the printing
environment based upon whether I can get these problems resolved.  If not
I'll have to either install all printers as local using rundll32 or have
printing handled by a Win2K server.

Thanks.

Greg



-Original Message-
From: Andrew Bartlett [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 07, 2002 4:03 AM
To: SMITH Gregory C.
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Samba] Win2K Printer Driver Problems - Landscape margins
off, no collating.


SMITH Gregory C. wrote:
 
 Our environment:
 
 Samba 2.2.5 on RedHat 7.2  (Tried on two different servers)
 Printing handled by Cups 1.1.14-15

For printing, try jerry's post-2.2.5 printing patch, or Samba
2.2.6pre2.  This is exactly the kind of issue that he and the rest of
the HP folk have been working on.

If not, I'm sure he will be very glad to figure out what's going on :-).

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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] profiles (again)

2002-10-08 Thread IOhannes zmoelnig

hi list!
i'm sure this has been asked and answered a 1000 times before, but i 
haven't been able to find something that could have helped me:

i'm using samba-2.2.4a with LDAP-support as a PDC on a network with some 
w2k-clients and a few nt clients.

logon works just great.

the main problem appears with profiles.
the profiles of *some* (most) of my users are not stored when logging off.
however, my personal profile is stored and synched.

i wouldn't mind if profiles would be kept local (being machine-dependent 
  and thus not roaming), but this doesn't work either.
for all the users whose profiles are not stored on the server, the local 
profiles will be deleted on logoff (which is very annoying)

any hints where i could get more information ?
which HOWTO's 


btw: the mapping of the domain admin group:
works perfectly on 1 machine
works partially/not-at-all on the rest
(i have forgotten what i meant with partially)


mfg.asdr.a
IOhannes

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



[Samba] enable IP Forwading

2002-10-08 Thread Lloyd Lowe

HI all,

Could anyone tell me how to enable IP Forwading. I am running Redhat 7.3 
with Kernel 2.4.18-3 and have tried the test file provided in the 
sysconf directory and have had the message Forwarding is not Enabled in 
the kernel

Thanks
Lloyd



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



[Samba] 2.2.5 burning from network share not possible

2002-10-08 Thread Thomas Bork

Hi all,

sorry for long postig...

Is there a known bug in Samba 2.2.5 with burning images from network shares with 
CloneCd, if files named like IMAGE(Install).CCD? Samba will access

Images2/IMAGE(Install).CCD

but the files is here:

Images2/abc/IMAGE(Install).CCD

[2002/10/08 12:59:43, 3] smbd/process.c:process_smb(877)
  Transaction 84 of length 106
[2002/10/08 12:59:43, 3] smbd/process.c:switch_message(684)
  switch message SMBtrans2 (pid 1512)
[2002/10/08 12:59:43, 3] smbd/sec_ctx.c:set_sec_ctx(314)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/10/08 12:59:43, 3] smbd/sec_ctx.c:set_sec_ctx(319)
  1 user groups: 
  0 
[2002/10/08 12:59:43, 3] smbd/trans2.c:call_trans2qfilepathinfo(1676)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 257
[2002/10/08 12:59:43, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [/Images2/IMAGE(Install).CCD]
[2002/10/08 12:59:43, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [Images2/IMAGE(Install).CCD]
[2002/10/08 12:59:43, 3] smbd/trans2.c:call_trans2qfilepathinfo(1697)
  call_trans2qfilepathinfo: vfs_stat of Images2/IMAGE(Install).CCD failed (No
such file or directory)
[2002/10/08 12:59:43, 3] smbd/error.c:error_packet(91)
  error string = No such file or directory
[2002/10/08 12:59:43, 3] smbd/error.c:error_packet(110)
  error packet at smbd/trans2.c(1699) cmd=50 (SMBtrans2)
NT_STATUS_OBJECT_NAME_NOT_FOUND
[2002/10/08 12:59:43, 3] smbd/process.c:process_smb(877)
  Transaction 85 of length 106
[2002/10/08 12:59:43, 3] smbd/process.c:switch_message(684)
  switch message SMBtrans2 (pid 1512)
[2002/10/08 12:59:43, 3] smbd/trans2.c:call_trans2qfilepathinfo(1676)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 257
[2002/10/08 12:59:43, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [/Images2/IMAGE(Install).CCD]
[2002/10/08 12:59:43, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [Images2/IMAGE(Install).CCD]
[2002/10/08 12:59:43, 3] smbd/trans2.c:call_trans2qfilepathinfo(1697)
  call_trans2qfilepathinfo: vfs_stat of Images2/IMAGE(Install).CCD failed (No
such file or directory)
[2002/10/08 12:59:43, 3] smbd/error.c:error_packet(91)
  error string = No such file or directory
[2002/10/08 12:59:43, 3] smbd/error.c:error_packet(110)
  error packet at smbd/trans2.c(1699) cmd=50 (SMBtrans2)
NT_STATUS_OBJECT_NAME_NOT_FOUND
[2002/10/08 12:59:43, 3] smbd/process.c:process_smb(877)
  Transaction 86 of length 133
[2002/10/08 12:59:43, 3] smbd/process.c:switch_message(684)
  switch message SMBsesssetupX (pid 1512)
[2002/10/08 12:59:43, 3] smbd/sec_ctx.c:set_sec_ctx(314)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/10/08 12:59:43, 3] smbd/reply.c:reply_sesssetup_and_X(858)
  Domain=[]  NativeOS=[Windows 2002 2600] NativeLanMan=[Windows 2002 5.1]
[2002/10/08 12:59:43, 3] smbd/reply.c:reply_sesssetup_and_X(868)
  sesssetupX:name=[]
[2002/10/08 12:59:43, 3] smbd/process.c:chain_reply(1022)
  Chained message
[2002/10/08 12:59:43, 3] smbd/process.c:switch_message(684)
  switch message SMBtconX (pid 1512)
[2002/10/08 12:59:43, 3] smbd/sec_ctx.c:set_sec_ctx(314)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/10/08 12:59:43, 3] lib/access.c:check_access(318)
  check_access: no hostnames in host allow/deny list.
[2002/10/08 12:59:43, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.1.2)
[2002/10/08 12:59:43, 3] smbd/password.c:authorise_login(855)
  authorise_login: ACCEPTED: guest account and guest ok (nobody)
[2002/10/08 12:59:43, 3] smbd/service.c:make_connection(491)
  Connect path is /tmp
[2002/10/08 12:59:43, 3] smbd/sec_ctx.c:push_sec_ctx(282)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2002/10/08 12:59:43, 3] smbd/uid.c:push_conn_ctx(286)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2002/10/08 12:59:43, 3] smbd/sec_ctx.c:set_sec_ctx(314)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2002/10/08 12:59:43, 3] smbd/sec_ctx.c:get_current_groups(162)
  get_current_groups: user is in 1 groups: 65534
[2002/10/08 12:59:43, 3] smbd/sec_ctx.c:pop_sec_ctx(421)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/10/08 12:59:43, 3] smbd/sec_ctx.c:get_current_groups(162)
  get_current_groups: user is in 1 groups: 65534
[2002/10/08 12:59:43, 3] lib/util_seaccess.c:se_access_check(269)
  se_access_check: user sid is S-1-5-21-1114010679-1119664098-184643767-132068
[2002/10/08 12:59:43, 3] lib/util_seaccess.c:se_access_check(273)
  se_access_check: also S-1-5-21-1114010679-1119664098-184643767-132069
[2002/10/08 12:59:43, 3] lib/util_seaccess.c:se_access_check(273)
  se_access_check: also S-1-1-0
[2002/10/08 12:59:43, 3] lib/util_seaccess.c:se_access_check(273)
  se_access_check: also S-1-5-2
[2002/10/08 12:59:43, 3] lib/util_seaccess.c:se_access_check(273)
  se_access_check: also S-1-5-32-546
[2002/10/08 12:59:43, 3] smbd/vfs.c:vfs_init_default(122)
  Initialising default vfs hooks
[2002/10/08 12:59:43, 3] smbd/sec_ctx.c:set_sec_ctx(314)
  setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2002/10/08 

Re: [Samba] Win2K Printer Driver Problems - Hi Jerry!!

2002-10-08 Thread daniel . jarboe

[EMAIL PROTECTED] wrote:

We will downgrade to 2.2.5 and try
Jerry's patch.

downgrade to 2.2.5 from 2.2.5?  If you are actually at 2.2.6pre2, the 
printing patches are already in and downgrading to 2.2.5 w/ jerry's 
printing patch isn't going to help (might hurt)

5. Respond NO to the Install Driver now prompt  - Question:  Why respond
No at this point? All docs say to do so without explanation.

If you click yes you'll be installing the drivers locally on the PC, you 
want them installed on the samba server by uploading a new driver.

9. On General tab, choose Printing Preferences - Basics and switch page
layouts between portrait and landscape clicking OK in between to update the
driver.  - I assume at this point the driver Devmode is being set, correct?

Correct, this executes the driver so you don't have a null devmode


2. What could cause the spooler to crash so often when updating drivers?

Not much help here, but probably at least 1 of the following: buggy 
print drivers, buggy client, buggy samba

As for the rest of your questions, I'm just as anxious to hear the 
list's answers as you are :)
~ Daniel

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



RE: [Samba] Win2K Printer Driver Problems - Ah HA!.

2002-10-08 Thread SMITH Gregory C.

OK we do all the steps in my previous missive and everything looks fine,
landscape, collating the whole works.  This is on a Laserjet 4000 with the
latest PCL6 driver.

The firm still has a good number of Laserjet 4s so we dutifully load up the
latest PCL5E driver for the 4 and connect to the 4 on a couple of
workstations.

Everything goes to hell.

Landscpae, collating and all other problems re-appear.

So! Is it having a combination of PCL5 and 6, Version-3 and Version-2
drivers on the server or what?

Greg


-Original Message-
From: Andrew Bartlett [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 07, 2002 4:03 AM
To: SMITH Gregory C.
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Samba] Win2K Printer Driver Problems - Landscape margins
off, no collating.


SMITH Gregory C. wrote:
 
 Our environment:
 
 Samba 2.2.5 on RedHat 7.2  (Tried on two different servers)
 Printing handled by Cups 1.1.14-15

For printing, try jerry's post-2.2.5 printing patch, or Samba
2.2.6pre2.  This is exactly the kind of issue that he and the rest of
the HP folk have been working on.

If not, I'm sure he will be very glad to figure out what's going on :-).

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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Win2K Printer Driver Problems - Hi Jerry!!

2002-10-08 Thread SMITH Gregory C.

We are on 2.2.6Pre2 and if the patches are in you've just saved us some
time.

Does smbstatus say 2.2.6Pre2?  Ours displays only 2.2.5.

However, as mentioned in another message we've found the problems occur if
we have a combination of HP4 and HP4000 drivers on the server.

Greg

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 08, 2002 10:12 AM
To: [EMAIL PROTECTED]
Cc: '[EMAIL PROTECTED]'; WEBSTER, Greg
Subject: Re: [Samba] Win2K Printer Driver Problems - Hi Jerry!!


[EMAIL PROTECTED] wrote:

We will downgrade to 2.2.5 and try
Jerry's patch.

downgrade to 2.2.5 from 2.2.5?  If you are actually at 2.2.6pre2, the 
printing patches are already in and downgrading to 2.2.5 w/ jerry's 
printing patch isn't going to help (might hurt)

5. Respond NO to the Install Driver now prompt  - Question:  Why
respond
No at this point? All docs say to do so without explanation.

If you click yes you'll be installing the drivers locally on the PC, you 
want them installed on the samba server by uploading a new driver.

9. On General tab, choose Printing Preferences - Basics and switch page
layouts between portrait and landscape clicking OK in between to update the
driver.  - I assume at this point the driver Devmode is being set, correct?

Correct, this executes the driver so you don't have a null devmode


2. What could cause the spooler to crash so often when updating drivers?

Not much help here, but probably at least 1 of the following: buggy 
print drivers, buggy client, buggy samba

As for the rest of your questions, I'm just as anxious to hear the 
list's answers as you are :)
~ Daniel
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Sharing printers across subnets?

2002-10-08 Thread kevin . sage

Hi everyone,

I'm sure this has been asked a million times, but I'm having trouble getting my 
printer shares to be accessible on other subnets.  I'm running Samba 2.0.3 (yes, I 
know it's OLD), and I'm using it only for printer sharing...  It's set up to allow 
guest access only, since I'm only sharing printers.  

My two domain controllers are running Windows 2000 Server (SP2), and are also 
configured as DNS servers and WINS servers.  Both are in the same subnet together.  
I've also got several other Windows 2000 Server systems configured as Terminal Servers 
(MetaFrame) on the same subnet as the domain controllers that are effectively clients 
to the Samba server.  The Samba server is also on the same subnet as the domain 
controllers.  I've even got a couple Win2k Pro systems on that subnet that work fine.  

However, I'm trying to set up our first Win2K Pro client on a different subnet, and 
for the life of me I can't get Samba's printer shares to work.  I've got the Win2k 
system set to point to the WINS servers running on the domain controllers, as well as 
to the DNS servers on the domain controllers.  All normal Win2K stuff works fine, and 
when I browse the network and go into my domain, I can even see my Samba server.  
However, as soon as I try to double-click on the Samba server to see it's shares 
(printers), I get the error message \\Cheetah2 is not accessible.  The network path 
was not found.  This works fine though from the clients that are not on different 
subnets.  Similarly, when I try to add a printer from the control panel, I get an 
error that it can not connect to the printer.

I'm sure I've got something wrong in the Samba config somewhere, but after reading the 
man page umpteen times and reading the BROWSING readme, I still can't figure it out. 
 Here are the config items from my smb.conf that I think are relevant:
; Allow guest access
guest ok = yes
; Force guest access
guest only = yes
; Set guest account to ntprint
guest account = ntprint
; Don't show all printers by default
load printers = no
; Pretend we're a Windows NT server
announce as = NT
; Use encrypted passwords to keep NT clients happy
encrypt passwords = yes
; Allow empty passwords
null passwords = yes
; Use share level security
security = share
; Set our domain name
workgroup = THE_JUNGLE
; Deny access from all hosts by default
hosts deny = 0.0.0.0/0.0.0.0
; Allow access from the local host and our subnet, and hare2 (win2k pro 
workstation that I can't get to work)
hosts allow = localhost hare2 139.95.3.0/255.255.255.0
; Tell Samba how to resolve hostname lookups (use UNIX methods or WINS)
name resolve order = wins host
; Tell Samba where the WINS server (cougar1) is (this is also the primary 
domain controller)
wins server = 139.95.3.23

And then of course I define the printer shares.

As noted above, hare2 is the Win2k pro client I can't get to work (subnet is 
139.95.41).  I tried using it's IP address in the hosts allow line, but it didn't 
matter.  I'm not sure Samba is ever seeing the requests from the client, since even 
with the log level set to 3, I don't see any indication that it knows that I'm trying 
to browse it's shares.

BTW, I did check in the WINS server and the Samba server does appear to be registering 
itself correctly with WINS on startup.

Any idea what I'm doing wrong?  Any help would be greatly appreciated. Thanks!

Kevin

+--+
| Kevin Sage  | Voice:  (408) 749-4794 |
| CAD Engineer, NVD   | Pager:  (408) 388-5768 |
| Advanced Micro Devices  | Fax:(408) 749-3718 |
| Sunnyvale, CA   | E-mail: [EMAIL PROTECTED] |
+--+


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



Re: [Samba] Win2K Printer Driver Problems - Hi Jerry!!

2002-10-08 Thread daniel . jarboe



Nope, smbstatus reports Samba version 2.2.6pre2 for me. How did you install
2.2.6pre2? rpm -u ? If you installed from source you might still have some
2.2.5 binaries laying around in your $PATH.

~ Daniel

[EMAIL PROTECTED] wrote:

  We are on 2.2.6Pre2 and if the patches are in you've just saved us sometime.Does smbstatus say 2.2.6Pre2?  Ours displays only 2.2.5.However, as mentioned in another message we've found the problems occur ifwe have a combination of HP4 and HP4000 drivers on the server.Greg-Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Sent: Tuesday, October 08, 2002 10:12 AMTo: [EMAIL PROTECTED]Cc: '[EMAIL PROTECTED]'; WEBSTER, GregSubject: Re: [Samba] Win2K Printer Driver Problems - Hi Jerry!!gsmi
[EMAIL PROTECTED] wrote:
  
We will downgrade to 2.2.5 and tryJerry's patch.

"downgrade" to 2.2.5 from 2.2.5?  If you are actually at 2.2.6pre2, the printing patches are already in and downgrading to 2.2.5 w/ jerry's printing patch isn't going to help (might hurt)

  5. Respond "NO" to the "Install Driver now prompt"  - Question:  Why
  
  respond
  
"No" at this point? All docs say to do so without explanation.

If you click yes you'll be installing the drivers locally on the PC, you want them installed on the samba server by uploading a new driver.

  9. On General tab, choose Printing Preferences - Basics and switch pagelayouts between portrait and landscape clicking OK in between to update thedriver.  - I assume at this point the driver Devmode is being set, correct?
  
  Correct, this executes the driver so you don't have a null devmode
  
2. What could cause the spooler to crash so often when updating drivers?

Not much help here, but probably at least 1 of the following: buggy print drivers, buggy client, buggy sambaAs for the rest of your questions, I'm just as anxious to hear the list's answers as you are :)~ Daniel






Re: [Samba] Samba 2.2.5 Security Bug?

2002-10-08 Thread imed

Hi Jerry

Thanks for the answer!
 
 Of the top of my head i would say that \n is not being 
 recognized as 
 NO PASSWORDX.  Check the smbpasswd file.
 

I can see this attitude on all Solaris Server using samba  2.0, with
different installations.
In the smbpasswd file there is no NO PASSWORDX for the specified user,
see
bleow:

ben:781:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[UX 
]:LCT-3DA3119B:

What does that mean now (\n is not being  recognized as...)? Is the
smbpasswd binay buggy, or am I doing something wrong?

Thanks in Advance!

Imed

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!

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



Re: [Samba] Samba 2.2.5 Security Bug?

2002-10-08 Thread Herb Lewis

[EMAIL PROTECTED] wrote:
 
 
 What does that mean now (\n is not being  recognized as...)? Is the
 smbpasswd binay buggy, or am I doing something wrong?
 
 Thanks in Advance!
 
 Imed

According to the man page you use smbpasswd -n username to set the
NO PASSWORDX password. Empty passwords give a different password.
It looks like this was intentional but I'm not sure why.

-- 
==
Herb Lewis   Silicon Graphics 
Networking Engineer  1600 Amphitheatre Pkwy MS-510
Strategic Software Organization  Mountain View, CA  94043-1351
[EMAIL PROTECTED] Tel: 650-933-2177
http://www.sgi.com   Fax: 650-932-2177  
==
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Deactivating service netbios-ns due to excessive incoming connections

2002-10-08 Thread Eugene Babchin



My SAMBA server running RH7.3. Usually in 2-3 hrs. 
the server stops with messages on screen 'out of memory-killing process 
(nmbd)'. In log file I found messages "Deactivating service 
netbios-ns due to excessive incoming connections" from xinetd and "Activating 
service netbios-ns" until stop the server. I have approximately seven Win98 
workstations. Can you recommend anything?
Thank you for your help.
Eugene.


Re: [Samba] Samba 2.2.5 Security Bug?

2002-10-08 Thread jra

On Tue, Oct 08, 2002 at 10:31:00AM -0700, Herb Lewis wrote:
 
 According to the man page you use smbpasswd -n username to set the
 NO PASSWORDX password. Empty passwords give a different password.
 It looks like this was intentional but I'm not sure why.

No password is different from the password  (an empty password).
 is actually hashed as an empty string and is a valid password,
NO PASSWORD is  treated differently.

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



Re: [Samba] Samba 2.2.5 Security Bug?

2002-10-08 Thread Herb Lewis

[EMAIL PROTECTED] wrote:
 
 On Tue, Oct 08, 2002 at 10:31:00AM -0700, Herb Lewis wrote:
 
  According to the man page you use smbpasswd -n username to set the
  NO PASSWORDX password. Empty passwords give a different password.
  It looks like this was intentional but I'm not sure why.
 
 No password is different from the password  (an empty password).
  is actually hashed as an empty string and is a valid password,
 NO PASSWORD is  treated differently.
 
 Jeremy.

I am assuming the NO PASSWORD will not allow a login. The null password
login should be controlled by the smb.conf parameter null passwords.

-- 
==
Herb Lewis   Silicon Graphics 
Networking Engineer  1600 Amphitheatre Pkwy MS-510
Strategic Software Organization  Mountain View, CA  94043-1351
[EMAIL PROTECTED] Tel: 650-933-2177
http://www.sgi.com   Fax: 650-932-2177  
==
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] enable IP Forwading

2002-10-08 Thread Paul Vasquez

echo 1  /proc/sys/net/ipv4/ip_forward

 
PV

 


-Original Message-
From: Lloyd Lowe [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, October 08, 2002 9:36 AM
To: [EMAIL PROTECTED]
Subject: [Samba] enable IP Forwading


HI all,

Could anyone tell me how to enable IP Forwading. I am running Redhat 7.3 
with Kernel 2.4.18-3 and have tried the test file provided in the 
sysconf directory and have had the message Forwarding is not Enabled in 
the kernel

Thanks
Lloyd



-- 
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] Samba 2.2.5 Security Bug?

2002-10-08 Thread imed

Hi there,

 No password is different from the password  (an empty password).
  is actually hashed as an empty string and is a valid password,
 NO PASSWORD is  treated differently.

That not very consistent! With SWAT it's not possible for the user user to
set an empty password, this is Unix like.

No password is just allowed for root, that's ok, because it's under root's
control. An empty password is possible for all user and this really bad,
because you don't have any control on the user passwords, even not in the smb.conf
file!

In addition, with the old samba versions  2.0 it wasn't possible even for
root to set an empty password!

Is there any cogent reason, why should  (an empty password) now be a valid
password?

Thanks for hints!

regards,

Imed

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!

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



[Samba] Mapped drives gets disconnected ?

2002-10-08 Thread Brian Ipsen

Hi! 

I'm running a RedHat 7.2 server with Samba 2.2.3a - but recently I have a 
problem that mapped drives on Windows 2000 workstations get disconnected and 
have problems reconnecting (error message is something like local device 
name already in use when I try to browse the drive in Windows Explorer). 

Any idea what causes this problem ? 

Regards, 

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



[Samba] Limit drive space

2002-10-08 Thread Bob Crandell

Hi,

I inherited a new client that has an old peer to peer network.  Their accounting is
done with an old Fox database that can't handle drives larger than 2 gigs.  Back in
the day, Novell has a way to limit the size of a drive that the application looks
at.  Is there a way to do that for a share in Samba?

Thanks
--
Bob Crandell
Assured Computing
When you need to be sure.
Voice 541-689-9159
FAX   240-371-7237
[EMAIL PROTECTED]
www.assuredcomp.com
Eugene, Or. 97402


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



RE: [Samba] problem with samba server

2002-10-08 Thread Jennifer Fountain

that file looks pretty strange to me...
I don't think you should use 1.1.1.1 since that IP space does not
pertain to your company (i doubt it anyway) and it is not in the private
IP space.
-1.1.1.1 isn't the real Ip for the wins. (security reason i had to change

Why are you using update encrypted=yes?
that is really only for transitioning to encrypted passwords.
- this option is set by default and recommened for allow for logon

   interfaces = lan4 127.0.0.1
this looks unusual to me - what os is this?
this is an hp unix box - has 4 interfaces. in order for this machine to
always use the correct interface we had to use this option

what do you see in the logs when a 95/98 client tries to log on?
check logs now.


-Original Message-
From: Bradley W. Langhorst [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 08, 2002 11:21 AM
To: Jennifer Fountain
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Samba] problem with samba server


On Tue, 2002-10-08 at 10:33, Jennifer Fountain wrote:
 here is my config file - 
 
 # Samba config file created using SWAT
 # from ws09573.rb.net (10.27.52.177)
 # Date: 2002/10/08 10:25:55
 
 # Global parameters
 [global]
   client code page = 437
   workgroup = domain1
   netbios name = server1
   server string = ares
   interfaces = lan4 127.0.0.1
   bind interfaces only = Yes
   security = DOMAIN
   encrypt passwords = Yes
   update encrypted = Yes
   allow trusted domains = No
   password server = server2
   admin log = Yes
   log level = 4
   name resolve order = wins lmhosts bcast host
   character set = ISO8859-1
   os level = 0
   local master = No
   domain master = False
   wins server = 1.1.1.1
   socket address = 
   guest account = smbnull
 
 
that file looks pretty strange to me...
I don't think you should use 1.1.1.1 since that IP space does not
pertain to your company (i doubt it anyway) and it is not in the private
IP space.

Why are you using update encrypted=yes?
that is really only for transitioning to encrypted passwords.

   interfaces = lan4 127.0.0.1
this looks unusual to me - what os is this?

what do you see in the logs when a 95/98 client tries to log on?

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



[Samba] new box can't join domain since switch to ldapsam

2002-10-08 Thread Louis-David Mitterrand


Hello,

Since changing to passdb backend = ldapsam on my debian unstable PDC
things work well, however a new winxp machine can't join the domain. 

Here is the /var/log/samba/log.smbd output. It seems the sticking point
is about a missing user RID? (the new machine is sylla).

Thanks in advance for any hints as to what may be wrong, cheer,


2002/10/08 18:06:30, 0] passdb/pdb_ldap.c:init_ldap_from_sam(935)
  NO user RID specified on account sylla$, cannot store!
[2002/10/08 18:06:30, 0] passdb/pdb_ldap.c:ldapsam_add_sam_account(1661)
  ldapsam_add_sam_account: init_ldap_from_sam failed!
[2002/10/08 18:06:30, 0] rpc_server/srv_samr_nt.c:_api_samr_create_user(2302)
  could not add user/computer sylla$ to passdb.  Check permissions?
[2002/10/08 18:06:30, 2] smbd/server.c:exit_server(533)
  Closing connections
[2002/10/08 18:06:31, 2] smbd/reply.c:reply_special(81)
  netbios connect: name1=ZENONname2=SYLLA  
[2002/10/08 18:06:31, 2] smbd/reply.c:reply_special(95)
  netbios connect: local=zenon remote=sylla
[2002/10/08 18:06:31, 2] passdb/pdb_ldap.c:ldapsam_open_connection(267)
  ldap_open_connection: connection opened
[2002/10/08 18:06:31, 2] passdb/pdb_ldap.c:ldapsam_connect_system(419)
  ldap_connect_system: succesful connection to the LDAP server
[2002/10/08 18:06:31, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(431)
  ldapsam_search_one_user: searching for:[((uid=root)(objectclass=sambaAccount)
)]
[2002/10/08 18:06:31, 2] passdb/pdb_ldap.c:init_sam_from_ldap(677)
  Entry found for user: root
[2002/10/08 18:06:31, 2] passdb/pdb_ldap.c:ldapsam_open_connection(267)
  ldap_open_connection: connection opened
[2002/10/08 18:06:31, 2] passdb/pdb_ldap.c:ldapsam_connect_system(419)
  ldap_connect_system: succesful connection to the LDAP server
[2002/10/08 18:06:31, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(431)
  ldapsam_search_one_user: searching for:[rid=1000]
[2002/10/08 18:06:31, 2] passdb/pdb_ldap.c:init_sam_from_ldap(677)
  Entry found for user: root
[2002/10/08 18:06:31, 2] auth/auth.c:check_ntlm_password(266)
  check_password:  authentication for user [root] - [root] - [root] suceeded
[2002/10/08 18:06:32, 2] smbd/server.c:exit_server(533)
  Closing connections


-- 
 HIPPOLYTE: Je permets tout le reste à mon libre courroux.
Sortez de l'esclavage où vous êtes réduite.
  (Phèdre, J-B Racine, acte 5, scène 1)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] No printer status on Win2K client; Win98 and Linux clients are OK

2002-10-08 Thread Steve Snyder

My Win98(SE) Samba clients can query the Samba-exported printer status, 
but Win2K(SP3) clients cannot.  Both clients can actually print 
documents.  

I am running Samba v2.2.3a on a Linux (Red Hat v7.3) system.  This server 
makes 2 printers (via a LPR subsystem) and several shared directories 
available to our Linux, Win98 and Win2K (soon to be WinXP also) clients.  

From a Win98 client, print jobs can be successfully submitted, the status 
of those jobs can be checked and the jobs cancelled if desired.  Win2K 
clients may only submit print jobs.  The submitted jobs actually print 
correctly, but the status of the jobs cannot be checked nor can they be 
cancelled.  Opening up the window for a given printer in Win2K, this 
message is seen: 

Access denied, unable to connect

My first thought was that it was a problem with LPR permisions.  
Apparently not.  Our Linux clients, using straight LPR-to-LPR 
communication - no samba involved - can act on the server's LPR spooler 
(submit jobs, query, cancel, etc.).  This suggests to me that the problem 
is in the way that Samba interacts with the Win2K clients.  

There are the relevant portions of my smb.conf:

   printcap name = /etc/printcap
   load printers = yes
   printing = lprng

[printers]
   comment = Network Printers
   path = /var/spool/samba
   create mask = 0700
   guest ok = Yes
   print ok = Yes
   browseable = No

Note that Win2K is *not* logging into a domain, but is configured to work 
with a workgroup, the same workgroup that the Win98 machines use.  

Note also that this behavior is seen with the same user in all 
environments.  That is, steve sees the bahavior described about when 
using a Linux or Win98 or Win2K client.  To my mind this precludes the 
problem being one of login validity.  

I am very concerned that this problem with Win2K will soon be seen on our 
WinXP machines as well.  Can someone please advise me on how to get print 
job status and cancellation on Win2K?  

Thank you.


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



Re: [Samba] Limit drive space

2002-10-08 Thread Michael Heironimus

On Tue, Oct 08, 2002 at 06:13:14PM +, Bob Crandell wrote:
 I inherited a new client that has an old peer to peer network.  Their
 accounting is done with an old Fox database that can't handle drives
 larger than 2 gigs.  Back in the day, Novell has a way to limit the
 size of a drive that the application looks at.  Is there a way to do
 that for a share in Samba?

Set the max disk size parameter in smb.conf. It's documented in the
smb.conf man page.

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



RE: [Samba] Mapped drives gets disconnected ?

2002-10-08 Thread Javid Abdul-AJAVID1

did u find the solution
am guessing it might network or check the logs what it says...

-Original Message-
From: Brian Ipsen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 08, 2002 1:11 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Mapped drives gets disconnected ?


Hi! 

I'm running a RedHat 7.2 server with Samba 2.2.3a - but recently I have a 
problem that mapped drives on Windows 2000 workstations get disconnected and

have problems reconnecting (error message is something like local device 
name already in use when I try to browse the drive in Windows Explorer). 

Any idea what causes this problem ? 

Regards, 

/Brian 
-- 
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] changing passwords / winbind

2002-10-08 Thread Robert Dempsey

Shane,

Winbind is used so that Linux servers and workstations can use Win2K
(or WinNT I suppose - though I work with 2000) can use a Win2K domain
controller as the authentication server.  This allows seamless
integration of Linux into a Win2K domain.

As to your problem, I am unaware of the ability to change a password on
a Win2K workstation (Professional I would assume) by pressing
CTRL+ALT+DEL.  Could you please give more information such as 

1.  Are you in a Win2K domain.
2.  Are you using Win2K Pro on your workstation.
3.  What version of Samba/Winbind you are using.
4.  Are you using a Linux workstation.

Please forward that information and I will try to help you out as best
as I can.

- Robert Dempsey
  Atlantic Dominion Solutions

On Tue, 2002-10-08 at 08:58, Shane Tapper wrote:
 
 Currently when i try and change passwords by pressing ctrl+alt+delete and
 using the change password funtion from w2k i get a message stating the
 domain cannot be found.  yet i was able to logon to it just fine.  i am
 trying to figure out ways around this.
 
 It is my understanding that winbind is used to sync samba passwords with an
 nt server, is that correct or
 is winbind used to sync workstation passwords with a samba server?
 
 Shane
 
 
 
 -- 
 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] Filesystem for Samba server

2002-10-08 Thread Yura Pismerov


ext3 is probably the best choice.


Donal Byrne wrote:
 
  Hi,
  Sorry if this is a stupid question (bit of a newbie). I'm building a Samba
  fileserver on a box with a hardware raid array of about 65GB which I'm
  hoping to share out to the local LAN . I was wondering if the filesystem
  used (ext2,ext3, reiserfs etc) on the partition where the Samba shares
  will reside makes much of a difference? I'd obviously like to use a
  journalling filesystem but can't seem to find any info to guide my choice.
 
  Thanks
  Donal
 --
 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] Domain Admins

2002-10-08 Thread Irving Carrion

Bradley W. Langhorst wrote,

 I can't explain that - maybe somebody else who knows can chime in...
 I don't think it makes sense for a Domain Admin to automatically have
 Local adminstrative rights...

brad

This is what I read from: 
 Mastering Windows NT Server 4 6th Edition page 375

By default, the built-in Domain Admins global group is a member of both
the domain's Administrators local group and the Administrators local
groups for every NT workstation in the domain.

So, I wonder if this has been removed in the new version of SAMBA or if
it no longer does this by default?

Anyone know anything about this?

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



Re: [Samba] GetPrinter Level 2 does not get devmode

2002-10-08 Thread Gerald Carter

On Tue, 8 Oct 2002 [EMAIL PROTECTED] wrote:

 I just went through Samba-HOWTO-Collection.pdf and am going to try
 'tickling' the driver to save a devmode. Thanks for the pointer Jerry.
 
 Also, I uploaded my drivers using the same process on a HP 4200 Print
 Server Appliance which runs Samba too. I do not remember tickling
 anything to set the devmode on the server , but I can still get devmode
 through my program. I guess I need to verify this again.

native tools or through the PSA's web ui?  The Web UI initializes 
the driver for you using some client side code.






cheers, jerry

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



Re: [Samba] GetPrinter Level 2 does not get devmode

2002-10-08 Thread Rohit . Wadhwa

I did that a few weeks back, so I do not remember. I guess I used the PSA's
web ui probably.

regards,
Rohit.




   
   
Gerald Carter  
   
jerry@samba.To: Rohit 
Wadhwa/DSE/IRV/TOSHIBA-TABS@TOSHIBA-TABS   
org cc: [EMAIL PROTECTED]   
   
 Subject: Re: [Samba] GetPrinter Level 2 
does not get devmode 
10/08/02   
   
10:05 AM   
   
   
   
   
   




On Tue, 8 Oct 2002 [EMAIL PROTECTED] wrote:

 I just went through Samba-HOWTO-Collection.pdf and am going to try
 'tickling' the driver to save a devmode. Thanks for the pointer Jerry.

 Also, I uploaded my drivers using the same process on a HP 4200 Print
 Server Appliance which runs Samba too. I do not remember tickling
 anything to set the devmode on the server , but I can still get devmode
 through my program. I guess I need to verify this again.

native tools or through the PSA's web ui?  The Web UI initializes
the driver for you using some client side code.






cheers, jerry





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



[Samba] Need a help, From Qing

2002-10-08 Thread Qing_Li





Hello,

I am a new user of Samba Server on Red Hat Linux 7.2. I install a firewall
on Linux. Would you please tell me which port and protocol I can use when I
connect to Samba Server from a Windows NT client? I am looking forward to
get your reply. Thanks a lot.

--Qing



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



RE: [Samba] changing passwords / winbind

2002-10-08 Thread Daniel Curry

For Win2kPro clarification.

CTRL-ALT-DEL will bring up a dialog box with 6 buttons.
Lock, Logoff, Shutdown, Change Password, Task Manager, and Cancel.  

My users can currently change their password with this method, and all of their 
related Samba shares (winbind supported)  are updated accordingly.

Daniel Curry
IT Manager
Cariocas
625 Second Street 
Suite 201
San Francisco, CA 94107 
ph: 415-348-6516
fx: 415-348-6505 
cell: 510-579-6680

If A equals success, then the formula is: A = X + Y + Z, 
X is work. Y is play. Z is keep your mouth shut. 
  - Albert Einstein

 -Original Message-
From:   Robert Dempsey [mailto:[EMAIL PROTECTED]] 
Sent:   Tuesday, October 08, 2002 2:53 PM
To: [EMAIL PROTECTED]
Subject:Re: [Samba] changing passwords / winbind

Shane,

Winbind is used so that Linux servers and workstations can use Win2K
(or WinNT I suppose - though I work with 2000) can use a Win2K domain
controller as the authentication server.  This allows seamless
integration of Linux into a Win2K domain.

As to your problem, I am unaware of the ability to change a password on
a Win2K workstation (Professional I would assume) by pressing
CTRL+ALT+DEL.  Could you please give more information such as 

1.  Are you in a Win2K domain.
2.  Are you using Win2K Pro on your workstation.
3.  What version of Samba/Winbind you are using.
4.  Are you using a Linux workstation.

Please forward that information and I will try to help you out as best
as I can.

- Robert Dempsey
  Atlantic Dominion Solutions

On Tue, 2002-10-08 at 08:58, Shane Tapper wrote:
 
 Currently when i try and change passwords by pressing ctrl+alt+delete and
 using the change password funtion from w2k i get a message stating the
 domain cannot be found.  yet i was able to logon to it just fine.  i am
 trying to figure out ways around this.
 
 It is my understanding that winbind is used to sync samba passwords with an
 nt server, is that correct or
 is winbind used to sync workstation passwords with a samba server?
 
 Shane
 
 
 
 -- 
 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


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



RE: [Samba] Filesystem for Samba server

2002-10-08 Thread Omar Castaneda Acosta

I've been thinking on this subject before, I'm setting up a 2 TB storage server
and I would like some advice on how would be the best way to setup the
disks (it's a 12*200GB array, single logical unit RAID5). Not that I don't trust
ext3, but some feedback would help. This is sort of untopic, so please don't reply
to the list.

Regards,
Omar

-Original Message-
From: Yura Pismerov [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 08, 2002 3:53 PM
To: Donal Byrne
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Samba] Filesystem for Samba server



ext3 is probably the best choice.


Donal Byrne wrote:
 
  Hi,
  Sorry if this is a stupid question (bit of a newbie). I'm building a Samba
  fileserver on a box with a hardware raid array of about 65GB which I'm
  hoping to share out to the local LAN . I was wondering if the filesystem
  used (ext2,ext3, reiserfs etc) on the partition where the Samba shares
  will reside makes much of a difference? I'd obviously like to use a
  journalling filesystem but can't seem to find any info to guide my choice.
 
  Thanks
  Donal
 --
 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
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] For developers: charset conversion on user names

2002-10-08 Thread Vladimir I. Umnov

Hello, samba.

If I have names in /etc/passwd in koi8-r charset and my windows
clients read it in cp866 or win1251 I see bla-bla insted of Real
Names. I want to use names in koi8-r under linux box, but I want to
see this names under w2k.

-- 
 Vladimir I. Umnov mailto:[EMAIL PROTECTED]

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



[Samba] MD5 checksum NOT OK on 2.2.5 binary from samba ftp site?

2002-10-08 Thread Hiten Sonpal


Hello,

I ftp'ed the binary RPM for samba from us6.samba.org, and when I tried to 
verify it, rpm said that MD5 was NOT OK.

Has anyone else reported this behavior?

Thanks,

Hiten Sonpal[EMAIL PROTECTED]
Engineer, CIHOLAS Enterprises   Voice: 812 476 2721 x 102
2626 Kotter Ave, Unit #DFax:   812 476 2881
Evansville, IN 47715http://www.ciholas.com

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



[Samba] Auto machine account creation

2002-10-08 Thread Sam Silvester

Hi everyone!

I've got Samba 2.2.5 installed in a network of 3 client machines all running
xp pro.

Everything works ok except on-the-fly machine account creation...from what
I've read I need something like

add user script = /usr/sbin/useradd -d /dev/null -s /bin/false -M $u

but this doesn't work for some reason.

Can anyone tell me what I'm doing wrong or haven't considered?

Thanks very much,

Sam.


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



[Samba] Get Your IE Toolbar!

2002-10-08 Thread Your IE Toolbar

Make your customers and visitors always have the link to your site on
their Explorer toolbar. 

Custom Toolbars increase your ability to market your site anywhere within
millions of Internet browsers and takes only seconds to install. 

Custom IE Toolbar with unlimited menu items - 200$US! 
Advanced IE Toolbar with custom design logo - 250$US!  
Unlimited IE Toolbar features with the plain rate of 20$US p/h for
programming! 
http://www.besttoolbars.net 

You may distribute your Toolbar to your Web site visitors, employees, etc.
This provides quick access to your Web site and perhaps other useful links
you find appropriate for those who would download your Toolbar.

If you're a business owner, use your company custom IE Toolbar to make
your team share common Web resources.

If you're working on several computers (home, office, etc.) you can have
an IE Toolbar that will store all your favorites on the server. That
means, that you will never ever have to update your favorite links again
and again on all your computers - you can do it just once!

Features:

- One-click access to your website and pages through an always-present
browser toolbar 
- Personal Buttons, Dynamic Buttons and Menus Items to IE Toolbar 
- Customizable search features/ Integrated Search Engines 
- Live News Feeds  
- Custom Icons and Superb Branding  
- Instant Messaging Broadcasting to Users 
- Instantly deploy new web products remotely on customer's desktops and
make them immediately usable.  
- Targeted and Non-Targeted Marketing  
- and much much more... 

Order online at http://www.besttoolbars.net 
Please feel free to contact me [EMAIL PROTECTED] 

Your e-mail was taken from a public place. There is no need to unsubscribe
as it's one time mailing.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Auto machine account creation

2002-10-08 Thread Justin Georgeson

I think it should be u$. Is the useradd failing or is the process of 
having it added to smbpasswd failing?

Sam Silvester wrote:
 Hi everyone!
 
 I've got Samba 2.2.5 installed in a network of 3 client machines all running
 xp pro.
 
 Everything works ok except on-the-fly machine account creation...from what
 I've read I need something like
 
 add user script = /usr/sbin/useradd -d /dev/null -s /bin/false -M $u
 
 but this doesn't work for some reason.
 
 Can anyone tell me what I'm doing wrong or haven't considered?
 
 Thanks very much,
 
 Sam.
 
 

-- 
Justin Georgeson
UnBound Technologies, Inc.
http://www.unboundtech.com
Main   713.329.9330
Fax713.460.4051
Mobile 512.789.1962

5295 Hollister Road
Houston, TX 77040
Real Applications using Real Wireless Intelligence(tm)

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



[Samba] Problems with Windows XP reading Big 5 Code on Samba Server

2002-10-08 Thread Jonathan Kwan








Currently I have problems with windows xp reading the Samba
Servers Directories that have Big 5 Code, or aka funny looking ascii
characters. What happens is that win xp reads the ascii characters differently
on the samba server only. If there is a fix please let me know



-

Contact me through:

email: [EMAIL PROTECTED]


[EMAIL PROTECTED]

ICQ: 123033270

MSN: [EMAIL PROTECTED]

Webpage: http://creations.orbis-terrarum.net

-










[Samba] SAMBA problem: nmblookup

2002-10-08 Thread In Labore Fructus

Hello,
I am hoping someone can help me

I am trying to configure my samba...and the problem is the following:
When I use nmblookup with -B option and Broadcast address it is
impossible to find my samba server (named prova) that is:

# nmblookup -B 10.254.14.127 prova
querying prova on 10.254.14.127
name_query failed to find name prova

If I do the same lookin up to another machine different from my samba
server, then it is ok:
# nmblookup -B 10.254.14.127 my_win_client
querying my_win_client on 10.254.14.127
10.254.14.94 my_win_client00

If I make: c:\net view \\prova
there will be : error 1234

And id I do : nbtstat -A 10.254.14.80 (samba server ip)
the answer is : unknown host

Would some body help me 

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



[Samba] System error 5 has occurred

2002-10-08 Thread Rudhi . Kurniadi

Hi,

I have configured samba 2.2.2 server on my Solaris 8 box.
The client is various, 95/98/2000/XP.

When I execute the following command from DOS command :

net view \\server

I receive the error :

System error 5 has occurred.
Access is denied.

Could you point me how to fix this problem ?

FYI, I have already done the steps required to diagnose the problem as
documented in DIAGNOSIS.txt came along samba installation.
All is fine except the above command.

Appreciate help.

Regards,
Rudhi Kurniadi
Santos IT Coordinator


Santos Ltd A.B.N. 80 007 550 923
Disclaimer: The information contained
in this email is intended only for the use of the
person(s) to whom it is
addressed and may be confidential or contain
privileged information. If
you are not the intended recipient you are hereby
notified that any
perusal, use, distribution, copying or disclosure is strictly
prohibited.
If you have received this email in error please immediately
advise us by
return email and delete the email without making a copy.

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



[Samba] Re : The chinese problem in sammount !

2002-10-08 Thread perre

Hi group!

I have been struggling for quite long, and here is the story:

My linux box is RH7.2 w/ samba 2.2.1a, Chinese support installed and works
fine. The client is W2K codepage 437 (English), but since I have installed
Far East support, so that I can process codepage 936 (viewing and inputting
Chinese).

I smbmount W2K drive to Linux box, but the filename in Chinese can never be
displayed correctly, character are replaced by a series of question mark
(???).
I have already add Client code page = 936 in my smb.conf, but that seems
not working, I figure maybe that's because the code page of the W2K machine
is actually 437.

Any idea that can help me to display Chinese filenames correctly on Linux
side?

Thanks in advance!



--
Perre (http://www.perre.net)

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



Re: Identifying WinXP

2002-10-08 Thread Eddie Lania

Kris van Hees wrote:
 Has anyone found a way to identify WinXP as the remote architecture of a
client
 rather than just identifying it as Win2000?  From everything I can find it
is
 acting pretty much identical to a Win2000 client, which is a bit of an
issue
 since I really would need to try to make a distinction.

 Any ideas?

 Kris

Kris,

If you are using a client login script, perhaps the cmdinfo.exe tool can be
of some assistance.
You can find this tool on the internet, doc's too.

Eddie.





(no subject)

2002-10-08 Thread In Labore Fructus

Hello,

  I am hoping someone can help me

  I am trying to configure my samba...and the problem is the following:

  When I use nmblookup with -B option and Broadcast address it is
  impossible to find my samba server (named prova) that is:

  # nmblookup -B 10.254.14.127 prova
  querying prova on 10.254.14.127
  name_query failed to find name prova

  If I do the same lookin up to another machine different from my samba
  server, then it is ok:

  # nmblookup -B 10.254.14.127 my_win_client
  querying my_win_client on 10.254.14.127
  10.254.14.94 my_win_client00

  Would some body help me 




PING PROBLEM

2002-10-08 Thread In Labore Fructus

Hello,
I am hoping someone can help me

I am trying to configure my samba...and the problem is the following:

When I use nmblookup with -B option and Broadcast address it is
impossible to find my samba server (named prova) that is:

# nmblookup -B 10.254.14.127 prova
querying prova on 10.254.14.127
name_query failed to find name prova

If I do the same lookin up to another machine different from my samba
server, then it is ok:

# nmblookup -B 10.254.14.127 my_win_client
querying my_win_client on 10.254.14.127
10.254.14.94 my_win_client00


Would some body help me 





Re: winbindd and missing 0x1c role on UNICAST_SUBNET

2002-10-08 Thread Volker Lendecke

On Mon, Oct 07, 2002 at 05:35:35PM -0400, Kevin Stefanik wrote:
 from log.nmbd:
 process_node_status_request: status request for name U_MTPPI1c from IP 
 192.168.92.56 on subnet UNICAST_SUBNET.

I had the same problem, and patched nmbd a bit. I'm not sure it's
the right fix, but here it is. Whoever is currently feeling authoritative
of nmbd, feel free to commit it :-)

Volker

diff -u -r1.11 nmbd_logonnames.c
--- nmbd/nmbd_logonnames.c  30 Jan 2002 06:08:22 -  1.11
+++ nmbd/nmbd_logonnames.c  6 Oct 2002 09:58:09 -
 -139,6 +139,7 
 void add_logon_names(void)
 {
   struct subnet_record *subrec;
+  struct nmb_name nmbname;
 
   for (subrec = FIRST_SUBNET; subrec; subrec = NEXT_SUBNET_INCLUDING_UNICAST(subrec))
   {
 -146,7 +147,6 
 
 if (work  (work-log_state == LOGON_NONE))
 {
-  struct nmb_name nmbname;
   make_nmb_name(nmbname,global_myworkgroup,0x1c);
 
   if (find_name_on_subnet(subrec, nmbname, FIND_SELF_NAME) == NULL)
 -162,4 +162,6 
   }
 }
   }
+  make_nmb_name(nmbname,global_myworkgroup,0x1c);
+  insert_permanent_name_into_unicast(FIRST_SUBNET, nmbname, 0x1c);
 }




msg03575/pgp0.pgp
Description: PGP signature


Re: load balancing question

2002-10-08 Thread John E. Malmberg

Richard Sharpe wrote:
 On Tue, 8 Oct 2002, René Nieuwenhuizen wrote:
 
Richard Sharpe wrote:


On Mon, 7 Oct 2002, John E. Malmberg wrote:

Javid Abdul-AJAVID1 wrote:
   
MSDFS is filey system right, how will it help to load balance samba
connections
 
MSDFS does not really load balance.  MSDFS distributes the 
subdirectories of a directory between multiple servers transparently to 
the clients.
   
Wouldn't it be easy to run a script on the msdfs-root that monitors the 
load on different machines and that recreates the referrals based on 
this load.
 
 Sure, but it seems better to defer the re-ordering of the referrals until 
 someone asks :-) That's what we plan to do, and then try to do policy 
 based stuff, like if this machine has more capacity currently, hand out it 
 at the top of the list, and order them by power as well, like P4s before 
 PIIIs etc.

In order for that to work the underlying cluster file system must 
support simultaneous access from the multiple hosts.

If you have that, then you do not need to deal with the MSDFS feature.

If you do not have that, then you can not load balance between servers, 
unless you completely replicate all of the data.  And that will only 
help if all the access is read only.


There are only a limited number of Operating Systems / File Systems that 
support simultaneous shared access from multiple hosts, like OpenVMS 
clusters do.  And I am not aware of any of them that will support the 
number of hosts or the distance that OpenVMS does.

Most of the systems on UNIX use a primary / secondary relationship where 
only one host is ever directly accessing the filesystems, and the other 
hosts are using a network type interconnection to access the files.

These primary / secondary systems are good for fail-over cases, but not 
load balancing.  Any file access from a secondary is much slower and 
resource intensive than access from the primary.  Also switching the 
file serving from the primary to a secondary is not a cost free operation.

So redirectly clients to a secondary server usually will mean that the 
data must travel on the wire twice, unless the secondary server has a 
good caching mechanism.


So it all comes down to what the underlying platform supports for shared 
simultaneous disk access.

Or finding out the exact requirements for the project to see what all 
the options are.

-John
[EMAIL PROTECTED]
Personal Opinion Only




VS: Identifying WinXP

2002-10-08 Thread Nieminen, Jooel

just a simple ver gives you the info.
on logonscript it's simple as:

ver|find Microsoft Windows 2000 [Versio 5.00.2195]
if %errorlevel%=0 echo win2k


cheers,
  Jooel




-Alkuperäinen viesti-
Lähettäjä: Eddie Lania [mailto:[EMAIL PROTECTED]]
Lähetetty: 8. lokakuuta 2002 10:29
Vastaanottaja: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Aihe: Re: Identifying WinXP


Kris van Hees wrote:
 Has anyone found a way to identify WinXP as the remote architecture of a
client
 rather than just identifying it as Win2000?  From everything I can find it
is
 acting pretty much identical to a Win2000 client, which is a bit of an
issue
 since I really would need to try to make a distinction.

 Any ideas?

 Kris

Kris,

If you are using a client login script, perhaps the cmdinfo.exe tool can be
of some assistance.
You can find this tool on the internet, doc's too.

Eddie.




Re: Identifying WinXP

2002-10-08 Thread Gerald Carter

On Mon, 7 Oct 2002, Kris Van Hees wrote:

 Has anyone found a way to identify WinXP as the remote architecture of a
 client rather than just identifying it as Win2000?  From everything I
 can find it is acting pretty much identical to a Win2000 client, which
 is a bit of an issue since I really would need to try to make a
 distinction.

I don't know if anyone has spent the time to attempt to isolate 
differences between 2k  XP during the protocol negotiation.
Or perhaps they have and the differences were not enough to 
flag the client as one os or the other.




cheers, jerry
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 SAMS Teach Yourself Samba in 24 Hours 2ed.   ISBN 0-672-32269-2
 --I never saved anything for the swim back. Ethan Hawk in Gattaca--




Re: winbindd and missing 0x1c role on UNICAST_SUBNET

2002-10-08 Thread Kevin Stefanik

That's a much cleaner solution than what I was proposing.  Thanks.

I do have one question, though.  If a samba PDC has multiple interfaces, would 
you want the PDC role registered with the PDC's ip on each interface?  I 
think that would be accomplished if your insert_permanent_name_into_unicast 
were moved inside the subnet list loop, and called for each subnet instead of 
FIRST_SUBNET.   Or maybe I don't understand how the unicast subnet works?  

Thanks,
Kevin

On Tuesday 08 October 2002 03:39 am, Volker Lendecke wrote:
 On Mon, Oct 07, 2002 at 05:35:35PM -0400, Kevin Stefanik wrote:
  from log.nmbd:
  process_node_status_request: status request for name U_MTPPI1c from IP
  192.168.92.56 on subnet UNICAST_SUBNET.

 I had the same problem, and patched nmbd a bit. I'm not sure it's
 the right fix, but here it is. Whoever is currently feeling authoritative
 of nmbd, feel free to commit it :-)

 Volker

 diff -u -r1.11 nmbd_logonnames.c
 --- nmbd/nmbd_logonnames.c  30 Jan 2002 06:08:22 -  1.11
 +++ nmbd/nmbd_logonnames.c  6 Oct 2002 09:58:09 -
  -139,6 +139,7 
  void add_logon_names(void)
  {
struct subnet_record *subrec;
 +  struct nmb_name nmbname;

for (subrec = FIRST_SUBNET; subrec; subrec =
 NEXT_SUBNET_INCLUDING_UNICAST(subrec)) {
  -146,7 +147,6 

  if (work  (work-log_state == LOGON_NONE))
  {
 -  struct nmb_name nmbname;
make_nmb_name(nmbname,global_myworkgroup,0x1c);

if (find_name_on_subnet(subrec, nmbname, FIND_SELF_NAME) == NULL)
  -162,4 +162,6 
}
  }
}
 +  make_nmb_name(nmbname,global_myworkgroup,0x1c);
 +  insert_permanent_name_into_unicast(FIRST_SUBNET, nmbname, 0x1c);
  }




Re: winbindd and missing 0x1c role on UNICAST_SUBNET

2002-10-08 Thread Volker.Lendecke

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 I do have one question, though.  If a samba PDC has multiple interfaces, would 
 you want the PDC role registered with the PDC's ip on each interface?  I 
 think that would be accomplished if your insert_permanent_name_into_unicast 
 were moved inside the subnet list loop, and called for each subnet instead of 
 FIRST_SUBNET.   Or maybe I don't understand how the unicast subnet works?  

Jerry and Jeremy will take care of that problem. I don't really understand
nmbd well enough.

Volker

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Key-ID ADE377D8, Fingerprint available: phone +49 551 370

iD8DBQE9ovX3ZeeQha3jd9gRApbkAJ4tRF3zWiShlsOaTuEDk/BZgrrORwCfZeoJ
7XNZqZKSeE3aAIDjjh8jxHE=
=zzbg
-END PGP SIGNATURE-



Re: winbindd and missing 0x1c role on UNICAST_SUBNET

2002-10-08 Thread Kevin Stefanik

Okay, then.  I'm attaching what I'm using... I just moved your registration 
line into the _success function so it gets called for each subnet (basically 
subnet-ip) on which the server successfully registers 0x1c.  I'll just hope 
that 2.2.6 will have this fixed one way or another and I can go back to 
(nearly) stock sambas.

Thanks again,
Kevin

On Tuesday 08 October 2002 11:12 am, [EMAIL PROTECTED] wrote:
  I do have one question, though.  If a samba PDC has multiple interfaces,
  would you want the PDC role registered with the PDC's ip on each
  interface?  I think that would be accomplished if your
  insert_permanent_name_into_unicast were moved inside the subnet list
  loop, and called for each subnet instead of FIRST_SUBNET.   Or maybe I
  don't understand how the unicast subnet works?

 Jerry and Jeremy will take care of that problem. I don't really understand
 nmbd well enough.

 Volker


--- ../samba-2.2.6pre2/source/nmbd/nmbd_logonnames.c	Thu May  2 21:03:18 2002
+++ source/nmbd/nmbd_logonnames.c	Tue Oct  8 11:32:18 2002
@@ -107,6 +107,9 @@
*/
   servrec-serv.type |= SV_TYPE_DOMAIN_CTRL;
 
+  /* register on unicast as well */
+  insert_permanent_name_into_unicast(subrec, registered_name, 0x1c);
+
   /* Tell the namelist writer to write out a change. */
   subrec-work_changed = True;
 



Re: [PATCH] winbindd use flat files (2nd revision)

2002-10-08 Thread Josh Durham

Jerry and the list,

I've got the final patch for doing the flat file UID lookup ready.

It's a solution, that works for me in the short term, but I'd like to 
work on something that is more useful.  Right now my patch just uses 
regular UNIX passwd and group files to do a UID/GID lookup before it 
tries to dynamically allocate.

Basically, I was wondering what was meant by hook for utilizing a 
centralized winbindd id map database.  Who's idea that was, and 
perhaps get some ideas on what people want regarding this.

Also, I finally did do testing with the samba-3.0alpha20 patch.  It 
worked fine, but i just checked it with an ADS setup.  (Which worked 
very well, I was impressed.)

These patches are completely different than the ones before.  I 
processed the group file incorrectly (I tried using fgetpwent instead 
of fgetgrent).  I tried to make the patches as non-invasive as 
possible; it mostly added code, and didn't change code.  I also redid 
the error checking to use a goto, it made alot more sense and is -much- 
more readable.

Any comments are welcome.  This samba-2.2.5 patch has been in use on a 
production system for about 4-5 days now and it works as intended.

ps.  Mike, I havn't had a chance to look at your stuff yet.. I probably 
should. :)



samba2.2.5-winbind-flat-files.patch
Description: Binary data


samba3.0-winbind-flat-files.patch
Description: Binary data


Re: load balancing question

2002-10-08 Thread John E. Malmberg

Volker Lendecke wrote:
 On Tue, Oct 08, 2002 at 07:29:44AM -0400, John E. Malmberg wrote:
 
So it all comes down to what the underlying platform supports for shared 
simultaneous disk access.
 
 Even that will not help. Load Balancing SMB will not work due to the locking
 stuff across connections. If you could get tdb's work (fast!) across nodes,
 then we might have a chance.

Why would the TDBs not work if they were located storage actively shared 
between all of the hosts?  All the hosts would be reading and updating 
the information in the same tdb.

-John
[EMAIL PROTECTED]
Personal Opinion Only





Re: load balancing question

2002-10-08 Thread Richard Sharpe

On Tue, 8 Oct 2002, John E. Malmberg wrote:

 Volker Lendecke wrote:
  On Tue, Oct 08, 2002 at 07:29:44AM -0400, John E. Malmberg wrote:
  
 So it all comes down to what the underlying platform supports for shared 
 simultaneous disk access.
  
  Even that will not help. Load Balancing SMB will not work due to the locking
  stuff across connections. If you could get tdb's work (fast!) across nodes,
  then we might have a chance.
 
 Why would the TDBs not work if they were located storage actively shared 
 between all of the hosts?  All the hosts would be reading and updating 
 the information in the same tdb.

Right, a distributed file system should support distributed locking, and 
the rate of logons should not be that high that it stretches the ability 
of the DFS to lock and unlock the file.

Regards
-
Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED], http://www.richardsharpe.com




MS's implementation of SPNEGO ...

2002-10-08 Thread Richard Sharpe

Hi,

According to RFC2478, a negTokenInit consists of:

NegTokenInit ::= SEQUENCE {

mechTypes   [0] MechTypeList  OPTIONAL,
reqFlags[1] ContextFlags  OPTIONAL,
mechToken   [2] OCTET STRING  OPTIONAL,
mechListMIC [3] OCTET STRING  OPTIONAL
 }

ContextFlags ::= BIT STRING {

delegFlag   (0),
mutualFlag  (1),
replayFlag  (2),
sequenceFlag(3),
anonFlag(4),
confFlag(5),
integFlag   (6)

}

and

The mechListMIC is an optional field. In the case that the chosen 
mechanism supports integrity, the initiator may optionally include a 
mechListMIC which is the result of a GetMIC of the MechTypes in the 
initial NegTokenInit and return GSS_S_COMPLETE. 

---
That is, the mechListMic should be a Message Integrity Code, not an 
indicator of the default mechType it would like negotiated.

Regards
-
Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED], http://www.richardsharpe.com




Re: MS's implementation of SPNEGO ...

2002-10-08 Thread Luke Howard


The mechListMIC is an optional field. In the case that the chosen 
mechanism supports integrity, the initiator may optionally include a 
mechListMIC which is the result of a GetMIC of the MechTypes in the 
initial NegTokenInit and return GSS_S_COMPLETE. 

I haven't seen Microsoft's implementation include this field,
though, except on the NegTokenTarg in which case it includes a 
copy of the responseToken.

-- Luke

--
Luke Howard | PADL Software Pty Ltd | www.padl.com



CVS update: samba/source/rpc_server

2002-10-08 Thread vlendec


Date:   Tue Oct  8 15:29:13 2002
Author: vlendec

Update of /data/cvs/samba/source/rpc_server
In directory dp.samba.org:/tmp/cvs-serv19629

Modified Files:
srv_samr_nt.c 
Log Message:
Third part of my fix for usrmgr. Assuming automagic mapping
only in parts of srv_samr_nt is not good.

This is soo broken. :-)

Volker


Revisions:
srv_samr_nt.c   1.122 = 1.123

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_samr_nt.c?r1=1.122r2=1.123



CVS update: samba/source/nsswitch

2002-10-08 Thread jerry


Date:   Tue Oct  8 17:57:38 2002
Author: jerry

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv2944/nsswitch

Modified Files:
  Tag: APPLIANCE_HEAD
winbindd.h winbindd_cache.c winbindd_cm.c winbindd_group.c 
winbindd_rpc.c winbindd_util.c 
Log Message:
Final for for CR 731.  We not correctly detect when we are a member 
of a Win2k natuive mode domain (in winbindd only) and enumerate 
domain local groups appropriately.


Revisions:
winbindd.h  1.3.2.4 = 1.3.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.h?r1=1.3.2.4r2=1.3.2.5
winbindd_cache.c1.5.2.5 = 1.5.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cache.c?r1=1.5.2.5r2=1.5.2.6
winbindd_cm.c   1.33.2.9 = 1.33.2.10

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cm.c?r1=1.33.2.9r2=1.33.2.10
winbindd_group.c1.3.2.4 = 1.3.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_group.c?r1=1.3.2.4r2=1.3.2.5
winbindd_rpc.c  1.28.2.12 = 1.28.2.13

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_rpc.c?r1=1.28.2.12r2=1.28.2.13
winbindd_util.c 1.7.2.5 = 1.7.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_util.c?r1=1.7.2.5r2=1.7.2.6



CVS update: samba/source/rpc_client

2002-10-08 Thread jerry


Date:   Tue Oct  8 17:57:38 2002
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv2944/rpc_client

Modified Files:
  Tag: APPLIANCE_HEAD
cli_pipe.c 
Log Message:
Final for for CR 731.  We not correctly detect when we are a member 
of a Win2k natuive mode domain (in winbindd only) and enumerate 
domain local groups appropriately.


Revisions:
cli_pipe.c  1.62.2.8 = 1.62.2.9

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c?r1=1.62.2.8r2=1.62.2.9



CVS update: samba/source/rpc_server

2002-10-08 Thread jerry


Date:   Tue Oct  8 17:59:12 2002
Author: jerry

Update of /data/cvs/samba/source/rpc_server
In directory dp.samba.org:/tmp/cvs-serv3148/rpc_server

Modified Files:
  Tag: APPLIANCE_HEAD
srv_spoolss_nt.c 
Log Message:
replace driverlocation with comment string in add_printer_hook().



Revisions:
srv_spoolss_nt.c1.95.2.209 = 1.95.2.210

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_spoolss_nt.c?r1=1.95.2.209r2=1.95.2.210



CVS update: samba/source/nmbd

2002-10-08 Thread jra


Date:   Tue Oct  8 18:24:12 2002
Author: jra

Update of /data/cvs/samba/source/nmbd
In directory dp.samba.org:/tmp/cvs-serv6801/nmbd

Modified Files:
nmbd_logonnames.c 
Log Message:
Ensure we register the 1c name on the unicast subnet.
Jeremy.


Revisions:
nmbd_logonnames.c   1.11 = 1.12

http://www.samba.org/cgi-bin/cvsweb/samba/source/nmbd/nmbd_logonnames.c?r1=1.11r2=1.12



CVS update: samba/source/nmbd

2002-10-08 Thread jra


Date:   Tue Oct  8 18:24:37 2002
Author: jra

Update of /data/cvs/samba/source/nmbd
In directory dp.samba.org:/tmp/cvs-serv6832/nmbd

Modified Files:
  Tag: SAMBA_2_2
nmbd_logonnames.c 
Log Message:
Ensure we register the 1c name on the unicast subnet.
Jeremy.


Revisions:
nmbd_logonnames.c   1.8.4.2 = 1.8.4.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/nmbd/nmbd_logonnames.c?r1=1.8.4.2r2=1.8.4.3



CVS update: samba/source/nmbd

2002-10-08 Thread jra


Date:   Tue Oct  8 18:26:12 2002
Author: jra

Update of /data/cvs/samba/source/nmbd
In directory dp.samba.org:/tmp/cvs-serv6869/nmbd

Modified Files:
  Tag: SAMBA_3_0
nmbd_logonnames.c 
Log Message:
Ensure we register the 1c name on the unicast subnet.
Jeremy.


Revisions:
nmbd_logonnames.c   1.11 = 1.11.2.1

http://www.samba.org/cgi-bin/cvsweb/samba/source/nmbd/nmbd_logonnames.c?r1=1.11r2=1.11.2.1



CVS update: samba/source/nmbd

2002-10-08 Thread jra


Date:   Tue Oct  8 18:26:26 2002
Author: jra

Update of /data/cvs/samba/source/nmbd
In directory dp.samba.org:/tmp/cvs-serv7055/nmbd

Modified Files:
  Tag: APPLIANCE_HEAD
nmbd_logonnames.c 
Log Message:
Ensure we register the 1c name on the unicast subnet.
Jeremy.


Revisions:
nmbd_logonnames.c   1.8.2.2 = 1.8.2.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/nmbd/nmbd_logonnames.c?r1=1.8.2.2r2=1.8.2.3



CVS update: samba/source/nsswitch

2002-10-08 Thread jerry


Date:   Tue Oct  8 18:29:57 2002
Author: jerry

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv7264/nsswitch

Modified Files:
winbindd.h winbindd_cache.c winbindd_cm.c winbindd_group.c 
winbindd_rpc.c winbindd_util.c 
Log Message:
merge from APP_HEAD

* s/driverlocation/comment
* detect native mode domain and enumerate local groups

Also 

* Added sendfile stats from SAMBA_2_2



Revisions:
winbindd.h  1.36 = 1.37

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.h?r1=1.36r2=1.37
winbindd_cache.c1.42 = 1.43

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cache.c?r1=1.42r2=1.43
winbindd_cm.c   1.51 = 1.52

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cm.c?r1=1.51r2=1.52
winbindd_group.c1.56 = 1.57

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_group.c?r1=1.56r2=1.57
winbindd_rpc.c  1.33 = 1.34

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_rpc.c?r1=1.33r2=1.34
winbindd_util.c 1.80 = 1.81

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_util.c?r1=1.80r2=1.81



CVS update: samba/source/rpc_client

2002-10-08 Thread jerry


Date:   Tue Oct  8 18:29:57 2002
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv7264/rpc_client

Modified Files:
cli_pipe.c 
Log Message:
merge from APP_HEAD

* s/driverlocation/comment
* detect native mode domain and enumerate local groups

Also 

* Added sendfile stats from SAMBA_2_2



Revisions:
cli_pipe.c  1.84 = 1.85

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c?r1=1.84r2=1.85



CVS update: samba/source/rpc_server

2002-10-08 Thread jerry


Date:   Tue Oct  8 18:29:57 2002
Author: jerry

Update of /data/cvs/samba/source/rpc_server
In directory dp.samba.org:/tmp/cvs-serv7264/rpc_server

Modified Files:
srv_spoolss_nt.c 
Log Message:
merge from APP_HEAD

* s/driverlocation/comment
* detect native mode domain and enumerate local groups

Also 

* Added sendfile stats from SAMBA_2_2



Revisions:
srv_spoolss_nt.c1.350 = 1.351

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_spoolss_nt.c?r1=1.350r2=1.351



CVS update: samba/source/utils

2002-10-08 Thread jerry


Date:   Tue Oct  8 18:29:57 2002
Author: jerry

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

Modified Files:
status.c 
Log Message:
merge from APP_HEAD

* s/driverlocation/comment
* detect native mode domain and enumerate local groups

Also 

* Added sendfile stats from SAMBA_2_2



Revisions:
status.c1.79 = 1.80
http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/status.c?r1=1.79r2=1.80



CVS update: samba/source/rpc_client

2002-10-08 Thread jerry


Date:   Tue Oct  8 18:32:42 2002
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv7739/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_pipe.c 
Log Message:
merge from APP_HEAD of winbindd's domain local group fix

Revisions:
cli_pipe.c  1.79.2.5 = 1.79.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c?r1=1.79.2.5r2=1.79.2.6



CVS update: samba/source/rpc_server

2002-10-08 Thread jerry


Date:   Tue Oct  8 18:32:42 2002
Author: jerry

Update of /data/cvs/samba/source/rpc_server
In directory dp.samba.org:/tmp/cvs-serv7739/rpc_server

Modified Files:
  Tag: SAMBA_3_0
srv_spoolss_nt.c 
Log Message:
merge from APP_HEAD of winbindd's domain local group fix

Revisions:
srv_spoolss_nt.c1.277.2.10 = 1.277.2.11

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_spoolss_nt.c?r1=1.277.2.10r2=1.277.2.11



CVS update: samba/source/utils

2002-10-08 Thread jerry


Date:   Tue Oct  8 18:32:42 2002
Author: jerry

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

Modified Files:
  Tag: SAMBA_3_0
status.c 
Log Message:
merge from APP_HEAD of winbindd's domain local group fix

Revisions:
status.c1.72.2.3 = 1.72.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/status.c?r1=1.72.2.3r2=1.72.2.4



CVS update: sambaweb

2002-10-08 Thread sfrench


Date:   Tue Oct  8 20:03:47 2002
Author: sfrench

Update of /home/cvs/sambaweb
In directory dp.samba.org:/tmp/cvs-serv15990/sambaweb

Modified Files:
Linux_CIFS_client.html 
Log Message:
update 25 version to 0.5.3


Revisions:
Linux_CIFS_client.html  1.18 = 1.19

http://www.samba.org/cgi-bin/cvsweb/sambaweb/Linux_CIFS_client.html?r1=1.18r2=1.19



CVS update: samba/source/include

2002-10-08 Thread jra


Date:   Wed Oct  9 01:45:13 2002
Author: jra

Update of /data/cvs/samba/source/include
In directory dp.samba.org:/tmp/cvs-serv14732/include

Modified Files:
  Tag: SAMBA_2_2
proto.h 
Log Message:
Debugs added to help track down when machine account password is being
changed. Fixes for strcmp_unix().
Jeremy.


Revisions:
proto.h 1.900.2.401 = 1.900.2.402

http://www.samba.org/cgi-bin/cvsweb/samba/source/include/proto.h?r1=1.900.2.401r2=1.900.2.402



CVS update: samba/source/lib

2002-10-08 Thread jra


Date:   Wed Oct  9 01:45:13 2002
Author: jra

Update of /data/cvs/samba/source/lib
In directory dp.samba.org:/tmp/cvs-serv14732/lib

Modified Files:
  Tag: SAMBA_2_2
username.c util_str.c 
Log Message:
Debugs added to help track down when machine account password is being
changed. Fixes for strcmp_unix().
Jeremy.


Revisions:
username.c  1.31.4.24 = 1.31.4.25

http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/username.c?r1=1.31.4.24r2=1.31.4.25
util_str.c  1.20.2.20 = 1.20.2.21

http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util_str.c?r1=1.20.2.20r2=1.20.2.21



CVS update: samba/source/smbd

2002-10-08 Thread jra


Date:   Wed Oct  9 01:45:13 2002
Author: jra

Update of /data/cvs/samba/source/smbd
In directory dp.samba.org:/tmp/cvs-serv14732/smbd

Modified Files:
  Tag: SAMBA_2_2
password.c process.c service.c 
Log Message:
Debugs added to help track down when machine account password is being
changed. Fixes for strcmp_unix().
Jeremy.


Revisions:
password.c  1.186.2.68 = 1.186.2.69

http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/password.c?r1=1.186.2.68r2=1.186.2.69
process.c   1.44.2.50 = 1.44.2.51

http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/process.c?r1=1.44.2.50r2=1.44.2.51
service.c   1.31.2.46 = 1.31.2.47

http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/service.c?r1=1.31.2.46r2=1.31.2.47



Re: CVS update: samba/source/lib

2002-10-08 Thread Andrew Bartlett

On Tue, Oct 08, 2002 at 09:45:13PM -0400, [EMAIL PROTECTED] wrote:
 
 Date: Wed Oct  9 01:45:13 2002
 Author:   jra
 
 Update of /data/cvs/samba/source/lib
 In directory dp.samba.org:/tmp/cvs-serv14732/lib
 
 Modified Files:
   Tag: SAMBA_2_2
   username.c util_str.c 
 Log Message:
 Debugs added to help track down when machine account password is being
 changed. Fixes for strcmp_unix().
 Jeremy.

I think you accidentily checked this in...

diff -b -u -r1.31.4.24 -r1.31.4.25
--- source/lib/username.c   4 Jul 2002 21:08:35 -   1.31.4.24
+++ source/lib/username.c   9 Oct 2002 01:45:13 -   1.31.4.25
@@ -361,6 +361,8 @@
for (i = 0; i  num_groups; i++) {
if (gid == groups[i]) {
ret = True;
+   DEBUG(0,(user_in_winbind_group_list: user |%s| is in group 
+|%s|\n,
+   user, gname ));
break;
}
}



  1   2   >