[Samba] Cannot copy : Invalid MS-DOS function

2004-01-05 Thread Katie M. Gotshall
I have the exact same problem!

 

Cannot copy HRPERSNL: Invalid MS-DOS function

 

Has anyone found a solution?

 

Thanks,

 

Katie 

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


[Samba] mounting a windows share does not work

2004-01-05 Thread Roland Schmid
Hello List,

I have problems mounting a windows share.I am running samba version 2.2.8a
on a Debian woody Server. The share I want to mount is on a W2k Client.
I get this error message:
# mount -t smbfs -o username=admin_user,password=mypassword //server/share
/mnt/point-to_hang_in
421: session request to 192.224.218.66 failed (Called name not present)
421: session request to 192 failed (Called name not present)

Can you help me?

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


[Samba] Linux kernel 2.6 smbfs bugs

2004-01-05 Thread Kevin Shanahan
Hi,

(I'm not too sure if this is the right list, perhaps samba-technical is
more appropriate?)

Has anyone taken a look at these bugs?

http://bugme.osdl.org/show_bug.cgi?id=1671
http://bugme.osdl.org/show_bug.cgi?id=1732

Bug #1732 is my report, though #1671 has a very similar call trace so it
may be the same bug and provide additional clues. I'm not too sure of
the etiquette for requesting help with bugs like this, but I'm happy to
provide testing of proposed kernel patches.

Please CC me on replies, as I'm not subscribed to the list.

Regards,
Kevin.



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


[Samba] dfree and linux quota

2004-01-05 Thread Johannes Laemmermann
Hello Group!

I solved my problem about free disk space for users homes' combined
with quotas on linux box with a small perl script and the %U extension
parsed to my script. But I also have shares on other harddrives and there
are no quota. Now my question:

How can I get the real path of a share parsed to my dfree-script?

Thanks in advance
Johannes Laemmermann

I've tried any other substitution but without any positive result.
My dfree command entry: dfree command = /scripte/dfree/smb_dfree.pl %U

My perl scirpt:
#!/usr/bin/perl
use Quota;
my ($dev,$uid,$isgrp);
my ($bc,$bs,$bh,$bt,$ic,$is,$ih,$it);
$dev="/dev/md3";
#$uid=`getent passwd $ARGV[0]|cut --delimiter=\: --fields=3-3`;
$uid=`getent passwd sjohlae|cut --delimiter=\: --fields=3-3`;
($bc,$bs,$bh,$bt,$ic,$is,$ih,$it) = Quota::query($dev,$uid,$isgrp);
my $dspace = $bs;
my $dfree = $bs - $bc;
my $bsize = 1024;
print "$dspace $dfree $bsize\n";



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


[Samba] Samba-ldap-pdc questions

2004-01-05 Thread Ron Liu
Hi, There
I am setting up Samba(3.0.1-1)-ldap(openldap-2.1.22-8)-pdc on Fedora 1.0.
I used the RPMs for the installations. After setup, start both smb and ldap
without problem. However when I tried to add users with smbpasswd -a userid,
it gave me the following errors. Can someone point me to right direction, is
there anything I can do to do more test and diagnosis. I've copied the error
message, and the conf file for samba.conf and slapd.conf

Thank you for your help!

Ron Liu
Information Technology Consultant
Biology Department
San Jose State University
408-924-4860
[EMAIL PROTECTED]


[EMAIL PROTECTED] openldap]# smbpasswd -a bliu
New SMB password:
Retype new SMB password:
fetch_ldap_pw: neither ldap secret retrieved!
ldap_connect_system: Failed to retrieve password from secrets.tdb
Connection to LDAP Server failed for the 1 try!
smbldap_search_suffix: Problem during the LDAP search: (unknown) (Invalid
credentials)
fetch_ldap_pw: neither ldap secret retrieved!
ldap_connect_system: Failed to retrieve password from secrets.tdb
Connection to LDAP Server failed for the 1 try!
smbldap_search_suffix: Problem during the LDAP search: (unknown) (Invalid
credentials)
fetch_ldap_pw: neither ldap secret retrieved!
ldap_connect_system: Failed to retrieve password from secrets.tdb
Connection to LDAP Server failed for the 1 try!
ldapsam_search_one_group: Problem during the LDAP search: LDAP error:
(unknown) (Invalid credentials)
fetch_ldap_pw: neither ldap secret retrieved!
ldap_connect_system: Failed to retrieve password from secrets.tdb
Connection to LDAP Server failed for the 1 try!
smbldap_search_suffix: Problem during the LDAP search: (unknown) (Invalid
credentials)
Failed to add entry for user bliu.
Failed to modify password entry for user bliu



#=== Global Settings
=
[global]
   workgroup = mydomain
   netbios name = ts010
   encrypt passwords = yes
   passdb backend = ldapsam:ldap://localhost/
   ldap suffix = o=mydomain,dc=mydomain,dc=com
   ldap machine suffix = ou=Comupters
   ldap user suffix = ou=Users
   ldap group suffix = ou=Groups
   ldap admin dn = "cn=tsadmin,dc=mydomain,dc=com"
#   ldap ssl = start tls
   ldap delete dn = no
   server string = mydomain Samba Server
   hosts allow = 10.101.0. 10.101.1. 127.
   printcap name = cups
   load printers = yes
   printing = cups
   log file = /var/log/samba/%m.log
   max log size = 50
   security = user
   password level = 8
;  username level = 8
   smb passwd file = /etc/samba/smbpasswd
   unix password sync = Yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
*passwd *all*authentication*tokens*updated*successfully*
;  username map = /etc/samba/smbusers
;   include = /etc/samba/smb.conf.%m
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   local master = yes
   os level = 33
   domain master = yes
   preferred master = yes
   domain logons = yes
   logon script = scripts\logscript.bat
   logon path = \\%L\Profiles\%U
   logon drive = H:
   logon home = \\%L\%U
; name resolve order = wins lmhosts bcast
   wins support = yes
   dns proxy = no
   write list = @tsadmin
   add machine script = /usr/sbin/useradd -d /dev/null -g 100 -s
/bin/false -M %u
[home]
...
*
my slapd.conf

# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.23.2.8 2003/05/24
23:19:14 kurt Exp $
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/redhat/autofs.schema
#rliu, 12/31/03
include /etc/openldap/schema/samba.schema

# Allow LDAPv2 client connections.  This is NOT the default.
allow bind_v2

# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral   ldap://root.openldap.org

pidfile /var/run/slapd.pid
#argsfile   //var/run/slapd.args

# Load dynamic backend modules:
# modulepath/usr/sbin/openldap
# moduleloadback_bdb.la
# moduleloadback_ldap.la
# moduleloadback_ldbm.la
# moduleloadback_passwd.la
# moduleloadback_shell.la

# The next three lines allow use of TLS for connections using a dummy test
# certificate, but you should generate a proper certificate by changing to
# /usr/share/ssl/certs, running "make slapd.pem", and fixing permissions on
# slapd.pem so that the ldap user or group can read it.
# TLSCACertificateFile /usr/share/ssl/certs/ca-bundle.crt
# TLSCertificateFile /usr/share/ssl/certs/slapd.pem
# TLSCertificateKeyFile /usr/share/ssl/certs/slapd.pem

# Sample security restrictions
#   Require integrity protection (prevent hijacking)
#

[Samba] Samba requesting nonexistent keytab type?

2004-01-05 Thread Justin Baugh
Hello,

I have been working diligently since my last post to solve the error 
I've been receiving. I did manage to fix the credentials problem, but 
now I am at the same point where many others are, mainly, when doing 
hostname mapping (net use X: \\foo\bar), Samba prompts for a username 
and password and does not use Kerberos.

In my error logs:

[2004/01/05 15:51:59, 10] libads/kerberos_verify.c:create_keytab(56)
  creating keytab: MEMORY:
[2004/01/05 15:51:59, 10] libads/kerberos_verify.c:create_keytab(59)
  going to krb5_kt_resolveunable to create MEMORY: keytab (Unknown Key 
table type)
[2004/01/05 15:51:59, 3] libads/kerberos_verify.c:ads_verify_ticket(283)
  ads_verify_ticket: unable to setup keytab
[2004/01/05 15:51:59, 1] smbd/sesssetup.c:reply_spnego_kerberos(172)
  Failed to verify incoming ticket!
[2004/01/05 15:51:59, 3] smbd/error.c:error_packet(118)
  error packet at smbd/sesssetup.c(173) cmd=115 (SMBsesssetupX) 
NT_STATUS_LOGON_FAILURE

After looking at kerberos_verify.c and doing some debugging, I found 
exactly where the problem is occuring (I think).  The krb5_kt_resolve 
immediately before is returning KRB5_KT_UNKNOWN_TYPE. Doing some looking 
at the source for MIT krb5, and a bit of reading, it looks like there 
are two key table types defined: FILE and WRFILE. Specifically, in 
lib/krb5/keytab/ktbase.c:krb5_kt_resolve(112), it cycles through a list 
of registered key table types, and MEMORY is definitely not one of them. 
It has no associated krb5_kt_ops struct, at least not one that I can 
locate.

However, this definition _does_ exist in Heimdal Kerberos 0.6 
(keytab_memory.c), along with a corresponding krb5_kt_ops struct.

What gives? Am I just making this up, or does this seem slightly 
reasonable?

I'm using FreeBSD 5.1; when I compiled Samba 3.0 with Heimdal (the 
system krb5 libs) I couldn't even get Samba to join a Windows 2003 
domain, no matter what the krb5.conf said. Only after I went to MIT and 
recompiled was I able to join and do queries on the domain.

Does anyone have Samba 3.0 + FreeBSD 5 + Heimdal working? If so, please 
let me know? :)

Thoughts, questions, flames? Any errors are a result of my ignorance.

-Justin

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


Re: [Samba] slow and max connection errors

2004-01-05 Thread Don Wheeling

[global]
load printers = no
This should be yes if you want your printers to show up.
Otherwise the [printers] share below is there for no
reason.
Ok, for now I left this parameter to "no" and removed the printer 
section


socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
I don't think you need socket options anymore, I could be wrong.
I removed this line


netbios name = RSB
server string = RSB Server
workgroup = RSB
The SMB protocol doesn't allow you to have your machine name
the same as your workgroup name.  This may be an issue.
k, I renamed them:

netbios name = RSB
server string = RSB Server
workgroup = RSBShared


[shared]
valid users =
swashington,dwheeling,beaster,bfitch,breynoso,bwatson,cbowen,cs
anford,dg
oldfluss,dhuscher,dkalutkiewicz,dmauz,dmcintosh,dschneider,dtin
sley,dwhe
eling,dyoung,gblack,gbonner,gfriedman,gmarciniak,imoore,jburns,
jmayer,jm
ccormick,jmercer,jpallotto,jrodriguez,jsabel,jvirgil,jvoss,kjoh
nson,lbro
wn,lfields,lperkins,mfleming,mhaynes,mheimple,mkarge,mwager,nwa
llace,rbo
wen,robbowen,rrestivo,rstearns,rwinterboer,skirtland,swright,sy
oung,tbur
gess,tswapp,twolf,wgriffith
That's a lot of "valid users".  Perhaps you should create a group,
just for managability.  Not strictly necessary.
This is part of my final configs I have planned. I made two user groups 
that will replace the long list above


2. When macintosh and XP users connect all is fine except for
the speed
issue above but when a win2k client tries to connect it
gets an error
that max users/services have been reached.
What's the exact error and how does it present itself?  Is it
in the event log, or is it a popup dialog type error message?
The error is a popup window on Win2kPro machines:

The network place cannot be added because the following error has 
occured:
There are currently no logon servers available to service the logon 
request.

Like I said, I'm new but it looks like the server is not broadcasting 
itself to the network? The weird thing is some Win2k/XP/Macintosh 
machines can connect no problem.

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


[Samba] Printing from Windows 98

2004-01-05 Thread no number
Hello World!

I'm working with Samba 2.2.8a-SuSE and am having a problem printing to the
printers I'm sharing through the samba server.  I can access disk shares
without a problem and print to the printers via the smbclient from both the
server and a telnet session from the Windows 98 machine.  I can complete the
add printer process on the 98 machine and it appears to add the printer but
the test page spools up and disappears without anything being printed.

I'm using O'Reilly's "Using Samba" book to guide me through and am using the
very basic example file to print.  I've been through the complete trouble
shooting section and have reached the point where I'm instructed to go to
the internet for help.  So here I am asking for some assistance in sharing
these printers properly.

Thanks



# Samba config file created using SWAT
# from localhost (127.0.0.1)
# Date: 2004/01/04 13:22:10

# Global parameters
[global]
server string = Samba %v on %L
workgroup = PERKHOME
encrypt passwords = Yes
wins support = Yes
printcap name = CUPS

[test]
comment = For Test purposes only
path = /usr/share/samba/tmp
read only = No
guest ok = Yes

[homes]
read only = No
browseable = No

[printers]
printable = yes
print command = /usr/bin/lpr -P%p -r %s
path = /var/tmp
printing = CUPS



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


Re: [Samba] 3.0.0 -> 3.0.1 upgrade causes "Failed to verify

2004-01-05 Thread Kevin P. Fleming
Kevin P. Fleming wrote:

Gerald (Jerry) Carter wrote:

Sounds like

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


I don't think so... that bug shows an incorrect test in configure.in, 
which is already fixed in my copy of configure.in (someone already 
checked in a fix to CVS apparently).
Oops, my bad, I was looking at the 3.0.0 source. I've manually reverted 
the HAVE_MEMORY_KEYTAB change that occurred between 3.0.0 and 3.0.1 and 
I'll retest 3.0.2pre1.

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


Re: [Samba] ou=Computers vs ou=Users

2004-01-05 Thread Sundaram Ramasamy
 I have tried samba 3.0.1pre2 on suse 8.2. I force to keep Computer and
User account in single tree People. I don't know it fixed.

eg.
User account:
uid=testuser,ou=People,dc=sfgroup,dc=com

Machine acount:
uid=sales$,ou=People,dc=sfgroup,dc=com

SR


>> Recently I've read here, that there is a problem with storing computer
>> accounts in a separate container, of LDAPSAM backend.
>> We're successfully using Samba3.0.1pre1 (with a patch for bug#64, #532
>> and #569, Win9x userlist problem)
>> with separate ous for users and computers, after configuring pam-ldap
>
> As are we. Samba = 3.0.1rc2
>
> Machine accounts in "ou=System Accounts" and user accounts in
> "ou=People"
>
>ldap admin dn = cn=CIFS DC,o=Morrison Industries,c=US
>ldap suffix = o=Morrison Industries,c=US
>ldap group suffix = ou=Groups
>ldap user suffix = ou=People
>ldap machine suffix = ou=System Accounts
>idmap backend = ldap:ldap://localhost/
>ldap idmap suffix = ou=idMap,ou=CIFS,ou=SubSystems
>idmap uid = 4-5
>idmap gid = 4-5
>
> Works great.
>
> Printer support seems REALLY slow, but I don't think it has anything to
> do with the SAM.
>
> We are waiting for Samba 3.0.2 to move up.
>
>
> --
> 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] samba netbios and nbfw

2004-01-05 Thread Debian User
i am trying to configure a gateway to pass netbios information through 
between a 192.168.1.x/24 network and a 10.20.x.x/32 network. i have 
googled for a howto or other advice on how to configure smb.conf 
on debian linux w/ no luck. 

can anyone help me w/ suggestions or a link to a good howto?









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


Re: [Samba] 3.0.0 -> 3.0.1 upgrade causes "Failed to verify

2004-01-05 Thread Kevin P. Fleming
Gerald (Jerry) Carter wrote:

Sounds like

~  https://bugzilla.samba.org/show_bug.cgi?id=912
I don't think so... that bug shows an incorrect test in configure.in, 
which is already fixed in my copy of configure.in (someone already 
checked in a fix to CVS apparently).

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


[Samba] UnixWare binaries

2004-01-05 Thread Nash Computer Technology
Hi

I'm just starting to look at samba (and UnixWare, come to that).  I've installed 
UnixWare 7.1.3, and it came with samba 2.2.4 and sambamb (multi-byte) 2.2.5.

Basically, I'd like to know if these are the latest versions for this platform.  If 
not, in which download folder can I find the new version (version 3?).  I couldn't see 
any reference to SCO UnixWare.

Showing even more of my ignorance, what is meant by multi-byte, and is this version 
'better' than the basic samba?

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


Re: [Samba] 3.0.0 -> 3.0.1 upgrade causes "Failed to verify

2004-01-05 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kevin P. Fleming wrote:

| Sorry, no luck. Downloaded CVS code about 30 minutes
| ago (SAMBA_3_0  branch), configured, installed, restarted
| daemons. Currently logged-in  workstations generate "Failed
| to verify incoming ticket!" in samba logs;  switching back
| 3.0.0 everything works fine.
Sounds like

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



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


Re: [Samba] 3.0.0 -> 3.0.1 upgrade causes "Failed to verify

2004-01-05 Thread Kevin P. Fleming
John H Terpstra wrote:

I strongly suggest you use current CVS 3.0.2pre code.
There are quite a few bug fixes and 3.0.1 has one that ited quite a few
that feed it. :)
Sorry, no luck. Downloaded CVS code about 30 minutes ago (SAMBA_3_0 
branch), configured, installed, restarted daemons. Currently logged-in 
workstations generate "Failed to verify incoming ticket!" in samba logs; 
switching back 3.0.0 everything works fine.

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


[Samba] libsmbclient error on SuSE 9.0

2004-01-05 Thread J Mulder
I also get the libsmbclient error under SuSE 9.0 Pro Linux during acces of one local 
network PC. If I repeat the Samba server setup in YaST this error is not solved. I 
think it has to do with the rights of the user of that network PC but i am not sure at 
this moment. Check the permission in the smb.conf file can maybe solf the problem. I 
also found that if YaST is looking for workgroups on the network it always replays 
with the workgroup name in uppercase, if the workgroup name in the windows client is 
spelled in lowercase you have no acces to the samba server and the samba server does 
not see the netwerk clients, you have to modify the smb.conf file by hand and correct 
the workgroup name to lowercase. 


Regards

Jan Mulder
[EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] samba and suse

2004-01-05 Thread Marcos M. Osorio
Hello, i have the 2.2.3a samba version on  a suse linux, the problem is that i want to 
set several policies in the shared directory, an example could be that some users must 
have only read permisions and other group of users full control.
How can i set this?
By the linux or by the samba?
 
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] %U/%u expansions in Mixed Active Directory (2000/XP/2003 Server) and NT4 environment with samba 3.0.0 and winbind

2004-01-05 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ehren Wilson wrote:
| All of the Windows XP boxes are now expanding %U as
| lan.equinox-eng.com_username, %u as LAN.EQUINOX-ENG.COM+username.
| While my NT4 boxes are showing up a simply username.
| I have temporarily worked around this by creating a silly
| number of soft links but would prefer a cleaner solution.  Was
| this fixed in 3.0.1? I know some stuff was mentioned
| about the "winbind use default domain = yes".
This should be fixed in the CVS tree for the upcoming 3.0.2pre1
release.


cheers, jerry

~ --
~ Hewlett-Packard- http://www.hp.com
~ SAMBA Team -- http://www.samba.org
~ GnuPG Key   http://www.plainjoe.org/gpg_public.asc
~ "If we're adding to the noise, turn off this song" --Switchfoot (2003)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/+bfqIR7qMdg1EfYRAla7AJ4+RkjJ6flFlSwUa9XkrLiZfOgIuACeKJ6v
QpNwD+WR+W/9y5uR5PP5a8c=
=rITS
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] nt user manager and samba with tdbsam

2004-01-05 Thread sander
Hello!

I`m having a problem with adding users to samba PDC 
from nexus user manager (nt user manager). 
When Im trying add user I get following message 
"The procedure number is out of range" 
So my question is, what this mean?

>From linux box all is working just fine (adding users with 
pdbedit -a and so on). From user manager I can add groups, 
delete groups, delete users, add users to group, delete 
users from group. Just adding new users to box wo`nt work.

Maybe something in smb.conf is messing things up? 
As I understood unix password sync, passwd program and passwd 
chat
is needed only when there is need to change users passwords from
windows password manager.

Anyway here is some lines from smb.conf, maybe there is missing 
something?

security = user
preserve case = yes
passdb backend = tdbsam
encrypt passwords = yes
update encrypted = yes
obey pam restrictions = yes
local master = yes
domain master = yes 
preferred master = yes
os level = 64
domain logons = yes
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
passwd program = /usr/bin/passwd %u
unix password sync = Yes
add user script = /usr/sbin/useradd -d /dev/null -g domusers 
-s /bin/false "%u"
add group script = /etc/samba/addgroup.sh "%g"
add user to group script = /etc/samba/addusertogroup.sh "%u" 
"%g"
delete user from group script = /etc/samba/deletefromgroup.sh 
"%u" "%g"
delete user script = /usr/sbin/userdel "%u"
delete group script = /usr/sbin/groupdel "%g"
add machine script = /usr/sbin/useradd -d /dev/null -g 301 -s 
/bin/false "%u"

TIA
Sander

___
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

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


Re: [Samba] pam_winbind problems

2004-01-05 Thread alaslavic





I struggled with this for a good while before getting it working.  I am
authenticating to an ADS server, so this may not work directly for you
unless you are using Acitve Directory also.  If you have getent passwd
working, then this ought to allow auth.

#  pam.d/login
authrequiredpam_securetty.so
authsufficient  pam_winbind.so
authsufficient  pam_unix.so use_first_pass
authrequiredpam_stack.so service=system-auth
authrequiredpam_nologin.so
account sufficient  pam_winbind.so
account requiredpam_stack.so service=system-auth
passwordrequiredpam_stack.so service=system-auth
session requiredpam_stack.so service=system-auth
session optionalpam_console.so

#  pam.d/system-auth
auth  required/lib/security/$ISA/pam_env.so
auth  sufficient/lib/security/$ISA/pam_unix.so likeauth
nullok
auth  sufficientpam_winbind.so use_first_pass
auth  required  /lib/security/$ISA/pam_deny.so
account   required  /lib/security/$ISA/pam_unix.so
account   [default=bad success=ok user_unknown=ignore
service_err=ignore system_err=ignore]   pam_winbind.so
password  required  /lib/security/$ISA/pam_cracklib.so
retry=3 type=
password  sufficient/lib/security/$ISA/pam_unix.so nullok
use_authtok md5 shadow
password  sufficientpam_winbind.so
password  sufficient/lib/security/$ISA/pam_krb5.so
use_authtok
password  sufficient/lib/security/$ISA/pam_ldap.so
use_authtok
password  required  /lib/security/$ISA/pam_deny.so
session   required  /lib/security/$ISA/pam_limits.so
session   required  /lib/security/$ISA/pam_unix.so
session   optional  pam_winbind.so
session   optional  /lib/security/$ISA/pam_krb5.so
session   optional  /lib/security/$ISA/pam_ldap.so

Alex Laslavic
Havertys Tech Services

[EMAIL PROTECTED] wrote on 01/05/2004
12:21:32 PM:

> Hello,
> I am have some interesting problems with the pam_winbind portion of samba
> 3.1. wbinfo -u and getent passwd
> works but when I login I get the following messages in /var/log/messages.
> Jan  5 11:09:36 hermes pam_winbind[9014]: write to socket failed!
> Jan  5 11:09:36 hermes pam_winbind[9014]: internal module error (retval =
3,
> user = `CSQ+shane'
> Jan  5 11:09:36 hermes PAM_pwdb[9014]: check pass; user unknown
> Jan  5 11:09:37 hermes login[9014]: FAILED LOGIN 1 FROM 172.27.1.223 FOR
> CSQ+shane, User not known to the underlying authentication
> module.
> my login in /etc/pam.d is
> auth   required pam_securetty.so
> #auth   requiredpam_stack.so service=system-auth
> auth   required pam_nologin.so
> auth   sufficient   pam_winbind.so
> auth   required pam_pwdb.so use_first_pass shadow nullok
> #accountrequiredpam_stack.so service=system-auth
> account   sufficientpam_winbind.so
> #password   requiredpam_stack.so service=system-auth
> password   required pam_pwdb.so use_first_pass shadow nullok
> #password   required pam_winbind.so
> sessionrequired pam_stack.so service=system-auth
> sessionoptional pam_console.so
>
> I have also installed samba on two other LINUX boxes with the same error.
Is
> this a bug or am I doing something wrong??
> Thank You for your Time!
> Shane Drinkwater
> --
> 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] Kerberos/ldap setup with samba3

2004-01-05 Thread Marc Remolt
Hi,
I've done some extensive searching on that matter and found nothing. What I
would like to do is WinXP workstations directly authenticating at a unix
kerberos kdc (mit or heimdal, don't care). With the ticket access a samba server
configured as a pdc that maps the ticket to a user, ideally stored in a ldap
directory (as I already have one lying around :) ). The rest is standard pdc
functionality.
As far as I see it the only thing differing from an usual samba/ldap setup
is that the passwords are not in the ldap dir itself. 
Is this possible to do?

If it isn't - is there a way to store the ntPassword attribute in kerberos
like the userPassword?

Thanks
Jesore

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


RE: [Samba] slow and max connection errors

2004-01-05 Thread Jason Balicki
>I am running Samba Version 2.2.8
>
>Below is my smb.conf:

[smb.conf edited for brevity]

>[global]
> load printers = no

This should be yes if you want your printers to show up.
Otherwise the [printers] share below is there for no
reason.

> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

I don't think you need socket options anymore, I could be wrong.

> netbios name = RSB
> server string = RSB Server
> workgroup = RSB

The SMB protocol doesn't allow you to have your machine name
the same as your workgroup name.  This may be an issue.


>[shared]
> valid users =  
>swashington,dwheeling,beaster,bfitch,breynoso,bwatson,cbowen,cs
>anford,dg 
>oldfluss,dhuscher,dkalutkiewicz,dmauz,dmcintosh,dschneider,dtin
>sley,dwhe 
>eling,dyoung,gblack,gbonner,gfriedman,gmarciniak,imoore,jburns,
>jmayer,jm 
>ccormick,jmercer,jpallotto,jrodriguez,jsabel,jvirgil,jvoss,kjoh
>nson,lbro 
>wn,lfields,lperkins,mfleming,mhaynes,mheimple,mkarge,mwager,nwa
>llace,rbo 
>wen,robbowen,rrestivo,rstearns,rwinterboer,skirtland,swright,sy
>oung,tbur 
>gess,tswapp,twolf,wgriffith

That's a lot of "valid users".  Perhaps you should create a group,
just for managability.  Not strictly necessary.

>>> 2. When macintosh and XP users connect all is fine except for
>>> the speed
>>> issue above but when a win2k client tries to connect it 
>gets an error
>>> that max users/services have been reached.

What's the exact error and how does it present itself?  Is it
in the event log, or is it a popup dialog type error message?


--J(K)

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


Re: [Samba] Samba 3.0.0 and OS/2 Ecomstations

2004-01-05 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Audun Ytterdal wrote:
| I can't seem to get samba3.0 to talk nicely to OS/2
|
| Samba 2.2 works flawlessly, but samba 3.0 on Redhat
| Enterprise 3.0 or samba 3.0-final-0.b (from backports.org) on
| debian woody does not work.
|
|>From the servers point of view, everything seems ok
|
| On the OS/2 client it, the share is mountet and looks good until you
| you browse it in the GUI-filebrowser. It says
|
| "No objects were found that matched the specified"
|
| and
|
| "The system call level is incorrect"
|
| using a OS/2 command shell seems to work nicely except
| that the volume-name sometimes has garbage characters in the end
| of the string. As it the string isn't \0'ed correctly
We fixed some bugs regarding OS/@ and legacy clients in 3.0.1.
See the changelog for details.


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


[Samba] slow and max connection errors

2004-01-05 Thread Don Wheeling
Sorry about not being specific enough. I will try and be more so in the  
future. Here is what I have currently:

Apple X-serve running Yellowdog (a Redhat 9 port for ppc) with 1GB of  
RAM, 3 60GB HD not setup as RAID. They are individual partitions (/var  
and /, /home and /shared). The shared partition is strictly for Samba  
file sharing. I build in a matching user in both the system and in  
Samba. This way each user gets a private and a public folder.

I am running Samba Version 2.2.8

Below is my smb.conf:

[global]
log file = /var/log/samba/%m.log
load printers = no
smb passwd file = /etc/samba/smbpasswd
passwd chat = *New*password* %n\n *Retype*new*password* %n\n  
*passwd:*all*authentication*tokens*updated*successfully*
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
encrypt passwords = yes
passwd program = /usr/bin/passwd %u
max disk size = 400
wins support = true
dns proxy = no
netbios name = RSB
server string = RSB Server
printing = cups
default = shared
unix password sync = Yes
workgroup = RSB
os level = 20
printcap name = /etc/printcap
security = user
pam password change = yes

[homes]
browseable = no
writable = yes
comment = Home Directories
valid users = %S
create mode = 0664
max connections = 50
directory mode = 0775
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
# Set public = yes to allow user 'guest account' to print
   guest ok = no
   writable = no
   printable = yes
[shared]
browseable = yes
wide links = no
printable = no
writeable = yes
path = /mnt/drbd/nb1/shared
force create mode = 750
comment = Shared Files
valid users =  
swashington,dwheeling,beaster,bfitch,breynoso,bwatson,cbowen,csanford,dg 
oldfluss,dhuscher,dkalutkiewicz,dmauz,dmcintosh,dschneider,dtinsley,dwhe 
eling,dyoung,gblack,gbonner,gfriedman,gmarciniak,imoore,jburns,jmayer,jm 
ccormick,jmercer,jpallotto,jrodriguez,jsabel,jvirgil,jvoss,kjohnson,lbro 
wn,lfields,lperkins,mfleming,mhaynes,mheimple,mkarge,mwager,nwallace,rbo 
wen,robbowen,rrestivo,rstearns,rwinterboer,skirtland,swright,syoung,tbur 
gess,tswapp,twolf,wgriffith
create mode = 750
directory mode = 2750

I think that's it. Thanks

On Jan 5, 2004, at 9:36 AM, Jason Balicki wrote:

I am new to Samba and think I have it set up correctly. I have two
issues that I need to resolve but don't quite know where to start
first. The errors are as follows:
1. Client connections are very slow (about 1MB/sec to copy to or  
from).

2. When macintosh and XP users connect all is fine except for
the speed
issue above but when a win2k client tries to connect it gets an error
that max users/services have been reached.
I probably haven't configured the server correctly but any suggestions
as to where I should look to start would be helpful. Thanks
Don,

When you're asking for help on mailing lists, you should give as much
information as possible, including configuration files pasted inline
below the body of your main text.
You need to tell everyone what version of Samba you are using,
what OS and OS version it's running on, if it's Linux it'd be
nice to know what distro and version and what kernel version
(they are not the same thing.)  Then you need to give as much
detail as possible concerning what you've done to address the
problem yourself.  It's OK to say "I don't know much, so I didn't
want to try anything without consulting someone else." -- But we
do need something.  Also, any information about the client
would be nice as well (is it up to date, is it running AV software,
etc.)  Hardware information about both the server and client
would be helpful, especially in performance situations like
this specific one.
Anyway, you should repost your question to the list containing
the information above (don't forget to include your smb.conf
at the end (please remove comments, unless you've added them
yourself for clarity)) and we'll all try to help you as much
as we can.
Thanks,

--J(K)


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


[Samba] pam_winbind problems

2004-01-05 Thread Shane Drinkwater
Hello,
I am have some interesting problems with the pam_winbind portion of samba
3.1. wbinfo -u and getent passwd
works but when I login I get the following messages in /var/log/messages.
Jan  5 11:09:36 hermes pam_winbind[9014]: write to socket failed!
Jan  5 11:09:36 hermes pam_winbind[9014]: internal module error (retval = 3,
user = `CSQ+shane'
Jan  5 11:09:36 hermes PAM_pwdb[9014]: check pass; user unknown
Jan  5 11:09:37 hermes login[9014]: FAILED LOGIN 1 FROM 172.27.1.223 FOR
CSQ+shane, User not known to the underlying authentication
module.
my login in /etc/pam.d is
auth   required pam_securetty.so
#auth   requiredpam_stack.so service=system-auth
auth   required pam_nologin.so
auth   sufficient   pam_winbind.so
auth   required pam_pwdb.so use_first_pass shadow nullok
#accountrequiredpam_stack.so service=system-auth
account   sufficientpam_winbind.so
#password   requiredpam_stack.so service=system-auth
password   required pam_pwdb.so use_first_pass shadow nullok
#password   required pam_winbind.so
sessionrequired pam_stack.so service=system-auth
sessionoptional pam_console.so
 
I have also installed samba on two other LINUX boxes with the same error. Is
this a bug or am I doing something wrong??
Thank You for your Time!
Shane Drinkwater
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] How to apply 3.0.1 Patch???

2004-01-05 Thread Andrew Gaffney
mjynht wrote:
Can somebody tell me how to apply the 3.0.1 patch of samba??? I'm running samba 3.0.0.
Most likely, the patch is to patch the 3.0.0 source to 3.0.1 instead of downloading a new 
3.0.1 tarball. If you don't know how to apply patches, it is probably easier for you to 
just go download the 3.0.1 tarball.

--
Andrew Gaffney
System Administrator
Skyline Aeronautics, LLC.
776 North Bell Avenue
Chesterfield, MO 63005
636-357-1548
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] How to apply 3.0.1 Patch???

2004-01-05 Thread mjynht
Can somebody tell me how to apply the 3.0.1 patch of samba??? I'm running samba 3.0.0.

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


[Samba] (no subject)

2004-01-05 Thread Don Wheeling
I am new to Samba and think I have it set up correctly. I have two 
issues that I need to resolve but don't quite know where to start 
first. The errors are as follows:

1. Client connections are very slow (about 1MB/sec to copy to or from).

2. When macintosh and XP users connect all is fine except for the speed 
issue above but when a win2k client tries to connect it gets an error 
that max users/services have been reached.

I probably haven't configured the server correctly but any suggestions 
as to where I should look to start would be helpful. Thanks

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


Re: [Samba] Urgent Please - Samba 3.0.1 - LDAP - WinXP ... has anyonegot it working???

2004-01-05 Thread Sundaram Ramasamy
You need to change Administrator uid  to 0 and gui to 521( Domain Admin).

-SR
>
> I've been trying to have Samba 3.0.1 work as a primary domain controller
> using LDAP as the authentication mechanism.
>
> However I am unable to get any of my Windows XP Pro  machine join the
> domain. When prompt for an account with permissions to join the domain
> by the XP client, I give it the Administrator account which is granted
> Full access to the LDAP directory (BTW this is poor security, what is
> the right privilege I should give to the Domain Admin?), but SAMBA still
> responds with a permission denial when trying to open the domain and
> create the machine account.
>
> Here is a log of what happens on the samba server when I attempt the
> join operation.
>
>
> [2004/01/05 16:20:28, 2] smbd/sesssetup.c:setup_new_vc_session(544)
>   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
> all old resources.
> [2004/01/05 16:20:28, 2] smbd/sesssetup.c:setup_new_vc_session(544)
>   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
> all old resources.
> [2004/01/05 16:20:28, 2] lib/smbldap.c:smbldap_search_suffix(1068)
>   smbldap_search_suffix: searching
> for:[(&(&(uid=Administrator)(objectclass=sambaSamAccount))(objectclass=sambaSamAccount))]
> [2004/01/05 16:20:29, 2] passdb/pdb_ldap.c:init_sam_from_ldap(462)
>   init_sam_from_ldap: Entry found for user: Administrator
> [2004/01/05 16:20:40, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1636)
>   ldapsam_search_one_group: searching
> for:[(&(objectClass=sambaGroupMapping)(gidNumber=513))]
> [2004/01/05 16:20:40, 2] auth/auth.c:check_ntlm_password(305)
>   check_ntlm_password:  authentication for user [Administrator] ->
> [Administrator] -> [Administrator] succeeded
> [2004/01/05 16:20:41, 2] smbd/server.c:exit_server(558)
>   Closing connections
> [2004/01/05 16:20:42, 2] smbd/sesssetup.c:setup_new_vc_session(544)
>   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
> all old resources.
> [2004/01/05 16:20:42, 2] smbd/sesssetup.c:setup_new_vc_session(544)
>   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
> all old resources.
> [2004/01/05 16:20:42, 2] lib/smbldap.c:smbldap_search_suffix(1068)
>   smbldap_search_suffix: searching
> for:[(&(&(uid=Administrator)(objectclass=sambaSamAccount))(objectclass=sambaSamAccount))]
> [2004/01/05 16:20:43, 2] passdb/pdb_ldap.c:init_sam_from_ldap(462)
>   init_sam_from_ldap: Entry found for user: Administrator
> [2004/01/05 16:20:52, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1636)
>   ldapsam_search_one_group: searching
> for:[(&(objectClass=sambaGroupMapping)(gidNumber=513))]
> [2004/01/05 16:20:52, 2] auth/auth.c:check_ntlm_password(305)
>   check_ntlm_password:  authentication for user [Administrator] ->
> [Administrator] -> [Administrator] succeeded
> [2004/01/05 16:20:53, 2]
> rpc_server/srv_samr_nt.c:_samr_lookup_domain(2461)
>   Returning domain sid for domain SOLA ->
> S-1-5-21-238816456-3885207889-2738941293
> [2004/01/05 16:20:53, 2]
> rpc_server/srv_samr_nt.c:access_check_samr_object(93)
>   _samr_open_domain: ACCESS DENIED  (requested: 0x0211)
> [2004/01/05 16:20:53, 2]
> rpc_server/srv_samr_nt.c:_samr_lookup_domain(2461)
>   Returning domain sid for domain SOLA ->
> S-1-5-21-238816456-3885207889-2738941293
> [2004/01/05 16:20:53, 2]
> rpc_server/srv_samr_nt.c:access_check_samr_function(115)
>   _samr_create_user: ACCESS DENIED (granted: 0x0201;  required:
> 0x0010)
> [2004/01/05 16:20:53, 2] smbd/server.c:exit_server(558)
>   Closing connections
>
>
> Does anyone have any suggestion on how to sort this out?
>
> thanks
>
> Davide
> --
> 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] Sometimes unable to browse w2k shares

2004-01-05 Thread rmi

- Original Message - 
From: "Markus Feldmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 05, 2004 2:49 PM
Subject: Re: [Samba] Sometimes unable to browse w2k shares


> Hallo rmi,
>
> it seems that some machine have got problems with his protokolls.
> Or maybe it has got to many protokolls.
> Check whether you have a Computer with 2 Nic(Networkcards).
> You should have got a Wins or DNS Server.
> The Wins Server is very easy.
> This could help.
>
> mfg Markus F.
>
> - Original Message - 
> From: "rmi" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, January 05, 2004 11:31 AM
> Subject: [Samba] Sometimes unable to browse w2k shares
>
>
> Lo folks,
>
> Plz i need some advice, im totally clueless at the moment where to look
and
> what to do.
> I have one samba 3.0.1 PDC and ten win 9x clients and two XP pro clients
and
> one w2k print server with some shares.
>
> It all worked good until i joined the w2k server into the domain. The
first
> couple of hours after joining all shares and all printer were available on
> the win2k server. But then all of a sudden i couldnt see any shares from
the
> w2k server on the netwerk.When i try to browse the w2k server shares via
9x
> clients i get a unknown error 31.
> Even the ./smbclient -L //w2k/share -U aap doesnt let me see shares.
>
> Sometimes after an hour orso the shares are again available, or else i
have
> to stop and start samba.
> What could be wrong, Does any1 have any suggestions?
>
> Thx in advance
>
> rmi
>
> ===
> smb.conf
> ==
> [global]
> workgroup = GENERAL
> netbios aliases = C001
> server string = Samba Server
> password server =
> passdb backend = tdbsam
> username map = /usr/local/samba/lib/username.map
> log level = 5
> log file = /var/log/samba/log.%m
> max log size = 50
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> load printers = No
> show add printer wizard = No
> add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u
> logon path =
> domain logons = Yes
> os level = 40
> preferred master = Yes
> domain master = Yes
> dns proxy = No
> ldap ssl = no
> template homedir = /opt/oc/home/%D/%U
>
> [homes]
> comment = Home Directories
> read only = No
> veto files = /.??*/
> browseable = No
>
> [printers]
> comment = All Printers
> path = /var/spool/samba
> printable = Yes
> browseable = No
>
> [oc_data]
> comment = OCH Data
> path = /opt/oc/oc_data
> valid users = @oc_med
> admin users = @symas
> read list = @oc_med
> write list = @oc_med
> read only = No
> create mask = 0770
> security mask = 0770
> directory mask = 0770
> directory security mask = 0770
> veto files = /lost+found/
> hide files = /lost+found/
>
> [netlogon]
> path = /opt/oc/netlogon
> guest ok = Yes
> -- 
> 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] Urgent Please - Samba 3.0.1 - LDAP - WinXP ... has anyone got it working???

2004-01-05 Thread Davide Frey
I've been trying to have Samba 3.0.1 work as a primary domain controller 
using LDAP as the authentication mechanism.

However I am unable to get any of my Windows XP Pro  machine join the 
domain. When prompt for an account with permissions to join the domain 
by the XP client, I give it the Administrator account which is granted 
Full access to the LDAP directory (BTW this is poor security, what is 
the right privilege I should give to the Domain Admin?), but SAMBA still 
responds with a permission denial when trying to open the domain and 
create the machine account.

Here is a log of what happens on the samba server when I attempt the 
join operation.

[2004/01/05 16:20:28, 2] smbd/sesssetup.c:setup_new_vc_session(544)
 setup_new_vc_session: New VC == 0, if NT4.x compatible we would close 
all old resources.
[2004/01/05 16:20:28, 2] smbd/sesssetup.c:setup_new_vc_session(544)
 setup_new_vc_session: New VC == 0, if NT4.x compatible we would close 
all old resources.
[2004/01/05 16:20:28, 2] lib/smbldap.c:smbldap_search_suffix(1068)
 smbldap_search_suffix: searching 
for:[(&(&(uid=Administrator)(objectclass=sambaSamAccount))(objectclass=sambaSamAccount))]
[2004/01/05 16:20:29, 2] passdb/pdb_ldap.c:init_sam_from_ldap(462)
 init_sam_from_ldap: Entry found for user: Administrator
[2004/01/05 16:20:40, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1636)
 ldapsam_search_one_group: searching 
for:[(&(objectClass=sambaGroupMapping)(gidNumber=513))]
[2004/01/05 16:20:40, 2] auth/auth.c:check_ntlm_password(305)
 check_ntlm_password:  authentication for user [Administrator] -> 
[Administrator] -> [Administrator] succeeded
[2004/01/05 16:20:41, 2] smbd/server.c:exit_server(558)
 Closing connections
[2004/01/05 16:20:42, 2] smbd/sesssetup.c:setup_new_vc_session(544)
 setup_new_vc_session: New VC == 0, if NT4.x compatible we would close 
all old resources.
[2004/01/05 16:20:42, 2] smbd/sesssetup.c:setup_new_vc_session(544)
 setup_new_vc_session: New VC == 0, if NT4.x compatible we would close 
all old resources.
[2004/01/05 16:20:42, 2] lib/smbldap.c:smbldap_search_suffix(1068)
 smbldap_search_suffix: searching 
for:[(&(&(uid=Administrator)(objectclass=sambaSamAccount))(objectclass=sambaSamAccount))]
[2004/01/05 16:20:43, 2] passdb/pdb_ldap.c:init_sam_from_ldap(462)
 init_sam_from_ldap: Entry found for user: Administrator
[2004/01/05 16:20:52, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1636)
 ldapsam_search_one_group: searching 
for:[(&(objectClass=sambaGroupMapping)(gidNumber=513))]
[2004/01/05 16:20:52, 2] auth/auth.c:check_ntlm_password(305)
 check_ntlm_password:  authentication for user [Administrator] -> 
[Administrator] -> [Administrator] succeeded
[2004/01/05 16:20:53, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2461)
 Returning domain sid for domain SOLA -> 
S-1-5-21-238816456-3885207889-2738941293
[2004/01/05 16:20:53, 2] 
rpc_server/srv_samr_nt.c:access_check_samr_object(93)
 _samr_open_domain: ACCESS DENIED  (requested: 0x0211)
[2004/01/05 16:20:53, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2461)
 Returning domain sid for domain SOLA -> 
S-1-5-21-238816456-3885207889-2738941293
[2004/01/05 16:20:53, 2] 
rpc_server/srv_samr_nt.c:access_check_samr_function(115)
 _samr_create_user: ACCESS DENIED (granted: 0x0201;  required: 
0x0010)
[2004/01/05 16:20:53, 2] smbd/server.c:exit_server(558)
 Closing connections

Does anyone have any suggestion on how to sort this out?

thanks

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


[Samba] SWAT question

2004-01-05 Thread Ken Wood
OS RedHat Linux 9.0

I am attempting to get SWAT working under Samba 3.0.1.
The log.swat file shows an error "Unable to open configuration
file '/usr/local/samba/lib/smb.conf' "

The "make install" put the smb.conf file in /etc/samba" and samba
is happy.  My question is how do I change where SWAT looks for the
smb.conf file?


ken wood
it staff
wgi


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


Re: [Samba] Sometimes unable to browse w2k shares

2004-01-05 Thread Markus Feldmann
Hallo rmi,

it seems that some machine have got problems with his protokolls.
Or maybe it has got to many protokolls.
Check whether you have a Computer with 2 Nic(Networkcards).
You should have got a Wins or DNS Server.
The Wins Server is very easy.
This could help.

mfg Markus F.

- Original Message - 
From: "rmi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 05, 2004 11:31 AM
Subject: [Samba] Sometimes unable to browse w2k shares


Lo folks,

Plz i need some advice, im totally clueless at the moment where to look and
what to do.
I have one samba 3.0.1 PDC and ten win 9x clients and two XP pro clients and
one w2k print server with some shares.

It all worked good until i joined the w2k server into the domain. The first
couple of hours after joining all shares and all printer were available on
the win2k server. But then all of a sudden i couldnt see any shares from the
w2k server on the netwerk.When i try to browse the w2k server shares via 9x
clients i get a unknown error 31.
Even the ./smbclient -L //w2k/share -U aap doesnt let me see shares.

Sometimes after an hour orso the shares are again available, or else i have
to stop and start samba.
What could be wrong, Does any1 have any suggestions?

Thx in advance

rmi

===
smb.conf
==
[global]
workgroup = GENERAL
netbios aliases = C001
server string = Samba Server
password server =
passdb backend = tdbsam
username map = /usr/local/samba/lib/username.map
log level = 5
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = No
show add printer wizard = No
add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u
logon path =
domain logons = Yes
os level = 40
preferred master = Yes
domain master = Yes
dns proxy = No
ldap ssl = no
template homedir = /opt/oc/home/%D/%U

[homes]
comment = Home Directories
read only = No
veto files = /.??*/
browseable = No

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

[oc_data]
comment = OCH Data
path = /opt/oc/oc_data
valid users = @oc_med
admin users = @symas
read list = @oc_med
write list = @oc_med
read only = No
create mask = 0770
security mask = 0770
directory mask = 0770
directory security mask = 0770
veto files = /lost+found/
hide files = /lost+found/

[netlogon]
path = /opt/oc/netlogon
guest ok = Yes
-- 
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] tdbdump utility

2004-01-05 Thread Jelmer Vernooij
Hi,

On Mon, Jan 05, 2004 at 01:01:56PM +0100, kidlark wrote about '[Samba] tdbdump 
utility':
> how do I install the tdbdump utility ? When I cd to /samba/source/tdb and I
> execute "make", I do get following error message:
Go to the source/ directory (not source/tdb) and type 'make bin/tdbdump'.

> gcc -DSTANDALONE -DTDB_DEBUG -g -DHAVE_MMAP=1   -c -o tdbtest.o tdbtest.c
> tdbtest.c:13: gdbm.h: No such file or directory
> make: *** [tdbtest.o] Error 1

Jelmer

-- 
Jelmer Vernooij <[EMAIL PROTECTED]> - http://jelmer.vernstok.nl/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] tdbdump utility

2004-01-05 Thread kidlark
Hello Group,

how do I install the tdbdump utility ? When I cd to /samba/source/tdb and I
execute "make", I do get following error message:

gcc -DSTANDALONE -DTDB_DEBUG -g -DHAVE_MMAP=1   -c -o tdbtest.o tdbtest.c
tdbtest.c:13: gdbm.h: No such file or directory
make: *** [tdbtest.o] Error 1


The file tdbtest.o doesn´t exist. I downloaded source from samba.org and I
updated the source files via cvs as recommended in

http://de.samba.org/samba/cvs.html

Can you help me ?

Georg




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


RE: [Samba] Sometimes unable to browse w2k shares

2004-01-05 Thread Rauno Tuul
Hi,

I had exatly the same problems with 3.0.1. I also wrote about this couple
weeks ago to samba list
(http://lists.samba.org/archive/samba/2003-December/077722.html). I got 2
replies (off the list) from other users, who are having the same problem.

Is this 3.0.1 particular error? Has anyone understood what is the issue of
the problem and will it be fixed in 3.0.2?

Regards,

Rauno


> -Original Message-
> From: rmi [mailto:[EMAIL PROTECTED]
,
> 
> Plz i need some advice, im totally clueless at the moment 
> where to look and what to do.
> I have one samba 3.0.1 PDC and ten win 9x clients and two XP 
> pro clients and one w2k print server with some shares.
> 
> It all worked good until i joined the w2k server into the 
> domain. The first couple of hours after joining all shares 
> and all printer were available on the win2k server. But then 
> all of a sudden i couldnt see any shares from the w2k server 
> on the netwerk.When i try to browse the w2k server shares via 
> 9x clients i get a unknown error 31.
> Even the ./smbclient -L //w2k/share -U aap doesnt let me see shares.
> 
> Sometimes after an hour orso the shares are again available, 
> or else i have to stop and start samba.
> What could be wrong, Does any1 have any suggestions?
> 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Sometimes unable to browse w2k shares

2004-01-05 Thread rmi
Lo folks,

Plz i need some advice, im totally clueless at the moment where to look and what to do.
I have one samba 3.0.1 PDC and ten win 9x clients and two XP pro clients and one w2k 
print server with some shares.

It all worked good until i joined the w2k server into the domain. The first couple of 
hours after joining all shares and all printer were available on the win2k server. But 
then all of a sudden i couldnt see any shares from the w2k server on the netwerk.When 
i try to browse the w2k server shares via 9x clients i get a unknown error 31.
Even the ./smbclient -L //w2k/share -U aap doesnt let me see shares.

Sometimes after an hour orso the shares are again available, or else i have to stop 
and start samba.
What could be wrong, Does any1 have any suggestions?

Thx in advance

rmi

===
smb.conf
==
[global]
workgroup = GENERAL
netbios aliases = C001
server string = Samba Server
password server = 
passdb backend = tdbsam
username map = /usr/local/samba/lib/username.map
log level = 5
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = No
show add printer wizard = No
add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u
logon path = 
domain logons = Yes
os level = 40
preferred master = Yes
domain master = Yes
dns proxy = No
ldap ssl = no
template homedir = /opt/oc/home/%D/%U

[homes]
comment = Home Directories
read only = No
veto files = /.??*/
browseable = No

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

[oc_data]
comment = OCH Data
path = /opt/oc/oc_data
valid users = @oc_med
admin users = @symas
read list = @oc_med
write list = @oc_med
read only = No
create mask = 0770
security mask = 0770
directory mask = 0770
directory security mask = 0770
veto files = /lost+found/
hide files = /lost+found/

[netlogon]
path = /opt/oc/netlogon
guest ok = Yes
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Network Write Error

2004-01-05 Thread SHARON_N
Hello there !
I’ve seen the massage you posted regarding the “network write error,no available space 
on the server”.
The thing is I have the same problem with all kind of blue screens at win 98’s 
stations and im not trying to connect to linux thru samba.
If you please have any idea about the cause of my problem , please email me back.
 
 
 
 
I thank you a lot
 
 
 
sharon
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba 3 and Windows 2000 (SP4) Terminal Server

2004-01-05 Thread Per Kjetil Grotnes
> > limitation and had to modify the MAX_CONNECTIONS-parameter in 
> > smbd/conn.c. Now we're planning the migration from s. 2.2.8a to s. 
> > 3.0.1. Is the modification in smbd/conn.c still necessary, 
> when using 
> > s. 3.0.1 in a Windows 2000 (SP4) terminal server environment?
> 
> This issue has been fixed, but I'm not sure if it made 3.0.1 
> (I can't see it in the changelog).
> Andrew Bartlett

You can find a patch at: https://bugzilla.samba.org/show_bug.cgi?id=716

Jeremy Allison claims the patch is applied, but the source code in
smbd/conn.c for samba.latest (3.0.1) has not been changed.

Regards
Per Kjetil Grotnes


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


Re: [Samba] Character Set Conversion Problem in 3.0.1?

2004-01-05 Thread Sean Brannon
Thank you for your answer. I tried this utility, and found it to be far less than 
useful. It did indeed convert the directory names, but failed the file names. It also 
failed subsequent attempts upon the file names.

- Original Message -
From: "Juer Lee" <[EMAIL PROTECTED]>
Date: Mon, 5 Jan 2004 13:17:17 +0800
To: <[EMAIL PROTECTED]>,"Sean M. Brannon" <[EMAIL PROTECTED]>
Subject: Re: [Samba] Character Set Conversion Problem in 3.0.1?

> Refer http://devel.adv-solutions.net/tools/treeconv-0.1.tar.gz which was
> sent by Parrillo,Michael on Dec 10th, 2003.
> 
> " It was programmed in order to convert the files stored at a customer's
> system from "cp850"( Samba 2.x ) to "utf8"( Samba 3.x ) charsets when
> upgrading Samba at the fileservers"
> 
> Juer
> 
> - Original Message - 
> From: "Sean M. Brannon" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, January 05, 2004 10:42 AM
> Subject: [Samba] Character Set Conversion Problem in 3.0.1?
> 
> 
> 
> Environment: Red Hat 9.0 x86 Samba 3.0.1
> Compiled with:  --prefix=/usr/samba
> --with-lockdir=/usr/samba/var/locks --with-automount --with-pam
> --with-quotas --with-acl-support --with-smbwrapper
> 
> 
> I have been using Samba 2.2.x, and have files and dirs with umlauts
> (specifically, o's with two dots over them, as in Björk) which display
> fine in Windows mounted shares. These same files/dirs show up as Bj?rk
> in BASH with the default SUPPORTED=en_US.UTF-8:en_US:en environment
> variable set.
> 
> My problem is that both 3.0 and 3.0.1 don't display the character
> correctly. I get Bj plus a bunch of rectangles that generally denote a
> character position in your current font that doesn't have a visual
> representation. I can't open the dir or files as I get an error saying
> it couldn't be opened, etc.
> 
> I'm using the same smb.conf file as I did with 2.2.x. I've tried
> mucking around by adding unicode=yes and unix charset = UTF8. This
> doesn't help. I end up with Bj and the rest of the file/dir name not
> displayed and the target not openable.
> 
> Ideas?
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
> 

-- 
___
Check out the latest SMS services @ http://www.operamail.com, which allows you to send 
SMS through your mailbox.

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